Mantaro / MantaroBot

Multipurpose Discord bot made in Java using JDA.

Home Page:https://mantaro.site/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ Feature Req./Suggestion ] Retain mute role upon joining

Terrails opened this issue · comments

commented

[Mod Edit: Marking as suggestion instead]
Before submitting I have
(Simply replace the space inside the brackets with an X for the things you have done)

  • Double checked existing Issues/Pull Requests for a similar feature.

Describe what you would like us to add
Mantaro should retain the mute role when a user rejoins the server and a mute has not yet expired.

Additional context
N/A
[/Mod Edit]

Original Content

Before submitting I have:

  • Made sure this is actual unintended behaviour.
  • Double checked the FAQ for potential misunderstandings.
  • Double checked ~>help <command name> (if this is command related) for potential misunderstandings.

Describe the bug
Basically what the title says. Tried muting a test account, left and rejoined the server and the test account wasn't muted anymore.

To Reproduce
Have a muted role with disabled chatting permissions and mute a user using Mantaro. When the user rejoins the server there should be no muted role on them.

Expected behavior
The user should get muted role when rejoining as long as the mute is still valid.

commented

This is not exactly a bug, but rather simply something that is not a feature within Mantaro, if you want me to I can mark this as a suggestion to add such a feature instead.

commented

Sure.

EDIT:
Just to add to this, there seems to be a way to use discord's builtin timeout feature with bots by setting communication_disabled_until on a guild member.

commented

Yeah mantaro currently does not use timeouts, though I believe it is planned to be utilized. Either way I converted this to a suggestion now!