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
Favna16mo 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 dean16mo ago
that repo is exactly what I was looking for. Thanks!