mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
|
|
import { NextApiHandler } from 'next'
|
|
import { getMainGuild } from '@utils/DiscordBot'
|
|
import RequestHandler from '@utils/RequestHandler'
|
|
|
|
const LoadAPI: NextApiHandler = RequestHandler().get(async (req, res) => {
|
|
getMainGuild() // Load Discord Bot
|
|
res.status(200).json({ load: 'success' })
|
|
})
|
|
|
|
export default LoadAPI
|