aseghehey / ratio-bot Goto Github PK
View Code? Open in Web Editor NEWA bot that checks if a tweet is a possible ratio. Mention me under any tweet with the "check ratio" keyword ๐ซ
Home Page: https://twitter.com/_ratiobot
License: MIT License
A bot that checks if a tweet is a possible ratio. Mention me under any tweet with the "check ratio" keyword ๐ซ
Home Page: https://twitter.com/_ratiobot
License: MIT License
As the week goes by
Keep track of the people with most ratios and most reports
Make a post on account with that information
Reset when week ends, start as week starts
includes function to determine ratio level and randomly picks phrases from designated array of phrases for each level
Hosting on Raspberry Pi (piece of hardware that is connected to the internet)
https://www.youtube.com/watch?v=d31nRA08jJg&ab_channel=DialPixel
We have the "OG" format implemented.
Once mentioned, check if the tweet above is in "quote" reply from another tweet. If so, check like count and operate function.
Have it in a "verify" function
Can avoid max retries and many other errors
add ratio statistics for each user how many successful ratios they have found and unsuccessful ratios. maybe more stats as we progress
-Implementation ideas:
possible to check for tweets with caller mentioned but we would somehow have to differentiate between successful check ratios vs unsuccessful check ratios
could possibly use a map with username mapped to an array with values, successful vs unsuccessful and increment during if statements that determine successful vs unsuccessful ratios. Data would be lost if program ever crashes or is stopped. maybe keep in a JSON or text file instead to ensure integrity of data
we need to find a way to stop duplicate tweets in case the system ever crashes
Fix issue of replying to users with GIFS, attempting to pull media id from dms and attach to tweet did not work.
add as many sayings as we can to the sayings arrays to make bot fun
maybe get a shit load of pictures for when we find ratios. keep them all in an array and post the pictures randomly when we detect a ratio.
โฌ๏ธ for when we dont find ratios as well
the big count to finish the og format
we can retweet or post the biggest ratios we have seen in an interval of time whether it be daily or weekly
Parse through all the parent tweets of successful ratios we have found in that interval of time and determine biggest difference in likes to get the ratio highlight for that time
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.