generated from nhcarrigan/template
fix: solve linter error
This commit is contained in:
+7
-4
@@ -124,18 +124,21 @@ amari.discord.on(Events.InteractionCreate, (interaction) => {
|
||||
|
||||
if (interaction.isButton() && interaction.customId === "resolve") {
|
||||
if (interaction.user.id !== ids.users.naomi) {
|
||||
return void interaction.reply({
|
||||
void interaction.reply({
|
||||
content: "Who are you????",
|
||||
flags: [ MessageFlags.Ephemeral ],
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
return void interaction.message.delete();
|
||||
void interaction.message.delete();
|
||||
return;
|
||||
}
|
||||
if (interaction.isAutocomplete()) {
|
||||
return void interaction;
|
||||
void interaction;
|
||||
return;
|
||||
}
|
||||
return void interaction.reply({
|
||||
void interaction.reply({
|
||||
content: "What?",
|
||||
flags: [ MessageFlags.Ephemeral ],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user