Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ REPEL_ROLE_ID=1002411741776461844 # The ID of the role that is used for MiniMods
REPEL_DEFAULT_DELETE_COUNT=20 # The number of messages to delete when using the repel command
REPEL_LOG_CHANNEL_ID=1403558160144531589 # The channel where the repel command logs are sent
REPEL_DEFAULT_TIMEOUT=6 # Default timeout for the repel command in HOURS
MODERATORS_ROLE_IDS=465222496891699200 # Comma-separated list of moderator role IDs
4 changes: 4 additions & 0 deletions src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ export const REPEL_DEFAULT_DELETE_COUNT =
export const { REPEL_LOG_CHANNEL_ID } = process.env;
export const REPEL_DEFAULT_TIMEOUT =
Number.parseInt(process.env.REPEL_DEFAULT_TIMEOUT) || 6;

export const MODERATORS_ROLE_IDS = process.env.MODERATORS_ROLE_IDS
? process.env.MODERATORS_ROLE_IDS.split(',')
: undefined;
Loading
Loading