From 8deff150194b7e7ca9fb478437c93bef5935e144 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Mon, 7 Sep 2020 10:52:36 -0700 Subject: [PATCH] Add typing to wallpaper function --- app/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/bot.py b/app/bot.py index 57b5ec39..5f1296cd 100755 --- a/app/bot.py +++ b/app/bot.py @@ -224,7 +224,8 @@ async def greentext(ctx): @bot.command(name='wallpaper') async def wallpaper(ctx): import wallpaper - await ctx.send(embed=generate_embed(embed_url=wallpaper.get_wall(ctx.message.content))) + async with ctx.message.channel.typing(): + await ctx.send(embed=generate_embed(embed_url=wallpaper.get_wall(ctx.message.content))) @bot.command(name='homepage') async def wallpaper(ctx): @@ -244,7 +245,6 @@ async def clap(ctx): await ctx.send("{}".format(' :clap: '.join(ctx.message.content.split()[1:]))) - @bot.command(name='.') async def roles(ctx): if ctx.message.author.discriminator == '2528':