mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 20:58:54 -05:00
Restrict [p]cleanupset notify to guild only (#5466)
This commit is contained in:
parent
2c51182e8e
commit
e068294cc8
@ -732,6 +732,7 @@ class Cleanup(commands.Cog):
|
|||||||
"""Manage the settings for the cleanup command."""
|
"""Manage the settings for the cleanup command."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@commands.guild_only()
|
||||||
@cleanupset.command(name="notify")
|
@cleanupset.command(name="notify")
|
||||||
async def cleanupset_notify(self, ctx: commands.Context):
|
async def cleanupset_notify(self, ctx: commands.Context):
|
||||||
"""Toggle clean up notification settings.
|
"""Toggle clean up notification settings.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user