Skip to main content
Module

x/harmony/mod.ts>GuildChannelsManager

An easy to use Discord API Library for Deno.
Latest
class GuildChannelsManager
extends BaseChildManager<GuildChannelPayloads, GuildChannels>
import { GuildChannelsManager } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Constructors

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

Methods

array(): Promise<GuildChannels[]>
create(options: CreateChannelOptions): 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>