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.
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
[x] Bug fix (non-breaking change which fixes an issue)
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.
[x] Any dependent changes have been merged and published in downstream modules.
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.
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.