BotLock
I thought harus idea was to put this whole block of replying to someone into a method for params. Just returning the lock won't really make it easier to use.
ExecBodyParams
SayInReplyTo((S, S), S)
is very unintuitive, either remove the tuple or make it something like SayInReplyTo{channel: S, message_id: S, message: S}
.
As for the method params for `say_in_reply_t…
Second commit isn't necessary btw you can roll that back if you want, but it just has a bunch of debug implementations that might help debugging stuff like this in the future.
The Routine that you want to read lock in the execution body is the routine that is used to call that execution body, making it so the execution body waits for itself to end. No idea how you would…