fixed user id in afk message dm

This commit is contained in:
Toastie 2024-08-08 13:46:32 +12:00
parent 6e0a129bc0
commit c61f3f1433
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -126,13 +126,12 @@ public sealed class AfkService : IEService, 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);