MidJourney-Wrapper
MidJourney-Wrapper copied to clipboard
How to monitor Midjourney Bot error prompts
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?
for this you need to use self bot. those message are only send through by wss
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):"
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