Add guild_only check to [p]command listdisabled guild (#4772)

This commit is contained in:
bobloy 2021-01-29 15:27:01 -05:00 committed by GitHub
parent 2bffbd9001
commit e24379973c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."""