Potential fix for broken livefeed
This commit is contained in:
parent
e3b7a1b13e
commit
71e55c82b4
@ -278,11 +278,11 @@ fn territory_livefeed() {
|
|||||||
for listener in livefeedlisteners
|
for listener in livefeedlisteners
|
||||||
.load::<LivefeedListener>(&connection)
|
.load::<LivefeedListener>(&connection)
|
||||||
.expect("Error loading listeners") {
|
.expect("Error loading listeners") {
|
||||||
ChannelId(listener.id as u64).say(format!("{}: ~~{}~~ -> **{}**",
|
let _ = ChannelId(listener.id as u64).say(format!("{}: ~~{}~~ -> **{}**",
|
||||||
value.get("territory").unwrap().as_str().unwrap(),
|
value.get("territory").unwrap().as_str().unwrap(),
|
||||||
value.get("guild").unwrap().as_str().unwrap(),
|
value.get("guild").unwrap().as_str().unwrap(),
|
||||||
new_value.get("guild").unwrap().as_str().unwrap()
|
new_value.get("guild").unwrap().as_str().unwrap()
|
||||||
)).unwrap();
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user