GithubHelp home page GithubHelp logo

Image search about discord-selfbot HOT 6 CLOSED

appu1232 avatar appu1232 commented on July 18, 2024
Image search

from discord-selfbot.

Comments (6)

appu1232 avatar appu1232 commented on July 18, 2024

Line 236? There's only 226 lines in the latest google.py cog. Turn off the bot and delete google.py. Go here: https://raw.githubusercontent.com/appu1232/Selfbot-for-Discord/master/cogs/google.py and Right click > Save as and then save it to where the google.py was. Try now and see if it works.

Also, judging by your folder structure Illyasveil/addons/ is your cogs folder? I'm guessing you may have been changing some stuff up. That's fine but if the above fix doesn't help then I suggest downloading a fresh copy of the bot with no changes and just port over your settings folder and see if the error persists.

from discord-selfbot.

gidoBOSSftw5731 avatar gidoBOSSftw5731 commented on July 18, 2024

well, its a merge of Illyasveil and your bot since i like how Illyasveil works but your cmds are cool so im trying to do a merge, will report what happens in a sec

from discord-selfbot.

gidoBOSSftw5731 avatar gidoBOSSftw5731 commented on July 18, 2024
Ignoring exception in command i
Traceback (most recent call last):
  File "/home/gideon/.local/lib/python3.5/site-packages/discord/ext/commands/core.py", line 50, in wrapped
    ret = yield from coro(*args, **kwargs)
  File "/home/gideon/Illyasveil/addons/google.py", line 221, in i
    await self.bot.send_message(ctx.message.channel, content=None, embed=em.set_image(url=result['items'][item]['link']))
KeyError: 'items'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/gideon/.local/lib/python3.5/site-packages/discord/ext/commands/bot.py", line 848, in process_commands
    yield from command.invoke(ctx)
  File "/home/gideon/.local/lib/python3.5/site-packages/discord/ext/commands/core.py", line 369, in invoke
    yield from injected(*ctx.args, **ctx.kwargs)
  File "/home/gideon/.local/lib/python3.5/site-packages/discord/ext/commands/core.py", line 54, in wrapped
    raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'items'

new error and in discord it prints Google failed to respond.

from discord-selfbot.

appu1232 avatar appu1232 commented on July 18, 2024

This is a problem with your Google API Key and/or custom search engine ID. Make sure you followed the instructions properly in the README for setting up the API Key and the custom search engine ID. Google also takes up to a few hours after you have created both to properly register it so if you just did this recently give it some more time.

from discord-selfbot.

gidoBOSSftw5731 avatar gidoBOSSftw5731 commented on July 18, 2024

k, ill wait a lil while, if its not up by tomorrow i'll drop back in here

from discord-selfbot.

gidoBOSSftw5731 avatar gidoBOSSftw5731 commented on July 18, 2024

Got it working!

from discord-selfbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.