Auto delete Nora responses

This commit is contained in:
barelyprofessional
2026-02-17 23:35:00 -06:00
parent f1afce7fab
commit e4815a2290
2 changed files with 6 additions and 2 deletions

View File

@@ -258,9 +258,11 @@ public class NoraCommand : ICommand
// var formattedResponse = $"{avatarTag}[b]Nora to {user.FormatUsername()}:[/b] {grokResponse}";
var formattedResponse = $"[b]Nora to {user.FormatUsername()}:[/b] {grokResponse}";
var autoDeleteAfter =
TimeSpan.FromMilliseconds((await SettingsProvider.GetValueAsync(BuiltIn.Keys.GrokNoraAutoDeleteDelay))
.ToType<int>());
await botInstance.SendChatMessageAsync(
formattedResponse,
true);
true, autoDeleteAfter: autoDeleteAfter);
}
}