diff --git a/dungeon/dungeon.py b/dungeon/dungeon.py index d513dbe..2ca2b02 100644 --- a/dungeon/dungeon.py +++ b/dungeon/dungeon.py @@ -75,7 +75,7 @@ class Dungeon(BaseCog): @commands.group(autohelp=True) @commands.guild_only() - @checks.admin_or_permissions(manage_server=True) + @checks.admin_or_permissions(manage_guild=True) async def dungeon(self, ctx): """Main dungeon commands.""" pass diff --git a/partycrash/info.json b/partycrash/info.json index 282d6ba..9527a60 100644 --- a/partycrash/info.json +++ b/partycrash/info.json @@ -5,11 +5,11 @@ "description": "Posts invites to servers, if the bot is allowed to view them. Does not generate new invites.", "install_msg": "Thanks for installing, have fun.", "permissions" : [ - "manage_server" + "manage_guild" ], "short": "Post server invites.", "tags": [ "invite" ], "type": "COG" -} \ No newline at end of file +} diff --git a/timezone/timezone.py b/timezone/timezone.py index 1b8ffd6..8a60426 100644 --- a/timezone/timezone.py +++ b/timezone/timezone.py @@ -110,7 +110,7 @@ class Timezone(BaseCog): ) @time.command() - @checks.admin_or_permissions(manage_server=True) + @checks.admin_or_permissions(manage_guild=True) async def set(self, ctx, user: discord.Member, *, tz): """Allows the mods to edit timezones.""" author = ctx.message.author diff --git a/tools/tools.py b/tools/tools.py index 00567cd..580673c 100644 --- a/tools/tools.py +++ b/tools/tools.py @@ -170,7 +170,7 @@ class Tools(BaseCog): @commands.guild_only() @commands.command() - @checks.mod_or_permissions(manage_server=True) + @checks.mod_or_permissions(manage_guild=True) async def banlist(self, ctx): """Displays the server's banlist.""" try: @@ -271,7 +271,7 @@ class Tools(BaseCog): @commands.guild_only() @commands.command() - @checks.mod_or_permissions(manage_server=True) + @checks.mod_or_permissions(manage_guild=True) async def inrole(self, ctx, *, rolename): """Check members in the role specified.""" guild = ctx.guild @@ -404,7 +404,7 @@ class Tools(BaseCog): @commands.guild_only() @commands.command() - @checks.mod_or_permissions(manage_server=True) + @checks.mod_or_permissions(manage_guild=True) async def newusers(self, ctx, count: int = 5, fm: str = "py"): """Lists the newest 5 members.""" guild = ctx.guild @@ -453,7 +453,7 @@ class Tools(BaseCog): @commands.guild_only() @commands.command() - @checks.mod_or_permissions(manage_server=True) + @checks.mod_or_permissions(manage_guild=True) async def perms(self, ctx, user: discord.Member = None): """Fetch a specific user's permissions.""" if user is None: