You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .env.example
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
# dotenv-linter:off ValueWithoutQuotes
2
+
1
3
# !!REQUIRED!!
2
4
# The Discord token for the bot you created (available on your bot page in the developer portal: https://discord.com/developers/applications))
3
5
# Must be a valid Discord bot token (see https://discord.com/developers/docs/topics/oauth2#bot-vs-user-accounts)
@@ -34,12 +36,10 @@ MEMBERSHIP_PERKS_URL=[Replace with your group\'s membership-perks URL]
34
36
# Must be a valid URL
35
37
CUSTOM_DISCORD_INVITE_URL=[Replace with your group\'s Discord server invite link]
36
38
37
-
38
39
# The minimum level that logs must meet in order to be logged to the console output stream
39
40
# One of: DEBUG, INFO, WARNING, ERROR, CRITICAL
40
41
CONSOLE_LOG_LEVEL=INFO
41
42
42
-
43
43
# !!REQUIRED!!
44
44
# The URL to retrieve the list of IDs of people that have purchased a membership to your community group
45
45
# Ensure that all members are visible without pagination. For example, if your members-list is found on the UoB Guild of Students website, ensure the URL includes the "sort by groups" option
@@ -52,17 +52,14 @@ ORGANISATION_ID=[Replace with your group\'s MSL Organisation ID]
52
52
# This can be extracted from your web-browser, after logging in to view your members-list yourself. It will probably be listed as a cookie named `.AspNet.SharedCookie`
53
53
SU_PLATFORM_ACCESS_COOKIE=[Replace with your .AspNet.SharedCookie cookie]
54
54
55
-
56
55
# The probability that the more rare ping command response will be sent instead of the normal one
57
56
# Must be a float between & including 0 to 1
58
57
PING_COMMAND_EASTER_EGG_PROBABILITY=0.01
59
58
60
-
61
59
# The path to the messages JSON file that contains the common messages sent by the bot
62
60
# Must be a path to a JSON file that exists, that contains a JSON string that can be decoded into a Python dict object
63
61
MESSAGES_FILE_PATH=messages.json
64
62
65
-
66
63
# Whether introduction reminders will be sent to Discord members that are not inducted, saying that they need to send an introduction to be allowed access
# Must be a string of the seconds, minutes or hours between reminders (format: "<seconds>s<minutes>m<hours>h")
95
92
ADVANCED_SEND_GET_ROLES_REMINDERS_INTERVAL=24h
96
93
97
-
98
94
# The number of days to look over messages sent, to generate statistics data
99
95
# Must be a float representing the number of days to look back through
100
96
STATISTICS_DAYS=30
@@ -103,20 +99,17 @@ STATISTICS_DAYS=30
103
99
# Must be a comma seperated list of strings of role names
104
100
STATISTICS_ROLES=Committee,Committee-Elect,Student Rep,Member,Guest,Server Booster,Foundation Year,First Year,Second Year,Final Year,Year In Industry,Year Abroad,PGT,PGR,Alumnus/Alumna,Postdoc,Quiz Victor
105
101
106
-
107
102
# !!REQUIRED!!
108
103
# The URL of the your group's Discord guild moderation document
109
104
# Must be a valid URL
110
105
MODERATION_DOCUMENT_URL=[Replace with your group\'s moderation document URL]
111
106
112
-
113
107
# The name of the channel, that warning messages will be sent to when a committee-member manually applies a moderation action (instead of using the `/strike` command)
114
108
# Must be the name of a Discord channel in your group's Discord guild, or the value "DM" (which indicates that the messages will be sent in the committee-member's DMs)
115
109
# This can be the name of ANY Discord channel (so the offending person *will* be able to see these messages if a public channel is chosen)
116
110
MANUAL_MODERATION_WARNING_MESSAGE_LOCATION=DM
117
111
118
-
119
112
# The set of roles that are tied to the membership of your community group
120
113
# These roles will be removed along with the membership role upon annual handover/reset
121
114
# Must be a comma seperated list of strings of role names
0 commit comments