Фиксики

This commit is contained in:
JonnyBro 2022-04-09 23:54:12 +05:00
parent 52b88970fd
commit 5c64ff1cbe
3 changed files with 5 additions and 3 deletions

View file

@ -90,7 +90,7 @@ class Goodbye extends Command {
if (!channel) return message.error("misc:INVALID_CHANNEL");
goodbye.channel = channel.id;
message.sendT("administration/goodbye:FORM_2", {
return message.sendT("administration/goodbye:FORM_2", {
channel: channel.toString(),
author: msg.author.tag,
memberCount: msg.guild.memberCount

View file

@ -93,7 +93,7 @@ class Welcome extends Command {
if (!channel) return message.error("misc:INVALID_CHANNEL");
welcome.channel = channel.id;
message.sendT("administration/welcome:FORM_2", {
return message.sendT("administration/welcome:FORM_2", {
guildName: message.guild.name,
author: msg.author.tag,
memberCount: msg.guild.memberCount

View file

@ -34,7 +34,9 @@ class Whois extends Command {
text: data.config.embed.footer
})
.setTimestamp();
return message.reply(embed);
return message.reply({
embeds: [embed]
});
}
const embed = new Discord.MessageEmbed()