-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.example.py
133 lines (118 loc) · 3.51 KB
/
config.example.py
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# type: ignore
token = 'token'
command_prefixes = ['!', ',', '.']
# Sentry DSN
DSN = ''
# Api Creds
giantbomb = 'key'
# Mongo Credentials
mongoURI = 'MongoDB URI'
# Users
parakarry: int = bot
# Guild IDs
nintendoswitch: int = guild
# Channel IDs
modChannel: int = modlog
publicModChannel: int = public_modlog
logChannel: int = loglog
debugChannel: int = testing
adminChannel: int = admin
trialModChannel: int = trialmod
boostChannel: int = nitro_booster
offclockChannel: int = admin_offtopic_id
switchHelp: int = switch_help
spoilers: int = spoilers
suggestions: int = suggestions
commandsChannel: int = commands
splatoon2Channel: int = splatoon2
automodChannel: int = automod_alerts
# Category IDs
eventCat: int = server_events
modmailCat: int = modmail_category
modHangoutCat: int = shared_mod_hangout_category
# Channel groups
showModCTX = [debugChannel, adminChannel, offclockChannel, trialModChannel, modmailCat]
# Role IDs
boostRole: int = nitro_boosters
chatmod: int = chat_moderator
submod: int = subreddit_moderator
moderator: int = moderator
modemeritus: int = moderator_emeritus
submodemeritus: int = sub_moderator_emeritus
eh: int = test_server_mod
helpfulUser: int = helpful_user
trialHelpfulUser: int = trial_helpful_user
mute: int = timeout
noSpoilers: int = spoiler_restricted
noSuggestions: int = suggestion_restricted
noReactions: int = reaction_restricted
noEmbeds: int = attachments_and_embeds_restricted
noEvents: int = event_restricted
verified: int = verified_role
# Emoji IDs
loading = '<a:loading:659107120419045403>'
online = '<:online:319200223350095872>'
away = '<:away:319200276206845962>'
dnd = '<:dnd:319200300726616064>'
offline = '<:offline:319200260566286336>'
streaming = '<:streaming:469693769919234060>'
redTick = '<:redTick:402505117733224448>'
greenTick = '<:greenTick:402505080831737856>'
addTick = '<:addTickL:951241243604713492>'
removeTick = '<:removeTickL:951249921862926367>'
barChart = '<:barchart:612724385505083392>'
playButton = '▶'
nextTrack = '⏭'
fastForward = '⏩'
downTriangle = '🔻'
stopSign = '🛑'
# Invites
banAppealInvite: str = invite_to_ban_appeal_server
# Web
baseUrl = 'https://example.com'
# Text constants
punDM = (
'You have received a moderation action on the /r/NintendoSwitch Discord server.\n'
'Action: **{}**\n'
'Reason:\n```{}```\n'
'Responsible moderator: {}\n'
'If you have questions concerning this matter, please feel free to contact the respective moderator that took this action or another member of the moderation team.\n\n'
'Please do not respond to this message, I cannot reply.'
)
punStrs = {
'strike': 'Strike',
'destrike': 'Removed strike',
'tier1': 'Tier 1 Warning',
'tier2': 'Tier 2 Warning',
'tier3': 'Tier 3 Warning',
'mute': 'Mute',
'unmute': 'Unmute',
'clear': 'Warnings reset',
'kick': 'Kick',
'ban': 'Ban',
'unban': 'Unban',
'blacklist': 'Blacklist',
'unblacklist': 'Unblacklist',
'note': 'Note',
'appealdeny': 'Denied ban appeal',
'duration-update': 'Duration updated',
'reason-update': 'Reason updated',
'action-approve': 'Automod alert resolved',
'action-reject': 'Automod alert dismissed',
}
punColors = {
'strike': 0xFF9C8F,
'appealdeny': 0xFF7C6B,
'ban': 0xE93C25,
'destrike': 0xFFCB8F,
'kick': 0xFFBA6B,
'unban': 0xE98E25,
'blacklist': 0x7EBBD9,
'mute': 0x3680A4,
'unblacklist': 0x80E59A,
'unmute': 0x39C05D,
'duration-update': 0x58B9FF,
'reason-update': 0x58B9FF,
'action-approve': 0x895EC8,
'action-reject': 0xC553C0,
}