how would you go about logging shard creation in sapphire?

I understand that shards are auto created by default, how would I go about logging it? Does anyone have a bot on github that could show an example? i'm more of a visual learner :)
Solution:
Shards are entirely managed by DiscordJS. Sapphire doesn't do anything shard related. DiscordJS has several event emitters that you can listen to using Sapphire to get information about shards: https://github.com/sapphiredev/gemboard/tree/main/src/listeners/shard/...
Jump to solution
2 Replies
Solution
Favna
Favna2y ago
Shards are entirely managed by DiscordJS. Sapphire doesn't do anything shard related. DiscordJS has several event emitters that you can listen to using Sapphire to get information about shards: https://github.com/sapphiredev/gemboard/tree/main/src/listeners/shard/ Other than that you just provide shards: 'auto' in your client options, again, a DJS option.
ollie dean
ollie deanOP2y ago
that repo is exactly what I was looking for. Thanks!
Want results from more Discord servers?
Add your server