A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail.
AGPL-3.0 License
Bot releases are hidden (Show)
Published by Taaku18 almost 5 years ago
Added the ability to disable the sent_emoji
and blocked_emoji
when a user messages modmail.
You can do this via ?config set sent_emoji disable
The bot now handles having too many roles to show in the thread created embed.
Published by Taaku18 almost 5 years ago
Added image link in title in case discord fails to embed an image.
Published by Taaku18 almost 5 years ago
account_age
for setting a minimum account creation age.
blocked
along with other reasons for being blocked.account_age
needs to be an ISO-8601 Duration Format (examples: P12DT3H
12 days and 3 hours, P3Y5M
3 years and 5 months PT4H14M999S
4 hours 14 minutes and 999 seconds). https://en.wikipedia.org/wiki/ISO_8601#Durations.account_age
using config set account_age time
where "time" can be a simple human readable time string or an ISO-8601 Duration Format string.block
reason cannot start with System Message:
as it is now reserved for internal user blocking.block
, like close
, now supports a block duration (temp blocking).Published by Taaku18 almost 5 years ago
status
configuration variable clashes with the new status
variable.Published by Taaku18 over 5 years ago
Published by Taaku18 over 5 years ago
?debug hastebin
.Published by Taaku18 over 5 years ago
user_typing
, the value doesn't matter, just it's the presence. use config del
to disable the functionality. The same thing in reverse is also possible if you want the user to see the bot type when someone is typing in the thread channel add the mod_typing
config variable.status
command, change the bot's status to online
, idle
, dnd
, invisible
, or offline
.
status clear
.status
. Possible values are online
, idle
, dnd
, invisible
, and offline
.activity
has drastically changed to accommodate the new status
command.Published by Taaku18 over 5 years ago
Published by Taaku18 over 5 years ago
debug
will show you the recent logs within 24h through a series of embeds.
debug hastebin
will upload a formatted logs file to https://hasteb.in.debug clear
will clear the locally cached logs.Unclosed client session
and Task was destroyed but it is pending!
when the bot terminates.thread.create
is now synchronous so that the first message sent can be queued to be sent as soon as a thread is created.
print
is replaced by logging.
LOG_LEVEL
.INFO
, DEBUG
, WARNING
, ERROR
, CRITICAL
.on_error
and CommandNotFound
are now logged.Published by Taaku18 over 5 years ago
?contact
no longer raise a silent error in Heroku logs when the recipient is a bot. Now Modmail responds with an error message.Published by Taaku18 over 5 years ago
Published by Taaku18 over 5 years ago
requirements.txt
files in plugins.Published by Taaku18 over 5 years ago
requirements.txt
files in plugins.Published by Taaku18 over 5 years ago
Published by Taaku18 over 5 years ago
config del
command will now work properly on self-hosted db bots.Published by Taaku18 over 5 years ago
config set
, which means database modifications will not work.config set main_color yellowish green
.main_color
allows you to customize the main Modmail color (as requested by many). Defaults to Discord blurple
.Published by Taaku18 over 5 years ago
logs
sub-commands were accessible by anyone.Huge thanks to Sasiko for reporting these issues.
Published by Taaku18 over 5 years ago
?update
command.?update
command, please join our Discord server (link's in the homepage). Our moderators will be able to help you sort things out.Published by Taaku18 over 5 years ago
logs search
now also searches usernames present in thread logs.Published by Taaku18 over 5 years ago
In the future, the Modmail API (https://modmail.tk) will be deprecated. This is due to the fact that we are providing a free service without getting anything in return, and thus we do not have the resources to scale to accommodate for more users. We recommend using your own database for logs. In the future, you will soon get a backup
command so you can download all your pre-existing data and migrate to your own database.
logs
command. Should be clearer with better info now.Note: The following commands only work if you are self-hosting your logs. We recommend you to use your own database.
logs search [query]
- this searches all log messages for a query string.logs closed-by [user]
this returns all logs closed by a certain user?activity listening to music
no longer results in two "to"s ("listening to to music").
main_category_id
and log_channel_id
weren't updated when their corresponding channel or category get deleted.