Server Settings

Server Configuration

This section provides details on how to configure the bot for your server.

Note: These settings are server-specific and will only affect the server they are set on. Each Discord server has its own independent configuration.

Command Syntax

/config server [auto-delete] [translate-bot-messages] [display-type] [news-notification] [quota-reached-notification]

Use the command /config server to configure the bot. All parameters are optional - you can configure one, several, or all settings at once.

Parameters

ParameterDescription
auto-deleteWhen set, the bot will automatically delete command messages after a certain time to keep the chat clean.
translate-bot-messagesWhen set, the bot will translate messages of other bots to the server’s set language.
display-typeWhen set, the bot will display the translated message in the specified format.
news-notificationWhen set, the bot will send a notification when new information is available.
quota-reached-notificationWhen set, the bot will send a notification when the translation limit is reached.

Display Type Options

The display-type parameter controls how translations are presented in your channels.

OptionDescription
defaultDefault output format - includes source language, target language, and link to original message
fullFull output format - includes all metadata, user information, timestamps, and formatting
reducedReduced output format - shows only the translated text and target language
compactCompact output format - minimal display with just the translation

Note: Parameters are optional. If not specified, the bot will use the default settings.

Configuration Examples

Example 1: Enable Auto-Delete Commands

Keep your channels clean by automatically deleting command messages:

/config server auto-delete:true

After you use commands like /translate, the bot will delete both the command and its response after a few seconds.

Example 2: Translate Bot Messages

Enable translation of messages from other bots:

/config server translate-bot-messages:true

Useful for servers with multiple bots that post in different languages.

Example 3: Set Compact Display

Use minimal display format for translations:

/config server display-type:compact

Translations will appear with minimal formatting, saving screen space.

Example 4: Enable Notifications

Stay informed about news and quota limits:

/config server news-notification:true quota-reached-notification:true

The bot will notify you about updates and when you’re approaching translation limits.

Example 5: Configure Multiple Settings

Set multiple options in one command:

/config server auto-delete:true display-type:reduced news-notification:true

Auto-Delete Commands

When enabled, auto-delete will:

  • Delete command messages after 5 seconds
  • Delete bot responses to commands after 10 seconds
  • Keep translation results and automated messages
  • Only affect commands, not automatic translations

Best for:

  • Keeping general chat channels clean
  • Servers where commands are frequently used
  • Reducing visual clutter

Note: Messages with errors or important information may not be auto-deleted.

Translate Bot Messages

By default, TranslateMate ignores messages from other bots to prevent translation loops and spam. When enabled:

  • Messages from all bots will be translated
  • Useful for multilingual announcement bots
  • Can create translation chains if multiple translation bots are present

Use with caution: May increase quota usage significantly in bot-heavy channels.

Display Types Explained

Default Display

  • Shows source and target languages
  • Includes link to original message
  • Shows who requested the translation
  • Includes bot branding

Example:

🇬🇧 English → 🇩🇪 German
Hello world
Translated: Hallo Welt
Requested by @username

Full Display

  • All features of default display
  • Shows timestamp
  • Includes character count
  • Shows detection confidence
  • Full user information

Reduced Display

  • Target language only
  • Translated text
  • No attribution or links

Example:

🇩🇪 Hallo Welt

Compact Display

  • Translated text only
  • Minimal formatting
  • Maximum space efficiency

Example:

Hallo Welt

Notification Settings

News Notifications

When enabled, the bot will send announcements to your server about:

  • New features and updates
  • Important service announcements
  • Maintenance schedules
  • Breaking changes

Notifications are sent to the channel where /config server was last used, or your server’s system channel.

Quota Reached Notifications

When enabled, you’ll receive alerts when:

  • 80% of monthly quota is used
  • 90% of monthly quota is used
  • 100% of quota is reached
  • Quota resets (monthly)

Recommended: Enable this to avoid unexpected service interruptions.

Viewing Current Configuration

To see your server’s current settings:

/config server

Without parameters, this command displays all current configuration values.

Resetting to Defaults

To reset all server settings to defaults:

/config reset

This will:

  • Disable auto-delete
  • Disable bot message translation
  • Set display-type to default
  • Keep notification settings
  • Preserve all auto-translation rules (users and channels)

Permissions Required

To modify server settings, you need:

  • Administrator permission
  • OR Manage Server permission

Regular members cannot change server-wide settings.

Best Practices

  1. Test settings in a private channel before server-wide deployment
  2. Inform your community about auto-delete if enabled
  3. Monitor quota usage when translating bot messages
  4. Choose appropriate display-type for channel purpose:
    • Use full for documentation channels
    • Use compact for busy chat channels
    • Use default for general purpose
  5. Enable quota notifications to avoid service interruptions
  6. Document your configuration in your server’s rules or info channels

Common Configurations

Casual Gaming Server

/config server auto-delete:true display-type:compact

Clean, minimal translations for fast-paced chat.

International Business Server

/config server display-type:full news-notification:true quota-reached-notification:true

Professional display with important notifications.

Support Server

/config server translate-bot-messages:true display-type:default quota-reached-notification:true

Translate ticket bot messages, monitor usage.

Language Learning Server

/config server display-type:full auto-delete:false

Show all translation metadata for educational purposes.

Troubleshooting

Commands Not Being Deleted

  • Verify auto-delete is enabled: /config server
  • Check bot has Manage Messages permission
  • Some commands with errors are intentionally not deleted

Bot Messages Not Translating

  • Confirm translate-bot-messages is enabled
  • Check that the bot message isn’t from TranslateMate itself
  • Verify bot has permission to read the channel

Wrong Display Format

  • Check your display-type setting
  • Settings may take a few seconds to apply
  • Try using /config server to verify current setting

Related Features

Need Help?

If you have questions about server settings, join our [Discord Server]({{ .Site.Params.discord.supportServerUrl }}) or use the /help command.