OptionalaliasReplacement?: RegExpOptionalallowMention?: boolean | MentionPrefixPredicateWhether or not to allow mentions to the client user as a prefix.
OptionalargumentDefaults?: DefaultArgumentOptionsDefault argument options.
OptionalautoDefer?: booleanAutomatically defer messages "BotName is thinking"
OptionalautoRegisterSlashCommands?: booleanSpecify whether to register all slash commands when starting the client.
OptionalblockBots?: booleanWhether or not to block bots.
OptionalblockClient?: booleanWhether or not to block self.
OptionalcommandUtil?: booleanWhether or not to assign message.util.
OptionalcommandUtilLifetime?: numberMilliseconds a message should exist for before its command util instance is marked for removal.
If 0, CommandUtil instances will never be removed and will cause memory to increase indefinitely.
OptionalcommandUtilSweepInterval?: numberTime interval in milliseconds for sweeping command util instances.
If 0, CommandUtil instances will never be removed and will cause memory to increase indefinitely.
OptionaldefaultCooldown?: numberDefault cooldown for commands.
OptionalexecSlash?: booleanWhether or not to require the use of execSlash for slash commands.
OptionalfetchMembers?: booleanWhether or not members are fetched on each message author from a guild.
OptionalhandleEdits?: booleanWhether or not to handle edited messages using CommandUtil.
OptionalignoreCooldown?: ArrayOrNot<Snowflake> | IgnoreCheckPredicateHandlerID of user(s) to ignore cooldown or a function to ignore. Defaults to the client owner(s).
OptionalignorePermissions?: ArrayOrNot<Snowflake> | IgnoreCheckPredicateHandlerID of user(s) to ignore userPermissions checks or a function to ignore.
Optionalprefix?: ArrayOrNot<string> | PrefixSupplierThe prefix(es) for command parsing.
OptionalskipBuiltInPostInhibitors?: booleanWhether or not to skip built in reasons post type inhibitors so you can make custom ones.
OptionalstoreMessages?: booleanWhether or not to store messages in CommandUtil.
Optionaltyping?: booleanShow "BotName is typing" information message on the text channels when a command is running.
Regular expression to automatically make command aliases. For example, using
/-/gwould mean that aliases containing-would be valid with and without it. So, the aliascommand-nameis valid as bothcommand-nameandcommandname.