AutoMod/bot/src/struct/Command.ts
2022-01-22 20:21:57 +01:00

18 lines
463 B
TypeScript

import { ChannelPermission, ServerPermission } from "revolt.js";
class Command {
name: string;
aliases: string[] | null;
description: string | null;
syntax?: string | null;
restrict?: 'BOTOWNER' | null;
removeEmptyArgs?: boolean | null;
run: Function;
category?: string;
requiredPermissions?: {
server?: keyof typeof ServerPermission,
channel?: keyof typeof ChannelPermission,
}
}
export default Command;