mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 11:29:12 +00:00
9 lines
309 B
TypeScript
9 lines
309 B
TypeScript
import { Guild } from "roleypoly/common/types";
|
|
import { discordFetch } from "../utils/api-tools";
|
|
|
|
export const GetSlug = async (request: Request): Promise<Response> => {
|
|
const reqURL = new URL(request.url)
|
|
const serverID = reqURL.pathname.split('/')[2]
|
|
|
|
const serverPayload = discordFetch<Guild>
|
|
};
|