Flemme.
This commit is contained in:
@@ -25,7 +25,7 @@ module.exports = {
|
||||
const reason = interaction.options.getString('reason') || 'No reason provided';
|
||||
const durationInput = interaction.options.getString('duration');
|
||||
|
||||
await interaction.deferReply({ ephemeral: true });
|
||||
await interaction.deferReply({ embeds: [embed] })
|
||||
|
||||
if (!target) return interaction.editReply({ content: 'No user specified!' });
|
||||
await interaction.guild.bans.create(target.id, { reason: `Banned by ${interaction.user.tag}: ${reason}` });
|
||||
|
||||
Reference in New Issue
Block a user