Skip to main content
Module

x/harmony/mod.ts>GuildTextBasedChannel

An easy to use Discord API Library for Deno.
Go to Latest
class GuildTextBasedChannel
Re-export
import { GuildTextBasedChannel } from "https://deno.land/x/harmony@v2.6.0/mod.ts";

Represents a Text Channel but in a Guild

Constructors

new
GuildTextBasedChannel()

Properties

readonly
mention: string
optional
topic: string

Methods

bulkDelete(messages: Array<Message | string> | number): Promise<GuildTextBasedChannel>

Bulk Delete Messages in a Guild Text Channel

createInvite(options?: CreateInviteOptions): Promise<Invite>

Create an Invite for this Channel

Edit the Guild Text Channel

setCategory(category: CategoryChannel | string): Promise<GuildTextBasedChannel>

Edit category of the channel

setTopic(topic: string): Promise<GuildTextBasedChannel>

Edit topic of the channel

toString(): string