Skip to main content
Module

x/harmony/mod.ts>getChannelByType

An easy to use Discord API Library for Deno.
Latest
variable getChannelByType
import { getChannelByType } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Get appropriate Channel structure by its type

type

(
client: Client,
data: EveryChannelPayloadTypes,
guild?: Guild,
) => EveryChannelTypes | undefined