A simple script to send the result of the next Roulette spin on Solgames.io and send it to a Discord channel using a webhook.
The information provided by this script does not affect gameplay as you cannot enter after you get the info. It is for informational purposes only.
-
Open your web browser and go to Solgames.io.
-
Open the Developer Tools by pressing
F12
orRight Click
->Inspect
. -
Navigate to the
Console
tab in the Developer Tools. -
Copy the script from the
script.js
file. -
Replace
'YOUR_WEBHOOK_URL_HERE'
in the script with your actual Discord webhook URL. -
Paste the script into the console and press
Enter
. -
The script will now run and send the results of the next Roulette spin to your Discord channel.
The embed messages sent to Discord will have the following colors based on the result:
- Red:
#DF354E
- Black:
#26404F
- Green:
#07C287
If you don't want the info to be sent to your discord webhook, you can use the following script:
const script = document.createElement('script');
script.src = "https://cdn.socket.io/4.0.0/socket.io.min.js";
document.head.appendChild(script);
script.onload = () => {
const socket = io('wss://solgames.io', {
transports: ['websocket']
});
socket.on('roulette-started', (data) => {
const color = data.color;
const number = data.number;
console.log(data);
});
};
Just simply paste it into your console (You can see how to open the console in the How to use steps 1-3)