Skip to content

Commit 436930f

Browse files
authored
fix cargo.lock (#37)
* fix cargo.lock * better icon method
1 parent 0ed9757 commit 436930f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/discord/src/message/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl DiscordMessage {
2525
id: Snowflake { content: msg.id.get() },
2626
author: DiscordMessageAuthor {
2727
display_name: DisplayName(msg.author.name.clone()),
28-
icon: msg.author.avatar_url().unwrap_or(msg.author.default_avatar_url()),
28+
icon: msg.author.face(),
2929
id: msg.author.id.to_string(),
3030
},
3131
content: DiscordMessageContent {

0 commit comments

Comments
 (0)