-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexampleConfig.js
More file actions
34 lines (32 loc) · 1.42 KB
/
exampleConfig.js
File metadata and controls
34 lines (32 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
export const discordToken = "";
export const dbFile = "./db/data.db";
//what role can control the bot when first added to the server.
export const defaultAdminRole = "Toilet Brush";
export const commandPrefix = ".";
//port bot queries ut2k4 servers for user commands
export const udpPort = 1333;
//if server doesn't respond in x seconds display timedout
export const responseTimeout = 2;
export const bDisplayNotEnabled = true;
export const embedColor = 0x0099ff;
export const failIcon = ":no_entry:";
export const passIcon = ":white_check_mark:";
//how many seconds between bot pings to the ut2k4 servers in the list to update basic info such as servername, gametypename, mapname and total players
export const serverInfoInterval = 12;
//how many seconds the auto query will update auto update channel if enabled
export const autoQueryInterval = 30;
export const validServerEditTypes = [
"ip",
"port",
"country",
"alias"
];
//max amount of servers to display in one message
//used for .servers, splits messaged into multiple parts.
export const serversPerMessage = 10;
//label tam servers as tam instead of deathmatch
export const bLabelAsTAM = true;
//a link to the bot's github repo will be displayed in the .help command.
export const bDisplayBotGithubLink = true;
//a link to the oldUnreal UT2004 full game installer and another for the new patch will be displayed in the help command.
export const bDisplayOldUnrealLinks = true;