delete

abstract fun delete()

The destroy method for this shard. This method will be called when the shard is unloaded.

You can use this method to clean up your shard, such as saving configuration files, unregistering commands, etc.