Code Monkey home page Code Monkey logo

ace-attorney-twitter-bot's People

Contributors

jonatep avatar luismayo avatar quantumfractal avatar saschanaz avatar zavierhenry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ace-attorney-twitter-bot's Issues

Send tweet when video fails to send

When video fails to send, a tweet should be sent instead, but it doesn't.
Indeed this is already semi-coded but it isn't fully functional yet

Add music from other Ace Attorney games

I think it would be cool to add the trial and pursuit music from Justice for All and/or Trials and Tribulations, so it is selected randomly every time the bot is called, or it is specified as an argument in the mention. For example, if you want the music to be from Justice for All, you must mention the bot like this: "@aceCourtbot render, music=JFA"

Some mentions may not be registering properly

Since there is a huge load of petitions right now. It could happen that while we're processing one batch of petitions, so many petitions queue up again than by the time we check the mentions again(up to 200) there are some mentions that were never seen and won't be retrieved.

The solution may be to implement a petition queue from which we extract the petitions in order si we can ask the Twitter api for more mentions more commonly

Relevant info:
https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/api-reference/get-statuses-mentions_timeline

Cycle through different accounts if rate-limit

So if the bot gates rate-limited, the account it uses gets changed so it loops through all the accounts it has in order to bypass twitter's rate-limit

Keys.json could be an array instead of a single object. The first key in the array would be always used to retrieve the mention list and it would be the first to be used to reply. Once it gets rate-limited we jump to the second, etc

If queue gets empty we return to main account

Allow a whitelist of users to be able to make public renders

These users would be manually added, and will be able to make public renders (i.e, not in a response, but just posted for the bot).
The way this would work is that when an user request a render, we check whether they're on the whitelist or not, if they are their render will be public. The bot should also mention this in the tweet, and link to the account who requested the render.

These users would need to agree to strictly comply with the rules . They also must have shown interest in the bot for some months. Only AceAdjudicator and ObamaTheSimp would be able to do so for now.

Music seems to be having problems

A full test of the music functionality should be run
Change the music detection from the weird split currently done to a proper regex search

Use Twitter V2 API to rescue tweet chains

V2 API Should allow us to rescue a comment chain even if there are deleted tweets on it.
This comes at the expense of more strict quotas. So the best course of action may be to go and try with v1 API and if it fails go with v2 API

& symbol seems to have issues

When a tweet uses the ampersand it displays as "&" and takes up its own text box which leads me to believe the bot isn't parsing it right

Detect bad invocations

If the bot is being called for the first time in a conversation without the "render" keyword it should reply with info about how to call it properly

CJK support

I'm curious, is CJK supposed to be supported? It seems that the bot can output hiragana fine but it ignored kanji and left those parts blank.

I wonder how hard it would be to support multiple languages. Is it a matter of providing a font?

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.