860b816136
also switched to revolt.js fork
18 lines
475 B
TypeScript
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;
|