mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-21 18:23:57 +00:00
feat: discord bot scanning messages
This commit is contained in:
@@ -23,7 +23,7 @@ global.ft = ft;
|
||||
|
||||
const server = createServer(async (client) => {
|
||||
client.on('data', async (data) => {
|
||||
const eventData = deserialize(data);
|
||||
const eventData = deserialize(data, { allowObjectSmallerThanBufferSize: true });
|
||||
|
||||
switch(eventData.op) {
|
||||
case 1: {
|
||||
|
||||
Reference in New Issue
Block a user