From db492f312fc2d194f47f0c8dbd88330cf7c57d5e Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Wed, 11 Jan 2023 21:26:48 -0500 Subject: [PATCH] add inccnt to info --- src/commands/info.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/info.ts b/src/commands/info.ts index dbc872e..6e9c362 100644 --- a/src/commands/info.ts +++ b/src/commands/info.ts @@ -1,6 +1,7 @@ import config from '../../config.ts'; import { ApplicationCommandTypes, Bot, Interaction, InteractionResponseTypes } from '../../deps.ts'; import { infoColor2, isLFGChannel } from '../commandUtils.ts'; +import { dbClient, queries } from '../db.ts'; import { CommandDetails } from '../types/commandTypes.ts'; import utils from '../utils.ts'; @@ -11,6 +12,7 @@ const details: CommandDetails = { }; const execute = (bot: Bot, interaction: Interaction) => { + dbClient.execute(queries.callIncCnt('report')).catch((e) => utils.commonLoggers.dbError('info.ts', 'call sproc INC_CNT on', e)); bot.helpers.sendInteractionResponse( interaction.id, interaction.token,