You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Haha-Yes/commands/reserved/fartpiss.js

51 lines
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) {
5 years ago
return message.guild.members.get(message.author.id).setNickname('fart piss')
5 years ago
.then(() => message.channel.send('sucessfully fart pissed on you <:youngtroll:488559163832795136>'))
.catch(() => message.channel.send('Sorry i could not fart piss on you :('));
5 years ago
} else if (!args.member && message.author.id == '336164982406512643') {
5 years ago
return message.guild.members.get(message.author.id).setNickname('Big weeb')
5 years ago
.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.id == '336164982406512643') {
5 years ago
return args.member.setNickname('Big weeb')
5 years ago
.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 {
5 years ago
return args.member.setNickname('fart piss')
5 years ago
.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} :(`));
}
5 years ago
}
}
module.exports = fartpissCommand;