From e24379973cc4373a20a528543d21b1194e788800 Mon Sep 17 00:00:00 2001 From: bobloy Date: Fri, 29 Jan 2021 15:27:01 -0500 Subject: [PATCH] Add guild_only check to `[p]command listdisabled guild` (#4772) --- redbot/core/core_commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 893003200..6ac822770 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -3199,6 +3199,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic): paged[0] = header + paged[0] await ctx.send_interactive(paged) + @commands.guild_only() @list_disabled.command(name="guild") async def list_disabled_guild(self, ctx: commands.Context): """List disabled commands in this server."""