From 79577a59ad1c1afec95061aef3d4f665179eaaf0 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Fri, 13 Jan 2023 20:50:57 +0100 Subject: [PATCH] Make report channel configurable --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index d6357c3..270aef3 100644 --- a/bot.py +++ b/bot.py @@ -65,9 +65,9 @@ async def report_message(interaction: discord.Interaction, message: discord.Mess if not interaction.guild.id==config["guild"]: return await interaction.response.send_message( - f'Thanks for reporting this message by {message.author.mention} to our moderators.', ephemeral=True + f'Thanks for reporting.', ephemeral=True ) - log_channel = interaction.guild.get_channel(929345959501115422) # replace with your channel id + log_channel = interaction.guild.get_channel(config["report channel"]) embed = discord.Embed(title='Reported Message') if message.content: embed.description = message.content