Skip to content

Commit

Permalink
feat/WIT-216: random joke command
Browse files Browse the repository at this point in the history
  • Loading branch information
ash1248 committed Jul 30, 2024
1 parent 6e975a0 commit 0a14ec9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cogs/random_joke.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ class RandomJokeCog(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot

@app_commands.command(
name="random-joke", description="Tell a random joke!"
)

@app_commands.command(name="random-joke", description="Tell a random joke!")
async def send_random_joke(self, inter: discord.Interaction):
response = requests.get(link)
if response.status_code == 200:
Expand Down

0 comments on commit 0a14ec9

Please sign in to comment.