#"TypeError" while trying to edit a message

1 messages · Page 1 of 1 (latest)

lyric cobalt
queen lionBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

lyric cobalt
#

codes:

mess = await event.message.reply(f"typing...")
split_text = text.split(" ")
sentt = ""
for words in split_text:
   sentt = sentt + " " + words
   await mess.edit(f"{sentt}")
jovial dirge
#

for edit, you need to specify the keyword: edit(content=sentt)