From 44f54ad252b28461b6c078a728fbca8e9aa365ef Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya Date: Sun, 20 Feb 2022 11:57:15 -0500 Subject: [PATCH] fix: pushed some fixes --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 8f6f8ff..1dbbd7c 100644 --- a/bot.py +++ b/bot.py @@ -103,6 +103,7 @@ async def list(ctx): print(cursor.rowcount) embed = discord.Embed(title='Here is a list of all your tracked collections', color=0x6106D0) + embed.set_image(url=str(random.choice(NFT_LINKS))) async with await db.execute("SELECT id from guilds WHERE guild_id=? LIMIT 1", (ctx.guild.id,)) as cursor: async for row in cursor: @@ -192,7 +193,6 @@ async def update_prices(): print("We have a change!") embed = discord.Embed(title='Price changes', color=0x6106D0) - embed.set_image(url=str(random.choice(NFT_LINKS))) embed.set_footer(text=f'Sent at {datetime.now().strftime("%d/%m/%Y %H:%M:%S")}', icon_url="https://imagedelivery.net/E-VnZk4fwouzlzwX_qz4fg/532afb9b-8805-424d-8f85-da5c3e0f8600/public")