kodycode / PokeBot-Python

Inspired by the original Discord PokéBot
MIT License
15 stars 11 forks source link

pokemon_functionality not working #7

Closed digasred closed 3 years ago

digasred commented 3 years ago

i tried to everything i could i tried to change somethings but I cant figure it out

digasred commented 3 years ago

it only says : Failed to cache trainer object. See error.log.

kodycode commented 3 years ago

What does the error log say?

digasred commented 3 years ago

10/03/2020 10:07:00 PM - ERROR - Exception: 'NoneType' object has no attribute 'change_presence' 10/03/2020 10:15:20 PM - ERROR - Exception: 'NoneType' object has no attribute 'request'

digasred commented 3 years ago

its the all file not just a command thats not working. It gives me the same type of error

kodycode commented 3 years ago

Did you install discord.py?

digasred commented 3 years ago

yes

kodycode commented 3 years ago

Could you post the entire log file? It's hard to determine what's exactly the issue as it could be many different things in this context. That error shouldn't happen unless the discord library isn't installed properly.

digasred commented 3 years ago

never mind i fixed the error

digasred commented 3 years ago

it was not with your file it was with something I putted

kodycode commented 3 years ago

Alright, glad you managed to fix it.