UQComputingSociety / uqcsbot-slack

:mortar_board: UQCSbot: our friendly little Slack bot
https://slack.uqcs.org.au
MIT License
55 stars 44 forks source link

Add !link command #565

Closed nicklambourne closed 3 years ago

nicklambourne commented 3 years ago

Adds a user accessible key value store, e.g:

Screen Shot 2021-03-30 at 1 41 15 am Screen Shot 2021-03-30 at 1 42 39 am Screen Shot 2021-03-30 at 1 47 48 am

This has the added benefit of adding the "brain" back into the bot and provides a template for further (and easy) use of the database though sqlalchemy orm models.

nicklambourne commented 3 years ago

Looks good, thanks for cleaning it up. What should UQCSBOT_DB_URI be on the server?

I've added it to the config already. A lot of the pieces were already there, I may have had this idea before and forgotten to action it . 😅