I tried to log only my direct messages.
However, when using the OnMessageReceived event, it logs about five messages before disconnecting.
It immediately disconnects again when I try to restart it.
Is there a method to receive only direct messages or to avoid getting a RaidLimit?
private void MessageReceived(DiscordSocketClient client, MessageEventArgs message)
{
Logger.Info($"Message Received from {message.Message.Author} he/she sayid {message.Message.Content}");
}
I tried to log only my direct messages.
However, when using the OnMessageReceived event, it logs about five messages before disconnecting.
It immediately disconnects again when I try to restart it.
Is there a method to receive only direct messages or to avoid getting a RaidLimit?