new Presence
src/structures/presence.ts:84new Presence(client: ShardClient, data?: BaseStructureData, isClone?: boolean)Presence Structure, used to detail a user's presence in a guild (or general if you have them added (non-bots only))
Presence Structure, used to detail a user's presence in a guild (or general if you have them added (non-bots only))
import { Structures } from 'detritus-client';
Structures.Presence;new Presence(client: ShardClient, data?: BaseStructureData, isClone?: boolean)_deleteGuildId(guildId: string): void_getFromSnake(key: string): any_hasGuildId(guildId: string): boolean_setFromSnake(key: string, value: any): any[custom](): objectactivitiesFor(guildId: string): BaseCollection<string, PresenceActivity>activityFor(guildId: string): PresenceActivity | nullclone(): thisdifference(key: string, value: any): [boolean, any]differences(data?: BaseStructureData): object | nulldifferencesBetween(structure: Structure): object | nullhasDifference(key: string, value: any): booleanhasDifferences(data?: BaseStructureData): booleanhasDifferencesBetween(structure: Structure): booleanmerge(data?: BaseStructureData): voidmergeValue(key: string, value: any): voidtoJSON(): objecttoString(): stringReturns a string representation of an object.