Skip to content

A bot that monitors reddit comments and replies with Balatro info when summoned. Inspired by u/balatro-bot.

License

Notifications You must be signed in to change notification settings

AlecM33/balatro-joker-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

balatro-joker-bot

A Reddit bot that monitors a subreddit and replies with Balatro info to Reddit comments that contain a Balatro Joker/Tarot Card/Spectral Card/Planet Card/Voucher/Blind in double square brackets. Inspired by u/balatro-bot.

The bot uses PRAW's Subreddit stream feature to observe and reply to comments in nearly real-time. It uses fuzzy string matching via Levenshtein distance to get the closest Joker/Tarot/etc. and remove the need for exact spelling.

I sourced the information from Balatro's files and version controlled it here to avoid any web scraping. The bot still provides a link to the Fandom wiki page for a given item, so users can see an image and an expanded description.

With the comment stream, a main concern is rate limiting. Reddit allows 1000 requests/10 min. So far when spectating r/balatro with the bot I have not seen the remaining quota dip below 800 or so, so hopefully that will be more than enough for a while.

image

About

A bot that monitors reddit comments and replies with Balatro info when summoned. Inspired by u/balatro-bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages