forked from Galactic/galactic-bot
38 lines
890 B
JavaScript
38 lines
890 B
JavaScript
|
const { Command, Argument } = require('../../../../interfaces/');
|
||
|
|
||
|
class PingCommand extends Command {
|
||
|
|
||
|
constructor(client) {
|
||
|
|
||
|
super(client, {
|
||
|
name: 'ping',
|
||
|
module: 'utility',
|
||
|
description: "Determines the ping of the bot.",
|
||
|
arguments: [
|
||
|
new Argument(client, {
|
||
|
name: 'apple',
|
||
|
type: 'BOOLEAN',
|
||
|
types: ['VERBAL']
|
||
|
}),
|
||
|
new Argument(client, {
|
||
|
name: 'banana',
|
||
|
aliases: ['bans', 'bananas'],
|
||
|
type: 'INTEGER',
|
||
|
types: ['FLAG', 'VERBAL'],
|
||
|
default: 0
|
||
|
})
|
||
|
]
|
||
|
});
|
||
|
|
||
|
this.client = client;
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
async execute(message) {
|
||
|
message.reply("test");
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = PingCommand;
|