Minor API stuff

This commit is contained in:
uurgothat
2021-11-17 22:28:41 +03:00
parent 54ebf97e78
commit 74dee34f69
2 changed files with 13 additions and 3 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
import { Request, Response, Router } from "express";
const router: Router = Router();
import { Template, Guild, Role, Snowflake, Config, User, Member } from "@fosscord/util";
const { enabled, allowTemplateCreation, allowDiscordTemplates, allowRaws } = Config.get().templates;
import { route } from "@fosscord/api";
import { DiscordApiErrors } from "@fosscord/util";
import fetch from "node-fetch";
const router: Router = Router();
const { enabled, allowTemplateCreation, allowDiscordTemplates, allowRaws } = Config.get().templates;
export interface GuildTemplateCreateSchema {
name: string;