forked from Supositware/Haha-Yes
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.
20 lines
487 B
JavaScript
20 lines
487 B
JavaScript
//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; |