edit button

This commit is contained in:
jude 2022-05-13 23:30:01 +01:00
parent d2a8bd1982
commit f25cfed8d7

View File

@ -673,6 +673,12 @@ pub async fn remind(
.style(ButtonStyle::Danger) .style(ButtonStyle::Danger)
.custom_id(undo_button.to_custom_id()) .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")
})
}) })
}) })
}) })