#After sending modal content, modal does not close

1 messages · Page 1 of 1 (latest)

modern moat
#

show pip list

swift cairn
#

pip list ?

modern moat
#

and send output

swift cairn
#

There is no error.

#

The contents of the modal will be sent, but the modal will be forgotten to close.

modern moat
#

You need to respond, or call await interaction.response.defer()

swift cairn
#

Please tell me the defer.

#

error

XT.py", line 48, in callback
await interaction.response.defer
TypeError: object method can't be used in 'await' expression

modern moat
#

await interaction.response.defer()

swift cairn
#

you

#

Genius

modern moat
#

.close

gloomy pilotBOT
#

Done with your help thread?

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

Backup bot: </solved:1109625445990793246> (or .solved) with @gloomy pilot.