I have a Python script for a Discord bot and I want it to send a message to another Bot and select the prompt option and then type in a message but I can't get the interaction done.
It just sends the message without triggering the interaction.
This is the code that I'm using to post a message in the channel:
#Post in Test channel image descriptionschannel = bot.get_channel(channel_id)for i in random_image_descriptions:await channel.send('/imagine ' + i)#Close botawait bot.close()
And this should be the result:
Can someone help how I get the bot to post a prompt into the channel?