From f224c70fe565181e3b8692802598cc48de3f513a Mon Sep 17 00:00:00 2001 From: wackbyte Date: Sun, 11 Feb 2024 01:46:14 -0500 Subject: [PATCH] Remove retry button on timeout --- src/commands/playground/util.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/playground/util.rs b/src/commands/playground/util.rs index fe7f689..5a84b61 100644 --- a/src/commands/playground/util.rs +++ b/src/commands/playground/util.rs @@ -291,8 +291,7 @@ pub async fn send_reply( } else { // If timed out, just remove the button response - // TODO: Add code to remove button - .edit(ctx, |create_reply| create_reply) + .edit(ctx, |create_reply| create_reply.components(|c| c)) .await?; }