Update edit_channel_overwrite.ts

This commit is contained in:
ITOH
2021-04-23 23:12:35 +02:00
parent 832905a0e9
commit 0d7590349b
@@ -15,7 +15,7 @@ export async function editChannelOverwrite(
): Promise<undefined> {
await requireBotGuildPermissions(guildId, ["MANAGE_ROLES"]);
const result = await rest.runMethod(
return await rest.runMethod<undefined>(
"put",
endpoints.CHANNEL_OVERWRITE(channelId, overwriteId),
{
@@ -24,6 +24,4 @@ export async function editChannelOverwrite(
type: options.type,
},
);
return result;
}