Creating role at a specific position

I have an existing role and when creating new ones, I'd like them to be just above the first role on the list. How do I achieve this?
2 Replies
d.js toolkit
d.js toolkit8mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Wasabi
Wasabi8mo ago
Of course I am The role I'd like the others to be above is not at the very top, the bot can manage it Well, I could have worded it better. By "first" I meant the role I first mentioned It's not at the very top I just need to get it's position somehow and then know how to put the new roles above it Are roles cached with guild by default or do I need to fetch them? Thanks
Want results from more Discord servers?
Add your server