- Preparing search index...
- The search index is not available
erine
Constructors
constructor
- new Base(id, client): Base
-
Properties
client
id
id: string
Accessors
createdAt
- get createdAt(): Date
-
Returns Date
Methods
toJSON
- toJSON(): JSONBase
-
toString
- toString(): string
-
Returns string
Protected
update
- update(data): void
-
Returns void
Static
generateID
- generateID(timestamp?): string
-
Parameters
-
Optional
timestamp: number | Date
Returns string
Static
getCreatedAt
- getCreatedAt(id): Date
-
Returns Date
Static
getDiscordEpoch
- getDiscordEpoch(id): number
-
Returns number
A base class which most other classes extend.