mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-04 09:13:26 +00:00
make it more fool-proof
This commit is contained in:
parent
0bf52bdcba
commit
01cd0a786d
@ -386,6 +386,9 @@ namespace CompatBot.Commands
|
||||
|
||||
if (emoji.Emoji == previousPage)
|
||||
goto step4;
|
||||
|
||||
if (emoji.Emoji == firstPage)
|
||||
goto step1;
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(txt?.Message.Content))
|
||||
{
|
||||
@ -415,7 +418,7 @@ namespace CompatBot.Commands
|
||||
return (false, msg);
|
||||
}
|
||||
|
||||
return (true, msg);
|
||||
return (false, msg);
|
||||
}
|
||||
|
||||
private static async Task<string> FuzzyMatchEventName(BotDb db, string eventName)
|
||||
|
Loading…
Reference in New Issue
Block a user