From a0c04c83ea57fc18e71b116528f3f9037960f8da Mon Sep 17 00:00:00 2001 From: akorchyn Date: Tue, 6 Aug 2024 12:49:29 +0300 Subject: [PATCH] bugfix: invite parsing as include not unknown --- bot/src/events/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/events/commands/mod.rs b/bot/src/events/commands/mod.rs index 5d5eef4..2d78bd4 100644 --- a/bot/src/events/commands/mod.rs +++ b/bot/src/events/commands/mod.rs @@ -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)