Moved to reserved and only work on spb5k guild

This commit is contained in:
Supositware 2019-03-23 15:16:55 +01:00
parent 668a1b6966
commit 1fc5151cff

View file

@ -6,7 +6,7 @@ class fartpissCommand extends Command {
aliases: ['fartpiss'], aliases: ['fartpiss'],
cooldown: 86400000, cooldown: 86400000,
ratelimit: 5, ratelimit: 5,
category: 'hidden', category: 'reserver',
args: [ args: [
{ {
id: 'member', id: 'member',
@ -22,6 +22,10 @@ class fartpissCommand extends Command {
} }
async exec(message, args) { async exec(message, args) {
if (message.guild.id != '240843640375607296') {
return;
}
if (!args.member) { if (!args.member) {
message.guild.members.get(message.author.id).setNickname('fart piss') message.guild.members.get(message.author.id).setNickname('fart piss')
.then(() => message.channel.send('sucessfully fart pissed on you <:youngtroll:488559163832795136')) .then(() => message.channel.send('sucessfully fart pissed on you <:youngtroll:488559163832795136'))