2019-03-21 20:40:44 +01:00
|
|
|
const { Command } = require('discord-akairo');
|
|
|
|
|
|
|
|
class fartpissCommand extends Command {
|
|
|
|
constructor() {
|
|
|
|
super('fartpiss', {
|
|
|
|
aliases: ['fartpiss'],
|
2019-03-25 18:14:06 +01:00
|
|
|
category: 'reserved',
|
2019-03-21 20:40:44 +01:00
|
|
|
args: [
|
|
|
|
{
|
|
|
|
id: 'member',
|
2019-03-25 18:14:06 +01:00
|
|
|
type: 'member',
|
|
|
|
match: 'rest'
|
2019-03-21 20:40:44 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
description: {
|
|
|
|
content: 'fartpiss',
|
|
|
|
usage: '',
|
|
|
|
examples: ['']
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
async exec(message, args) {
|
2019-03-23 15:16:55 +01:00
|
|
|
if (message.guild.id != '240843640375607296') {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2019-11-21 15:27:19 +01:00
|
|
|
if (!args.member) {
|
2020-03-04 02:08:04 +01:00
|
|
|
return message.guild.members.resolve(message.author.id).setNickname('fart piss')
|
2019-05-08 23:17:11 +02:00
|
|
|
.then(() => message.channel.send('sucessfully fart pissed on you <:youngtroll:488559163832795136>'))
|
|
|
|
.catch(() => message.channel.send('Sorry i could not fart piss on you :('));
|
2019-04-28 13:12:06 +02:00
|
|
|
} else {
|
2019-05-08 22:57:06 +02:00
|
|
|
return args.member.setNickname('fart piss')
|
2019-04-28 13:12:06 +02:00
|
|
|
.then(() => message.channel.send(`sucessfully fart pissed on ${args.member.user.username} <:youngtroll:488559163832795136>`))
|
|
|
|
.catch(() => message.channel.send(`Sorry i could not fart piss on ${args.member.user.username} :(`));
|
2019-03-21 21:46:40 +01:00
|
|
|
}
|
2019-04-28 13:12:06 +02:00
|
|
|
|
2019-03-21 20:40:44 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = fartpissCommand;
|