- Preparing search index...
- The search index is not available
Oceanic
Methods
_setLimit
- _setLimit(values?: number | Record<string, number>, defaultValue?: number): number | Record<string, number>
-
Parameters
-
Optional
values: number | Record<string, number>
-
defaultValue: number = Infinity
Returns number | Record<string, number>
convertImage
- convertImage(img: string | Buffer): string
-
Returns string
formatImage
- formatImage(url: string, format?: "jpg" | "jpeg" | "png" | "webp" | "gif", size?: number): string
-
Parameters
-
url: string
-
Optional
format: "jpg" | "jpeg" | "png" | "webp" | "gif"
-
Optional
size: number
Returns string
getMagic
- getMagic(file: Buffer, len?: number): string
-
Parameters
-
file: Buffer
-
len: number = 4
Returns string
updateChannel
- updateChannel<T>(channelData: RawChannel): T
-
Returns T
updateMember
- updateMember(guildID: string, memberID: string, member: RawMember | RESTMember): Member
-
Parameters
-
guildID: string
-
memberID: string
-
Static
rawMessageComponents
Static
rawModalComponents
A general set of utilities. These are intentionally poorly documented, as they serve almost no usefulness to outside developers.