fetch members

This commit is contained in:
Supositware 2022-09-14 21:31:31 +02:00
parent 5a6f785c61
commit 6c49cc548c

View file

@ -20,6 +20,7 @@ export default {
clientPermissions: [ PermissionFlagsBits.ManageWebhooks ], clientPermissions: [ PermissionFlagsBits.ManageWebhooks ],
async execute(interaction, args) { async execute(interaction, args) {
await interaction.deferReply({ ephemeral: true }); await interaction.deferReply({ ephemeral: true });
await interaction.guild.members.fetch();
const member = args.user; const member = args.user;
const message = args.message; const message = args.message;
const attachment = args.image; const attachment = args.image;