From d113d303a2e9c771f46eb480104e79bfce6db916 Mon Sep 17 00:00:00 2001 From: fluttershy Date: Fri, 17 Jan 2025 23:28:40 +0500 Subject: [PATCH] test --- sources/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/main.cpp b/sources/main.cpp index 6ea4ce1..bd6adc9 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -2,7 +2,7 @@ #include int main(int argc, char* argv[]) { if (argc != 3) return -1; - WebSocket* bot = &WebSocket::getInstance(argv[2], 131071); + WebSocket* bot = &WebSocket::getInstance(argv[2], ALL_INTENTS); bot->on(GatewayEvents::MESSAGE_CREATE, [](const Bot& msg) { if (!g(2, msg.net)->isBot()) { g(0, msg.net)->send("939957962972229634", j("content", g(2, msg.net)->content())); @@ -10,4 +10,4 @@ int main(int argc, char* argv[]) { }); bot->start(); return 0; -} \ No newline at end of file +} \ No newline at end of file