fix: Restrict more commands to guilds.

This commit is contained in:
2023-10-16 22:41:50 +03:00
parent ab39ceee71
commit 4d91914085
2 changed files with 4 additions and 0 deletions

View File

@@ -332,6 +332,7 @@ class Reminders(LionCog):
"View and set your reminders."
)
)
@appcmds.guild_only
async def cmd_reminders(self, ctx: LionContext):
"""
Display the reminder widget for this user.
@@ -353,6 +354,7 @@ class Reminders(LionCog):
name=_p('cmd:remindme', "remindme"),
description=_p('cmd:remindme|desc', "View and set task reminders."),
)
@appcmds.guild_only
async def remindme_group(self, ctx: LionContext):
# Base command group for scheduling reminders.
pass