diff --git a/src/cmds/core/other.py b/src/cmds/core/other.py index 888bd63..c39edf9 100644 --- a/src/cmds/core/other.py +++ b/src/cmds/core/other.py @@ -18,12 +18,9 @@ def __init__(self, bot: Bot): @slash_command(guild_ids=settings.guild_ids, description="A simple reply stating hints are not allowed.") async def no_hints( - self, ctx: ApplicationContext, - channel: Option(GuildChannel, "The guild channel to send the message to.", required=False) = None + self, ctx: ApplicationContext ) -> Message: """A simple reply stating hints are not allowed.""" - if not channel: - channel = ctx.channel return await channel.send( "No hints are allowed for the duration the event is going on. This is a competitive event with prizes. " "Once the event is over you are more then welcome to share solutions/write-ups/etc and try them in the "