mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 17:20:49 +00:00
Massive dependencies bump
This commit is contained in:
parent
dd1867e222
commit
8632f0e99c
24 changed files with 744 additions and 841 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue