From f25cfed8d78e899d2004a71322fac805610d73b5 Mon Sep 17 00:00:00 2001 From: jude Date: Fri, 13 May 2022 23:30:01 +0100 Subject: [PATCH] edit button --- src/commands/reminder_cmds.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands/reminder_cmds.rs b/src/commands/reminder_cmds.rs index f992273..5d24ccb 100644 --- a/src/commands/reminder_cmds.rs +++ b/src/commands/reminder_cmds.rs @@ -673,6 +673,12 @@ pub async fn remind( .style(ButtonStyle::Danger) .custom_id(undo_button.to_custom_id()) }) + .create_button(|b| { + b.emoji(ReactionType::Unicode("📝".to_string())) + .label("Edit") + .style(ButtonStyle::Link) + .url("https://reminder-bot.com/dashboard") + }) }) }) })