Skip to content

Commit ef6fdc2

Browse files
authored
Merge pull request #148 from allthingslinux/ghost-pings-text
[Commands] change ghost ping embed to be text
2 parents fcc152d + 9a8adc0 commit ef6fdc2

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tux/cogs/utility/ghost_pings.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ async def on_message_delete(self, message: discord.Message) -> None:
2424
):
2525
return
2626

27-
embed = discord.Embed(
28-
title="Ghost Ping!", color=discord.Color.red(), timestamp=message.created_at
29-
)
27+
# embed = discord.Embed(
28+
# title="Ghost Ping!", color=discord.Color.red(), timestamp=message.created_at
29+
# )
30+
31+
# embed.description = f"{message.author.mention} pinged: {', '.join([mention.mention for mention in message.mentions])} {', '.join([role.mention for role in message.role_mentions])}"
3032

31-
embed.description = f"{message.author.mention} pinged: {', '.join([mention.mention for mention in message.mentions])} {', '.join([role.mention for role in message.role_mentions])}"
33+
# await message.channel.send(embed=embed)
3234

33-
await message.channel.send(embed=embed)
35+
await message.channel.send(
36+
f"{message.author.mention} pinged: {', '.join([mention.mention for mention in message.mentions])} {', '.join([role.mention for role in message.role_mentions])}",
37+
allowed_mentions=discord.AllowedMentions.none(),
38+
)
3439

3540

3641
async def setup(bot: commands.Bot) -> None:

0 commit comments

Comments
 (0)