mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
[V3 Mod] fix some issues relating to ignore (#1166)
* [V3 Mod] remove unnecessary decos from ignore/unignore * [V3 Core] fix is_mod and is_admin so they don't return True if the mod/admin roles aren't set
This commit is contained in:
@@ -1047,7 +1047,6 @@ class Mod:
|
||||
await ctx.send(_("Channel already in ignore list."))
|
||||
|
||||
@ignore.command(name="guild", aliases=["server"])
|
||||
@commands.has_permissions(manage_guild=True)
|
||||
async def ignore_guild(self, ctx: RedContext):
|
||||
"""Ignores current guild"""
|
||||
guild = ctx.guild
|
||||
@@ -1081,7 +1080,6 @@ class Mod:
|
||||
await ctx.send(_("That channel is not in the ignore list."))
|
||||
|
||||
@unignore.command(name="guild", aliases=["server"])
|
||||
@commands.has_permissions(manage_guild=True)
|
||||
async def unignore_guild(self, ctx: RedContext):
|
||||
"""Removes current guild from ignore list"""
|
||||
guild = ctx.message.guild
|
||||
|
||||
Reference in New Issue
Block a user