We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28ea2ae + a2eacc0 commit 777b501Copy full SHA for 777b501
src/main.rs
@@ -287,7 +287,7 @@ impl EventHandler for Events {
287
let history = data.get_mut::<command_history::CommandHistory>().unwrap();
288
if let Some(response_id) = history.remove(&message_id) {
289
info!("deleting message: {:?}", response_id);
290
- let _ = channel_id.delete_message(&cx, response_id);
+ let _ = channel_id.delete_message(&cx, response_id).await;
291
}
292
293
0 commit comments