Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

editNickname not working #272

Open
manstie opened this issue Jun 6, 2018 · 3 comments
Open

editNickname not working #272

manstie opened this issue Jun 6, 2018 · 3 comments

Comments

@manstie
Copy link

manstie commented Jun 6, 2018

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.

@Mrthomas20121
Copy link

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

@vegeta897
Copy link

Random guess: Make sure your IDs are strings, e.g. "12345678987654321"

@manstie
Copy link
Author

manstie commented Jun 6, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants