Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/higa/deno/client/managers/index.ts>GuildScheduledEventManager

A package to interract with the Discord API coded by myself
Latest
class GuildScheduledEventManager
import { GuildScheduledEventManager } from "https://deno.land/x/higa@0.1.2/deno/client/managers/index.ts";

Constructors

new
GuildScheduledEventManager(
token: string,
tokenType: string,
version: APIVersions,
)

Properties

readonly
version: APIVersions

API Version

Methods

createScheduledEvent(
guildId: string,
reason?: string,
): Promise<GuildScheduledEvent>

Create a scheduled event

deleteScheduledEvent(guildId: string, eventId: string): Promise<void>

Delete a scheduled event

getScheduledEvent(
guildId: string,
eventId: string,
): Promise<GuildScheduledEvent>

Get a scheduled event

getScheduledEventUsers(
guildId: string,
eventId: string,
): Promise<GuildScheduledEventUser[]>

Get guild scheduled event users

List sheduled events for a guild

modifyScheduledEvent(
guildId: string,
eventId: string,
reason?: string,
): Promise<GuildScheduledEvent>

Modify a scheduled event