Compare commits
No commits in common. "f3dd41f94ef91e359a94dfec4b6f23277b2f5986" and "898369683e94ca592f4bc317fb43e15365de0523" have entirely different histories.
f3dd41f94e
...
898369683e
4
bot.py
4
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.', ephemeral=True
|
||||
f'Thanks for reporting this message by {message.author.mention} to our moderators.', ephemeral=True
|
||||
)
|
||||
log_channel = interaction.guild.get_channel(config["report channel"])
|
||||
log_channel = interaction.guild.get_channel(929345959501115422) # replace with your channel id
|
||||
embed = discord.Embed(title='Reported Message')
|
||||
if message.content:
|
||||
embed.description = message.content
|
||||
|
|
Loading…
Reference in New Issue