Skip to content

Commit

Permalink
Merge pull request #56 from 0xEmma/support
Browse files Browse the repository at this point in the history
add /support command
  • Loading branch information
makelarisjr authored Aug 18, 2023
2 parents 45704f2 + 8b5981c commit 2d8266f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/cmds/core/other.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ async def no_hints(
"Once the event is over you are more then welcome to share solutions/write-ups/etc and try them in the "
"After Party event."
)

@slash_command(guild_ids=settings.guild_ids, description="A simple reply proving a link to the support desk article on how to get support")
@commands.cooldown(1, 60, commands.BucketType.user)
async def support(
self, ctx: ApplicationContext
) -> Message:
"""A simple reply proving a link to the support desk article on how to get support"""
return await ctx.channel.send(
"https://help.hackthebox.com/en/articles/5986762-contacting-htb-support"
)
@slash_command(guild_ids=settings.guild_ids, description="Add the URL which has spoiler link.")
async def spoiler(self, ctx: ApplicationContext, url: str) -> Interaction | WebhookMessage:
"""Add the URL which has spoiler link."""
Expand Down

0 comments on commit 2d8266f

Please sign in to comment.