How to use Open AI image generator with Discord

Hello,
I would like to make an automatic image generator like Midjouney.
But when I run the program there is an error and I don’t know how to correct it.
And it’s the first time I use Make
Thanks in advance




@Norak :raised_hands:

Hi there! It sounds like you’re having trouble running your program. Could you please provide more details about the error you’re seeing and the steps you’ve taken so far? That way, our community members can better help you. Stay tuned for their responses!

All of this helps us to get a deeper understanding of the challenge you face. :make:

@Norak In your first module (number 4) you are trying to retrieve a message, which expects a message ID.
However, the formula you are using there will not be working. A get() function requires an actual object/array to be passed instead of the text you are using now. Either you:

  • Set a static ID in the “Message ID” field
  • Or if you want to retrieve the message ID from somewhere else, you need to have a module before this so you can place this in “Get a Message”
2 Likes

Hello,

Yes I would like to get the ID of each new message that appears in the chat but I don’t know how to do it.
Do you have an idea?

In that case you need to use the “Watch new messages” @Norak

2 Likes

It’s almost there but it doesn’t quite work yet.