Haha yes GOLD

This commit is contained in:
Loïc Bersier 2019-03-31 19:17:50 +02:00
parent 00ce6de8d9
commit a695d01800

View file

@ -0,0 +1,20 @@
//THIS IS FOR APRIL FOOLS PLEASE DELETE ME AFTER
const { Listener } = require('discord-akairo');
class commandStartedListener extends Listener {
constructor() {
super('commandStarted', {
emitter: 'commandHandler',
event: 'commandStarted'
});
}
async exec(message) {
let count = Math.random() * 100;
if (count < 20) {
message.channel.send('To further utilize this command, please visit https://namejeff.xyz/gold');
}
}
}
module.exports = commandStartedListener;