Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js')
- const client = new Discord.Client();
- const fs = require('fs');
- client.commands = new Discord.Collection();
- client.events = new Discord.Collection();
- ['command_handler', 'event_handler'].forEach(handler =>{
- require(`./handlers/${handler}`)(client, Discord);
- });
- client.once('ready', () => {
- console.log('Ready.')
- //Below Status
- //Below Auto-Changing Status
- setInterval(() => {
- const statuses = [
- `hmb help`,
- `BURGERZ`,
- ]
- const status = statuses[Math.floor(Math.random() * statuses.length)]
- client.user.setActivity(status, { type: "PLAYING"}) // Can Be WATCHING, STREAMING, LISTENING
- }, 5000) // Second You Want to Change Status, This Cahnges Every 2 Seconds
- })
- client.login('ODAzMjYwMTMzNzMxNzI5NDI4.YA7MSw._7GsttepAUL_lNmNGv8OWCf8GOs');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement