From 5b849d77a79f0d8772c44f00d5bb2fbde69b7c29 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 5 Aug 2020 19:39:42 +0100 Subject: [PATCH] Updated Commentary Members now only need manage guild permissions in order to setup modmail --- cogs/guild.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cogs/guild.py b/cogs/guild.py index 1af1076f..f378077c 100644 --- a/cogs/guild.py +++ b/cogs/guild.py @@ -282,14 +282,16 @@ class Guild(Cog): f"\nPlease do **{ctx.prefix}help** to find out how to set Modmail again!") @group(invoke_without_command=True, usage="`[argument...]`") - @has_permissions(administrator=True) @bot_has_permissions(administrator=True) async def modmail(self, ctx): - """Setup/Update/Delete Modmail System""" + """ + Show Current Modlogs Channel (If Setup) + Setup/Update/Delete Modmail System + """ pass @modmail.command(name="setup") - @has_permissions(administrator=True) + @has_permissions(manage_guild=True) @bot_has_permissions(administrator=True) async def mmsetup(self, ctx, channelID: int): """ @@ -391,7 +393,7 @@ class Guild(Cog): return @modmail.command(name="update") - @has_permissions(administrator=True) + @has_permissions(manage_guild=True) @bot_has_permissions(administrator=True) async def mmupdate(self, ctx, channelID: int): """ @@ -453,7 +455,7 @@ class Guild(Cog): return @modmail.command(name="delete") - @has_permissions(administrator=True) + @has_permissions(manage_guild=True) @bot_has_permissions(administrator=True) async def mmdelete(self, ctx): """Delete the Entire Modmail System from the Guild"""