pockybot
Version:
Spark bot that handles team recognition
16 lines (15 loc) • 582 B
TypeScript
/// <reference types="webex" />
import Trigger from '../../models/trigger';
import { DbLocation } from '../database/db-interfaces';
import Config from '../config-interface';
import { MessageObject } from 'webex/env';
export default class LocationConfig extends Trigger {
dbLocation: DbLocation;
config: Config;
constructor(dbLocation: DbLocation, config: Config);
isToTriggerOn(message: MessageObject): boolean;
createMessage(message: MessageObject): Promise<MessageObject>;
private getLocationMessage;
private setLocation;
private deleteLocation;
}