mak448a / AI-Drawing-Chatbot

An image generator Discord bot written in Python with no GPU requirement! It can be easily deployed to your favorite VPS for hosting.
MIT License
28 stars 5 forks source link

[CRITICAL] Two people can't use /imagine at once #5

Closed mak448a closed 1 year ago

mak448a commented 1 year ago

4 may fix this, but after testing it didn't work.

mak448a commented 1 year ago

Working on a solution

mak448a commented 1 year ago

After a while of researching, I still can't find answers. They say use ctx.defer() but even if I do that, the bot still won't respond.

Update: ctx.defer is for when you want to send a placeholder message. Not relevant.

mak448a commented 1 year ago

WOW! I found the source of the problem! It is in the AI horde cli. I should make it async + import it instead of using the cli. That will most likely fix it.

mak448a commented 1 year ago

https://github.com/mak448a/AI-Horde-With-Cli/issues/1