Skip to content

Configuration Guide

Sashank edited this page Nov 18, 2023 · 1 revision

Complete Configuration Details

This page provides a detailed explanation of each configuration option used in the config.ini file for your mod mail bot.

Main Section

token

  • Description: Your Discord bot token.
  • Example: token = your_bot_token_here

playing

  • Description: The custom playing status of the bot.
  • Example: playing = Playing Mod Mail

command_prefix

  • Description: The prefix used for bot commands.
  • Example: command_prefix = !

channel_id Section

channel_id

  • Description: The ID of the mod mail channel.
  • Example: channel_id = 123456789012345678

AntiSpam Section

messages

  • Description: Number of messages triggering anti-spam measures.
  • Example: messages = 5

seconds

  • Description: Cooldown period in seconds.
  • Example: seconds = 10

Main Section (again)

anonymous_staff

  • Description: Set to true if you want staff messages to be anonymous.
  • Example: anonymous_staff = true

Example Configuration

[Main]
token = your_bot_token_here
playing = Playing Mod Mail
command_prefix = !

[channel_id]
channel_id = 123456789012345678

[AntiSpam]
messages = 5
seconds = 10

[Main]
anonymous_staff = true

Make sure to save the config.ini file with your actual configuration values before running the bot.

For information on setting up your bot and running it, refer to the Installation Guide.