remove todos

This commit is contained in:
ITOH
2021-06-19 17:12:23 +02:00
parent c79eafa68e
commit 5202e3f6ae
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -20,7 +20,6 @@ export async function deleteChannel(channelId: bigint, reason?: string) {
throw new Error(Errors.UPDATES_CHANNEL_CANNOT_BE_DELETED); throw new Error(Errors.UPDATES_CHANNEL_CANNOT_BE_DELETED);
} }
// TODO(threads): check if this requires guild perms or channel is enough
await requireBotGuildPermissions(guild, ["MANAGE_CHANNELS"]); await requireBotGuildPermissions(guild, ["MANAGE_CHANNELS"]);
} }
-1
View File
@@ -9,7 +9,6 @@ import { endpoints } from "../../util/constants.ts";
import { calculateBits, requireOverwritePermissions } from "../../util/permissions.ts"; import { calculateBits, requireOverwritePermissions } from "../../util/permissions.ts";
import { snakelize } from "../../util/utils.ts"; import { snakelize } from "../../util/utils.ts";
//TODO: implement DM group channel edit
/** Update a channel's settings. Requires the `MANAGE_CHANNELS` permission for the guild. */ /** Update a channel's settings. Requires the `MANAGE_CHANNELS` permission for the guild. */
export async function editChannel(channelId: bigint, options: ModifyChannel, reason?: string) { export async function editChannel(channelId: bigint, options: ModifyChannel, reason?: string) {
const channel = await cacheHandlers.get("channels", channelId); const channel = await cacheHandlers.get("channels", channelId);