mirror of
https://gitlab.com/Deukhoofd/DeukBot4.git
synced 2026-10-11 01:04:00 +00:00
Ignore all messages by the bot
This commit is contained in:
1 file changed
+4
@@ -8,6 +8,10 @@ namespace DeukBot4.MessageHandlers
|
||||
{
|
||||
public static async Task HandleMessage(SocketMessage message)
|
||||
{
|
||||
if (message.Author.Id == Program.Client.CurrentUser.Id)
|
||||
{
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
await CommandHandler.CommandHandler.HandleMessage(message);
|
||||
|
||||
Reference in new issue
Block a user