1
0
Fork 0
cloudservices/src/class/Command.ts

22 lines
567 B
TypeScript
Raw Normal View History

2019-10-14 18:02:04 -04:00
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
}
}