mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
Фиксики
This commit is contained in:
parent
2551616886
commit
7f7fcc7c26
2 changed files with 4 additions and 4 deletions
|
@ -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 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue