Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var prefix = "+"; //حط البرفكس لي تبي
- client.on('ready', () => {
- var ms = 5000;
- var setActivity = [`${prefix}help`, `Activity 1`, `Activity 2`, `Activity 3`,`Activity 4`];
- var i = -1;
- var j = 0;
- setInterval(function() {
- if (i == -1) {
- j = 1;
- }
- if (i == (setActivity.length) - 1) {
- j = -1;
- }
- i = i + j;
- client.user.setActivity(setActivity[i]);
- }, ms);
- });
- /*
- اذا جاك ايرور ف ال برفكس شيل السطر
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement