hugs for days
This commit is contained in:
parent
3b11c6e4f2
commit
2288581903
1 changed files with 7 additions and 2 deletions
9
bot.py
9
bot.py
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
import discord
|
import discord
|
||||||
from discord import File, Streaming, Game, Activity, ActivityType, Status
|
from discord import File, Streaming, Game, Activity, ActivityType, Status
|
||||||
|
@ -41,7 +41,12 @@ 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):
|
||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
|
|
Loading…
Reference in a new issue