Browse Source

Remove type 3 interaction response usage

master
NGnius (Graham) 3 years ago
parent
commit
049dd17bd0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/gitea_command.rs

+ 2
- 2
src/gitea_command.rs View File

@@ -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 {
})
}
}
}
}

Loading…
Cancel
Save