File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11DISCORD_TOKEN = " " # Your bot token
22CLIENT_ID = " " # Your bot's application ID
3+
4+ SERVER_ID =
5+ MODERATORS_ROLE_IDS = # Comma separated list of role IDs that are Moderators(Mods, Admins, etc)
6+
7+ FETCH_AND_SYNC_MESSAGES = # if true, the bot will fetch and sync messages from pubic channels on startup
8+
9+ REPEL_LOG_CHANNEL_ID = # Channel ID where the bot will log repel actions
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ export const config = {
1616 token : requireEnv ( 'DISCORD_TOKEN' ) ,
1717 clientId : requireEnv ( 'CLIENT_ID' ) ,
1818 } ,
19+ repel : {
20+ repelLogChannelId : requireEnv ( 'REPEL_LOG_CHANNEL_ID' ) ,
21+ repelRoleId : requireEnv ( 'REPEL_ROLE_ID' ) ,
22+ } ,
23+ fetchAndSyncMessages : requireEnv ( 'FETCH_AND_SYNC_MESSAGES' ) === 'true' ,
24+ serverId : requireEnv ( 'SERVER_ID' ) ,
25+ moderatorsRoleIds : requireEnv ( 'MODERATORS_ROLE_IDS' )
26+ ? requireEnv ( 'MODERATORS_ROLE_IDS' ) . split ( ',' )
27+ : [ ] ,
1928 // Add more config sections as needed:
2029 // database: {
2130 // url: requireEnv('DATABASE_URL'),
You can’t perform that action at this time.
0 commit comments