flashgnash / ordis

GNU General Public License v3.0
1 stars 0 forks source link

There should be one common implementation for the thinking... message system #10

Open flashgnash opened 1 month ago

flashgnash commented 1 month ago

At the moment, the thinking... messages are all done from within the command that sends them

It would be better for consistency to have one method in common.rs for setting up and thend later editing one of these messages

The simplest way to do that being have one method for setting up a message, and another for editing it later

IE

let placeholder = common::send_placeholder(ctx,false); 
//second parameter for whether the placeholder should be ephemeral

// do stuff that takes a long time...

placeholder.edit("message content")