hawkkiller / midjourney_client

Unofficial midjourney client that gives you possibility to generates images!
https://pub.dev/packages/midjourney_client
MIT License
10 stars 3 forks source link

Fetch commands on start [FR] #50

Closed hawkkiller closed 9 months ago

hawkkiller commented 9 months ago

It is needed to implement "application-commands" discord API.

We need to pull all the commands into the memory each time the library starts working.

Hint: https://github.com/erictik/midjourney-api/blob/a7a0125a544658de7648a39cac16d0a80ce2d861/src/command.ts#L46-L67

The problem we face: Currently, in library application command identifier is hardcoded, but it is often updated which results in failures.