Skip to content

Commit 4addb81

Browse files
authored
Add modmail (#227)
1 parent 788d366 commit 4addb81

17 files changed

+1449
-53
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ node_modules
99
settings.json
1010
config/local.yml
1111
config/local-*.yml
12-
screenlog.*
12+
13+
db.sqlite
14+
15+
screenlog.*

config/beta.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ owners:
77

88
homeChannel: '649027251010142228'
99

10+
modmailEnabled: true
11+
modmailChannel: '975742528546545704'
12+
1013
request:
1114
channels:
1215
- '672114750477303837'

config/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ owners:
1010

1111
homeChannel: '646317855234850818'
1212

13+
modmailEnabled: true
14+
modmailChannel: '1122496663966199849' # modmail
15+
1316
request:
1417
channels:
1518
- '648555618994618378' # java-requests

config/template.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ owners:
2525
# The channel ID of the bot's home channel.
2626
homeChannel: <string>
2727

28+
# Whether or not bot DMs will be forwarded to an internal channel.
29+
modmailEnabled: <boolean>
30+
31+
# The channel ID of the channel modmail bot DMs will be sent to.
32+
modmailChannel: <string>
33+
2834
# Whether the bot should send an embed when a full URL to a ticket gets posted.
2935
ticketUrlsCauseEmbed: <boolean>
3036

0 commit comments

Comments
 (0)