From d745457b6ee3a6b5c59167cb721c37f5b344c0a7 Mon Sep 17 00:00:00 2001 From: Ayyan Date: Sat, 5 Dec 2020 12:07:36 +0400 Subject: [PATCH] Make linter happy :) --- src/handlers/guild.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/guild.ts b/src/handlers/guild.ts index 35aec9c22..322f35659 100644 --- a/src/handlers/guild.ts +++ b/src/handlers/guild.ts @@ -44,7 +44,7 @@ import { urlToBase64 } from "../utils/utils.ts"; /** Create a new guild. Returns a guild object on success. Fires a Guild Create Gateway event. This endpoint can be used only by bots in less than 10 guilds. */ export async function createServer(options: CreateServerOptions) { - const guild = await RequestManager.post(endpoints.GUILDS, options); + const guild = await RequestManager.post(endpoints.GUILDS, options) as CreateGuildPayload; return structures.createGuild(guild, 0); }