fixing super critical bug, now you can write stuff after hui
This commit is contained in:
parent
f52893e696
commit
ae9ade51d5
1 changed files with 2 additions and 2 deletions
|
@ -81,12 +81,12 @@ namespace Geekbot.net
|
|||
var message = messageParam as SocketUserMessage;
|
||||
if (message == null) return;
|
||||
int argPos = 0;
|
||||
if (message.ToString().ToLower().Equals("ping"))
|
||||
if (message.ToString().ToLower().StartsWith("ping"))
|
||||
{
|
||||
await message.Channel.SendMessageAsync("pong");
|
||||
return;
|
||||
}
|
||||
if (message.ToString().ToLower().Equals("hui"))
|
||||
if (message.ToString().ToLower().StartsWith("hui"))
|
||||
{
|
||||
await message.Channel.SendMessageAsync("hui!!!");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue