make it more fool-proof

This commit is contained in:
13xforever 2019-02-12 20:20:17 +05:00
parent 0bf52bdcba
commit 01cd0a786d

View File

@ -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)