From 5e207ab59b3d5ce2ce316d8727886aa66147f758 Mon Sep 17 00:00:00 2001 From: stale Date: Sun, 21 Aug 2022 04:53:12 -0300 Subject: questioning tiles and irc bot mess --- src/types.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/types.rs') 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, + pub irc_driver: tokio::task::JoinHandle<()>, + pub irc_stream: tokio::sync::mpsc::UnboundedSender, } #[derive(Debug)] -- cgit v1.2.3