mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
Фиксики
This commit is contained in:
parent
52b88970fd
commit
5c64ff1cbe
3 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue