Skip to content

Commit

Permalink
Add modmail (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandler05 committed Jun 25, 2023
1 parent 788d366 commit 4addb81
Show file tree
Hide file tree
Showing 17 changed files with 1,449 additions and 53 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ node_modules
settings.json
config/local.yml
config/local-*.yml
screenlog.*

db.sqlite

screenlog.*
3 changes: 3 additions & 0 deletions config/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ owners:

homeChannel: '649027251010142228'

modmailEnabled: true
modmailChannel: '975742528546545704'

request:
channels:
- '672114750477303837'
Expand Down
3 changes: 3 additions & 0 deletions config/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ owners:

homeChannel: '646317855234850818'

modmailEnabled: true
modmailChannel: '1122496663966199849' # modmail

request:
channels:
- '648555618994618378' # java-requests
Expand Down
6 changes: 6 additions & 0 deletions config/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ owners:
# The channel ID of the bot's home channel.
homeChannel: <string>

# Whether or not bot DMs will be forwarded to an internal channel.
modmailEnabled: <boolean>

# The channel ID of the channel modmail bot DMs will be sent to.
modmailChannel: <string>

# Whether the bot should send an embed when a full URL to a ticket gets posted.
ticketUrlsCauseEmbed: <boolean>

Expand Down
Loading

0 comments on commit 4addb81

Please sign in to comment.