fix: fixed user id in afk message dm

This commit is contained in:
Kwoth
2024-08-07 15:38:54 +00:00
parent ae6018f0e1
commit 3094c3248b

View File

@@ -126,13 +126,12 @@ public sealed class AfkService : INService, IReadyExecutor
{
var st = SmartText.CreateFrom(msg);
st = $"The user you've pinged ({arg.Author}) is AFK: " + st;
st = $"The user you've pinged (<#{mentionedUserId}>) is AFK: " + st;
var toDelete = await _mss.Response(arg.Channel)
.User(arg.Author)
.Message(uMsg)
.Text(st)
.Sanitize(false)
.SendAsync();
toDelete.DeleteAfter(30);