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

x/harmony/src/managers/guildChannels.ts>GuildChannelsManager

An easy to use Discord API Library for Deno.
Go to Latest
class GuildChannelsManager
import { GuildChannelsManager } from "https://deno.land/x/harmony@v2.6.0/src/managers/guildChannels.ts";

Constructors

new
GuildChannelsManager(
client: Client,
guild: Guild,
)

Methods

array(): Promise<GuildChannels[]>

Create a new Guild Channel

delete(id: string): Promise<boolean>

Delete a Guild Channel

editPositions(...positions: Array<{ id: string | GuildChannels; position: number | null; }>): Promise<GuildChannelsManager>

Modify the positions of a set of channel positions for the guild.

flush(): Promise<boolean>
get(id: string): Promise<GuildChannels | undefined>
keys(): Promise<string[]>
size(): Promise<number>