generated from nhcarrigan/template
Fixes error when user is not the author of the reminder.
Node.js CI / Lint and Test (push) Successful in 40s
Node.js CI / Lint and Test (push) Successful in 40s
This commit is contained in:
@@ -24,6 +24,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