export interface IDiscordStatus { details : string ; state : string ; smallImageKey ? : string ; partyId ? : string ; partySize ? : number ; partyMax ? : number ; } export class DiscordStatus implements IDiscordStatus { details : string ; state : string ; smallImageKey ? : string | undefined ; partyId ? : string | undefined ; partySize ? : number | undefined ; partyMax ? : number | undefined ; constructor ( details , state ) { this . details = details ; this . state = state ; } } export class DiscordStatusEvent { status : IDiscordStatus ; canceled = false ; constructor ( status ) { this . status = status ; } } export const enum DiscordEvents { SET_STATUS = 'Discord:SetStatus' }