Binato/server/interfaces/ICommand.ts
2023-08-20 13:03:01 +01:00

10 lines
No EOL
285 B
TypeScript

import { Channel } from "../objects/Channel";
import { Shared } from "../objects/Shared";
import { User } from "../objects/User";
export interface ICommand {
shared:Shared,
helpText:string,
helpDescription:string,
exec: (channel:Channel, sender:User, args:Array<string>) => void
}