From c61f3f1433dd051b6f19aa247f47af0ecb828e6d Mon Sep 17 00:00:00 2001 From: Toastie Date: Thu, 8 Aug 2024 13:46:32 +1200 Subject: [PATCH] fixed user id in afk message dm --- src/EllieBot/Modules/Utility/AfkService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/EllieBot/Modules/Utility/AfkService.cs b/src/EllieBot/Modules/Utility/AfkService.cs index 2ea269b..18c5f2c 100644 --- a/src/EllieBot/Modules/Utility/AfkService.cs +++ b/src/EllieBot/Modules/Utility/AfkService.cs @@ -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);