The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/app/statistics/server/functions/slashCommandsStats.ts

12 lines
405 B

import telemetryEvent from '../lib/telemetryEvents';
import { updateCounter } from './updateStatsCounter';
type slashCommandsDataType = { command: string };
export function slashCommandsStats(data: slashCommandsDataType): void {
if (data.command === 'jitsi') {
updateCounter({ settingsId: 'Jitsi_Start_SlashCommands_Count' });
}
}
telemetryEvent.register('slashCommandsStats', slashCommandsStats);