mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Add back idiot command
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
const Command = require('../../framework/Command');
|
||||
const { IDIOT_URL } = process.env;
|
||||
|
||||
module.exports = class IdiotCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'idiot',
|
||||
aliases: ['moron'],
|
||||
group: 'single',
|
||||
memberName: 'idiot',
|
||||
description: 'Sends a link to an idiot.'
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
if (!IDIOT_URL) return msg.reply('_Stares at you._')
|
||||
return msg.say(IDIOT_URL);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user