$unregisterGuildCommands

Unregisters guild slash commands from the current guild.

Usages

There are two usages of this function :

Usage #1

Syntax

$unregisterGuildCommands

Unregisters all guild slash commands from the current guild.

Example

$nomention
$unregisterGuildCommands
Successfully unregistered all guild slash commands!

Screenshot_20221026_184650

Usage #2

Syntax

$unregisterGuildCommands[Slash command name;...]

Unregisters provided guild slash commands from the current guild.

Parameters

  • Slash command name : Name of guild slash command to unregister. Use semicolons ; as separator to separate multiple guild slash command names.

Example

$nomention
$argsCheck[>1;Provide guild slash command names!]

$unregisterGuildCommands[$unescape[$toLowercase[$replaceText[$trimSpace[$message]; ;]]]]
Successfully unregistered the provided guild slash commands!

Screenshot_20221026_185535