Binato/server/interfaces/ICommand.ts

11 lines
301 B
TypeScript
Raw Permalink Normal View History

2023-09-10 12:59:22 +01:00
import Channel from "../objects/Channel";
import Shared from "../objects/Shared";
import User from "../objects/User";
2023-08-20 13:03:01 +01:00
2023-09-10 12:59:22 +01:00
export default interface ICommand {
2023-08-20 13:03:01 +01:00
shared:Shared,
2023-10-04 16:13:16 +01:00
adminOnly:boolean,
2023-08-20 13:03:01 +01:00
helpText:string,
helpDescription:string,
exec: (channel:Channel, sender:User, args:Array<string>) => void
}