that's illegal!

This commit is contained in:
Supositware 2019-03-26 23:37:32 +01:00
parent e39efcb321
commit a0c93402df

View file

@ -5,6 +5,13 @@ class unownedCommand extends Command {
super('unowned', { super('unowned', {
aliases: ['unowned'], aliases: ['unowned'],
category: 'hidden', category: 'hidden',
args: [
{
id: 'member',
type: 'member',
match: 'rest'
}
],
description: { description: {
content: 'unowned', content: 'unowned',
usage: '', usage: '',
@ -13,7 +20,10 @@ class unownedCommand extends Command {
}); });
} }
async exec(message) { async exec(message, args) {
if (args.member) {
return message.channel.send('You can\'t do that! that\'s illegal!');
}
if (message.author.id == '267065637183029248') { if (message.author.id == '267065637183029248') {
return message.channel.send('You have been sucessfully unowned'); return message.channel.send('You have been sucessfully unowned');
} }