forked from Supositware/Haha-Yes
Haha yes GOLD
This commit is contained in:
parent
00ce6de8d9
commit
a695d01800
1 changed files with 20 additions and 0 deletions
20
event/listeners/commandstarted.js
Normal file
20
event/listeners/commandstarted.js
Normal 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;
|
Loading…
Reference in a new issue