GsDChat.Client fixes:
- Command output not being displayed. - Screen not cleaning up. + Better initial UI.
This commit is contained in:
parent
b60b5a0774
commit
302d440dbd
12 changed files with 348 additions and 47 deletions
|
|
@ -272,6 +272,11 @@ public class ChatClientConnection : IDisposable
|
|||
{
|
||||
_state.AddNotice(cmdRes.Output);
|
||||
_state.SetStatus(cmdRes.Success ? "Command executed." : "Command error.", 4);
|
||||
// Also add to chat as a system message for visibility
|
||||
if (!string.IsNullOrEmpty(cmdRes.Output) && !string.IsNullOrEmpty(cmdRes.ChannelId))
|
||||
{
|
||||
_state.AddSystemMessageToChat(cmdRes.Output, cmdRes.ChannelId);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue