Updated Utility module
This commit is contained in:
parent
6b6f822ec8
commit
b2b8e4c3d3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue