mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Removed redundant str() conversion
This commit is contained in:
parent
d8feb29330
commit
5b2bed29ef
1 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ class MsG:
|
|||
embed.set_thumbnail(url=post['file_url'])
|
||||
embed.set_author(name=f'{u.get_aspectratio(post["width"], post["height"])} \N{ZERO WIDTH SPACE} {post["width"]} x {post["height"]}',
|
||||
url=f'https://e621.net/post?tags=ratio:{post["width"]/post["height"]:.2f}', icon_url=ctx.author.avatar_url)
|
||||
embed.set_footer(text=str(post['score']),
|
||||
embed.set_footer(text=post['score'],
|
||||
icon_url=self._get_score(post['score']))
|
||||
|
||||
# except
|
||||
|
@ -343,7 +343,7 @@ class MsG:
|
|||
embed.set_image(url=post['file_url'])
|
||||
embed.set_author(name=f'{u.get_aspectratio(post["width"], post["height"])} \N{ZERO WIDTH SPACE} {post["width"]} x {post["height"]}',
|
||||
url=f'https://e621.net/post?tags=ratio:{post["width"]/post["height"]:.2f}', icon_url=ctx.author.avatar_url)
|
||||
embed.set_footer(text=str(post['score']),
|
||||
embed.set_footer(text=post['score'],
|
||||
icon_url=self._get_score(post['score']))
|
||||
|
||||
await dest.send('**Probable match**', embed=embed)
|
||||
|
|
Loading…
Reference in a new issue