Potential fix for broken livefeed

This commit is contained in:
Sakuhl 2018-01-12 15:36:23 +01:00
parent e3b7a1b13e
commit 71e55c82b4

View File

@ -278,11 +278,11 @@ fn territory_livefeed() {
for listener in livefeedlisteners
.load::<LivefeedListener>(&connection)
.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("guild").unwrap().as_str().unwrap(),
new_value.get("guild").unwrap().as_str().unwrap()
)).unwrap();
));
}
}
}