Google Image search throws error
th3an7 opened this issue · comments
🤖 An error occurred with the i command. Check the console for details.
Ignoring exception in command i
Traceback (most recent call last):
File "C:\Users\lukas\AppData\Roaming\Python\Python36\site-packages\discord\ext\commands\core.py", line 60, in wrapped
ret = await coro(*args, **kwargs)
File "R:\downloaded\Discord-Selfbot-2.1.0\cogs\google.py", line 184, in i
config = load_optional_config()
File "R:\downloaded\Discord-Selfbot-2.1.0\cogs\utils\checks.py", line 27, in load_optional_config
return json.load(f)
File "c:\users\lukas\appdata\local\programs\python\python36-32\lib\json\__init__.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "c:\users\lukas\appdata\local\programs\python\python36-32\lib\json\__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "c:\users\lukas\appdata\local\programs\python\python36-32\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "c:\users\lukas\appdata\local\programs\python\python36-32\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\lukas\AppData\Roaming\Python\Python36\site-packages\discord\ext\commands\bot.py", line 876, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\lukas\AppData\Roaming\Python\Python36\site-packages\discord\ext\commands\core.py", line 506, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\lukas\AppData\Roaming\Python\Python36\site-packages\discord\ext\commands\core.py", line 69, in wrapped
raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Anything I can do on my side?
Normal Google searches with >d
works without problems
Using latest version