Bridge violet meadow
This commit is contained in:
parent
82bff1b904
commit
4c2eded7a0
1 changed files with 5 additions and 1 deletions
|
@ -14,7 +14,7 @@ pub mod matrix;
|
|||
use bridgers::Bridgers;
|
||||
use tokio::sync::mpsc;
|
||||
|
||||
use crate::messages::MessageEvent;
|
||||
use crate::{channels::ChannelReference, messages::MessageEvent};
|
||||
|
||||
async fn setup_discord(
|
||||
token: String,
|
||||
|
@ -61,6 +61,10 @@ async fn main() {
|
|||
env_logger::init();
|
||||
|
||||
let bridgers = Arc::new(Bridgers::new());
|
||||
bridgers.link_channels(&[
|
||||
ChannelReference::Discord(844290936942755903),
|
||||
ChannelReference::Matrix("!NdTsEObHNFnwLyoVvp:lu.gl".to_string()),
|
||||
]);
|
||||
|
||||
let (event_tx, mut event_rx) = tokio::sync::mpsc::unbounded_channel::<MessageEvent>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue