Closed Septan closed 4 years ago
It seems your LIBRARIES configuration in credentials.py
might be invalid. Can you share what your LIBRARIES variable is?
Its what I have in config
# For example, to recommend something from an 'anime' group, users will have to use the word 'anime' in their command.
LIBRARIES = {
'movie': [3],
'show': [1],
'musical artist': [2],
'4k': [4],
'anime': [9]
}
And of course it works no problem on my end, making this a lot harder :) There's a JSON parse issue going on here. For some reason, the script isn't interpreting the LIBRARIES variable JSON as valid. Since it can't read it, it doesn't load any libraries into cache, and therefore can't select a random item from an empty library list.
Perhaps there's a stray mark somewhere in credentials.py
that is messing it up? Do you have an accidental double "", or maybe a ' " mismatch?
I had deleted it before started the issue, it still wasn't working. I had it working before. I deleted it again and redid everything it working now. I didn't have any extra " or mismatch or anything. I not sure what was causing it not to work.
Using the lastest commit