forked from sorceress/rustcord
Totally didn't reuse old code
This commit is contained in:
parent
e975b9689a
commit
d555c3a39f
|
@ -669,7 +669,6 @@ fn pinned(ctx: &mut Context, message: &Message, mut args: Args) -> CommandResult
|
|||
.description(&pinned[idx].content)
|
||||
.timestamp(&pinned[idx].timestamp);
|
||||
e.author(|a| {
|
||||
//assuming first array element is name and second is icon url
|
||||
a.name(&pinned[idx].author.name)
|
||||
.icon_url(&pinned[idx].author.avatar_url().unwrap())
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue