mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Fix GatewayOpcodes.StatusUpdate (renamed to PresenceUpdate)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user