mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 14:44: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");
|
if (!channel) return message.error("misc:INVALID_CHANNEL");
|
||||||
|
|
||||||
goodbye.channel = channel.id;
|
goodbye.channel = channel.id;
|
||||||
message.sendT("administration/goodbye:FORM_2", {
|
return message.sendT("administration/goodbye:FORM_2", {
|
||||||
channel: channel.toString(),
|
channel: channel.toString(),
|
||||||
author: msg.author.tag,
|
author: msg.author.tag,
|
||||||
memberCount: msg.guild.memberCount
|
memberCount: msg.guild.memberCount
|
||||||
|
|
|
@ -93,7 +93,7 @@ class Welcome extends Command {
|
||||||
if (!channel) return message.error("misc:INVALID_CHANNEL");
|
if (!channel) return message.error("misc:INVALID_CHANNEL");
|
||||||
|
|
||||||
welcome.channel = channel.id;
|
welcome.channel = channel.id;
|
||||||
message.sendT("administration/welcome:FORM_2", {
|
return message.sendT("administration/welcome:FORM_2", {
|
||||||
guildName: message.guild.name,
|
guildName: message.guild.name,
|
||||||
author: msg.author.tag,
|
author: msg.author.tag,
|
||||||
memberCount: msg.guild.memberCount
|
memberCount: msg.guild.memberCount
|
||||||
|
|
|
@ -34,7 +34,9 @@ class Whois extends Command {
|
||||||
text: data.config.embed.footer
|
text: data.config.embed.footer
|
||||||
})
|
})
|
||||||
.setTimestamp();
|
.setTimestamp();
|
||||||
return message.reply(embed);
|
return message.reply({
|
||||||
|
embeds: [embed]
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const embed = new Discord.MessageEmbed()
|
const embed = new Discord.MessageEmbed()
|
||||||
|
|
Loading…
Reference in a new issue