AutoMod/bot/src/struct/Command.ts
JandereDev 860b816136
add antispam settings to dashboard, various fixes
also switched to revolt.js fork
2022-02-05 15:59:45 +01:00

18 lines
475 B
TypeScript

import { ChannelPermission, ServerPermission } from "@janderedev/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;