Commit Graph

16 Commits

Author SHA1 Message Date
Alex Ott 8970195c39 Add /help and /tutorial commands and update bot activity (#399)
* add help command and update bot activity

* remove useless lines

* fix help message

* rename variable

* start tutorial command

* Update messages.py

Co-authored-by: Andreas Köpf <andreas.koepf@xamla.com>
2023-01-06 19:42:56 +01:00
Alex Ott e7515fd08e Feat/better messages (#318)
* improve messages and UX

* move log statement

Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com>
2023-01-03 13:13:44 +01:00
Jack Michaud ed115ea17c refactor: move OasstApiClient into oasst-shared (#287)
* refactor: move api_client into oasst-shared

* refactor: move contract tests into oasst-shared

* fix: use new OasstApiClient imports in discord bot
2023-01-02 22:13:20 +01:00
Alex Ott e15259b311 Stop users from starting more than one task at a time (#265)
* make sure a user can only do 1 task at a time

* remove todo comment

* move handle_task inside a try/finally block
2023-01-02 19:32:40 +01:00
Gareth Davidson 7000e10bc0 apply pre-commit rules 2023-01-02 00:01:45 +00:00
Alex Ott 46892f67e7 Add an error handler to the discord bot (#235)
* add error handler for the bot
2023-01-01 12:46:38 +01:00
Alex Ott 8067dc8f78 rename TOKEN env var to BOT_TOKEN 2022-12-31 03:52:09 -08:00
Alex Ott 0fb7bfd27a Add more settings and refactor other md files into README.md 2022-12-30 17:30:56 -08:00
Alex Ott 150fc67bfd switch to using Pydantic for bot config 2022-12-30 05:48:56 -08:00
Alex Ott b81eeebe9e switch to using pre-commit 2022-12-30 04:35:45 -08:00
Alex Ott 65c078fb9f pre-commit changes 2022-12-30 04:12:54 -08:00
Alex Ott e4b097edff add database schema and guild setting 2022-12-30 02:59:52 -08:00
AlexanderHOtt 221d3396f7 clean up code 2022-12-29 14:39:02 -08:00
AlexanderHOtt 9fd2e76917 add initial task loop for initial_prompt and rank_initial_prompts 2022-12-29 14:20:56 -08:00
AlexanderHOtt c8834aa9e3 add a lot of examples 2022-12-28 21:24:53 -08:00
AlexanderHOtt 3ce6ab80d6 initial bot structure 2022-12-28 16:43:14 -08:00