Commit Graph

579 Commits

Author SHA1 Message Date
Paillat
9c9d674b18 Merge pull request #39 from Paillat-dev/dev
Dev
2023-05-05 12:48:04 +02:00
Paillat
f145e097b1 Merge pull request #38 from Paillat-dev/Paillat-dev-patch-1
Update chatGPT.txt
2023-05-05 12:47:21 +02:00
Paillat
0ea26727ec Update chatGPT.txt 2023-05-05 12:47:09 +02:00
Paillat
d3a7ffdaed Revert "Merge branch 'main' into dev"
This reverts commit 6fb0e5d9b2.
2023-05-05 12:46:12 +02:00
Paillat
6fb0e5d9b2 Merge branch 'main' into dev 2023-05-05 12:45:59 +02:00
Paillat
4d7d192eff feat(Dockerfile): clone Botator repository and set working directory to /Botator/code/ 2023-05-05 12:38:59 +02:00
Paillat
94974b2bd3 refactor(help.py, settings.py): remove debug import and debug statements
feat(settings.py): add ctx_to_guid function to convert context to guild id for database queries
feat(settings.py): add support for changing the model used by the bot
fix(settings.py): fix images command not updating the database correctly

feat(cogs/setup.py): add dms_only check to setup_dms command
refactor(cogs/setup.py): move ctx_to_guid function to config.py
refactor(cogs/setup.py): move mg_to_guid function to config.py

feat(makeprompt.py): add support for DMs conversations
fix(makeprompt.py): fix images setting retrieval from database
fix(makeprompt.py): fix guild_id to guid conversion in database queries
refactor(makeprompt.py): extract historicator function to get the channel or user of a message
refactor(makeprompt.py): remove debug statements and unused variables
2023-05-05 12:38:02 +02:00
Paillat
f8907667e0 style(chat.py, manage_chat.py): format code with black
This commit only reformats the code with the black code formatter.
2023-04-08 20:06:53 +02:00
Paillat
048905d682 refactor(moderation.py): remove commented out code in on_message() method 2023-04-08 17:49:33 +02:00
Paillat
9465e33295 style(settings.py): remove commented code and unnecessary blank lines
feat(settings.py): add default_permissions decorator to all slash commands
fix(settings.py): fix indentation in try-except block
2023-04-08 17:10:53 +02:00
Paillat
a77504a028 refactor(setup.py): add default_permissions decorator to all commands that require administrator permissions 2023-04-08 17:08:49 +02:00
Paillat
4b1756ede4 Update chatGPT.txt 2023-04-06 18:28:15 +02:00
Paillat
da21aa283f [BUG] Replaced database conn names 2023-04-03 15:12:50 +02:00
Paillat
88a7ad2085 [BUG] davinci prompt was returning none 2023-04-03 13:52:21 +02:00
Paillat
2391fb61f9 [BUG] Fixed always defaulting to gpt-3.5 2023-04-03 13:25:47 +02:00
Paillat
2c9a0656c3 [PROMPTS] updated gpt-4 prompt 2023-04-03 13:13:59 +02:00
Paillat
31d508efc4 [BUG] fixed pretend_to_be 2023-04-03 13:12:20 +02:00
Paillat
9f4c0f2142 Merge pull request #36 from Alestrio/dev
[DOCKER/VISION]
2023-04-02 16:57:08 +02:00
Alexis LEBEL
e617557683 Merge branch 'main' into dev 2023-04-02 16:47:14 +02:00
Alexis LEBEL
55fb58cdeb [CONFIG] Of course it's print ! 2023-04-02 16:34:48 +02:00
Alexis LEBEL
c299b046d8 Merge branch 'dev' into main 2023-04-02 16:13:29 +02:00
Alexis LEBEL
d4f37afea1 [PROMPTS] Added support for custom prompts 2023-04-02 16:13:22 +02:00
Alexis LEBEL
778330b2e2 Merge branch 'main' into dev 2023-04-02 15:09:11 +02:00
Alexis LEBEL
dc48b7d21e [Images] Fixed images recognition with google 2023-04-02 14:42:37 +02:00
Alexis LEBEL
187b833474 [CONFIG] Debug to print if not on windows 2023-04-02 14:23:12 +02:00
Alexis LEBEL
506be81afb [GH/DOCKER] Enhanced build action, added arm64 2023-04-02 14:06:05 +02:00
Alexis LEBEL
57036ddf14 Merge branch 'dev' into main 2023-04-02 13:19:18 +02:00
Paillat
2e12028a16 Removed test code 2023-04-01 15:14:47 +02:00
Paillat
a53b38b735 Merge pull request #34 from Alestrio/dev
Dev
2023-04-01 14:50:17 +02:00
Alexis LEBEL
aea9502cdc [DOCKERFILE] Files already mounted 2023-04-01 14:31:13 +02:00
Alexis LEBEL
24e19aabd5 [MAKEPROMPT] Fixed legacy DB support 2023-04-01 14:23:42 +02:00
Alexis LEBEL
a99374d590 [REQUIREMENTS] Cleaned requirements 2023-04-01 14:06:29 +02:00
Alexis LEBEL
98ba99dd68 [COMPOSE] Corrected volume (Didn't verify copilot lmao) 2023-04-01 14:04:13 +02:00
Alexis LEBEL
5235cd2c0a [PROMPT] Renamed prompt 2023-04-01 13:18:14 +02:00
Alexis LEBEL
74f0aba20a [SETTINGS] More precise model 2023-04-01 13:18:06 +02:00
Alexis LEBEL
306eefbc75 [MAKEPROMPT] FIxed errors and cleaned a bit more 2023-04-01 13:17:54 +02:00
Alexis LEBEL
dd14472447 [COMPOSE] Sample compose file 2023-04-01 10:18:23 +02:00
Alexis LEBEL
5c7993f0d3 [DOCKERFILE] Now makes a container ! :) 2023-04-01 10:18:09 +02:00
Alexis LEBEL
8cc99181c3 [VISION] Safed vision processing, not mandatory 2023-04-01 10:17:51 +02:00
Alexis LEBEL
350ef0d212 [MODERATION] Removed unused outdated function
Function that needed Google API, that I don't want mandatory
2023-04-01 10:17:27 +02:00
Alexis LEBEL
c5c12991d7 [MANAGECHAT] Cleaned up code 2023-03-31 20:46:08 +02:00
Alexis LEBEL
367a3b6082 [CHAT] Cleaned up code 2023-03-31 20:40:40 +02:00
Alexis LEBEL
b5fa78a687 [TEST] Moved test into a test folder (to be an automated test in future) 2023-03-31 20:40:02 +02:00
Alexis LEBEL
4da43c48f3 [MAKEPROMPT] Cleaned up the code, not perfect but OK 2023-03-31 20:28:09 +02:00
Alexis LEBEL
ddbeea3ae6 [GENERAL] Refactoring for DB 2023-03-31 16:11:03 +02:00
Alexis LEBEL
64df09b248 [MAKEPROMPT] Cleaned a bit
Still a lots of work to be done
2023-03-31 16:10:41 +02:00
Alexis LEBEL
bd1fa13924 [VISION] Made vision not mandatory 2023-03-31 16:10:13 +02:00
Alexis LEBEL
09ee32c8b6 [GENERAL] FIxed requirements 2023-03-31 16:09:57 +02:00
Alexis LEBEL
330e732802 [CONFIG] Cleaned up code 2023-03-31 14:20:43 +02:00
Alexis LEBEL
dd21536864 [CODE] Cleaned code.py 2023-03-31 14:13:34 +02:00