-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsettings.cjs
29 lines (27 loc) · 1.37 KB
/
settings.cjs
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
const { ActivityType, PresenceUpdateStatus } = require("discord.js");
module.exports = {
timer: 61000, // Is in milliseconds. Default: 61000 ms = 1 minute & 1 second. Lower values may not work out well.
cooldownTimer: 21600000, // Is in milliseconds. Default: 21600000 ms = 6 hours.
language: 'english', // Default language 'english'. Other languages available in `i18n` folder.
twitch: {
clientID: '', // Make a Twitch application at
clientSecret: '' // https://dev.twitch.tv/console/apps
},
discord: {
token: '', // https://discordapp.com/developers/applications/me/
permissionForCommands: BigInt('0x0000000010000000'), // https://discordapp.com/developers/docs/topics/permissions
message: '@everyone', // The default text on announcement, before the url and stream type. Can be changed with !message command. Default: '@everyone' = '@everyone LIVE! https://twitch.tv/stream'
activity: {
activities: [{
name: 'TWITCH API',
type: ActivityType.Watching, // .Listening, .Competing, .Playing, .Streaming, .Watching
}],
status: PresenceUpdateStatus.Online, // .Online, .Idle, .Invisible, .DoNotDisturb, .Offline
}
},
log: true // Logs changes done to data.json into logs.txt.
}
/**
* Example invite link for bot
* https://discordapp.com/oauth2/authorize?client_id=<clientid from Discord>&scope=bot&permissions=3136
*/