🐛 fix fosscord.js

This commit is contained in:
Flam3rboy
2021-09-13 17:51:37 +02:00
parent 0ddca07df0
commit 324eb7f1dd
3 changed files with 18 additions and 2 deletions
+14
View File
@@ -9,4 +9,18 @@ router.get("/", route({}), (req: Request, res: Response) => {
res.json({ url: endpoint || process.env.GATEWAY || "ws://localhost:3002" });
});
router.get("/bot", route({}), (req: Request, res: Response) => {
const { endpoint } = Config.get().gateway;
res.json({
url: endpoint || process.env.GATEWAY || "ws://localhost:3002",
shards: 1,
session_start_limit: {
total: 1000,
remaining: 999,
reset_after: 14400000,
max_concurrency: 1
}
});
});
export default router;