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 |
|
Alex Ott
|
98955441d1
|
explain text_label logic
|
2022-12-30 03:21:21 -08:00 |
|
Alex Ott
|
d71ded1364
|
send the task completion message in the guild's configured channel
|
2022-12-30 03:15:22 -08:00 |
|
Alex Ott
|
e4b097edff
|
add database schema and guild setting
|
2022-12-30 02:59:52 -08:00 |
|
Alex Ott
|
63e2120825
|
add completion message to task and add message labeling
|
2022-12-30 02:02:46 -08:00 |
|
Alex Ott
|
9c15258fd1
|
move api_client.py back to the correct position
|
2022-12-29 16:25:37 -08:00 |
|
Alex Ott
|
26c1b4eaab
|
merge upstream main
|
2022-12-29 16:24:55 -08:00 |
|
Alex Ott
|
a2a0e1608d
|
fix: parse TaskRequestType enum correctly
|
2022-12-29 15:45:01 -08:00 |
|
Alex Ott
|
bb3b0e7397
|
update api client to upstream version
|
2022-12-29 15:00:20 -08:00 |
|
Alex Ott
|
27ab051e22
|
Merge branch 'main' of https://github.com/LAION-AI/Open-Assistant into LAION-AI-main
|
2022-12-29 14:57:51 -08:00 |
|
AlexanderHOtt
|
84146f2396
|
remove database file (luckly it was empty)
|
2022-12-29 14:42:55 -08:00 |
|