Haha-Yes/commands/reserved/fartpiss.js

51 lines
1.7 KiB
JavaScript
Raw Normal View History

2019-03-21 20:40:44 +01:00
const { Command } = require('discord-akairo');
class fartpissCommand extends Command {
constructor() {
super('fartpiss', {
aliases: ['fartpiss'],
2019-03-22 23:20:18 +01:00
cooldown: 86400000,
ratelimit: 5,
category: 'reserved',
2019-03-21 20:40:44 +01:00
args: [
{
id: 'member',
type: 'member',
match: 'rest'
2019-03-21 20:40:44 +01:00
}
],
description: {
content: 'fartpiss',
usage: '',
examples: ['']
}
});
}
async exec(message, args) {
if (message.guild.id != '240843640375607296') {
return;
}
2019-05-08 23:17:11 +02:00
if (!args.member && message.author.id == '336164982406512643') {
2019-09-04 21:28:45 +02:00
return message.guild.members.get(message.author.id).setNickname('Big wimp')
2019-09-04 21:30:40 +02:00
.then(() => message.channel.send('haha fuck off <@336164982406512643>'))
2019-04-28 13:12:06 +02:00
.catch(() => message.channel.send('Sorry i could not fart piss on you :('));
2019-05-08 23:17:11 +02:00
} 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 :('));
2019-04-28 13:12:06 +02:00
} else if (args.member.id == '336164982406512643') {
2019-09-04 21:30:40 +02:00
return args.member.setNickname('Big wimp')
.then(() => message.channel.send('haha fuck off <@336164982406512643>'))
2019-04-28 13:12:06 +02:00
.catch(() => message.channel.send(`Sorry i could not fart piss on ${args.member.user.username} :(`));
} 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;