hugs for days

This commit is contained in:
Helixu 2021-11-23 22:51:11 +00:00
parent 3b11c6e4f2
commit 2288581903

5
bot.py
View file

@ -41,6 +41,11 @@ async def fox(ctx):
async with session.get('https://foxrudor.de/') as resp: async with session.get('https://foxrudor.de/') as resp:
file = File(io.BytesIO(await resp.read()),filename='fox.jpg') file = File(io.BytesIO(await resp.read()),filename='fox.jpg')
await ctx.send(random.choice(foxmsgs),file=file) await ctx.send(random.choice(foxmsgs),file=file)
@bot.command(brief="give someone a cuddle")
async def hug(ctx, *, name=None):
if not name:
return await ctx.send("Foxtrot hugs "+ctx.author.name+"! :3")
await ctx.send(ctx.author.name+f" hugs {name}! :3")
@bot.command(brief="cattttttttt") @bot.command(brief="cattttttttt")
async def cat(ctx): async def cat(ctx):