Add typing to wallpaper function

This commit is contained in:
Luke Robles 2020-09-07 10:52:36 -07:00
parent 516e4bb14d
commit 416c15fdc5

View File

@ -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':