Skip to content

Proper retrieval for role position. #1289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xl-spooky opened this issue Mar 13, 2025 · 3 comments
Open

Proper retrieval for role position. #1289

xl-spooky opened this issue Mar 13, 2025 · 3 comments
Labels
feature request Request for a new feature

Comments

@xl-spooky
Copy link

Summary

Properly retrieving the role positions from the guild

What is the feature request for?

The core library

The Problem

.

The Ideal Solution

.

The Current Solution

No response

Additional Context

No response

@xl-spooky xl-spooky added the feature request Request for a new feature label Mar 13, 2025
@Skelmis
Copy link
Contributor

Skelmis commented Mar 13, 2025

Please fill in the problem section / provide the source/ddocs things you've referenced in discord. This should be read independently from anything raised via discord and so there's a bit of missing context here for other contributors visiting this at a later stage.

@xl-spooky
Copy link
Author

Please fill in the problem section / provide the source/docs things you've referenced in discord. This should be read independently from anything raised via discord and so there's a bit of missing context here for other contributors visiting this at a later stage.

You are right, i may have not provided sufficient information, but i thought the context was pretty much self explaining, as we all know disnake only has Role.position or guild.edit_role_positions, which does NOT assure a proper role position in the hierarchy, further more, discord.py has an option as Role.move, which can be quite helpful to ensure roles get positioned PROPERLY, here's a link towards the PR https://discordpy.readthedocs.io/en/latest/api.html#discord.Role.move

@DisnakeDev DisnakeDev deleted a comment Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants