notOf

open fun notOf(disabledCommandsStrs: Collection<String>): CommandList(source)

Makes a list of unusable commands (in a Guild context), You have to insert full commands paths such as name group subcommand, which comes from the Discord representation of /name group subcommandThis is constructed by joining each path component with a space Keep in mind you cannot disable global commands on a per-guild basis

Return

A CommandList of disabled command

Parameters

disabledCommandsStrs

A collection of disabled command paths