Skip to content

Commit 6b6d4e9

Browse files
authored
fix nonetype error
1 parent 44a53a3 commit 6b6d4e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def embed(self, description=None, *args, **kwargs):
5555
}
5656
default.update(kwargs)
5757
return_embed = self.Embed(*args, **default)
58-
return_embed.set_footer(icon_url=self.author.avatar.url,
58+
return_embed.set_footer(icon_url=self.author.display_avatar.url,
5959
text=f'Requested by {self.author}')
6060
return return_embed
6161

0 commit comments

Comments
 (0)