Haha-Yes/commands/hidden/unowned.js

34 lines
754 B
JavaScript
Raw Normal View History

2019-01-18 17:51:46 +01:00
const { Command } = require('discord-akairo');
class unownedCommand extends Command {
constructor() {
super('unowned', {
aliases: ['unowned'],
category: 'hidden',
2019-03-26 23:37:32 +01:00
args: [
{
id: 'member',
2019-03-26 23:39:06 +01:00
type: 'string',
2019-03-26 23:37:32 +01:00
match: 'rest'
}
],
2019-01-18 17:51:46 +01:00
description: {
content: 'unowned',
usage: '',
examples: ['']
}
});
}
2019-03-26 23:37:32 +01:00
async exec(message, args) {
if (args.member) {
return message.channel.send('You can\'t do that! that\'s illegal!');
}
2019-02-09 01:36:10 +01:00
if (message.author.id == '267065637183029248') {
2019-02-09 01:37:34 +01:00
return message.channel.send('You have been sucessfully unowned');
2019-02-09 01:36:10 +01:00
}
2019-03-07 20:56:49 +01:00
return message.channel.send('You can\'t unown what has already been owned <:classictroll:488559136494321703>');
2019-01-18 17:51:46 +01:00
}
}
module.exports = unownedCommand;