Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

How to monitor Midjourney Bot error prompts #73

Open
yudu233 opened this issue May 11, 2023 · 3 comments
Open

How to monitor Midjourney Bot error prompts #73

yudu233 opened this issue May 11, 2023 · 3 comments

Comments

@yudu233
Copy link

yudu233 commented May 11, 2023

Hello, if you send the wrong prompt, monitor Midjourney Bot will return a wrong message, but this message can only be received by the main account, how can I monitor this message and then send a custom message to other users?

image

@ezioruan
Copy link

for this you need to use self bot. those message are only send through by wss

@yudu233
Copy link
Author

yudu233 commented May 20, 2023

so I can't listener this error message? like use "@bot.event
async def on_message(message):" or "@bot.event
async def on_application_command_error(ctx, error):"

@ezioruan
Copy link

so I can't listener this error message? like use "@bot.event async def on_message(message):" or "@bot.event async def on_application_command_error(ctx, error):"

you can check my code sample here, https://github.com/ezioruan/midjourney-python-api , it can receive this kind of message

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants