fix(handlers): add missing imports (#724)

* Update GUILD_EMOJIS_UPDATE.ts

* fix imports

Co-authored-by: ayntee <ayyantee@gmail.com>
This commit is contained in:
ITOH
2021-04-02 15:33:14 +02:00
committed by GitHub
parent 455cc6fb24
commit 99c252d2d5
12 changed files with 48 additions and 17 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
import { RequestManager } from "../../rest/request_manager.ts";
import { ModifyGuildChannelPositions } from "../../types/mod.ts";
import { endpoints } from "../../util/constants.ts";
/** Modify the positions of channels on the guild. Requires MANAGE_CHANNELS permisison. */
export async function swapChannels(
guildId: string,
channelPositions: PositionSwap[],
channelPositions: ModifyGuildChannelPositions[],
) {
if (channelPositions.length < 2) {
throw "You must provide at least two channels to be swapped.";