mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
26 lines
586 B
JavaScript
26 lines
586 B
JavaScript
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', 'dumbass'],
|
|
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}`);
|
|
}
|
|
};
|