discordbotlist
Version:
Integrate with discordbotlist.com and support voting rewards and promote your bot's stats on the website.
5 lines • 341 B
TypeScript
import type { Handler, NextFunction, Request, Response } from "express";
import type { Vote } from "../api";
export type ListenerFunction = (vote: Vote, req: Request, res: Response, next: NextFunction) => any;
export declare function upvoteListener(secret: string, listener: ListenerFunction): Handler;
//# sourceMappingURL=listener.d.ts.map