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
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
Alexis LEBEL
74f0aba20a
[SETTINGS] More precise model
2023-04-01 13:18:06 +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
ddbeea3ae6
[GENERAL] Refactoring for DB
2023-03-31 16:11:03 +02:00
Alexis LEBEL
42cb2e9135
[GENERAL] Code reformatting using Black standard
2023-03-31 14:09:06 +02: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
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
Paillat
218bf2aa03
Added downvote
2023-03-09 16:22:15 +01:00
Paillat
ed5de03f3e
Things
2023-03-06 15:13:23 +01:00
Paillat
ec844b23b3
added moderation for prefix & pretend & messages
2023-03-06 14:32:44 +01:00
Paillat
581765ad66
Improved davinci prompting
2023-03-02 18:04:27 +01:00
Paillat
82fbdee77a
Improved makeprompt, cleaned code a bit
2023-03-01 23:46:54 +01:00
Paillat
9c328d91f4
added default admin perms
2023-03-01 21:32:52 +01:00
Paillat
434c389e39
Added chatgpt model
2023-03-01 21:30:16 +01:00
Paillat
2f0101d807
Update moderation.py
2023-02-05 23:44:14 +01:00
Paillat
462694d949
Update moderation.py
2023-02-05 23:37:30 +01:00
Paillat
f5b2d077e2
Update moderation.py
2023-02-04 21:24:45 +01:00
Paillat
486f49a7b1
added default_permissions
2023-02-03 20:06:57 +01:00
Paillat
8fdb748a48
Added some moderation features
2023-02-03 20:05:49 +01:00
Paillat
b04a3fa296
Update moderation.py
2023-02-03 15:18:12 +01:00
Paillat
f7253aca74
Update moderation.py
2023-02-02 22:02:18 +01:00
Paillat
db4645fc66
Update moderation.py
2023-02-02 21:54:41 +01:00
Paillat
db79c60ff4
Update moderation.py
2023-02-02 21:53:04 +01:00
Paillat
948f2c43a2
Added moderation
2023-02-02 21:44:40 +01:00
Paillat
8aef5066d0
Beatiful code, separated in another file, added better code understanding
2023-01-30 22:57:47 +01:00
Paillat
4d67978662
Update chat.py
2023-01-10 14:41:15 +01:00
Paillat
c215f8b366
tempfix the mentions shit
2022-12-23 15:09:54 +01:00
Paillat
aed050a9b1
added ignore if // at the beginning
2022-12-23 14:42:22 +01:00
Paillat
765eb6e03c
Removed all prints
2022-12-19 20:52:08 +01:00
Paillat
3dfd1a5bf9
Update chat.py
2022-12-19 20:47:40 +01:00
Paillat
2e35109f28
Update chat.py
2022-12-19 20:42:18 +01:00
Paillat
403d3683e8
Update chat.py
2022-12-19 20:39:20 +01:00
Paillat
5978bd400e
Update chat.py
2022-12-19 20:36:22 +01:00
Paillat
836ad5169a
Update chat.py
2022-12-19 20:30:47 +01:00