Paillat
788827ab48
refactor(makeprompt.py): remove unused code and simplify try-except block
2023-05-05 13:35:19 +02:00
Paillat
380165fa07
fix(makeprompt.py): add exception handling and raise exception instead of pass
2023-05-05 13:31:56 +02:00
Paillat
88e9acba80
FIXED THINGS
2023-05-05 13:28:27 +02:00
Paillat
bee3680e63
Fixed wrong usage of cursor and conn with premium database
2023-05-05 13:18:26 +02:00
Paillat
205f1f5b3e
refactor(setup.py): remove try-except block and simplify code for checking premium status of guild
2023-05-05 13:13:49 +02:00
Paillat
ca85067d70
fix(makeprompt.py): reverse order of messages when chat history is requested
2023-05-05 12:57:52 +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
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
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
Alexis LEBEL
55fb58cdeb
[CONFIG] Of course it's print !
2023-04-02 16:34:48 +02:00
Alexis LEBEL
d4f37afea1
[PROMPTS] Added support for custom prompts
2023-04-02 16:13:22 +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
Paillat
2e12028a16
Removed test code
2023-04-01 15:14:47 +02:00
Alexis LEBEL
24e19aabd5
[MAKEPROMPT] Fixed legacy DB support
2023-04-01 14:23:42 +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
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
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
Alexis LEBEL
42cb2e9135
[GENERAL] Code reformatting using Black standard
2023-03-31 14:09:06 +02:00
Paillat
a43b206f1b
Update chatGPT.txt
2023-03-21 11:20:11 +01:00
Paillat
60a88cc6c0
Added gpt-4 in /models
2023-03-17 11:27:25 +01:00
Paillat
864728577f
Merge branch 'main' of https://github.com/Paillat-dev/Botator
2023-03-15 22:36:39 +01:00
Paillat
a64cc8ede8
Added image recognition
2023-03-15 22:30:54 +01:00
Paillat
fd692d911b
Added future gpt-4 support
2023-03-15 09:54:58 +01:00
Paillat
268b6154bf
Update chat.py
2023-03-09 20:55:49 +01:00
Paillat
fa0875a52a
Update chat.py
2023-03-09 20:31:45 +01:00
Paillat
a2bc32a0e8
Improve downvote
2023-03-09 17:25:45 +01:00
Paillat
bb64119eb9
Update chat.py
2023-03-09 17:03:39 +01:00
Paillat
5b2133bd61
Fixed too long embed eror
2023-03-09 17:01:06 +01:00
Paillat
4c87c66add
added 60 sec. report cooldown
2023-03-09 16:49:42 +01:00