Giter Site home page Giter Site logo

aseghehey / ratio-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.18 MB

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

Python 100.00%
bot twitter python tweepy api-rest twitter-api-v1

ratio-bot's Introduction

Ratio Bot 🤖

Here's how to use it:

1️⃣ Follow Ratio Bot

2️⃣ Reply to the tweet with "@_ratiobot check ratio"

3️⃣ To get your ratio report, mention me with "@_ratiobot ratio account status"

Received contributions from Keonte Nightingale and Pratul Neupane

Support:

emanuelase



ratio-bot's People

Contributors

aseghehey avatar knightingale242 avatar pratuln avatar

Watchers

 avatar

ratio-bot's Issues

Work on the Weekly Wrapped

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

Ratio Highlights

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

Max retries

Research and fix max retries issue- see ss
unknown

Extra touches

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

Implement "Quote tweet" ratio format

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

check stats

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

Implement ratio level checker

includes function to determine ratio level and randomly picks phrases from designated array of phrases for each level

Reply Gifs

Fix issue of replying to users with GIFS, attempting to pull media id from dms and attach to tweet did not work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.