1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 06:27:27 +00:00

Change quote syntax

This commit is contained in:
Myned 2022-02-23 17:47:12 -06:00
parent 65deb9b4d4
commit e2459f0d6c
No known key found for this signature in database
GPG key ID: 33790F979F7A28B8
3 changed files with 3 additions and 3 deletions

View file

@ -104,7 +104,7 @@ async def _reverse(context, urls, *, selector=None):
url=match["url"],
color=context.get_guild().get_my_member().get_top_role().color if context.get_guild() else "#1a1a1a",
)
.set_author(name=f'{match["similarity"]}% Match')
.set_author(name=f"{match['similarity']}% Match")
.set_image(match["thumbnail"])
.set_footer(match["source"])
)

View file

@ -20,7 +20,7 @@ async def master(context):
extensions = [os.path.splitext(extension)[1][1:] for extension in context.bot.extensions]
await context.respond(
f'**Reloaded `{"`, `".join(extensions[:-1])}`, and `{extensions[-1]}` for you, master.**'
f"**Reloaded `{'`, `'.join(extensions[:-1])}`, and `{extensions[-1]}` for you, master.**"
)
case "sleep":
await context.respond("**Goodnight, master.**")

View file

@ -48,7 +48,7 @@ async def _kheina(url):
return {
"url": content["results"][0]["sources"][0]["source"],
"artist": content["results"][0]["sources"][0]["artist"] or "Unknown",
"thumbnail": f'https://cdn.kheina.com/file/kheinacom/{content["results"][0]["sources"][0]["sha1"]}.jpg',
"thumbnail": f"https://cdn.kheina.com/file/kheinacom/{content['results'][0]['sources'][0]['sha1']}.jpg",
"similarity": round(content["results"][0]["similarity"]),
"source": tldextract.extract(content["results"][0]["sources"][0]["source"]).domain,
}