Closed Mehul343 closed 2 years ago
dont pass ctx to your check, you're also passing ctx.embeds to a function that takes ctx directly, not to mention that its Context.message.embeds
dont pass ctx to your check
Then what should I pass?
dont pass ctx to your check
Then what should I pass?
nothing, read the docs https://discordpy.readthedocs.io/en/latest/ext/commands/api.html?highlight=wait_for#discord.ext.commands.Bot.wait_for
channelid, userid and your imports, and probably more stuff are busted. Please read up on providing a minimal reproducable example for future issues/questions. (this applies basically anywhere)
dont pass ctx to your check
Then what should I pass?
nothing, read the docs https://discordpy.readthedocs.io/en/latest/ext/commands/api.html?highlight=wait_for#discord.ext.commands.Bot.wait_for
channelid, userid and your imports, and probably more stuff are busted. Please read up on providing a minimal reproducable example for future issues/questions. (this applies basically anywhere)
thanks it now works
Summary
wait_for function is not returning contents of message
Reproduction Steps
Run the code the do ;p then wait for an embed.
Code
Expected Results
print(str(msg.embeds))
should return contents of the embed.Actual Results
It is returning an empty list but the message does have an embed.
System Information
Checklist
Additional Information
No response