Massive dependencies bump

This commit is contained in:
Natsu Kagami 2022-06-11 15:48:43 -04:00
parent dd1867e222
commit 8632f0e99c
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
24 changed files with 744 additions and 841 deletions

View file

@ -56,7 +56,7 @@ impl youmubot_prelude::Announcer for Announcer {
"Codeforces: Removing user {} - {}: failures count too high",
key, user.handle,
);
db.remove(&key);
// db.remove(&key);
} else {
db.insert(key, user);
}

View file

@ -26,7 +26,7 @@ pub fn user_embed<'a>(user: &User, e: &'a mut CreateEmbed) -> &'a mut CreateEmbe
.join(", ");
e.color(user.color())
.author(|a| a.name(&rank))
.thumbnail(format!("https:{}", user.title_photo))
.thumbnail(format!("{}", user.title_photo))
.title(&user.handle)
.url(user.profile_url())
.description(format!(
@ -90,7 +90,7 @@ pub fn rating_change_embed<'a>(
};
e.author(|a| {
a.icon_url(format!("http:{}", &user.avatar))
a.icon_url(format!("{}", &user.avatar))
.url(user.profile_url())
.name(&user.handle)
})