#How to get bot permissions for a TextChannel ?

2 messages · Page 1 of 1 (latest)

onyx hare
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

stone hinge
#

You should use the client.isReady() typeguard to ensure that client.user will be a ClientUser instead of null
A User instance should be assignable to GuildMemberResolvable, and ClientUser is still a User instance