Coder Social home page Coder Social logo

rbot's People

Stargazers

 avatar

Watchers

 avatar

rbot's Issues

Add timezone options

Server time cannot be used to schedule reminder times because the server may be in a different time zone. Currently, all reminder times are converted to Central time (frankly, because that is my time zone). Different timezone options should be implemented.

The command could be Hey RBot, change timezone to X and it would check if the timezone is valid and then store in database.
We then need to pull that info and use it in setCronAlarm.js

Option to use GroupMe ACCESS_TOKEN instead of BOT_ID

Enabling the user to input solely their access token would allow the app to configure the bot name, bot id, and bot avatar for them. This would also allow adding the bot to multiple groups and removing the bot from the group via messages.
The option to use BOT_ID and GROUP_ID instead could still be used.

Moderator of group

Allow a group member to be moderator and be the only one who can configure the Reminder Bot. This could reduce spam from other users. The command could be Rbot, take control and Rbot, release control

Add capitalization in messages

Currently, all messages are taken toLowerCase() and returned as query in recieveMessage. When setting the reminder message, though, capitalization should remain intact.
We must make sure that if we do not make query lowercase beforehand, we do that before passing to other functions (like setTimeOrDay).

GUI setup

To reduce the setup process, a step-by-step /setup route could be created to input BOT_ID and GROUP_ID. This route could also be available after setup as a configuration GUI (in case a user doesn't want to chat with the bot directly in GroupMe).

Sufficient security measures would need to be taken to ensure not everyone can get to the /setup route, and to ensure that the BOT_ID and GROUP_ID tokens are safe. (Tokens could be encrypted into database.)

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.