From ba43a49b9cd426b9d1f14c7583f36aa027fe902b Mon Sep 17 00:00:00 2001 From: yourfriendoss Date: Sun, 14 Sep 2025 18:42:04 +0300 Subject: [PATCH] feat: Notifications should be in DMs. --- src/commands/eco/farm.rs | 11 +++++++---- src/commands/eco/fish.rs | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/commands/eco/farm.rs b/src/commands/eco/farm.rs index f30daf6..4ffc7dc 100644 --- a/src/commands/eco/farm.rs +++ b/src/commands/eco/farm.rs @@ -372,10 +372,13 @@ impl Command for FarmCommand { .await; notification_client - .message(format!( - "🌾 Hey, @{} your {} is ready! You got {} {} x{}", - user_id, crop_type.name, stars, fruit.name, total_count - )) + .dm( + format!( + "🌾 Your {} is ready! You got {} {} x{}", + crop_type.name, stars, fruit.name, total_count + ), + user_id, + ) .await; } } diff --git a/src/commands/eco/fish.rs b/src/commands/eco/fish.rs index 404e091..cd8d0d5 100644 --- a/src/commands/eco/fish.rs +++ b/src/commands/eco/fish.rs @@ -409,7 +409,7 @@ impl Command for FishCommand { tokio::spawn(async move { tokio::time::sleep(std::time::Duration::from_secs(timeout_secs as u64)).await; client_clone - .message(format!("🎣 @{} can fish again now!", player._id)) + .dm(format!("🎣 You can fish again now!"), player._id) .await; }); }