Rewrite getRouteDescriptions, fix message route not appearing in openapi spec

This commit is contained in:
Madeline
2023-04-16 01:51:52 +10:00
parent a263ebb1e5
commit b438f2b071
14 changed files with 247 additions and 120 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ import { IsNull, LessThan } from "typeorm";
const router = Router();
//Returns all inactive members, respecting role hierarchy
export const inactiveMembers = async (
const inactiveMembers = async (
guild_id: string,
user_id: string,
days: number,
+1 -1
View File
@@ -105,7 +105,7 @@ router.post(
},
);
export function getStickerFormat(mime_type: string) {
function getStickerFormat(mime_type: string) {
switch (mime_type) {
case "image/apng":
return StickerFormatType.APNG;