Skip to content

Commit

Permalink
Add avatar to closed thread messages, resolve #2828
Browse files Browse the repository at this point in the history
  • Loading branch information
fourjr committed Oct 28, 2020
1 parent eb80fed commit 6f05aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ async def _close(

event = "Thread Closed as Scheduled" if scheduled else "Thread Closed"
# embed.set_author(name=f"Event: {event}", url=log_url)
embed.set_footer(text=f"{event} by {_closer}")
embed.set_footer(text=f"{event} by {_closer}", icon_url=closer.avatar_url)
embed.timestamp = datetime.utcnow()

tasks = [self.bot.config.update()]
Expand Down

0 comments on commit 6f05aa8

Please sign in to comment.