mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
11 lines
325 B
TypeScript
11 lines
325 B
TypeScript
import { NextApiHandler, NextApiRequest, NextApiResponse } from 'next'
|
|
import { getMainGuild } from '@utils/DiscordBot'
|
|
|
|
const HelloWorld: NextApiHandler = (_req: NextApiRequest, res: NextApiResponse) => {
|
|
getMainGuild() // Load Discord Bot
|
|
res.statusCode = 200
|
|
res.json({ happy: 'hacking' })
|
|
}
|
|
|
|
export default HelloWorld
|