unregister

abstract suspend fun unregister(command: SlashCommand<*, *, *>, delete: Boolean = true): SlashCommand<*, *, *>?

Unregister a slash command.


abstract suspend fun unregister(command: MessageCommand<*, *>, delete: Boolean = true): MessageCommand<*, *>?

Unregister a message command.


abstract suspend fun unregister(command: UserCommand<*, *>, delete: Boolean = true): UserCommand<*, *>?

Unregister a user command.