generated from nhcarrigan/template
feat: add prometheus metrics
This commit is contained in:
@ -4,6 +4,8 @@ import { Client, WebhookClient } from "discord.js";
|
||||
import { Command } from "./Command";
|
||||
import { Context } from "./Context";
|
||||
|
||||
import type { Prometheus } from "../modules/prometheus.js";
|
||||
|
||||
export interface ExtendedClient extends Client {
|
||||
env: {
|
||||
token: string;
|
||||
@ -12,6 +14,7 @@ export interface ExtendedClient extends Client {
|
||||
devMode: boolean;
|
||||
};
|
||||
db: PrismaClient;
|
||||
analytics: Prometheus;
|
||||
commands: Command[];
|
||||
contexts: Context[];
|
||||
configs: { [serverId: string]: Omit<configs, "id"> };
|
||||
|
Reference in New Issue
Block a user