mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-20 16:25:03 +00:00
Add missing parameter to restrict reacting user to issuing mod
This commit is contained in:
parent
459020eab7
commit
8e74ddc0a3
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ export async function warnMember(
|
|||
const failedMsg = await warnOptions.retryPromptChannel.createMessage(
|
||||
"Failed to message the user. Log the warning anyway?",
|
||||
);
|
||||
const reply = await waitForReaction(pluginData.client, failedMsg, ["✅", "❌"]);
|
||||
const reply = await waitForReaction(pluginData.client, failedMsg, ["✅", "❌"], warnOptions.caseArgs?.modId);
|
||||
failedMsg.delete();
|
||||
if (!reply || reply.name === "❌") {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue