v1rbox / discox

Virbox Discord Bot community project ^_^
GNU Affero General Public License v3.0
29 stars 30 forks source link

Craiyon API Image generator PR #156

Open Neptuneia opened 1 year ago

Neptuneia commented 1 year ago

What kind of change does this PR introduce?
Introduces an AI image generator using the Craiyon Python API.

Describe the changes proposed in the pull request
Introduces an AI image generator (with blocked prompts so people wont generate bad stuff) into Discox.

What is the current behavior?
I don't know, the normal behavior?

What is the new behavior
it generates art or images from the craiyon python API

Does this PR introduce a breaking change?
Not that I know of

Does this PR introduce changes to the database? Nope

Other information: Dependencies: craiyon.py, install with make add craiyon.py

Neptuneia commented 1 year ago

forgot to add dependency (craiyon.py) (add it with make add craiyon.py) and __blocked_prompts.py shouldn't be inside events folder since it have nothing to do with events, consider hard code it inside command class or somewhere else (like utils folder)

wait theres a utils folder, ill change those though

Neptuneia commented 1 year ago

now it's 100% complete

AhzDeveloperlol commented 1 year ago

i am happy someone actually implemented it

Neptuneia commented 1 year ago

the hardest part was setting the bot up for testing