Facebook
From xQuena, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 142
  1. function codepackB() {
  2.     return new Promise(resolve => {
  3.         setTimeout(() => {
  4.             client.guilds.cache.get(`Sunucu id`).setName(`isim 1`);
  5.             codepackB();
  6.         }, 3000);
  7.       });
  8. }
  9.  
  10.   function codepackA() {
  11.     return new Promise(resolve => {
  12.         setTimeout(() => {
  13.             client.guilds.cache.get(`sunucu id`).setName(`isim 2`);
  14.             codepackA();
  15.         }, 3000);
  16.       });
  17.   }
  18.   function codepack() {
  19.     return new Promise(resolve => {
  20.         setTimeout(() => {
  21.             client.guilds.cache.get(`sunucu İD`).setName(`isim 3`);
  22.             codepack();
  23.         }, 3000);
  24.       });
  25.   }
  26.  
  27.  client.on('ready', async message => {
  28.    codepack();
  29.  })
  30.  
  31.  //CODEPACK A AITTIR