SHARE
TWEET

Untitled

a guest Dec 2nd, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Rainbow role
  2. const forEachTimeout = require('foreach-timeout');
  3. const colors = ["FF0D00","FF2800","FF3D00","FF4F00","FF5F00","FF6C00","FF7800","FF8300","FF8C00","FF9500","FF9E00","FFA500","FFAD00","FFB400","FFBB00","FFC200","FFC900","FFCF00","FFD600","FFDD00","FFE400","FFEB00","FFF200","FFFA00","F7FE00","E5FB00","D5F800","C6F500","B7F200","A8F000","98ED00","87EA00","74E600","5DE100","41DB00","1DD300","00C618","00BB3F","00B358","00AC6B","00A67C","009E8E","028E9B","06799F","0969A2","0C5DA5","0E51A7","1047A9","133CAC","1531AE","1924B1","1F1AB2","2A17B1","3415B0","3C13AF","4512AE","4E10AE","560EAD","600CAC","6A0AAB","7608AA","8506A9","9702A7","AD009F","BC008D","C7007D","D0006E","D8005F","DF004F","E7003E","EF002A","F80012"];
  4.  
  5.  
  6. const stop = [];
  7.     async function color () {
  8.         forEachTimeout(colors, (color) => {
  9.             nozzy.guilds.forEach((guild) => {
  10.                     if (!stop.includes(guild.id)) {
  11.                     let role = guild.roles.find('name', 'ww');
  12.                     if (role && role.editable)
  13.                         role.setColor(color);
  14.                 }  
  15.             })
  16.         }, 500).then(color);
  17.     }
  18.         color();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top