Skip to content
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

Add some utilities to mention the guild navigation channels #1194

Open
Azn9 opened this issue Mar 20, 2024 · 3 comments · Fixed by #1197
Open

Add some utilities to mention the guild navigation channels #1194

Azn9 opened this issue Mar 20, 2024 · 3 comments · Fixed by #1197
Labels
good first issue Good for newcomers

Comments

@Azn9
Copy link
Member

Azn9 commented Mar 20, 2024

Feature Description: Add some utility methods to the Guild objects, to get the guild navigation channels mentions easily (<id:customize>, <id:browse> and <id:guide>)

discord/discord-api-docs#6105

@Azn9
Copy link
Member Author

Azn9 commented Mar 20, 2024

Work needed:

  • Add an enum NavigationChannelType containing the three values
  • Add a method public String getNavigationChannelMention(NavigationChannelType type) to the core/src/main/java/discord4j/core/object/entity/Guild.java and rest/src/main/java/discord4j/rest/entity/RestGuild.java classes

@Azn9 Azn9 added the good first issue Good for newcomers label Mar 20, 2024
@Doc94
Copy link
Member

Doc94 commented Mar 23, 2024

Maybe just a enum like NavigationChannel and that has the static things?

@Azn9
Copy link
Member Author

Azn9 commented Mar 23, 2024

Maybe just a enum like NavigationChannel and that has the static things?

Yeah, that's a better idea, I'll edit my initial answer 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants