TeamOctolings / Octobot

A general-purpose Discord bot for moderation written in C#

Home Page:https://teamoctolings.github.io/Octobot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/unmute doesn't check if the target is muted

Octol1ttle opened this issue · comments

Description

Using /unmute will produce successful feedback even if the target is neither role-muted or timed-out

Reproduction Steps

  1. Use /unmute on any non-muted member you have permissions to interact with
  2. See that the bot successfully "unmuted" that member even though they weren't muted

Expected behavior

An error will be returned by the bot saying that the member isn't muted

Actual behavior

Successful feedback is returned

Known Workarounds

Not relevant

Configuration

Not relevant

Other information

Not relevant