This is a complete reworking of the original RemindMe bot I made using python (hosted over here)
I feel like this bot will be better able to parse messages and scheduling replies
Feel free to contribute if you want!
You'll need to set your database settings in db.yml
. Examples are provided for MySQL and SQLite configs (db.ex_mysql.yml
and db.ex_sqlite.yml
, respectively). For a bare bones SQLite setup do this:
cp db.ex_sqlite.yml db.yml
When running the bot you need to specify an instance and provide a mastodon access token on the command line
Something like:
TOKEN='your_access_token_here' INSTANCE='https://your_cool_instan.ce' bundle exec ruby main.rb
As of right now the bot is only able to parse times that come in certain formats:
To make the status to the bot feel more like natural language you can also supply something like:
it will still parse out to the correct time