mirror of
https://github.com/osmarks/autobotrobot
synced 2024-11-05 00:06:17 +00:00
Make bot broadcast typing when exec
run
This commit is contained in:
parent
1546889240
commit
909dabc9eb
@ -111,6 +111,7 @@ fn to_code_block(s: &str) -> String {
|
||||
}
|
||||
|
||||
fn execute_and_respond(channel: &ChannelId, command: &str, code: &str) -> Result<(), serenity::Error> {
|
||||
channel.broadcast_typing()?;
|
||||
let coliru_result = execute_coliru(command, code);
|
||||
|
||||
match coliru_result {
|
||||
|
Loading…
Reference in New Issue
Block a user