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

BUG:on_connect bug #70

Closed raythurman2386 closed 2 months ago

raythurman2386 commented 2 months ago

Description

The on_connect method was improperly overriding the base on_connect so the slash commands were not being loaded. Corrected the on_connect method and added a new env variable for debug mode to add the print statement back in the terminal for development.

I did troubleshoot setting up on a new environment for the "discord" error and I did receive that specific error after installing dependencies but it was still due to my IDE using the wrong python environment.

Type of change

Checklist

Potential Issues

I have noticed that in powershell and some windows environments 1 or two tests will regularly fail. Currently the test_claude test fails in a powershell environment.