Discord bot built with Pycord that offers AI chat and image generation inside of Discord. Image generations are saved in cloudinary and hosted online for all to download.
GNU General Public License v3.0
2
stars
1
forks
source link
:zap: Add database integration to Greetings Cog and set user settings on member join. #79
This PR adds database integration to the Greetings Cog and sets user settings when a new member joins. The default system messages are now fetched from environment variables to improve configuration management and reduce redundant code. Additionally, extensive unit tests were added to ensure the new database interactions work correctly and maintain the functionality of the system.
Type of change
[x] New feature (non-breaking change which adds functionality)
[x] Documentation update
Checklist
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.
Description
This PR adds database integration to the Greetings Cog and sets user settings when a new member joins. The default system messages are now fetched from environment variables to improve configuration management and reduce redundant code. Additionally, extensive unit tests were added to ensure the new database interactions work correctly and maintain the functionality of the system.
Type of change
Checklist