From 3081f5e853287918c6b32d63295445ea86448bfe Mon Sep 17 00:00:00 2001 From: japandotorg Date: Thu, 18 Jul 2024 01:44:32 +0530 Subject: [PATCH] [NoDMs] fix allowed mentions --- nodms/core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nodms/core.py b/nodms/core.py index e3f4239..697acb2 100644 --- a/nodms/core.py +++ b/nodms/core.py @@ -257,9 +257,7 @@ async def _send_response( if type.lower() == "command" and (command := ctx.command): kwargs.update(command=CommandAdapter(command)) kwargs["reference"] = ctx.message.to_reference(fail_if_not_exists=False) - kwargs["allowed_mentions"] = discord.AllowedMentions( - everyone=False, roles=False, users=[ctx.author.id], replied_user=False - ) + kwargs["allowed_mentions"] = discord.AllowedMentions(replied_user=False) try: await ctx.send(**kwargs) except (discord.Forbidden, discord.HTTPException) as error: