config
Configure builders and fine-tune your discord bot's functionality with the flexible "config" mutator in Sunar. Customize settings, adjust parameters, and optimize your bot's behavior seamlessly.
Usage
Implementation
Implementing cooldowns
Learn how to effectively manage command usage by implementing cooldowns to prevent spam and control interaction frequency.
Dynamic registration
Explore dynamic command registration methods tailored for specific guilds or IDs, enabling flexible bot customization and interaction management.
Reference
config
Prop | Type | Default |
---|---|---|
config | <TBuilder extends ConfigurableBuilder>(builder: TBuilder, config: TBuilder["config"]) => void | - |
CooldownConfig
Prop | Type | Default |
---|---|---|
time | number | - |
limit | number | - |
scope | CooldownScope | - |
Last updated on