forked from engineering/cloudservices
22 lines
567 B
TypeScript
22 lines
567 B
TypeScript
|
import { Message } from 'eris'
|
||
|
import Client from '../Client'
|
||
|
|
||
|
export default class Command {
|
||
|
name: string
|
||
|
description?: string
|
||
|
usage?: string
|
||
|
enabled: boolean
|
||
|
aliases?: string[]
|
||
|
client: Client
|
||
|
permissions?: { roles: string[], users: string[] }
|
||
|
public run (message: Message, args: string[]) {}
|
||
|
constructor(client: Client) {
|
||
|
this.name = 'None'
|
||
|
this.description = 'No description given'
|
||
|
this.usage = 'No usage given'
|
||
|
this.enabled = false
|
||
|
this.aliases = []
|
||
|
this.client = client
|
||
|
}
|
||
|
}
|