Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Google Image search throws error #406

Open
th3an7 opened this issue Sep 20, 2018 · 0 comments
Open

Google Image search throws error #406

th3an7 opened this issue Sep 20, 2018 · 0 comments

Comments

@th3an7
Copy link

th3an7 commented Sep 20, 2018

🤖 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant