Closed p4rkrs closed 7 years ago
Oh I forgot, that's the console.log of args.member:
But the console.log of args.member.id
return to undefined
.
Anyways, the type 'member' keep undefined when we use it.
args
will always return an array, you should be doing args.member[0].id
Hello,
The USAGE with type member return to 500 error
And when I quote the
args.member.id
that return to me to an 4xx Error. That's my full code: https://github.com/itskiru/sagiri-bot/blob/master/src/commands/mod/kick.js