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