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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue