raythurman2386 / cognibot

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

Closed raythurman2386 closed 2 months ago

raythurman2386 commented 2 months ago

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