Peak Modifications Docs > Product Documentation > Peak Tickets V1 > Configuration

Configuration

Below is a list of the configuration options, their purpose, default values, and other information. Each section corresponds to a section in the configuration file.

To obtain the ID of a user, role, or channel, make sure you have Developer Mode enabled in Discord. If you are having trouble enabling Developer Mode, please refer to this guide: Where can I find my User/Server/Message ID?

Bot Settings

Variable NameDescriptionTypeDefault Value
tokenDiscord bot token used to have the bot login to the API.String"TOKEN_HERE"
bot_game_typeDifferent Bot Status. "PLAYING", "WATCHING", "LISTENING"String"PLAYING"
bot_gameCustom Status Message.String"Some_Game_Presence"
embed_colorColor for most embedsString"#ff0000"
license_keyLicense key used for authentication purposes. Obtain license key from https://license.peakmodifications.com/String"LICENSE_KEY_HERE"
portThe port the bot listens on this can be used for status pages.String"8080"
footerThis is what the footer for most embeds say.String"Made by Peak Modifications"

Database Setup

Variable NameDescriptionTypeDefault Value
hostThe IP of your SQL ServerString"localhost"
userThe username for your SQL ServerString"username"
passwordThe password for of the user for your SQL Server.String"password"
databaseThe database designated for the bot.String"peaktickets"
portPort that your MySQL server listens to.String"3306"

Staff Setup

Variable NameDescriptionTypeDefault Value
ticket_addRoles that can use this command.Array["ROLE_ID_HERE"]
ticket_closeRoles that can use this command.Array["ROLE_ID_HERE"]
ticket_lockRoles that can use this command.Array["ROLE_ID_HERE"]
ticket_panelRoles that can use this command.Array["ROLE_ID_HERE"]
ticket_removeRoles that can use this command.Array["ROLE_ID_HERE"]
ticket_unlockRoles that can use this command.Array["ROLE_ID_HERE"]

Max Tickets

Variable NameDescriptionTypeDefault Value
max_ticketsWhats the max amount of tickets allowed to be open?String "2"


Suggest an edit

Review this page

clewis329