Compare commits
1 commit
2ba0403dc7
...
163a409b8d
Author | SHA1 | Date | |
---|---|---|---|
163a409b8d |
|
@ -86,12 +86,13 @@ impl EventEmitter for WakeOnLanBot {
|
|||
};
|
||||
|
||||
if let Ok(command) = Command::from_str(&msg_body) {
|
||||
let room_id = room.read().await.room_id.clone();
|
||||
handle_command(
|
||||
command,
|
||||
&self.client,
|
||||
&self.hosts,
|
||||
event,
|
||||
&room.read().await.room_id.clone(),
|
||||
&room_id,
|
||||
)
|
||||
.await;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue