Преглед на файлове

Remove type 3 interaction response usage

master
NGnius (Graham) преди 3 години
родител
ревизия
049dd17bd0
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      src/gitea_command.rs

+ 2
- 2
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 {
})
}
}
}
}

Loading…
Отказ
Запис