fix(aurora): don't pass key
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s

This commit is contained in:
Seaswimmer 2024-08-13 16:39:36 -04:00
parent 6c7cdd4e5e
commit 86c0cadd82
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -698,7 +698,7 @@ class Aurora(commands.Cog):
stripped = t.strip().lower() stripped = t.strip().lower()
if stripped == "all": if stripped == "all":
type_list.clear() type_list.clear()
type_list.extend((t.key for t in registry_values)) type_list.extend((t for t in registry_values))
break break
try: try:
type_list.append(type_registry[stripped]) type_list.append(type_registry[stripped])