Modmail

A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail.

AGPL-3.0 License

Stars
1.6K
Committers
61

Bot releases are visible (Hide)

Modmail - Stable Release

Published by Taaku18 over 5 years ago

Added

  • loglink command, returns the log link for the current thread.
Modmail - Logs Track Edited Messages

Published by Taaku18 over 5 years ago

Changed

  • Your logs now track and show edited messages.
Modmail - Stable Release

Published by Taaku18 over 5 years ago

Changed

  • Use reply author's top role for the mod tag by default.
Modmail - Stable Release

Published by Taaku18 over 5 years ago

Added

  • anonreply command to anonymously reply to the recipient.
    The username of the anonymous user defaults to the mod_tag (the footer text of a mod reply). The avatar defaults the guild icon URL. However, you can change both of these via the anon_username, anon_avatar_url and anon_tag config variables.

Changed

  • Your bot now logs all messages sent in a thread channel, including discussions that take place. You can now toggle to view them in the log viewer app.
Modmail - Bug Fix

Published by Taaku18 over 5 years ago

Fixes

  • Fixed a small bug due to a typo.
Modmail - Bug Fix

Published by Taaku18 over 5 years ago

Fixes

  • Forgot to enable custom embed colors.

Added

  • Ability to set a custom mod_tag (the text in the footer of the mod reply embed, which by default says "Moderator").
Modmail - Bug Fix & Ability to Change Embed Color

Published by Taaku18 over 5 years ago

Changed

  • Improve format of thread info embeds. Slightly cleaner and simpler now.
  • All commands are now blurple instead of green.

Fixed

  • Bug where the close command wouldn't work if you didn't configure a log channel.

Added

  • Ability to set your own custom mod_color and recipient_color for the thread message embeds.
Modmail - Changed Order of Argument for "contact"

Published by Taaku18 over 5 years ago

Changed

-Changed order of arguments for the contact command. This is so that you can use aliases to their full potential.
For example:

  • contact "Recruitment Category" @somedude

Before, you can add an alias by doing: alias add recruit contact "Recruitment Category"

Now, you can use the alias via: recruit @somedude

Modmail - Stable Release

Published by Taaku18 over 5 years ago

Added

  • New command note will add a system message to your thread logs. This is useful for noting the context of a conversation.

Changed

  • Re-designed log viewer interface now supports Discord markdown.
Modmail - Bug Fix

Published by Taaku18 over 5 years ago

Fixed

  • Fixed bug where thread logs were getting duplicated when using the contact command.
  • Fixed bug where the wrong key was used for logs which caused some log command log links to point to an HTTP 404 Not Found.
    • A minor oversight from commit 1ba74d9.
Modmail - Major Release

Published by Taaku18 over 5 years ago

Changed

  • Major improvement in viewing thread logs.
  • Log links are now rendered in HTML instead of plain text.
Modmail - Security Fix

Published by Taaku18 over 5 years ago

Added

  • config options command to see a list of valid config variables that you can modify.

Security

  • Thread channels will now default to being private (@everyone's read message perms set to false).
    • If the thread creation category could not be resolved.
    • This will save you from some trouble if for whatever reason your configuration gets messed up.
Modmail - Official Name is Now "Modmail", Ability to Set Modmail Category

Published by Taaku18 over 5 years ago

Changed

  • All reference to "modmail" / "Mod Mail" / "ModMail" are changed to "Modmail".
    log_channel_id is now part of the config upon setup.
    Added the ability to set where threads are created using the main_category_id configuration option.

Important Note

  • If your Modmail bot was set up a long time ago, you may experience an issue where messages were sent outside of the category.
    • To fix this, set main_category_id to the ID of the Modmail category.
Modmail - Stable Release

Published by Taaku18 over 5 years ago

Changed

  • move command now syncs thread channel permissions with the category that it was moved to.
  • contact command now supports an optional "category" argument (where the thread channel will be created).
Modmail - Bug Fix

Published by Taaku18 over 5 years ago

Fixes

  • Fixed small issue with finding threads.
Modmail - Bug Fix

Published by Taaku18 over 5 years ago

Fixes

  • Fixed log URLs for self-hosting users.
Modmail - Bug Fix

Published by Taaku18 over 5 years ago

Fixes

  • Oversight in the code after testing.
Modmail - Semi-Stable Release

Published by Taaku18 over 5 years ago

Mostly internal changes. Some are slightly breaking. Keep a lookout for broken features and report them on our server.

Added

  • threads is now a default alias to logs

Changed

  • Log URLs are moved to their own collection.
  • Log URLs are now https://logs.modmail.tk/LOGKEY, no more numbers before the logkey.
  • We still support the numbers so as to not break everyone's URLs so quickly but both work atm :p
  • This is a huge change to the backend logging and there might be migration errors. If so, please contact us at our discord server
Modmail - Bug Fix

Published by Taaku18 over 5 years ago

Fixes

  • Fixed a bug where requests sent when the API wasn't ready.
Modmail - Bug Fix

Published by Taaku18 over 5 years ago

Fixes

  • Emergency patch to save config.