Guest User

Untitled

a guest
Nov 23rd, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require('discord.js');
  2. const client = new Discord.Client();
  3. const rbx = require('roblox-js');
  4.  
  5. client.on('ready', () => {
  6.     client.user.setActivity('with Brainvs');
  7.     let GroupID = 2815443;
  8.     rbx.login({username: "", password: ""}).then((success) => {
  9.  
  10.     let onShout = rbx.onShout(GroupID);
  11.    
  12.     onShout.on('data', function(post) {
  13.         client.channels.get("440292542076944404").send(post.message);
  14.     });
  15.    
  16.     onShout.on('error', function (err) {
  17.         console.error(err.stack);
  18.     });
  19.  
  20.  
  21.  
  22. })})
  23.  
  24. client.login('NDkwODg3MDY0NzQ1ODAzNzc4.DtoHAw.f9bxfdfw8_BK7icQV_jINtvzZGE');
Add Comment
Please, Sign In to add comment