Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#createGuildChannel

An easy to use Discord API Library for Deno.
Latest
method RESTEndpoints.prototype.createGuildChannel
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.1/mod.ts";

Create a new channel object for the guild. Requires the MANAGE_CHANNELS permission. If setting permission overwrites, only permissions your bot has in the guild can be allowed/denied. Setting MANAGE_ROLES permission in channels is only possible for guild administrators. Returns the new channel object on success. Fires a Channel Create Gateway event.

Parameters

guildId: string