Closed HumanBot000 closed 8 months ago
Hi! Could you test the module with the latest python and inform us if it's working?
I will do that
Alessandro Pezzè @.***> schrieb am Di., 24. Okt. 2023, 12:31:
Hi! Could you test the module with the latest python and inform us if it's working?
— Reply to this email directly, view it on GitHub https://github.com/PokeAPI/pokebase/issues/48#issuecomment-1776945463, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQKMCWPJ7UBEKM7TSDYMRLYA6KHTAVCNFSM6AAAAAA6MLBKA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWHE2DKNBWGM . You are receiving this because you authored the thread.Message ID: @.***>
Hi! Could you test the module with the latest python and inform us if it's working?
@pokemon.subcommand(description="Get a pokemon by name",name_localizations={Locale.en_US: "search", Locale.de: "suchen"})
async def search(self, interaction, pokemon_name):
await interaction.response.defer()
pokemon = pokebase.pokemon(pokemon_name)
print(pokemon.height)
```{}
ERROR:<class 'pokebase.interface.APIResource'> object has no attribute height```
What did I wrong?
Hello?
@Naramsim, I think we can close this one.
Is it possible to use it at py3.10? I know it says 3.6 but what changed since than?