forked from Supositware/Haha-Yes
51 lines
No EOL
1.7 KiB
JavaScript
51 lines
No EOL
1.7 KiB
JavaScript
const { Command } = require('discord-akairo');
|
|
|
|
class fartpissCommand extends Command {
|
|
constructor() {
|
|
super('fartpiss', {
|
|
aliases: ['fartpiss'],
|
|
cooldown: 86400000,
|
|
ratelimit: 5,
|
|
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 weeb')
|
|
.then(() => message.channel.send('sucessfully weeb\'d on you <:youngtroll:488559163832795136>'))
|
|
.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 weeb')
|
|
.then(() => message.channel.send(`sucessfully weeb'd on ${args.member.user.username} <:youngtroll:488559163832795136>`))
|
|
.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; |