mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
Fix invalid list comprehension
This commit is contained in:
parent
ae3f88cc72
commit
38a689ccf0
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class DogCommand(rc.Command):
|
|||
breed = args.joined()
|
||||
if breed:
|
||||
if breed == "list":
|
||||
await data.reply("\n".join(["ℹ️ Razze disponibili:", [f"[c]{breed}[/c]" for breed in self._breeds]]))
|
||||
await data.reply("\n".join(["ℹ️ Razze disponibili:", *[f"[c]{breed}[/c]" for breed in self._breeds]]))
|
||||
if breed in self._breeds:
|
||||
url = f"https://dog.ceo/api/breed/{breed}/images/random"
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue