Skip to content

Commit

Permalink
Hopefully quick patch for intents
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa authored Jul 16, 2023
1 parent 47cfd13 commit deff860
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/commandrb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ def initialize(init_hash)
token: @config[:token],
client_id: @config[:client_id],
parse_self: false,
ignore_bots: @config[:parse_bots] == false
ignore_bots: @config[:parse_bots] == false,
intents: @config[:intents]
)

unless init_hash[:ready].nil?
Expand Down

0 comments on commit deff860

Please sign in to comment.