mirror of
https://github.com/myned/modufur.git
synced 2024-12-23 22:27:27 +00:00
Change quote syntax
This commit is contained in:
parent
65deb9b4d4
commit
e2459f0d6c
3 changed files with 3 additions and 3 deletions
|
@ -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"])
|
||||
)
|
||||
|
|
|
@ -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.**")
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue