AutoMod/bot/src/struct/Command.ts

19 lines
475 B
TypeScript
Raw Normal View History

import { ChannelPermission, ServerPermission } from "@janderedev/revolt.js";
2021-10-08 23:36:46 +02:00
class Command {
name: string;
aliases: string[] | null;
description: string | null;
2021-10-09 22:20:06 +02:00
syntax?: string | null;
2021-10-10 15:33:21 +02:00
restrict?: 'BOTOWNER' | null;
removeEmptyArgs?: boolean | null;
2021-10-08 23:36:46 +02:00
run: Function;
2022-01-05 20:20:55 +01:00
category?: string;
requiredPermissions?: {
server?: keyof typeof ServerPermission,
channel?: keyof typeof ChannelPermission,
}
2021-10-08 23:36:46 +02:00
}
export default Command;