Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client.once('ready', () => {
- let Games = {
- 1: `Type ${prefix}help`,
- 2: 'OMG MY Bot is the best',
- 3: 'Do not use ProBot use Smartu Bot.',
- 4: 'Smartu bot is the best.'
- }
- let i = 1;
- client.user.setActivity(`${Games [i]}`, {
- type: 'WATCHING'
- });
- setInterval(() => {
- if (!Games[(i + 1)]) i = 1;
- else i++;
- client.user.setActivity(`${Games [i]}`, {
- type: 'WATCHING'
- });
- }, (64000))
- console.log(`Logged in as ${client.user.tag}`);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement