Skip to content

Commit

Permalink
bugfix: threat no command as Include
Browse files Browse the repository at this point in the history
akorchyn committed Oct 24, 2024
1 parent bb1c917 commit d7eddb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/src/events/pr_commands/mod.rs
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ impl Command {
"pause" | "block" => BotPaused::construct(comment),
"unpause" | "resume" | "unblock" => BotUnpaused::construct(comment, false),
"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)

0 comments on commit d7eddb0

Please sign in to comment.