20 lines
547 B
JavaScript
20 lines
547 B
JavaScript
const Revolt = require('revolt.js');
|
|
const { client, logger, config } = require('..');
|
|
|
|
module.exports.meta = {
|
|
name: 'test',
|
|
aliases: [ 'alias_test' ],
|
|
description: 'Test command.'
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param { Revolt.Message } message
|
|
* @param { string[] } args
|
|
*/
|
|
module.exports.run = async (message, args) => new Promise(async (resolve, reject) => {
|
|
await client.channels.sendMessage(message.channel, {
|
|
content: `Test confirmed, consider donating with ${config.prefix}donate`,
|
|
nonce: Date.now().toString()
|
|
});
|
|
}); |