error message
This commit is contained in:
parent
fa0918806e
commit
acbae6fbe3
@ -29,7 +29,6 @@ namespace NadekoBot.Modules.Searches.Commands
|
|||||||
string expression = e.GetArg("expression")?.Trim();
|
string expression = e.GetArg("expression")?.Trim();
|
||||||
if (string.IsNullOrWhiteSpace(expression))
|
if (string.IsNullOrWhiteSpace(expression))
|
||||||
{
|
{
|
||||||
await e.Channel.SendMessage("Must give expression");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
string answer = Evaluate(expression);
|
string answer = Evaluate(expression);
|
||||||
|
Loading…
Reference in New Issue
Block a user