mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -05:00
[ctx] Suppress all mentions in maybe_send_embed (#4192)
* [ctx] Suppress all mentions in maybe_send_embed Whether this method should mention shouldn't be tied to an unrelated setting. * black * Update changelog_3_4_0.rst Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -255,7 +255,10 @@ class Context(DPYContext):
|
||||
embed=discord.Embed(description=message, color=(await self.embed_colour()))
|
||||
)
|
||||
else:
|
||||
return await self.send(message)
|
||||
return await self.send(
|
||||
message,
|
||||
allowed_mentions=discord.AllowedMentions(everyone=False, roles=False, users=False),
|
||||
)
|
||||
|
||||
@property
|
||||
def clean_prefix(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user