dispose method
Perform cleanup
Implementation
@override
Future<void> dispose() async {
this._logger.info("Disposing and closing bot...");
if (this._options.shutdownHook != null) {
await this._options.shutdownHook!(this);
}
await shardManager.dispose();
await this._events.dispose();
await guilds.dispose();
await users.dispose();
this._logger.info("Exiting...");
exit(0);
}