Giter Club home page Giter Club logo

frcbot-chatbot's Introduction

FRCBot-Messenger-ChatBot

A messenger ChatBot For FRC__Bot based on TheBlueAlliance API

frcbot-chatbot's People

Contributors

technonerdz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

frcbot-chatbot's Issues

Team Social media accounts

While we wait for The Blue Alliance to release API V3 ( the-blue-alliance/the-blue-alliance#1507 ), we can use this json array: https://raw.githubusercontent.com/FRC-Bot/data/master/teams/TeamsSocialMedia.json . We should limit ourselves to Facebook, Twitter, YouTube and maybe Snapchat in the future if we decide to include it on TBA the-blue-alliance/the-blue-alliance#1704 .

We should use this template: https://developers.facebook.com/docs/messenger-platform/send-api-reference/button-template

Event and match requests

We have to implement event requests. A lot of users are wanting event dates and event streams and a lot of other stuff. Right now, the bot can't handle that.

Picture error

I am not getting a photo response for some random teams who do have photos available on TBA. Reproduce by asking:
picture 2016 973

UPDATE: I figured out why but still no solution
If you got to 973's TBA page, you will notice that they have two images. The first image is blank while the second image is actual content. The bot only pulls the first photo. Therefore, it cannot return the non-blank one. Is it possible to tell the bot to send all pictures?

Alliance subscribed team is on

There should be a way to report which alliance the subscribed team is on. I hate having to go to TBA anyway to figure out if I won or lost. Defeats the purpose of it

Send error messages when people don't use commands properly

Some people are trying to subscribe to teams using their name instead of their number. Right now, the bot tell them that they have successfully subscribed to the team but it doesn't actually register their choice in the database.

Some people also tries to subscribe to multiple teams using commas like: Subscribe 123,456,1234,1243 wich doesn't work. The bot only look at the number and they will get subscribed to team 12345612341243 wich doesn't exist.

We can't really do a script to get team number by name because some teams that have the same name and it would be a nightmare.

What we can do is send an error message when it can't find a valid team number in the request.

Tool to get match and event keys by name

It is doesn't make sense that users have to search for an event key on TBA in order to ask a question to the bot. We have to create a tool that finds event codes from name.

Facebook didn't approved the notification feature.

So this is pretty bad news. The main feature of FRC Bot was going to be match notifications. Yesterday, I realised that I had forgotten to sumbit the notification feature for approval. Today, I received an email saying that my submission had been rejected.

I will try my best to get it approve before the end of the build season but I cant guarantee anything.

Use the bot to send custom notifications.

We could use the bot to send notifications like match results to users. They could subscribe to receive notifications for certain teams and events. We can use a The Blue Alliance Webhook for that.

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.