diff options
author | stale <redkugelblitzin@gmail.com> | 2022-08-21 04:53:12 -0300 |
---|---|---|
committer | stale <redkugelblitzin@gmail.com> | 2022-08-21 04:53:12 -0300 |
commit | 5e207ab59b3d5ce2ce316d8727886aa66147f758 (patch) | |
tree | 90ede1c22d238bf3c8bf6615701bb6803147588f /src/types.rs | |
parent | e28498c4953f2da5f56a41f3123a413efa9d9a25 (diff) |
questioning tiles and irc bot mess
Diffstat (limited to 'src/types.rs')
-rw-r--r-- | src/types.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/types.rs b/src/types.rs index a8a7742..b2bc93e 100644 --- a/src/types.rs +++ b/src/types.rs @@ -4,7 +4,7 @@ use std::{ sync::{ Arc, atomic::{ AtomicUsize, Ordering }, - }, +}, fmt::Display, ops::{ Deref, DerefMut }, num::NonZeroUsize, @@ -14,6 +14,7 @@ use tokio::sync::RwLock; use serde::Serialize; use crate::minesweeper; use crate::livepos; +use crate::ircbot; #[derive(Debug, Serialize, Clone)] pub struct RoomConf { @@ -30,6 +31,8 @@ pub struct Room { pub cmd_stream: CmdTx, pub livepos_driver: tokio::task::JoinHandle<()>, pub pos_stream: tokio::sync::mpsc::UnboundedSender<livepos::Req>, + pub irc_driver: tokio::task::JoinHandle<()>, + pub irc_stream: tokio::sync::mpsc::UnboundedSender<ircbot::IrcCmd>, } #[derive(Debug)] |