Gdzie używać?

W metodach wymaganych przez interfejsy:

export type ChatCommandPreExecution = {
    preExecution: (...args: any[]) => TorPromiseT<any>;
};

export type ChatCommandExecution = {
    execution: (...args: any[]) => TorPromiseT<any>;
};

export type ChatCommandPostExecution = {
    postExecution: (...args: any[]) => TorPromiseT<any>;
};
export type ChatListenerExecution = {
    execution: (...args: any[]) => TorPromiseT<any>;
};

Last updated