Merge branch 'master' of github.com:pizzaandcoffee/Geekbot.net
This commit is contained in:
commit
9632c5c1b4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ namespace Geekbot.net
|
|||
if (message.Author.IsBot) return Task.CompletedTask;
|
||||
var argPos = 0;
|
||||
var lowCaseMsg = message.ToString().ToLower();
|
||||
if (lowCaseMsg.StartsWith("ping"))
|
||||
if (lowCaseMsg.Equals("ping") || lowCaseMsg.StartsWith("ping "))
|
||||
{
|
||||
message.Channel.SendMessageAsync("pong");
|
||||
return Task.CompletedTask;
|
||||
|
|
Loading…
Reference in a new issue