We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9651c62 commit 2bd9d60Copy full SHA for 2bd9d60
cogs/spam.py
@@ -79,11 +79,7 @@ async def send_alert(self, message: discord.Message) -> None:
79
msg = f"<@&{self.mod_role_id}> Spam detected "
80
msg += f"by {message.author.name} in {message.channel.name}: {message.jump_url}"
81
assert isinstance(self.mod_channel, discord.TextChannel)
82
- await self.mod_channel.send(
83
- msg,
84
- reference=message,
85
- allowed_mentions=discord.AllowedMentions(roles=True),
86
- )
+ await self.mod_channel.send(msg)
87
88
@commands.Cog.listener()
89
async def on_message(self, message: discord.Message) -> None:
0 commit comments