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

x/harmony/src/structures/interactions.ts>InteractionChannel

An easy to use Discord API Library for Deno.
Go to Latest
class InteractionChannel
extends SnowflakeBase
import { InteractionChannel } from "https://deno.land/x/harmony@v2.8.0/src/structures/interactions.ts";

Represents a Channel Object for an Option in Slash Command

Constructors

new
InteractionChannel(client: Client, data: InteractionChannelPayload)

Properties

name: string

Name of the Channel

permissions: Permissions

Channel Type

Methods

resolve<T extends Channel = Channel>(): Promise<T | undefined>

Resolve to actual Channel object if present in Cache