From dba97eced9c7e546f0ce0a1464bb8d21b863da67 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 1 Apr 2020 03:13:45 +0200 Subject: [PATCH] send message when april fool joke get triggered --- event/listeners/commandstarted.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/event/listeners/commandstarted.js b/event/listeners/commandstarted.js index ea7e0c0e..12a8a5e3 100644 --- a/event/listeners/commandstarted.js +++ b/event/listeners/commandstarted.js @@ -27,7 +27,10 @@ class commandStartedListener extends Listener { let count = Math.random() * 100; if (count < 10) { serverID.push(message.guild.id); - console.log('Gold triggered!'); + + const channel = this.client.channels.resolve('694715943372193803'); // Too lazy to make entry for it + channel.send(`${message.guild.name} (${message.guild.id}) got april fool triggered! hueheheh owned`); + this.client.user.setActivity('people buy haha yes gold™', { type: 'WATCHING' }); let Embed = this.client.util.embed() .setColor(message.member ? message.member.displayHexColor : 'NAVY')