-
Notifications
You must be signed in to change notification settings - Fork 28
/
config.js
152 lines (139 loc) · 4.54 KB
/
config.js
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
//CONFIG DATA EXPLANATION - https://docs.petyxbron.cz/config/config-info
module.exports = {
//Your bot data
bot: {
token: '', //Your bot token - https://tinyurl.com/discordbot-token
prefix: '', //Your custom prefix of the bot, like "!" or "."
status: '', //Custom activity/status text
activity: '' //You can choose: PLAYING, LISTENING, WATCHING, COMPETING
},
//Your minecraft server data
server: {
name: '', //Your server name
type: '', //"java" or "bedrock"
ip: '', //IP of your server - do not include port - e.g. "mc.hypixel.net"
port: '', //PORT of your server - empty => default port (BE 19132, JA 25565)
icon: '', //Link to icon - like "https://website.com/icon.png"
version: '', //Minecraft version of sever
vote: '' //Vote link - like "https://minecraftpocket-servers.com/server/80103/vote/"
},
//Basic code settings
//All settings are boolean wanted - Use "true" for enabling, "false" for disablign setting.
settings: {
warns: true, //Show warns?
debug: false, //Log most of changes and updates (pretty spam)?
inviteLink: true, //Show bot invite link on bot start?
readyScan: true, //On bot's start, send to console server's basic info?
split: false, //Advanced - Extract only the version like "1.17" or "1.12" etc.
randomColor: false, //Enable random hex color generator for embeds? Overwrites embeds settings!
statusCH: false, //Enable auto-changing status message
votingCH: false //Enable voting channel
},
//Period of auto changing status if you are using {onlinePlayers} or {maxPlayers} in bot's status
autoStatus: {
time: '10min'
},
//Voting channel - https://docs.petyxbron.cz/config/config-info#voting-ch
votingCH: {
time: '30s', //Time for how long the cancel reaction should be deleted.
reactions: {
first: '👍', //First added reaction (the positive one)
second: '👎', //Second added reacion (the negative one)
cancel: '❌' //Third added reaction (cancel/remove button)
},
guild: {
id: ''
},
channel: {
id: ''
}
},
//Auto changing status message
statusCH: {
time: '30s', //How long should the status always be updated? - like "3min", "20s" or "1min" etc.
guild: {
id: '',
},
channel: {
id: '',
}
},
//Embeds settings
embeds: {
colors: {
normal: '', //Main/succesful color of embeds - choose HEX color here: https://htmlcolorcodes.com
error: '', //Error/unsuccesful color of embeds - choose HEX color here: https://htmlcolorcodes.com
}
},
//Custom text settings
messages: {
ip: {
title: "IP address:",
description: "\`{serverIp}\`:\`{serverPort}\`"
},
list: {
title: "Online player list:",
description: "**{playersOnline}**/**{playersMax}**",
listFormat: "```{playersList}```"
},
status: {
title: "Server status:",
description:
`:white_check_mark: **ONLINE**
**Description**
{motd}
**IP Address**
\`{serverIp}\`:\`{serverPort}\`
**Version**
{serverType} {serverVersion}
**Players**
**{playersOnline}**/**{playersMax}**`,
},
test: {
content: "Test message reply."
},
version: {
title: "Minecraft version:",
description: "{serverType} {serverVersion}"
},
vote: {
title: "Server list vote link:",
description: "[Here]({voteLink}) you can vote for {serverName}."
}
},
//Commands aliases
commands: {
status: [
's',
'info',
'server',
'overview',
'ov'
],
test: [
't',
'try',
'testing'
],
ip: [
'i',
'ip-address',
'address',
'connect',
'join'
],
list: [
'l',
'players',
'plist'
],
vote: [
'votelink'
],
version: [
'v',
'ver'
]
}
};
//CONFIG DATA EXPLANATION - https://docs.petyxbron.cz/config/config-info