Carter
Carter
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Carter on 1/20/2024 in #djs-questions
Rotating presence with 16x sharding
My bot has 16x sharding enabled, and I'm not sure at which level to handle my rotating client presence. Should it be done at Client#ready or Client#shardReady passing shardId into the options for ClientUser#setPresence? here's a relavent codebit: https://github.com/Fyko/thoth/blob/main/apps/bot/src/events/shard/ready.ts
5 replies