blob: b3fdea9f6fd085da5db8b857c3436fd88dae8adc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { Command, CommandoClient, CommandInfo } from 'discord.js-commando';
module.exports = class UwufierCommand extends Command {
credit: any;
constructor(client: CommandoClient, info: CommandInfo) {
super(client, info);
this.argsSingleQuotes = info.argsSingleQuotes || false;
this.throttling = info.throttling || { usages: 1, duration: 2 };
// TODO:
// @ts-ignore
this.credit = info.credit || [];
this.credit.push({
name: 'Sin',
url: 'https://github.com/8cy',
reason: 'Code'
});
}
}
|