Skip to content

Releases: modmail-dev/Modmail

Scheduled Closure For More Than a Day

19 Jan 00:28
1fb5a64
Compare
Choose a tag to compare

Non-Breaking Internal Changes. (This shouldn't affect anyone.)

Background

Bots hosted by Heroku restart at least once every 27 hours.
During this period, local caches are deleted, which results in the inability to set the scheduled close time to longer than 24 hours. This update resolves this issue. PR #135

Changed

  • Created a new internal config var: closures.
  • Store closure details into closures when the scheduled time isn't "now".
    • Loaded upon bot restart.
    • Deleted when a thread is closed.
  • Use call_later() instead of sleep() for scheduling.

Bug Fix

19 Jan 00:27
Compare
Choose a tag to compare

Fixed

  • Fixed activity setting due to flawed logic in config.get() function.

Bug Fix

19 Jan 00:27
Compare
Choose a tag to compare

Fixed

Fixed a bug in activity command where it would fail to set the activity on bot restart if the activity type was playing.

Removed Log Viewer

19 Jan 00:26
d226be3
Compare
Choose a tag to compare

This update shouldn't affect anyone.

Changed

  • Moved self-hosted log viewer to a separate repo.

Ability to Add Custom Twitch URL

19 Jan 00:25
Compare
Choose a tag to compare

Added

  • Ability to set your own Twitch URL for streaming activity status.

Bug Fix

19 Jan 00:24
Compare
Choose a tag to compare

Fixed

  • Small bug in activity command.

New Command "activity"

18 Jan 23:01
e0cf2a7
Compare
Choose a tag to compare

Breaking changes.

Added

  • Added the activity command for setting the activity
  • PR #131 this supports multiple activity types (playing, watching, listening and streaming).

Removed

  • Removed the deprecated status command.
  • This also means you will have to reset your bot status with the activity command, as status command is removed.

Stable Release

18 Jan 23:00
Compare
Choose a tag to compare

Added

  • Ability to self-host logs.

Changed

  • Improved format for log channel embeds.
  • Roles are now comma separated in info embed.
  • This only applies to separate server setups.

Fixed

  • Bug in subscribe command, it will now unsubscribe after a thread is closed.

New Command and Improvements

18 Jan 22:59
Compare
Choose a tag to compare

Added

  • Notify command notify [role].

    • Notify a given role or yourself to the next thread message received.
    • Once a thread message is received you will be pinged once only.
  • Subscribe command sub [role] / unsub [role].

    • Subscribes yourself or a given role to be notified when thread messages are received.
    • You will be pinged for every thread message received until you unsubscribe.

Changed

  • Slightly improved log channel message format.

Bug Fix

18 Jan 22:59
4d51c23
Compare
Choose a tag to compare

Fixed

  • Small bug in close command.