SHARE
TWEET

Untitled

a guest Jun 27th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. console.log("Hello!");
  2. const Discord = require("discord.js");
  3. const bot = new Discord.Client();
  4.  
  5. bot.login("Bot Token")
  6.  
  7. bot.on('ready', () => { var channel = bot.channels.get("Channel ID ").send("!cauvong <@&ROLE_ID> ");   /// < role or roleID
  8. })
  9.  
  10. bot.on("message", (message) => {
  11.     if (message.content == "!cauvong **@Role Name**") { < /// role name
  12.         setTimeout(function(){
  13.             bot.channels.get("Channel ID").send("!cauvong <@&ROLE_ID>);
  14.        }, 900000) /// < 15min
  15.     }
  16. });
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