galactic-bot/@types/CallbackManager.d.ts

12 lines
231 B
TypeScript
Raw Normal View History

export type CallbackCreateInfo<T> = {
payload: T,
expiresAt: number,
id?: string,
guild?: string
};
export type CallbackInfo<T> = {
created: number,
client: string,
_id: string
} & CallbackCreateInfo<T>