49 lines
No EOL
1.6 KiB
JavaScript
49 lines
No EOL
1.6 KiB
JavaScript
const { Command } = require('discord-akairo');
|
|
|
|
class fartpissCommand extends Command {
|
|
constructor() {
|
|
super('fartpiss', {
|
|
aliases: ['fartpiss'],
|
|
category: 'reserved',
|
|
args: [
|
|
{
|
|
id: 'member',
|
|
type: 'member',
|
|
match: 'rest'
|
|
}
|
|
],
|
|
description: {
|
|
content: 'fartpiss',
|
|
usage: '',
|
|
examples: ['']
|
|
}
|
|
});
|
|
}
|
|
|
|
async exec(message, args) {
|
|
if (message.guild.id != '240843640375607296') {
|
|
return;
|
|
}
|
|
|
|
if (!args.member && message.author.id == '336164982406512643') {
|
|
return message.guild.members.get(message.author.id).setNickname('Big wimp')
|
|
.then(() => message.channel.send('haha fuck off <@336164982406512643>'))
|
|
.catch(() => message.channel.send('Sorry i could not fart piss on you :('));
|
|
} else if (!args.member) {
|
|
return message.guild.members.get(message.author.id).setNickname('fart piss')
|
|
.then(() => message.channel.send('sucessfully fart pissed on you <:youngtroll:488559163832795136>'))
|
|
.catch(() => message.channel.send('Sorry i could not fart piss on you :('));
|
|
} else if (args.member.id == '336164982406512643') {
|
|
return args.member.setNickname('Big wimp')
|
|
.then(() => message.channel.send('haha fuck off <@336164982406512643>'))
|
|
.catch(() => message.channel.send(`Sorry i could not fart piss on ${args.member.user.username} :(`));
|
|
} else {
|
|
return args.member.setNickname('fart piss')
|
|
.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} :(`));
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
module.exports = fartpissCommand; |