Totally didn't reuse old code

This commit is contained in:
Agatha Rose 2020-05-23 16:32:12 +00:00
parent e3fe5e2b59
commit 9887e8ef45
1 changed files with 0 additions and 1 deletions

View File

@ -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())
});