Skip to content

Commit

Permalink
bugfix: invite parsing as include not unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Aug 6, 2024
1 parent 18563e2 commit a0c04c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/src/events/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl Command {
"pause" | "block" => BotPaused::construct(comment),
"unpause" | "resume" | "unblock" => BotUnpaused::construct(comment),
"exclude" | "leave" => BotExcluded::construct(comment),
"include" | "in" | "start" | "join | invite" => BotIncluded::construct(comment),
"include" | "in" | "start" | "join" | "invite" => BotIncluded::construct(comment),
"update" => BotUpdated::construct(comment),
_ if command.chars().all(char::is_numeric) && !command.is_empty() => {
BotScored::construct(comment, command)
Expand Down

0 comments on commit a0c04c8

Please sign in to comment.