Фиксики

This commit is contained in:
JonnyBro 2022-11-09 22:47:56 +05:00
parent 2551616886
commit 7f7fcc7c26
2 changed files with 4 additions and 4 deletions

View file

@ -51,7 +51,7 @@ class Goodbye extends BaseCommand {
if (command === "test") { if (command === "test") {
client.emit("guildMemberRemove", interaction.member); client.emit("guildMemberRemove", interaction.member);
return interaction.success("administration/goodbye:TEST_SUCCESS"); return interaction.success("administration/goodbye:TEST_SUCCESS", null, { ephemeral: true });
} else { } else {
const state = interaction.options.getBoolean("state"); const state = interaction.options.getBoolean("state");
@ -82,7 +82,7 @@ class Goodbye extends BaseCommand {
interaction.success("administration/goodbye:ENABLED", { interaction.success("administration/goodbye:ENABLED", {
channel: `<#${data.guildData.plugins.goodbye.channel}>` channel: `<#${data.guildData.plugins.goodbye.channel}>`
}); }, { ephemeral: true });
} }
} }
} }

View file

@ -51,7 +51,7 @@ class Welcome extends BaseCommand {
if (command === "test") { if (command === "test") {
client.emit("guildMemberAdd", interaction.member); client.emit("guildMemberAdd", interaction.member);
return interaction.success("administration/goodbye:TEST_SUCCESS"); return interaction.success("administration/goodbye:TEST_SUCCESS", null, { ephemeral: true });
} else { } else {
const state = interaction.options.getBoolean("state"); const state = interaction.options.getBoolean("state");
@ -82,7 +82,7 @@ class Welcome extends BaseCommand {
interaction.success("administration/welcome:ENABLED", { interaction.success("administration/welcome:ENABLED", {
channel: `<#${data.guildData.plugins.welcome.channel}>` channel: `<#${data.guildData.plugins.welcome.channel}>`
}); }, { ephemeral: true });
} }
} }
} }