This repository was archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.js.template
More file actions
51 lines (51 loc) · 1.5 KB
/
config.js.template
File metadata and controls
51 lines (51 loc) · 1.5 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
token: "The token of the bot",
clientId: "The id of the bot",
guildId: "The id of a discord server for pushing / commands, can be an Array",
OwnerId: ["The id of the owner of the bot"],
guildMainId: "The id of the Main discord server",
logCha: "The id of a log channel",
debugCha: "the id of the debug channel, where all unhandled errors will get",
reddit: "Do you want the reddit system to work?",
redditCha: "the channel where reddit post get sent",
starBoard: "Do you want the starboard to be activated?",
starBoardEmoji: [
{
emoji: "the reaction to respond to",
ChaId: "The id of the channel",
thread: true,
ThdId: "The id of the thread if the thread part in this object is true"
}
],
showLink: true,
Cards: {
AutoMod: false,
PunishmentRole: "A role id",
JailRole: "A role id"
},
listAllPerm: "ADMINISTRATOR",
sqlPass: "A password for the database, can be empty",
PasteeDevKey: "A key to the api of Paste.ee",
beta: false,
redditURL: "A URL to a subreddit",
mastodon: {
enable: false,
server: "the server the bot account is on mastodon",
token: ""
},
twitter: {
enable: false,
app: {
key: "A key to twitter API (appKey)",
secret: "A key to twitter API (appSecret)"
},
access: {
token: "A key to twitter API (accessToken)",
secret: "A key to twitter API (accessSecret)"
}
},
catcherror: (err) => {
// A function when an error happend
console.error(err)
}
}