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.
|
|
|
const { Command } = require('discord-akairo');
|
|
|
|
|
|
|
|
class fartpissCommand extends Command {
|
|
|
|
constructor() {
|
|
|
|
super('fartpiss', {
|
|
|
|
aliases: ['fartpiss'],
|
|
|
|
cooldown: 86400000,
|
|
|
|
ratelimit: 5,
|
|
|
|
category: 'hidden',
|
|
|
|
args: [
|
|
|
|
{
|
|
|
|
id: 'member',
|
|
|
|
type: 'member'
|
|
|
|
}
|
|
|
|
],
|
|
|
|
description: {
|
|
|
|
content: 'fartpiss',
|
|
|
|
usage: '',
|
|
|
|
examples: ['']
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
async exec(message, args) {
|
|
|
|
if (!args.member) {
|
|
|
|
message.guild.members.get(message.author.id).setNickname('fart piss');
|
|
|
|
return message.channel.send('fart piss <:youngtroll:488559163832795136>');
|
|
|
|
}
|
|
|
|
args.member.setNickname('fart piss')
|
|
|
|
.then(() => message.channel.send(`sucessfully fart pissed on ${args.member} <:youngtroll:488559163832795136>`))
|
|
|
|
.catch(() => message.channel.send(`Sorry i could not fart piss on ${args.member} :(`));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = fartpissCommand;
|