mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 06:10:49 +02:00
Remove idiot command
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
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}`);
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "132.12.0",
|
||||
"version": "133.0.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user