Haha-Yes/commands/hidden/unowned.js
supositware dfd25c8bf2 Bunch of update
mostly replacing message.channel.send with message.reply
( i hope it work this time... )
2021-07-23 04:19:47 +02:00

34 lines
No EOL
733 B
JavaScript

const { Command } = require('discord-akairo');
class unownedCommand extends Command {
constructor() {
super('unowned', {
aliases: ['unowned'],
category: 'hidden',
args: [
{
id: 'member',
type: 'string',
match: 'rest'
}
],
description: {
content: 'unowned',
usage: '',
examples: ['']
}
});
}
async exec(message, args) {
if (args.member) {
return message.reply('You can\'t do that! that\'s illegal!');
}
if (message.author.id == '267065637183029248') {
return message.reply('You have been sucessfully unowned');
}
return message.reply('You can\'t unown what has already been owned <:classictroll:488559136494321703>');
}
}
module.exports = unownedCommand;