#(prefix) timeout command not working
13 messages · Page 1 of 1 (latest)
message is not what you think it is then (it‘s not a Message instance)… I was wrong here, see below 👇
The order of function parameters must match between definition and function call.
function execute(client, message, args) { ... };
execute(message, client, args);
• mismatch! you pass a Message where the client is expected
• mismatch! you pass the Client where a Message is expected
No wait, it is… but there is only one member in a message. So message.members
oh thank you
isn’t it because of message.member.Permissions ?
should be .permissions I think
it was .member but now it goes to the .has?
@weak axle ^
That too, but their error was before that
yeah I noticed after
You're right. Thank you very much. It was .permissions