From 049dd17bd01c170e0f91d098553da7d4e257e9bd Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Sat, 15 May 2021 14:45:01 -0400 Subject: [PATCH] Remove type 3 interaction response usage --- src/gitea_command.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gitea_command.rs b/src/gitea_command.rs index 3dc8b81..bf9fe5a 100644 --- a/src/gitea_command.rs +++ b/src/gitea_command.rs @@ -65,7 +65,7 @@ pub fn gitea_release(interaction: &Interaction) -> InteractionResponse { } ]) }; - return InteractionResponse::ChannelMessage { + return InteractionResponse::ChannelMessageWithSource { data: Some(InteractionApplicationCommandCallbackData { tts: false, content: "".to_string(), @@ -83,4 +83,4 @@ pub fn gitea_release(interaction: &Interaction) -> InteractionResponse { }) } } -} \ No newline at end of file +}