galactic-bot/@types/CallbackManager.d.ts
Navy.gif add5018f7c Refactored a bunch of functionality into a callback manager, further refactored into poll and reminder managers
Callbacks now support arbitrary length durations courtesy of the new callback manager
2024-03-26 16:05:07 +02:00

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>