Skip to content

Commit

Permalink
Removed hashmaps from discordrb.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
EinTim23 authored Oct 17, 2024
1 parent 4c7e2ee commit 17aadfc
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/discordrb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,6 @@ module Discordrb
direct_message_reactions: 1 << 13,
direct_message_typing: 1 << 14
}.freeze


COMMAND_CONTEXTS = {
guild: 0,
bot_dm: 1,
private_channel: 2
}.freeze

COMMAND_INTEGRATION_TYPES = {
guild_install: 0,
user_install: 1
}.freeze

# All available intents
ALL_INTENTS = INTENTS.values.reduce(&:|)
Expand Down

0 comments on commit 17aadfc

Please sign in to comment.