ODTextCommandBuilder interface
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
The builder for text commands. Here you can add options to the command.
References
Properties
optional allowBots boolean ➜ boolean
Are bots allowed to execute this command?
optional allowedGuildIds array ➜ string[]
When specified, only allow this command to be executed in the following guilds
optional dmPermission boolean ➜ boolean
Is this command allowed in dm?
optional guildPermission boolean ➜ boolean
Is this command allowed in guilds?
name string ➜ string
The name of this command (can include spaces for subcommands)
optional options array ➜ api.ODTextCommandBuilderOption[]
The options for this text command (like slash commands)
prefix string ➜ string
The prefix of this command