-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathconfig.js
186 lines (165 loc) · 5.62 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
// Enter the port that you want the website to be on.
// Default port is 4777, if you want to change it, you can change it here.
// If the hosting provider doesn't allow you to use the port 4777, you can change it to what the hosting provider allows you to use.
const port = 3000;
// Enter the domain that you will use for the website.
const domain = 'https://astrabots.xyz';
// Are you going to localhost the website or host it on a server?
// Set to "true" if you are localhosting.
// Set to "false" if you are hosting it on a server.
const localhosting = true;
module.exports = {
// Client will be the bot that you will use for the main purpose of the website and commands.
client: {
id: '', // Bot ID
token: '', // Bot token
secret: '', // Bot secret
prefix: 'a!', // Bot prefix
owners: ["857177733398265876", "594638372996251655"], // Bot owner(s) ID, can be multiple owners separated by comma
},
// ServerClient will be the bot that will be used for the server list/server commands
// and the bot that will be public to everyone so they can invite it to their server.
serverClient: {
id: '', // Server Bot ID
prefix: 's!', // Server Bot prefix
token: '', // Server Bot token
// Replace the REPLACEME with your client ID
invite: 'https://discord.com/oauth2/authorize?client_id=REPLACEME&scope=bot%20identify&permissions=19473'
},
database: {
url: '', // Mongo url (eg. mongodb+srv://<username>:<password>@<host>/<database>)
},
website: {
port: port, // Website port
// DO NOT CHANGE "localhosting"
localhosting: localhosting,
url: localhosting ? 'http://localhost:' + port : domain, // Website url
callback: localhosting ? 'http://localhost:' + port + '/callback' : domain + '/callback', // Website callback url
// For login issues about the callback url, please join the support server and check the #support channel pinned messages.
// If you still can't fix it, feel free to open a ticket in the support server.
support: 'https://discord.gg/sQQFSnQhdt', // discord support server
roles: {
administrator: ["857177733398265876"] // administrator role id(s)
},
botTags: [ // Botlist tags
"Fun",
"NSFW",
"Game",
"24/7",
"OSU!",
"Guard",
"Anime",
"Music",
"Memes",
"Invite",
"Reddit",
"Twitch",
"Crypto",
"Economy",
"Logging",
"Youtube",
"Utility",
"General",
"Leveling",
"Roleplay",
"Fortnite",
"Welcomer",
"Chat bot",
"Minecraft",
"Community",
"Minigames",
"Moderation",
"Protection",
"Web Dashboard",
"Reaction Roles",
"Auto Moderation",
],
serverTags: [
"Fun",
"Game",
"NSFW",
"Meme",
"Shop",
"Media",
"Emoji",
"Sound",
"Stream",
"Social",
"Design",
"Company",
"Turkish",
"Protest",
"E-Sport",
"Bot List",
"Chatting",
"Roleplay",
"Challange",
"Community",
"Technology",
"Server List",
"Development",
]
},
server: {
id: '793149744847257600', // Server ID
emojis: {
"approve": "<:db_verified:826375752840249365>",
"decline": "<:db_delete:816717275431174144>",
"success": "✅",
"error": "❌",
},
// Channel IDs
channels: {
errors: '1023887120533823519', // Sends errors to this channel
login: '850254765941325835', // Sends login logs to this channel (member login)
botlogs: '850303116393185290', // Bot Add, Remove, Approve, Deny, Edit
votes: '', // Bot votes channel
serverlogs: '', // Server Add, Remove, Approve, Deny, Edit
// Greetings
welcome: '804721971593478164', // welcome logs channel Member/Bot joins the server
leave: '804721971593478164', // Leave logs channel Member/Bot leaves the server
schedules: '1025000823790501949', // New schedule logs channel when you want to schedule a promotion
// Mongo Logs
database: {
logs: '1023887120533823519', // Channel ID to store database changes
},
voiceChannelStatistics: '', // Voice channel statistics channel "Website Visitors: 1365"
},
// Role IDs
roles: {
botReviewer: '822476027824963584', // Bot reviewer role
botDeveloper: '808682198101262378', // Bot developer role
verifiedBot: '816650236733685784', // Verified bot role
unverifiedBot: '816638129225596968', // Unverified bot role
}
},
languages: [{
flag: 'gr',
code: 'el',
name: 'Greek'
}, {
flag: 'gb',
code: 'en',
name: 'English'
}, {
flag: 'tr',
code: 'tr',
name: 'Türkçe'
}, {
flag: 'de',
code: 'de',
name: 'Deutsch'
}, {
flag: 'ru',
code: 'ru',
name: 'Russian'
}, {
flag: 'fr',
code: 'fr',
name: 'French'
}, {
flag: 'es',
code: 'es',
name: 'Spanish'
}],
}