selfbot websocket #404
-
hello, I am wondering how the process of receiving events by a selfbot differs from bots. say I wanted to write a logger (takes every MESSAGE_CREATE event and prints it to the screen for example). because the only documentation that exists is for bots only, I've tried the following: (forgetting the business of heartbeats) client connects to gateway (wss://gateway.discord.gg/?v=10&encoding=json) client <------- Hello (opcode 10) gateway client (opcode 2) IDENTIFY --------> gateway client <------- READY (opcode 0) gateway where my IDENTIFY payload looks like: but the problem is I only recieve the READY payload, and no MESSAGE_CREATE events or anything else. I sometimes get SESSIONS_REPLACE events too. is the process of connecting to the gateway and the IDENTIFY payload i'm sending correct? why aren't I getting MESSAGE_CREATE or any other events for that matter? |
Beta Was this translation helpful? Give feedback.
Issue: #72
Fix: c165824