Skip to content

Discord Bot that logs into RBLX acc through cookie and payouts robux using Roblox's API endpoints

License

Notifications You must be signed in to change notification settings

Scriptize/Robux-Rain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robux Rain

Robux Rain is a Discord bot that can automate payouts of ROBLOX's virtual currency, "Robux(R$)", using Discord's REST API and Roblox's API endpoints

If you fork this repo, run pip install -r requirements.txt to install dependencies

If you want to invite Robux_Rain to your Discord server, click here!

Usage ⚙️

/startrain starts a giveaway and takes 5 inputs:

groupid: ID of the ROBLOX group robux will be paid out from
cookie: ROBLOX security cookie of the cmd invoker
time: Giveaway duration in minutes (minimum .5)
amount: Amount of robux to be given away (minimum 1)
window: Duration to claim prize after giveaway ends in minutes (minimum 1)

image

/version checks the current version of Robux Rain

image

How it works 🤔

  • Once the /startrain command is invoked, the bot will authenticate the invoker's ROBLOX account using the cookie and fetch the information for all the members in the group with respect to the groupid provided and parse them into a dictionary with {username:id} pairs.
  • The bot will then initialize an embed with a unix time stamp countdown to the end of the giveaway and the total amount robux in the pool .
  • At the end of the countdown, users who both reacted to the embed with the "💰" emoji and won robux will be sent a DM asking for a ROBLOX username.
  • After recieving a username, the bot will check if the name is a valid match to the data from the inital API response, and populate a payload with the ROBLOX ID and the winnings for the corresponding username and Discord ID.
  • Finally the bot sends a post request to process robux payout

image

image

Note that it is entirely possible for not all entrees to win; see that 25 entered in the first image, but only 22 won.

image

After everyone is paid, the giveaway is concluded and the bot stops listening for dms

image

Developer Notes 📝

VERSION: v1.4 Alpha (Testing)

  • Added window parameter

About

Discord Bot that logs into RBLX acc through cookie and payouts robux using Roblox's API endpoints

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages