bot now ignores other bots
This commit is contained in:
parent
53550fb12b
commit
c670bf7ae3
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ namespace Geekbot.net
|
|||
{
|
||||
var message = messageParam as SocketUserMessage;
|
||||
if (message == null) return;
|
||||
if (message.Author.Username.Equals(client.CurrentUser.Username)) return;
|
||||
if (message.Author.IsBot) return;
|
||||
int argPos = 0;
|
||||
if (message.ToString().ToLower().StartsWith("ping"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue