Navy.gif
add5018f7c
Callbacks now support arbitrary length durations courtesy of the new callback manager
12 lines
231 B
TypeScript
12 lines
231 B
TypeScript
export type CallbackCreateInfo<T> = {
|
|
payload: T,
|
|
expiresAt: number,
|
|
id?: string,
|
|
guild?: string
|
|
};
|
|
|
|
export type CallbackInfo<T> = {
|
|
created: number,
|
|
client: string,
|
|
_id: string
|
|
} & CallbackCreateInfo<T> |