forked from jmiln/SWGoHBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_example.js
More file actions
100 lines (86 loc) · 2.99 KB
/
Copy pathconfig_example.js
File metadata and controls
100 lines (86 loc) · 2.99 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
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
const config = {
// The Discord ID for the bot owner (Gets max perms/ can use Dev commands)
"ownerid": "YourUserID",
// The prefix for commands (';' is used as ;help, '+' for +help etc. )
"prefix": "YourPrefixGoesHere",
// The bot's token. Get it from https://discordapp.com/developers/applications/me
"token": "YourTokenGoesHere",
// The number of shards to spawn with
"shardCount": 1,
// The postgres DB for the server configs and such
"database": {
"host": "localhost",
"user": "username",
"pass": "password",
"data": "database"
},
"mongodb": {
"url": "mongodb://localhost:27017/",
"swgohbotdb": "swgohbot",
"swapidb": "swapi"
},
// The default per-guild settings
"defaultSettings": {
"prefix": ";",
"adminRole": ["Administrator"],
"enableWelcome": false,
"welcomeMessage": "Say hello to {{user}}, everyone! We all need a warm welcome sometimes :D",
"enablePart": false,
"partMessage": "Goodbye {{user}}, thanks for stopping by!",
"useEmbeds": true,
"timezone": "America/Los_Angeles",
"announceChan": "",
"useEventPages": false,
"eventCountdown": [2880, 1440, 720, 360, 180, 120, 60, 30, 10, 5],
"language": "en_US",
"swgohLanguage": "ENG_US",
"shardtimeVertical": false
},
// Default config for users (Leave these blank)
"defaultUserConf": {
// Discord userID
id: "",
// Array of allycode/ primary status pairs
accounts: [],
// Command specific defaults (guildsearch, ga, etc..)
defaults:{},
// Settings for the arena alerts
arenaAlert: {
enableRankDMs: false,
arena: "none", // both, char, fleet
payoutWarning: 0, // If higher than 0, send someone a DM that their payout is in x min
enablePayoutResult: false
}
},
// If you want to send error/ create/ delete message to a log channel
"logs": {
"logToChannel": false,
"channel": "channel-ID-to-log-to",
"logComs": false
},
// If you want to use the ;changelog command
"changelog": {
"changelogChannel": "channel-to-send-to",
"sendChangelogs": false
},
// Tell it to send stats to bot list(s)
"sendStats": true,
// Massive long token for botsfordiscord
"b4dToken": "",
// Need a Patreon account for this
// "patreon": { │50 // "host" : "",
// "clientID": "",
// "clientSecret": "",
// "creatorAccessToken": "",
// "creatorRefreshToken": ""
// }
// api.swgoh.help info
"api_swgoh_help": {
"username" : "",
"password" : "",
"client_id" : "", // Your discord user ID
"client_secret": "YOUR_SECRET",
"host" : "api.swgoh.help"
}
};
module.exports = config;