#please delete this post I made by accident
1 messages · Page 1 of 1 (latest)
Are you sur the task is not getting triggered many time ?
Are you sure member message is set ?
If you print member message are you sure it’s not none in case it’s the else ?
Yeah so make sure to set it before
What’s ur goal
So maybe I can give you some pointers
What you can do check if message is None of it is you send a message and else you don’t
So instead of checking if message_idk_what = 1 you can do if member[message] is None
Then maybe you should save the id of the message
And then use a partial message to edit it
Which make it a bit more safe ig
Await will always finish the the line before going to the next one
With message object it should work, but if you restart the bot you will lose everything
While with the id you will not
If you do a code change or anything else
It’s more futur proof to use the id, but if it’s planned for short session and not days etc object should be fine
This thread was archived by the user that opened it.
please delete this post I made by accident
why just nuke your own thread?