Skip to content

Create /modmail command #311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Zabuzard opened this issue Dec 10, 2021 · 13 comments · Fixed by #493
Closed

Create /modmail command #311

Zabuzard opened this issue Dec 10, 2021 · 13 comments · Fixed by #493
Assignees
Labels
new command Add a new command or group of commands to the bot priority: normal valid This issue/PR is validated and ready to be picked. This auto adds items to TJ project board.

Comments

@Zabuzard
Copy link
Member

Zabuzard commented Dec 10, 2021

The /modmail command is used to write a message to a moderator. The advantages over a simple DM are:

  • the user does not need to know which users of a server are moderators
  • the user does not need to befriend a moderator in case they have disabled non-friend DMs

The requirements for this are:

  • the message must not be visible to other members
  • the message is either visible to a single or all moderators

Optionally:

  • the command should also be usable if not part of the guild anymore, for example after getting banned (needs careful design though to not be abused - rate limiting etc)

One cheap and low hanging possibility could be to write the message into the #mod_audit_log channel by using ModAuditLogWriter introduced in #296 . To make the message invisible, just use ephemeral.

@Zabuzard Zabuzard added the new command Add a new command or group of commands to the bot label Dec 10, 2021
@Zabuzard Zabuzard added this to the Improvement phase 1 milestone Dec 10, 2021
@borgrel
Copy link
Contributor

borgrel commented Dec 10, 2021

Making it not visible is easy, its an interaction (slashcommand) so the bot reply just have to be ephemeral and poof, invisible command

However: there are plenty of people who will push and act badly UNTIL a mod is called and then they quickly backoff
there should be a visible and an invisible way to call mods?

(one to make a complaint and another to call for assistance)

@Zabuzard
Copy link
Member Author

Zabuzard commented Dec 10, 2021

there should be a visible and an invisible way to call mods?

The way I see it, if someone wants quick visible mod attention they just ping @Moderator help, there is a scammer, while /modmail is for when you want to contact a moderator privately, for example if you want to complain about the behavior of another user or if you have been banned unjustified. Hence the two use cases:

  • invisible to others, but visible to mods
  • optionally also usable when already left the guild

@borgrel
Copy link
Contributor

borgrel commented Dec 10, 2021

so the first global slash command use case we have

@talentedasian
Copy link
Contributor

talentedasian commented Dec 14, 2021

I'd like to work on this if no one has started working on this command. Also, would the command be allowed to be used practically everywhere (within the guild) and not just on a particular channel such as bots?

@Zabuzard
Copy link
Member Author

Zabuzard commented Dec 14, 2021

I'd like to work on this if no one has started working on this command. Also, would the command be allowed to be used practically everywhere (within the guild) and not just on a particular channel such as bots?

Yes, as all responses are supposed to be ephemeral, it could be popped anywhere, no restrictions. But you do not have to do anything to control that, just a regular slash command handler would be enough, like any of the other slash commands we already have, /ping for example.

@talentedasian talentedasian added the blocked This issue is currently blocked by another issue (see comments) label Dec 15, 2021
@Zabuzard
Copy link
Member Author

@talentedasian Why did you add "blocked"? By what is this issue blocked?

@talentedasian
Copy link
Contributor

The ModAuditLogWriter from #296 isn't merged yet

@marko-radosavljevic
Copy link
Contributor

@Zabuzard

One cheap and low hanging possibility could be to write the message into the #mod_audit_log channel by using ModAuditLogWriter introduced in #296 . To make the message invisible, just use ephemeral.

The issue with #mod_audit_log is that it is permanently muted by everyone, and we usually don't scroll and read everything, unless we have a need to do so.

I think this should go in a new channel, so we can give it a proper attention it deserves. What do you think? ^^

@Zabuzard
Copy link
Member Author

The issue with #mod_audit_log is that it is permanently muted by everyone

I did not think about that because I actually do not have it muted 😆

I think this should go in a new channel, so we can give it a proper attention it deserves.

Sure, makes sense.

Can go through a similar flow/system. Maybe the class can offer both channels or its a second class or similar. Whatever is cleaner, I leave it up to who implements it.

@Tais993 Tais993 mentioned this issue Jan 20, 2022
8 tasks
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added stale inactivity-closed Issues that have been closed due to inactivity, but are otherwise valid and might be reopened later labels Jan 29, 2022
@github-actions github-actions bot closed this as completed Feb 3, 2022
@Zabuzard Zabuzard removed inactivity-closed Issues that have been closed due to inactivity, but are otherwise valid and might be reopened later stale labels Feb 3, 2022
@Zabuzard Zabuzard reopened this Feb 3, 2022
@Zabuzard Zabuzard linked a pull request Feb 3, 2022 that will close this issue
8 tasks
@github-actions
Copy link

github-actions bot commented Mar 6, 2022

This issue is stale because it has been open 30 days with no activity. Remove stale label, comment or add the valid label or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Mar 6, 2022
@Zabuzard Zabuzard added the valid This issue/PR is validated and ready to be picked. This auto adds items to TJ project board. label Mar 7, 2022
@Zabuzard Zabuzard removed the blocked This issue is currently blocked by another issue (see comments) label Mar 16, 2022
@illuminator3
Copy link
Contributor

illuminator3 commented Apr 3, 2022

add an option to stay anonymous

@Tais993 Tais993 removed their assignment Apr 3, 2022
@Tais993
Copy link
Member

Tais993 commented Apr 3, 2022

Can be taken over, when I have the time I'll finish my PR, but no promises on when this will happen

@DevSerendipity DevSerendipity self-assigned this Aug 4, 2022
@Taz03 Taz03 linked a pull request Aug 14, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Add a new command or group of commands to the bot priority: normal valid This issue/PR is validated and ready to be picked. This auto adds items to TJ project board.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants