Go to file
Gugu72 8e69385389
Fix snippet took as language identifier (#491)
Added a new line so it doesn't take snippet as language identifier.
Without this new line, if the first line of the snippet contains only one word (if it doesn't have at least 1 space character), the first line is taken as a language identifier, unknown in most cases.
Just added `\n` to avoid using snippet as a language identifier.
2020-11-01 20:38:58 +02:00
.github Create dependabot.yml 2020-08-16 19:12:22 +03:00
attachments Add attachment rehosting; forward attachments in replies 2016-12-16 09:26:05 +02:00
db Move migration files within src 2020-09-23 02:34:40 +03:00
docs Add a note about gateway intents 2020-10-27 23:44:01 +02:00
logs Add log saving and serving 2016-12-06 02:29:55 +02:00
src Fix snippet took as language identifier (#491) 2020-11-01 20:38:58 +02:00
.editorconfig Switch from TOML to INI. New documentation. Add start.bat file for Windows. 2019-12-03 01:51:11 +02:00
.eslintrc Fix crash when a user sends an attachment 2020-08-17 11:26:06 +03:00
.gitignore Revert some accidental changes from #319 2020-01-19 21:33:46 +02:00
.npmrc Hide extra error info by npm to make error messages clearer to the user 2018-03-11 21:31:23 +02:00
.nvmrc Update node-sqlite3 to v5. Update Node.js version requirements accordingly. 2020-07-09 04:05:28 +03:00
CHANGELOG.md Update CHANGELOG for v3.0.3 2020-10-27 21:16:39 +02:00
LICENSE.md Add MIT license 2017-03-01 09:58:53 +02:00
README.md Add docs on how to update the bot 2020-10-27 19:26:11 +02:00
config.example.ini Rename mainGuildId to mainServerId, mailGuildId to inboxServerId 2020-08-16 23:53:35 +03:00
knexfile.js Fix inconsistency between knexfile and runtime knex config 2020-08-13 23:55:29 +03:00
modmailbot-pm2.json Add pm2 support 2019-06-25 06:27:40 -04:00
package-lock.json 3.0.3 2020-10-27 21:16:44 +02:00
package.json 3.0.3 2020-10-27 21:16:44 +02:00
start.bat Switch from TOML to INI. New documentation. Add start.bat file for Windows. 2019-12-03 01:51:11 +02:00

README.md

Modmail for Discord

Modmail Bot is a bot for Discord that allows users to DM the bot to contact the server's moderators/staff without messaging them individually or pinging them publically on the server. These DMs get relayed to modmail threads, channels where staff members can reply to and talk with the user. To the user, the entire process happens in DMs with the bot.

Inspired by Reddit's modmail system.

⚠ Note on updating to v3.0.0: If you're currently using a very old version of the bot, from before February 2018, you'll first need to update to v2.30.1 and run the bot once before updating to v3.0.0.

Always take a backup of your db/data.sqlite file before updating the bot.

Getting started

Support server

If you need help with setting up the bot or would like to discuss other things related to it, join the support server on Discord here:

👉 Join support server