Skip to content

Commit

Permalink
fix: 埋め込みが存在しないのにメッセージ内容が空のメッセージを引用しない不具合の修正 (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 authored Sep 6, 2024
1 parent 10c8c85 commit 3f4fcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl EventHandler for BabyriteHandler {
return;
}

if !target_message.embeds.is_empty() || target_message.content.is_empty() {
if !target_message.embeds.is_empty() && target_message.content.is_empty() {
return;
}

Expand Down

0 comments on commit 3f4fcca

Please sign in to comment.