Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js');
- const client = new Discord.Client();
- const rbx = require('roblox-js');
- client.on('ready', () => {
- client.user.setActivity('with brainvs');
- let GroupID = 2815443;
- rbx.login({username: "", password: ""}).then((success) => {
- let onShout = rbx.onShout(GroupID);
- onShout.on('data', function(post) {
- client.channels.get("440292542076944404").send(post.message);
- });
- onShout.on('error', function (err) {
- console.error(err.stack);
- });
- });
- client.login('NDkwODg3MDY0NzQ1ODAzNzc4.DtoHAw.f9bxfdfw8_BK7icQV_jINtvzZGE');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement