fetch members
This commit is contained in:
parent
5a6f785c61
commit
6c49cc548c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue