Open manstie opened 6 years ago
don't you mind sharing your code ? also you can get the serverID using this : bot.channels[channelID].guild_id
. i suggest you join the official server for this lib so we can help you out further https://discord.gg/0MvHMfHcTKVVmIGP
Random guess: Make sure your IDs are strings, e.g. "12345678987654321"
I figured it out after switching to discord.js, it gave me an error that it didn't have permissions to do so and there was something broken with one of the first roles I made which made it fail even though it did have greater permissions than those with that role.
I have a simple editNickname command which has the server id copied directly from discord and a user's ID copied directly from discord and the bot has the manage nicknames privilege and it still won't change their nickname.