import { getScheduledEventUsers } from "https://deno.land/x/discordeno@17.2.0/helpers/mod.ts";
Gets the list of subscribers to a scheduled event from a guild.
Parameters
bot: Bot
- The bot instance to use to make the request.
guildId: BigString
- The ID of the guild to get the subscribers to the scheduled event from.
eventId: BigString
- The ID of the scheduled event to get the subscribers of.
optional
options: GetScheduledEventUsers & { withMember?: false; }- The parameters for the fetching of the subscribers.
Returns
Promise<Collection<bigint, User>>
A collection of User objects assorted by user ID.
Parameters
bot: Bot
guildId: BigString
eventId: BigString
optional
options: GetScheduledEventUsers & { withMember: true; }Returns
Promise<Collection<bigint, { user: User; member: Member; }>>