#AttributeError 'Interaction' object has no attribute 'custom_id'

1 messages · Page 1 of 1 (latest)

burnt quest
#

Very weird as in the docs it is shown to have it...

azure perch
#

can you show some code?

#

and the one from the docs?

burnt quest
#
    async def fightCallback(interaction):
        await interaction.response.send_message(interaction.custom_id)```
#

docs claims interaction has custom_id

azure perch
#

which py-cord version do you have?

burnt quest
#

actually lemme update

azure perch
#

and do you have something else installed?

burnt quest
#

well i updated but it didnt work
i dont think it matters since i found out that Interaction.data has a 'custom_id' so pretty much solved

north harbor
#

@burnt quest send the full code. like where you're using that interaction