Hyper
3f5ba8940e
Pin python package versions ( #606 )
...
* Pin python package versions
* Fix CI
2023-01-14 22:41:46 +01:00
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
Oliver Stanley
69bc799cd9
344: Create tasks for text labels ( #381 )
...
* Implement label task for initial prompts and replies
* Resolve formatting
* Include missing argument
* Modify text_labels API to match new model, update DB schema accordingly
* Send valid labels as part of label tasks
* Send correctly formatted valid_labels list
* Fix request format
* Fix request details for text-frontend reply label task
* Include message_id in tasks
* Address review comments
* Fix alembic tree
2023-01-06 18:39:04 +01:00
Psychpsyo
215289808e
Fix #336
2023-01-04 11:00:46 +01:00
Alex Ott
065e9273bc
update a few things ( #357 )
2023-01-04 08:14:05 +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
Alex Ott
29ffc276f3
Allow user to start work from DMs. ( #267 )
...
* merge upstream/main
* update permissions check for guild settings
* add error handler for the bot
* allow users to start work from DMs and broadcast task completion messages to all log channels
* remove print statement
2023-01-03 10:31:33 +00:00
Yannic Kilcher
9dd6c748b8
Merge pull request #300 from jack-michaud/jm/oasst-api-client-handle-error
...
feat: handle OasstError in OasstApiClient
2023-01-03 08:55:26 +01:00
Jack Michaud
fbcb0a09e6
chore: move aiohttp client into oasst-shared
2023-01-02 20:38:10 -05:00
croumegous
e3603e8f7d
minor: add documentation on discord env variable to set up and fix shell script to run discord bot
2023-01-03 01:42:37 +01:00
onegunsamurai
c4df46ee33
Add missing requirement to discord-bot ( #292 )
...
Co-authored-by: Vladyslav <v.bukhantsov@dexilon.io >
2023-01-02 22:20:49 +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
Yannic Kilcher
c489f3ddc5
Merge pull request #253 from AlexanderHOtt/feat/better-docs
...
Write better documentation for getting started with discord bot development.
2023-01-02 11:44:55 +01:00
Alex Ott
8e831f897f
fix invite link
2023-01-01 17:06:54 -08:00
Alex Ott
c2a0a34f82
merge main
2023-01-01 17:05:23 -08:00
Alex Ott
8d9f3c80af
update readme with a better getting started guide
2023-01-01 17:00:24 -08:00
Gareth Davidson
7000e10bc0
apply pre-commit rules
2023-01-02 00:01:45 +00:00
Gareth Davidson
c3c7a1701a
run prettier with new params
2023-01-01 20:57:35 +00:00
Jack Michaud
604ad2f8e7
style: run pre-commit hooks
2023-01-01 18:58:01 +01:00
Jack Michaud
898113ef8d
fix: correct typing for OasstApiClient
2023-01-01 18:58:01 +01:00
Jack Michaud
5870148f0a
test: add complete tests for oasst_api_client
2023-01-01 18:58:01 +01:00
Jack Michaud
036c4b6c6c
test: add contract test for discord bot
2023-01-01 18:58:01 +01:00
onegunsamurai
aa2d426bbc
Add oasst-shared folder to discord-bot container ( #241 )
...
* Add oasst-shared folder to discord-bot container
- Container was missing oasst-shared folder, thus was failing, due to missing package error.
- Add bash code block to README.MD (Co-authored-by: Vladyslav <v.bukhantsov@dexilon.io >)
2023-01-01 18:57:45 +01: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
AlexanderHOtt
9dc8aafa40
add error handler for the bot
2023-01-01 03:02:37 -08:00
Alex Ott
4d76355dc8
update permissions check for guild settings
2023-01-01 10:34:47 +01:00
Alex Ott
550d695a58
merge upstream/main
2023-01-01 10:34:47 +01:00
Alex Ott
24530a7cc8
update permissions check for guild settings
2022-12-31 16:31:04 -08:00
Alex Ott
6a1157fb7e
merge upstream/main
2022-12-31 14:36:06 -08:00
kostiak
bd2a7e93e3
fixing issue #202
2022-12-31 17:53:04 +01:00
Alex Ott
8067dc8f78
rename TOKEN env var to BOT_TOKEN
2022-12-31 03:52:09 -08:00
Alex Ott
a7b7487611
remove example table from sql schema
2022-12-30 22:55:24 -08:00
Alex Ott
1bdd02c821
fix breaking api changes
2022-12-30 22:52:57 -08:00
Alex Ott
6c3a2eac03
rename task.py to test_user_input.py
2022-12-30 17:48:22 -08:00
Alex Ott
004a868cb4
update user input validator
2022-12-30 17:44:20 -08:00
Alex Ott
37f30f4e31
update readme
2022-12-30 17:34: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
Andreas Köpf
1595e8ee54
fix import order
2022-12-31 00:18:55 +01:00
Andreas Köpf
42e9a77456
further pre-commit fixes
2022-12-31 00:18:55 +01:00
Andreas Köpf
ee14554e1b
role='user' -> role='prompter'
2022-12-31 00:18:55 +01:00
Andreas Köpf
f6ea90187c
missing rename in api_client
2022-12-31 00:18:55 +01:00
Andreas Köpf
8b225430a4
BREAKING-CHANGES: Renaming several models/database objects + API protocol
...
person -> user
work_package -> task
post -> message
thread -> message_tree
2022-12-31 00:18:55 +01:00
Alex Ott
aff3f18b07
document code structure
2022-12-30 05:56:04 -08:00
Alex Ott
150fc67bfd
switch to using Pydantic for bot config
2022-12-30 05:48:56 -08:00
Alex Ott
6cccd74e34
switch to loguru
2022-12-30 05:28:51 -08:00
Alex Ott
708011e6a0
move EXAMPLEs.md
2022-12-30 05:14:16 -08:00
Alex Ott
84d52effee
remove address todo comments
2022-12-30 05:11:36 -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