Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const gamestats = [`help!`,`bot!`,``,``]
- var index = 0
- var timer = 10 // الوقت بالثواني لتغير الستريمنق
- client.on("ready", ()=> {
- setInterval(function(){
- client.user.setGame(`${gamestats[index]}`,'https://www.twitch.tv/2oLF')
- index++
- if( index >= gamestats.length) index = 0 ;
- }, timer*1000);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement