UNPKG

seyfert

Version:

The most advanced framework for discord bots

13 lines (12 loc) 569 B
import type { CacheFrom } from '../..'; import type { GatewayPresenceUpdate } from '../../types'; import { GuildRelatedResource } from './default/guild-related'; export declare class Presences extends GuildRelatedResource<PresenceResource, GatewayPresenceUpdate> { namespace: string; filter(data: GatewayPresenceUpdate, id: string, guild_id: string, from: CacheFrom): boolean; parse(data: any, key: string, guild_id: string): PresenceResource; } export type PresenceResource = Omit<GatewayPresenceUpdate, 'user'> & { id: string; user_id: string; };