#Error in interaction.response.edit_message

1 messages · Page 1 of 1 (latest)

atomic fox
#

It says that
TypeError: InteractionResponse.edit_message() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given.
This is what I did:
await interaction.response.edit_message("Giveaway entry confirmed!",view=None)

I didnt gave more than 2 positioning argument?

mystic seal
#

content="",

serene bay
#
- await interaction.response.edit_message("Giveaway entry confirmed!",view=None)
+ await interaction.response.edit_message(content = "Giveaway entry confirmed!",view=None)
atomic fox
#

ok

#

thanks

mystic seal
#

.close

wet sentinelBOT
#

Done with your help thread?

Please close your own help thread by using </close:1009144375709814897> with @keen flax.