Overview
Infusion offers extensive configuration options to tailor the bot’s behavior to your server’s specific requirements. This guide covers all available settings and how to configure them.
Basic configuration
Access configuration
Use the configuration command to access and modify settings:
This displays the main configuration menu where you can navigate through different settings categories.
View current settings
To view your current configuration:
Moderation settings
Configure how Infusion handles moderation actions in your server.
Moderation log channel
Set a channel where all moderation actions will be logged:
Parameters:
channel - The channel to use for moderation logs.
Example:
The moderation log includes:
- Kicks and bans
- Timeouts and warnings
- Message deletions
- Role changes
- Channel locks
Auto-moderation
Enable or disable automatic moderation features:
Available settings:
spam - Detect and prevent spam messages.
links - Filter unauthorized links.
invites - Block Discord invite links.
mentions - Limit mass mentions.
caps - Limit excessive capital letters.
profanity - Filter inappropriate language.
Example:
Warning thresholds
Configure automatic actions based on warning counts:
Parameters:
count - Number of warnings to trigger the action.
action - Action to take (timeout, kick, ban).
Example:
Role settings
Auto-roles
Automatically assign roles to new members when they join:
Example:
Moderator roles
Define which roles have access to moderation commands:
Example:
Welcome and goodbye messages
Welcome messages
Set up welcome messages for new members:
Parameters:
channel - Channel to send welcome messages in.
message - Custom welcome message (supports variables).
Available variables:
{user} - Mentions the user.
{username} - User’s username.
{server} - Server name.
{membercount} - Total member count.
Example:
Goodbye messages
Set up goodbye messages for members who leave:
Example:
Logging settings
Event logging
Configure which events to log and where:
Available events:
messages - Message edits and deletions.
members - Member joins, leaves, and updates.
roles - Role changes.
channels - Channel creation, deletion, and updates.
server - Server settings changes.
voice - Voice channel activity.
Example:
Disable logging
To disable logging for a specific event:
Prefix settings
While Infusion primarily uses slash commands, you can configure a text prefix for legacy commands:
Example:
Language settings
Set the language for bot responses:
Available languages:
- English (en)
- Spanish (es)
- French (fr)
- German (de)
- Portuguese (pt)
Example:
Reset configuration
Reset specific settings
Reset a specific configuration category to defaults:
Categories:
moderation
logging
welcome
autoroles
Reset all settings
Reset all configuration to default values:
This will reset all your server’s configuration. This action cannot be undone.
Export and import
Export configuration
Export your current configuration to a file:
This creates a JSON file with all your settings that you can save as a backup.
Import configuration
Import a previously exported configuration:
Parameters:
file - The configuration file to import.
Regularly export your configuration as a backup, especially before making major changes.
Best practices
- Set up logging first - Configure your log channels before enabling other features.
- Test auto-moderation - Start with lenient settings and adjust based on your server’s needs.
- Define moderator roles - Clearly establish which roles can use moderation commands.
- Backup your config - Export your configuration regularly.
- Review settings periodically - Adjust settings as your server grows and changes.