From 909dabc9eb3506eba63a2faf383889854fc5c8c5 Mon Sep 17 00:00:00 2001 From: osmarks Date: Thu, 15 Nov 2018 17:44:08 +0000 Subject: [PATCH] Make bot broadcast typing when `exec` run --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index a908da7..5df596d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 {