concord 2.1.10

A terminal user interface client for Discord
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{discord::AppEvent, logging};

use super::state::DashboardState;

pub(super) fn record_command_channel_closed(state: &mut DashboardState) {
    logging::error("tui", "command channel closed");
    state.push_effect(AppEvent::GatewayError {
        message: "command channel closed".to_owned(),
    });
}