We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Provide a method that gets a list of scheduled events in a guild.
Currently it's possible to only fetch scheduled events by their id.
The Route for this api call does exist, but is seemingly never actually used:
Route
JDA/src/main/java/net/dv8tion/jda/api/requests/Route.java
Line 139 in 6ae83e3
The discord api documentation for this can be found here: https://github.com/discord/discord-api-docs/blob/main/docs/resources/Guild_Scheduled_Event.md#list-scheduled-events-for-guild--get-guildsguildiddocs_resources_guildguild-objectscheduled-events
public void foobar() { Guild guild = // ... List<ScheduledEvent> events = guild.retrieveScheduledEvents().complete(); if (events.isEmpty()) { // Do something return; } for (ScheduledEvent event : events) { // Do something else } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
General Troubleshooting
Feature Request
Provide a method that gets a list of scheduled events in a guild.
Currently it's possible to only fetch scheduled events by their id.
The
Route
for this api call does exist, but is seemingly never actually used:JDA/src/main/java/net/dv8tion/jda/api/requests/Route.java
Line 139 in 6ae83e3
The discord api documentation for this can be found here: https://github.com/discord/discord-api-docs/blob/main/docs/resources/Guild_Scheduled_Event.md#list-scheduled-events-for-guild--get-guildsguildiddocs_resources_guildguild-objectscheduled-events
Example Use-Case
The text was updated successfully, but these errors were encountered: