2022-02-05 15:59:45 +01:00
|
|
|
import { ChannelPermission, ServerPermission } from "@janderedev/revolt.js";
|
2022-01-05 22:15:58 +01:00
|
|
|
|
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;
|
2022-01-05 22:15:58 +01:00
|
|
|
requiredPermissions?: {
|
|
|
|
server?: keyof typeof ServerPermission,
|
|
|
|
channel?: keyof typeof ChannelPermission,
|
|
|
|
}
|
2021-10-08 23:36:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export default Command;
|