9 lines
302 B
TypeScript
9 lines
302 B
TypeScript
import { db, MongooseCache } from "@fosscord/server-util";
|
|
import { NextFunction } from "express";
|
|
|
|
const Cache = new MongooseCache(db.collection("ratelimit"), [], { onlyEvents: false });
|
|
|
|
export default function RateLimit({}) {
|
|
return async (req: Request, res: Response, next: NextFunction) => {};
|
|
}
|