mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 00:08:06 +02:00
Prefix Change and General Code Improvements
This commit is contained in:
@@ -52,7 +52,7 @@ module.exports = class KickCommand extends Command {
|
||||
.setColor(0xFFA500)
|
||||
.setTimestamp()
|
||||
.setDescription(`**Member:** ${member.user.tag} (${member.id})\n**Action:** Kick\n**Reason:** ${reason}`);
|
||||
return message.guild.channels.find('name', 'mod_logs').sendEmbed(embed);
|
||||
return message.guild.channels.find('name', 'mod_logs').send({embed});
|
||||
}
|
||||
catch (err) {
|
||||
return message.say(':x: Error! Something went wrong!');
|
||||
|
||||
Reference in New Issue
Block a user