Skip to content

Sniper for new Discord Pomelo usernames. Uses a webhook to ping you when stuff happens

License

Notifications You must be signed in to change notification settings

antiops/discord-pomelo-snipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-pomelo-snipe

Discord accidently banned everyone who used the pomelo api, they unbanned everyone but use at your own risk Reddit.com - Anyone elses account randomly disabled?

  • Tries to request a username every 300 seconds (configurable)
  • Pings you with a webhook when stuff happens
  • Also pings you if your token stops working

This will make requests to the Discord Pomelo API requesting a username. When the API returns a non-error response it will ping you in a channel using a webhook. Whether it got the username or not, idk. You should check your Discord when it pings because something happened.

It will also ping you and exit the script if Discord says the token is bad. Update the token and restart.


Prerequisites

  • Requires Node.js (Tested using 19.8.1)

  • Rename .env.sample to .env and fill in the values

    • DISCORD_USERNAME: The username to request
    • DISCORD_USER_ID: Your user ID. This ID will be pinged
    • DISCORD_TOKEN: Your user token. Required to make the API requests
    • DISCORD_WEBHOOK: A Webhook. Messages will be sent to it
    • LOOP_TIMEOUT: Time to wait in seconds before retrying (Default: 300s/5min)
    • USER_AGENT: The User-Agent used in API requests. Change if you want

Get the code

Download the repo archive .zip and extract it or just use git

git clone https://github.com/antiops/discord-pomelo-snipe

Setup & Run

# Enter the repo directory
cd discord-pomelo-snipe

# Windows users can also just shift+right-click the folder and click "open cmd/powershell window here"

# Install dependencies
npm install

# Start
node index.js

To manually stop the script just press CTRL+c

Obvious Disclaimer

As always, Discord doesnt like automated requests from user accounts (usually called self-botting). Even though they have rarely go after self-botters (except the cases where people clearly abused and spammed the service), use at your own risk. Make the timeout higher if you'd like to play it safe.

Libraries Used


Notes

Response Codes
  • Authenticated, No access to use Pomelo

    • HTTP: 401
    • Code: 40001
    • Message: Unauthorized
  • Authenticated, Access to Pomelo

    • HTTP: 200?
    • Code: ?
    • Message: ?
  • Bad Token

    • Code: 0
    • Message: 401: Unauthorized

About

Sniper for new Discord Pomelo usernames. Uses a webhook to ping you when stuff happens

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published