mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Add guild_only check to [p]command listdisabled guild (#4772)
This commit is contained in:
parent
2bffbd9001
commit
e24379973c
@ -3199,6 +3199,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
paged[0] = header + paged[0]
|
paged[0] = header + paged[0]
|
||||||
await ctx.send_interactive(paged)
|
await ctx.send_interactive(paged)
|
||||||
|
|
||||||
|
@commands.guild_only()
|
||||||
@list_disabled.command(name="guild")
|
@list_disabled.command(name="guild")
|
||||||
async def list_disabled_guild(self, ctx: commands.Context):
|
async def list_disabled_guild(self, ctx: commands.Context):
|
||||||
"""List disabled commands in this server."""
|
"""List disabled commands in this server."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user