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 committed Jul 16, 2023
1 parent 7759ec5 commit 25045e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/commandrb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def initialize(init_hash)
client_id: @config[:client_id],
parse_self: init_parse_self,
type: @config[:type]
ignore_bots: @config[:parse_bots] == false,
intents: init_hash[:intents]
)

unless init_hash[:ready].nil?
Expand Down

0 comments on commit 25045e3

Please sign in to comment.