Mute command should check for the user's role list before muting/unmuting #5161

Closed
opened 2021-06-27 13:59:07 +02:00 by Slurpcy · 4 comments
Slurpcy commented 2021-06-27 13:59:07 +02:00 (Migrated from github.com)

What component of Red (cog, command, API) would you like to see improvements on?

Mutes Cog

Describe the enhancement you're suggesting.

I think red should check for the user's role list whilst muting / unmuting a user and respond with User#1234 is already muted/unmuted in this server. Because when we run mute / unmute it will keep saying muted / unmuted the user all thou they would have been unmuted or muted.

Anything else?

That's all

### What component of Red (cog, command, API) would you like to see improvements on? Mutes Cog ### Describe the enhancement you're suggesting. I think red should check for the user's role list whilst muting / unmuting a user and respond with User#1234 is already muted/unmuted in this server. Because when we run mute / unmute it will keep saying muted / unmuted the user all thou they would have been unmuted or muted. ### Anything else? That's all
MeatyChunks commented 2021-06-27 14:07:24 +02:00 (Migrated from github.com)

If a member is already muted and you mute them again, it updates the mute duration with the default time or the specified value. You'll see the duration change with [p]activemutes. I personally like that it updates to the last used duration if there's a mod conflict, as it can be easily rectified.

If a member is already muted and you mute them again, it updates the mute duration with the default time or the specified value. You'll see the duration change with `[p]activemutes`. I personally like that it updates to the last used duration if there's a mod conflict, as it can be easily rectified.
Slurpcy commented 2021-06-27 18:24:50 +02:00 (Migrated from github.com)

Yes ur right, in that case it could say user muted indefinitely, but for the unmute cmd I believe it should be changed to member is already unmuted

Yes ur right, in that case it could say user muted indefinitely, but for the unmute cmd I believe it should be changed to member is already unmuted
Jackenmen commented 2021-06-28 04:14:27 +02:00 (Migrated from github.com)

I think this would make sense for [p]unmute and it was indeed a cause of confusion:
https://discord.com/channels/133049272517001216/133081046869737472/858494031394635826

I think this would make sense for `[p]unmute` and it was indeed a cause of confusion: https://discord.com/channels/133049272517001216/133081046869737472/858494031394635826
Owner

Unmuting a user that doesn't have the mute role is now reported as already unmuted (see #5467). Muting an already muted user now updates the mute's duration instead (#4834, implemented in #4992).

Unmuting a user that doesn't have the mute role is now reported as already unmuted (see #5467). Muting an already muted user now updates the mute's duration instead (#4834, implemented in #4992).
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#5161
No description provided.