feat: Notifications should be in DMs.
This commit is contained in:
parent
b42a848063
commit
ba43a49b9c
2 changed files with 8 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue