generated from nhcarrigan/template
fix: return from processButton if user is not the author
Node.js CI / Lint and Test (push) Successful in 38s
Node.js CI / Lint and Test (push) Successful in 38s
This commit is contained in:
@@ -30,6 +30,7 @@ export const processButton = async(
|
|||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
content: "You cannot acknowledge someone else's reminder.",
|
content: "You cannot acknowledge someone else's reminder.",
|
||||||
});
|
});
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
await message.delete();
|
await message.delete();
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
|
|||||||
Reference in New Issue
Block a user