From 3d33577c5234369623d602bba10e43f4ff60f1e2 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 Mar 2023 21:58:50 -0500 Subject: [PATCH] fixed sugoncredit logging --- sugoncredit/sugoncredit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugoncredit/sugoncredit.py b/sugoncredit/sugoncredit.py index 69daa47..6991cc1 100644 --- a/sugoncredit/sugoncredit.py +++ b/sugoncredit/sugoncredit.py @@ -93,7 +93,7 @@ class SugonCredit(commands.Cog): await target.send(content=f"__MESSAGE FROM THE MINISTRY OF THE MEGA BASE__\n\n(我们的) {amount} SugonCredits have been taken from your account. Citizen, do not continue to preform bad actions! Glory to the Galaxy Communist Party!") await target.send(content="https://cdn.discordapp.com/attachments/408777890222571530/909534123004133497/MEGA_BASE.mp4") logging_embed=discord.Embed(title="SugonCredit Removed", color=await self.bot.get_embed_color(None), description=f"{ctx.author.name}#{ctx.author.discriminator} ({ctx.author.id}) removed {amount} SugonCredit from {target.name}#{target.discriminator} ({target.id})! They now have {new_bal} SugonCredit.") - await ctx.send(embed=logging_embed) + await logging_channel.send(embed=logging_embed) elif ctx.guild.id != 204965774618656769: embed=discord.Embed(title=f"{bank_name} - Remove", color=await self.bot.get_embed_color(None), description=f"{target.mention}'s {currency_name} balance has been decreased by {amount}.\nCurrent balance is {new_bal}.") await ctx.send(embed=embed)