feat: joke command description

This commit is contained in:
rainy 2024-08-10 15:22:40 -07:00
parent da071903b9
commit 0da1b23eed
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import aiohttp
plugin = plugins.Plugin()
@plugin.slash_command()
@plugin.slash_command(description="tells a (maybe) funny joke")
async def joke(inter: disnake.CommandInteraction):
async with aiohttp.ClientSession() as cs:
async with cs.get("https://v2.jokeapi.dev/joke/Programming,Miscellaneous?blacklistFlags=nsfw,political&type=single") as resp: