pokemon and nohint trivia args are now case-insensitive
This commit is contained in:
parent
c8179cdf2a
commit
86105df59a
@ -30,6 +30,8 @@ namespace NadekoBot.Modules.Games
|
|||||||
{
|
{
|
||||||
var channel = (ITextChannel)Context.Channel;
|
var channel = (ITextChannel)Context.Channel;
|
||||||
|
|
||||||
|
additionalArgs = additionalArgs?.Trim()?.ToLowerInvariant();
|
||||||
|
|
||||||
var showHints = !additionalArgs.Contains("nohint");
|
var showHints = !additionalArgs.Contains("nohint");
|
||||||
var isPokemon = additionalArgs.Contains("pokemon");
|
var isPokemon = additionalArgs.Contains("pokemon");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user