From 7bbb1343a4082aace52a8297b4b49a964db03694 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Mon, 13 Jun 2022 20:35:59 -0600 Subject: [PATCH] Deprecate `/star add` command in favor of context menus --- jarvis/cogs/starboard.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/jarvis/cogs/starboard.py b/jarvis/cogs/starboard.py index dc2aaad..c82fe48 100644 --- a/jarvis/cogs/starboard.py +++ b/jarvis/cogs/starboard.py @@ -248,25 +248,6 @@ class StarboardCog(Extension): description="Manage stars", ) - @star.subcommand( - sub_cmd_name="add", - sub_cmd_description="Star a message", - ) - @slash_option( - name="message", description="Message to star", opt_type=OptionTypes.STRING, required=True - ) - @slash_option( - name="channel", - description="Channel that has the message, not required if used in same channel", - opt_type=OptionTypes.CHANNEL, - required=False, - ) - @check(admin_or_permissions(Permissions.MANAGE_GUILD)) - async def _star_message_slash( - self, ctx: InteractionContext, message: str, channel: GuildText - ) -> None: - await self._star_add(ctx, message, channel) - @star.subcommand(sub_cmd_name="delete", sub_cmd_description="Delete a starred message") @slash_option( name="id", description="Star ID to delete", opt_type=OptionTypes.INTEGER, required=True