Skip to content

Commit

Permalink
Fix kick
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMonDon committed Aug 3, 2024
1 parent 27b661a commit 1b90d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/Moderator/kick.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Kick extends Command {
.setAuthor({ name: msg.member.displayName, iconURL: msg.author.displayAvatarURL() })
.setDescription('Full info posted in the log channel.');

const reply = await msg.channel.send(em2);
const reply = await msg.channel.send({ embeds: [em2] });
msg.guild.channels.cache.get(logChan).send({ embeds: [em] });
setTimeout(() => {
reply.delete();
Expand Down

0 comments on commit 1b90d85

Please sign in to comment.