Methods
_setLimit
- _setLimit(values?, defaultValue?): number | Record<string, number>
-
Parameters
-
Optional
values: number | Record<string, number>
-
defaultValue: number = Infinity
Returns number | Record<string, number>
convertImage
- convertImage(img): string
-
Returns string
embedsToParsed
- embedsToParsed(embeds): Embed[]
-
formatImage
- formatImage(url, format?, size?): string
-
Parameters
-
url: string
-
Optional
format: "jpg" | "jpeg" | "png" | "webp" | "gif"
-
Optional
size: number
Returns string
getMagic
- getMagic(file, len?): string
-
Parameters
-
file: Buffer
-
len: number = 4
Returns string
updateChannel
- updateChannel<T>(channelData): T
-
Returns T
updateMember
- updateMember(guildID, memberID, member): Member
-
Parameters
-
guildID: string
-
memberID: string
-
updateThread
- updateThread<T>(threadData): T
-
Returns T
Static
rawEmbeds
- rawEmbeds(embeds): Embed
-
- rawEmbeds(embeds): Embed[]
-
Static
rawMessageComponents
Static
rawModalComponents
A general set of utilities. These are intentionally poorly documented, as they serve almost no usefulness to outside developers.