Advertisement
CodingWithJustice

Untitled

Nov 7th, 2020
2,558
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require('discord.js')
  2. const bot = new Discord.Client();
  3. const token = 'REPLACE_THIS_WITH_YOUR_BOT_TOKEN';
  4. const PREFIX = '!';
  5.  
  6. bot.on('ready', () => {
  7.     console.log('This bot is online!');
  8.     bot.user.setActivity('REPLACE_THIS_WITH_ANY_STATUS_YOU_WANT', { type: 'WATCHING' }).catch(console.error);
  9. })
  10.  
  11. bot.login(token);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement