Update delete_channel_overwrite.ts

This commit is contained in:
ITOH
2021-04-23 23:12:30 +02:00
parent a665c2d530
commit 27c569050e

View File

@@ -10,10 +10,8 @@ export async function deleteChannelOverwrite(
): Promise<undefined> {
await requireBotGuildPermissions(guildId, ["MANAGE_ROLES"]);
const result = await rest.runMethod(
return await rest.runMethod<undefined>(
"delete",
endpoints.CHANNEL_OVERWRITE(channelId, overwriteId),
);
return result;
}