#How to modify a message
1 messages · Page 1 of 1 (latest)
if the message is the bot's, then just do await message.edit(...)
you can get the message from await bot.rest.fetch_message(id)
Or just do bot.rest.edit_message(id, ...)
just also probably keep in mind of ratelimits
and when i send a message with my bot like that: bot.rest.create_message(self.BOT_LOG_CHANNEL, info, attachment=file_backup) if i give to the result of the func a var, can i take the id of the created message or not?
limit?
create_message returns the created msg object
so you can use it directly to manipulate the message
via the .edit() method
gorgeous
Im editing that string every second from 19.07 than i think there’snt a limit?
Or im lucky
there is
5 per 5 seconds iirc
and hikari will automatically wait if needed
Uhh very nice, i love u