Skip to content
Snippets Groups Projects
Commit 32f1ca6e authored by Levatax's avatar Levatax
Browse files

Added ready event

parent 161c4e73
No related branches found
No related tags found
No related merge requests found
Pipeline #68 canceled
const settings = require('../settings.json');
module.exports = {
ready : (bot) => {
bot.login(settings.token)
bot.on('ready', () => {
bot.user.setActivity('Spammers', {type: 'WATCHING'});
bot.user.setStatus('online');
console.log(`${bot.user.tag} is ready!`);
});
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment