ShutdownShardHook typedef
Hook executed when shard is disposing.
It could be either when shards disconnects or when bots process shuts down (look ShutdownHook.
Implementation
typedef ShutdownShardHook = Future<void> Function(Nyxx client, Shard shard);