diff --git a/Discord/cogs/audio.py b/Discord/cogs/audio.py index a05d8363fb..2e01a6e2ee 100644 --- a/Discord/cogs/audio.py +++ b/Discord/cogs/audio.py @@ -1083,7 +1083,10 @@ async def mute(self, ctx): @audio.command(name = "undeafen") @checks.is_voice_connected() - @commands.check_any(checks.is_permitted(), checks.is_guild_owner()) + @commands.check_any( + checks.is_permitted(), commands.has_permissions(administrator = True), + commands.is_owner() + ) async def audio_undeafen(self, ctx): '''Have me undeafen myself''' # Note: undeafen command invokes this command @@ -1098,7 +1101,10 @@ async def audio_undeafen(self, ctx): @commands.command() @checks.is_voice_connected() - @commands.check_any(checks.is_permitted(), checks.is_guild_owner()) + @commands.check_any( + checks.is_permitted(), commands.has_permissions(administrator = True), + commands.is_owner() + ) async def undeafen(self, ctx): '''Have me undeafen myself''' if command := ctx.bot.get_command("audio undeafen"):