Added the ability to recieve messages

This commit is contained in:
ION606
2023-03-12 14:42:15 -04:00
parent 7d2f847f44
commit 032e1de330
10 changed files with 2777 additions and 80 deletions
+4 -1
View File
@@ -46,7 +46,10 @@ namespace Discord_Client_Custom.Connections
{
if (isDmOnly)
{
GatewayIntent[] intentsTemp = { GatewayIntent.DirectMessages, GatewayIntent.DirectMessageReactions, GatewayIntent.DirectMessageTyping };
GatewayIntent[] intentsTemp = {
GatewayIntent.DirectMessages, GatewayIntent.DirectMessageReactions, GatewayIntent.DirectMessageTyping,
GatewayIntent.GuildPresences, GatewayIntent.MessageContent
};
this.intents = intentsTemp;
this.value = sum(intents);
} else