Members # (constant) CommandOptionTypes :number Enum for command option types. Type: number Properties Name Type Description BOOLEAN number CHANNEL number INTEGER number MENTIONABLE number NUMBER number ROLE number STRING number USER number Source: types.js, line 41 # (constant) CommandRoles :number Enum for command roles. Type: number Properties Name Type Description COMMAND number CONTAINER number SUBCOMMAND number SUBCOMMAND_CONTAINER number Source: types.js, line 25 # (constant) CommandTypes :number Enum for command types. Type: number Properties Name Type Description GLOBAL number GUILD number Source: types.js, line 12 Type Definitions # Command Type: Object Properties Name Type Attributes Description id String name String role module:types~CommandRole execute module:types~CommandExecute <optional> description String <optional> options Array.<module:types~CommandOption> <optional> botPerms Array.<String> <optional> userPerms Array.<String> <optional> guild String <optional> filePath String <optional> parent String <optional> children Array.<String> <optional> settings module:types~CommandSettings <optional> Source: types.js, line 77 # CommandExecute(interaction) Parameters: Name Type Description interaction module:discord.js~Interaction Source: types.js, line 67 # CommandLocalisationObject Type: Object Properties Name Type Description name module:discord-api-types/v10~LocalizationMap description module:discord-api-types/v10~LocalizationMap Source: types.js, line 94 # CommandOption Type: Object Properties Name Type Attributes Description type module:types~CommandOptionType name String description String <optional> required boolean <optional> choices Array.<module:types~CommandOptionChoice> <optional> Source: types.js, line 58 # CommandOptionChoice Type: Object Properties Name Type Description name String value String | Number Source: types.js, line 52 # CommandOptionLocalisationObject Type: Object.<module:discord-api-types/v10~Locale, module:types~CommandLocalisationObject> Source: types.js, line 100 # CommandOptionType Type: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 Source: types.js, line 32 # CommandRole Type: 0 | 1 | 2 | 3 Source: types.js, line 16 # CommandSettings Type: Object Properties Name Type Attributes Default Description allowInDMs Boolean <optional> false Source: types.js, line 72 # CommandType Type: 0 | 1 Source: types.js, line 3 # Event Type: Object Properties Name Type Attributes Description name String <optional> event String settings module:types~EventSettingsObject execute function filePath String Source: types.js, line 115 # EventDebounceSettingsObject Type: Object Properties Name Type Attributes Default Description time Number risingEdge Boolean <optional> false Source: types.js, line 104 # EventSettingsObject Type: Object Properties Name Type Description debounce module:types~EventDebounceSettingsObject Source: types.js, line 110 # ISOLangCode An ISO 639-1 language code. Type: 'aa' | 'ab' | 'ae' | 'af' | 'ak' | 'am' | 'an' | 'ar' | 'as' | 'av' | 'ay' | 'az' | 'ba' | 'be' | 'bg' | 'bh' | 'bm' | 'bi' | 'bn' | 'bo' | 'br' | 'bs' | 'ca' | 'ce' | 'ch' | 'co' | 'cr' | 'cs' | 'cu' | 'cv' | 'cy' | 'da' | 'de' | 'dv' | 'dz' | 'ee' | 'el' | 'en' | 'eo' | 'es' | 'et' | 'eu' | 'fa' | 'ff' | 'fi' | 'fj' | 'fo' | 'fr' | 'fy' | 'ga' | 'gd' | 'gl' | 'gn' | 'gu' | 'gv' | 'ha' | 'he' | 'hi' | 'ho' | 'hr' | 'ht' | 'hu' | 'hy' | 'hz' | 'ia' | 'id' | 'ie' | 'ig' | 'ii' | 'ik' | 'io' | 'is' | 'it' | 'iu' | 'ja' | 'jv' | 'ka' | 'kg' | 'ki' | 'kj' | 'kk' | 'kl' | 'km' | 'kn' | 'ko' | 'kr' | 'ks' | 'ku' | 'kv' | 'kw' | 'ky' | 'la' | 'lb' | 'lg' | 'li' | 'ln' | 'lo' | 'lt' | 'lu' | 'lv' | 'mg' | 'mh' | 'mi' | 'mk' | 'ml' | 'mn' | 'mr' | 'ms' | 'mt' | 'my' | 'na' | 'nb' | 'nd' | 'ne' | 'ng' | 'nl' | 'nn' | 'no' | 'nr' | 'nv' | 'ny' | 'oc' | 'oj' | 'om' | 'or' | 'os' | 'pa' | 'pi' | 'pl' | 'ps' | 'pt' | 'qu' | 'rm' | 'rn' | 'ro' | 'ru' | 'rw' | 'sa' | 'sc' | 'sd' | 'se' | 'sg' | 'si' | 'sk' | 'sl' | 'sm' | 'sn' | 'so' | 'sq' | 'sr' | 'ss' | 'st' | 'su' | 'sv' | 'sw' | 'ta' | 'te' | 'tg' | 'th' | 'ti' | 'tk' | 'tl' | 'tn' | 'to' | 'tr' | 'ts' | 'tt' | 'tw' | 'ty' | 'ug' | 'uk' | 'ur' | 'uz' | 've' | 'vi' | 'vo' | 'wa' | 'wo' | 'xh' | 'yi' | 'yo' | 'za' | 'zh' | 'zu' Source: handlers/LanguageHandler.js, line 13 # Language A set of language data. Type: Object Properties Name Type Description id module:handlers/LanguageHandler~ISOLangCode The language's ISO 639-1 code. data Object All translations. Source: handlers/LanguageHandler.js, line 7