Type aliases
APIProxy
APIProxy
: {} & { delete
: APIProxyExecuteRequest<true>; get
: APIProxyExecuteRequest<true>; patch
: APIProxyExecuteRequest; post
: APIProxyExecuteRequest; put
: APIProxyExecuteRequest } & ((...args
: any[]) => APIProxy)APIRequestOptions
APIRequest
Options
<D>: Omit<APIRequest<D>, "route">Type parameters
ArgumentType
ArgumentType<T>: T extends (...args: infer A) => any ? A : never
Type parameters
CamelToSnake
CamelToSnake<T>: JoinChars<PrefixAndLowercaseCapitals<SplitChars<T>>>
Type parameters
T: string | symbol | number
Channels
Channels
<T, D>: T & { id
: Snowflake; _deserialise
: any }Type parameters
FileResolvable
FileResolvable: string | Buffer
FirstArrayValue
FirstArrayValue<T>: T extends [infer U, ...any[]] ? U : never
Type parameters
KleurFactory
Kleur
Factory
: {} & (() => KleurFactory) & ((str
: string) => string)LogLevel
LogLevel: "debug" | "info" | "warn" | "error" | "trace"
Null
Null<T, Exceptions>: { [ P in keyof T]: Exceptions extends P ? T[P] : NonNullable<T[P]> | null }
Type parameters
Response
Response<T>: ResponseData & { body: { json: any } }
Type parameters
RouteLike
RouteLike: `/${string}`
SnakeToCamel
Snake
To
Camel
<T>: T extends `${infer U
}_${infer V
}` ? `${U}${Capitalize<SnakeToCamel<V>>}` : TType parameters
T: string | symbol | number
Like Partial, but instead of undefined adds null to the type