Updated Utility module

This commit is contained in:
Toastie (DCS Team) 2024-07-15 15:45:13 +12:00
parent 6b6f822ec8
commit b2b8e4c3d3
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -245,7 +245,7 @@ public sealed class AiAssistantService
{ {
if (guild is not SocketGuild sg) if (guild is not SocketGuild sg)
return false; return false;
var sess = _cbs.GetOrCreateSession(guild.Id); var sess = _cbs.GetOrCreateSession(guild.Id);
if (sess is null) if (sess is null)
return false; return false;
@ -302,7 +302,7 @@ public sealed class AiAssistantService
await _sender.Response(channel) await _sender.Response(channel)
.Error(errorMsg) .Error(errorMsg)
.SendAsync(); .SendAsync();
return true; return true;
} }