Webhook command

Add a command to view the webhook, as some users wish to use the webhook to edit past reminders.
This commit is contained in:
jude
2022-06-17 17:15:48 +01:00
parent 6f7d0f67b3
commit f56db14720
4 changed files with 36 additions and 2 deletions

View File

@ -101,6 +101,7 @@ async fn _main(tx: Sender<()>) -> Result<(), Box<dyn StdError + Send + Sync>> {
info_cmds::clock_context_menu(),
info_cmds::dashboard(),
moderation_cmds::timezone(),
moderation_cmds::webhook(),
poise::Command {
subcommands: vec![
moderation_cmds::delete_macro(),