Idiot Command

This commit is contained in:
Dragon Fire
2020-04-21 10:04:14 -04:00
parent 2b03a8cdd0
commit fdee7cdcca
4 changed files with 30 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
const Command = require('../../structures/Command');
const IDIOT_PAGE_ID = process.env.IDIOT_PAGE_ID || 'Donald_Trump';
module.exports = class IdiotCommand extends Command {
constructor(client) {
super(client, {
name: 'idiot',
aliases: ['moron'],
group: 'single',
memberName: 'idiot',
description: 'Responds with the Wikipedia page of an idiot.',
credit: [
{
name: 'Wikipedia',
url: 'https://www.wikipedia.org/',
reason: 'URL'
}
]
});
}
run(msg) {
return msg.say(`https://en.wikipedia.org/wiki/${IDIOT_PAGE_ID}`);
}
};