Binato/server/interfaces/ICommand.ts
2023-10-04 16:13:16 +01:00

11 lines
No EOL
301 B
TypeScript

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