From 7c31e1faed2c0996bf398a2cafeec4387e97fe2e Mon Sep 17 00:00:00 2001 From: annihilator708 Date: Mon, 21 May 2018 04:57:14 +0200 Subject: [PATCH] Fix reaction which is not needed --- src/cogs/fun.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/cogs/fun.py b/src/cogs/fun.py index 3df55ca..8797dbf 100644 --- a/src/cogs/fun.py +++ b/src/cogs/fun.py @@ -34,13 +34,11 @@ class Fun: im = random.randint(0, int(total_sebi) - 1) - msg = await ctx.send( - embed=discord.Embed( - title='\t', - description='\t', - color=0xf20006).set_image( - url=source[str(im)])) - return await msg.add_reaction(self.bot.success) + await ctx.send(embed=discord.Embed( + title='\t', + description='\t', + color=0xf20006).set_image( + url=source[str(im)])) def setup(bot): bot.add_cog(Fun(bot))