FRC-Bot / FRCBot-ChatBot

A messenger ChatBot For FRC__Bot based on TheBlueAlliance API
https://m.me/FRCBot
MIT License
6 stars 2 forks source link

Help command: add new commands and send it in text instead of on a picture. #1

Closed technonerdz closed 7 years ago

technonerdz commented 8 years ago

Right now, the help section is too big to be sent in one message by the bot. The bot is sending an image with the commands.

It would be great if we could send the commands in text to the user. We could send a bunch of messages at the same time with a different command on each line.

jaredhasenklein commented 8 years ago

What is the reason that it is too big to send? Can Messenger not handle it or what's happening?

technonerdz commented 8 years ago

The Messenger API is limiting the number of characters. In a normal conversation, Messenger does not have a character limit but there is one for Bots. If you send something with too many characters, it would not be send.

technonerdz commented 8 years ago

That's why the Sponsor command only works with certain teams. Teams with too many sponsors do not work.

jaredhasenklein commented 8 years ago

Ah I see...looks like 320 characters, right? Can you paste in the plain text of the help image here so that I don't need to rewrite to play with it?

technonerdz commented 8 years ago

Hello! I am the Facebook ChatBot for FRC Bot! You can ask me the following questions: 'NextMatch TEAMNUMBER' to see the next match for a team. 'Status TEAMNUMBER' to see the stats of a team in their current event. 'Website TEAMNUMBER' to get the website of a team. 'Location TEAMNUMBER' to get the location of a team. 'Nickname TEAMNUMBER' to get the name of a team.

jaredhasenklein commented 8 years ago

What about just shortening the text to something like this?:

Hello! I am the Facebook FRC ChatBot! You can ask me the following questions (# for team number): 'NextMatch #' to see a team's next match 'Status #' to see a team's current event stats 'Website #' to get a team's URL 'Location #' to get a team's location 'Nickname #' to get a team's name

technonerdz commented 7 years ago

https://github.com/FRC-Bot/FRCBot-images/pull/2 made this much cleaner. Most commands were added.