Method GetScheduledGuildEventsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
GetScheduledGuildEventsAsync(ulong)
Gets all available scheduled guild events.
public Task<IReadOnlyList<DiscordScheduledGuildEvent>> GetScheduledGuildEventsAsync(ulong guildId)
Parameters
guildId
ulongThe ID of the guild to query.
Returns
- Task<IReadOnlyList<DiscordScheduledGuildEvent>>
All active and scheduled events.