From f44e490a9d6dede368c05a692849438eaa039b1e Mon Sep 17 00:00:00 2001 From: Dark <7890309+DarkView@users.noreply.github.com> Date: Wed, 28 Apr 2021 23:29:26 +0200 Subject: [PATCH] Fix where and follow not pinging requestor --- backend/src/plugins/LocateUser/utils/sendWhere.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/src/plugins/LocateUser/utils/sendWhere.ts b/backend/src/plugins/LocateUser/utils/sendWhere.ts index 4ab52e45..11d07ba1 100644 --- a/backend/src/plugins/LocateUser/utils/sendWhere.ts +++ b/backend/src/plugins/LocateUser/utils/sendWhere.ts @@ -25,8 +25,9 @@ export async function sendWhere( sendErrorMessage(pluginData, channel, "Cannot create an invite to that channel!"); return; } - channel.createMessage( - prepend + `${member.mention} is in the following channel: \`${voice.name}\` ${getInviteLink(invite)}`, - ); + channel.createMessage({ + content: prepend + `${member.mention} is in the following channel: \`${voice.name}\` ${getInviteLink(invite)}`, + allowedMentions: { users: true }, + }); } }