Skip to main content
variable getChannelByType
import { getChannelByType } from "https://deno.land/x/drex@v1.1.1/mod.ts";

Get appropriate Channel structure by its type

type

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