Advertisement
3MoSteve

Game

Jul 4th, 2020
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. client.once('ready', () => {
  2. let Games = {
  3. 1: `Type ${prefix}help`,
  4. 2: 'OMG MY Bot is the best',
  5. 3: 'Do not use ProBot use Smartu Bot.',
  6. 4: 'Smartu bot is the best.'
  7. }
  8. let i = 1;
  9. client.user.setActivity(`${Games [i]}`, {
  10. type: 'WATCHING'
  11. });
  12. setInterval(() => {
  13. if (!Games[(i + 1)]) i = 1;
  14. else i++;
  15. client.user.setActivity(`${Games [i]}`, {
  16. type: 'WATCHING'
  17. });
  18. }, (64000))
  19. console.log(`Logged in as ${client.user.tag}`);
  20. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement