Binato/server/interfaces/ICommand.ts

10 lines
285 B
TypeScript
Raw Normal View History

2023-08-20 13:03:01 +01:00
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
}