Optional
allowedOptional
closeOptional
componentThe paths for the components
Optional
buttons?: stringThe path to the buttons directory
Optional
embeds?: stringThe path to the embeds directory
Optional
modals?: stringThe path to the modals directory
Optional
selectThe path to the select menus directory
Optional
textThe path to the text inputs directory
Optional
defaultThe default cooldown for the commands
0
Optional
failOptional
guildA map of guild IDs to prefixes for the message commands
{}
const client = new Client({
// ...
guildPrefixes: {
'1180237364707217409': '?',
'1188147841533739048': '$',
'985223450916450324': '&'
}
});
Optional
handlerThe paths for the handlers
Optional
autocompletes?: stringThe path to the autocompletes directory
Optional
events?: stringThe path to the events directory
Optional
messageThe path to the message commands directory
Optional
messageThe path to the message context menu commands directory
Optional
slashThe path to the slash commands directory
Optional
userThe path to the user context menu commands directory
Optional
jsonOptional
makeOptional
ownerThe IDs of the owners of the bot
[]
Optional
partialsOptional
prefixThe prefix for the message commands
'!'
Optional
presenceOptional
privateThe IDs of the private guilds of the bot
[]
Optional
restOptional
shardOptional
shardsOptional
sweepersOptional
waitOptional
wsGenerated using TypeDoc
The options for the Client