1
0
mirror of https://github.com/osmarks/autobotrobot synced 2024-06-16 18:20:00 +00:00

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

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 {