Make bot broadcast typing when `exec` run

This commit is contained in:
osmarks 2018-11-15 17:44:08 +00:00
parent 1546889240
commit 909dabc9eb
1 changed files with 1 additions and 0 deletions

View File

@ -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 {