From f0c91d8678b11c24ab20d53d4e6ad324a708aa08 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Tue, 1 Feb 2022 16:25:31 +0100 Subject: [PATCH] fix error... again --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 9b5500c..452f465 100644 --- a/bot.py +++ b/bot.py @@ -231,8 +231,8 @@ async def vote(ctx, *, arg): async def say(ctx, *, arg): await ctx.message.delete() em = discord.Embed(description=arg, colour=0x00E0FF) - await message.channel.send(embed=em) - await message.delete() + await ctx.message.channel.send(embed=em) + await ctx.message.delete() @bot.command(help="Starte ne Runde PnP", usage="@Rolle") @is_gm()