Fix GatewayOpcodes.StatusUpdate (renamed to PresenceUpdate)

This commit is contained in:
lts20050703
2021-12-21 08:50:36 +07:00
parent 662c82a27e
commit af6a27de16
+1 -1
View File
@@ -7,7 +7,7 @@ export function editBotStatus(bot: Bot, data: Omit<StatusUpdate, "afk" | "since"
bot.events.debug(`Running forEach loop in editBotStatus function.`);
bot.gateway.sendShardMessage(bot.gateway, shard, {
op: GatewayOpcodes.StatusUpdate,
op: GatewayOpcodes.PresenceUpdate,
d: {
since: null,
afk: false,