Comments (6)
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.
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.
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.
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.
k, ill wait a lil while, if its not up by tomorrow i'll drop back in here
from discord-selfbot.
Got it working!
from discord-selfbot.
Related Issues (20)
- Erreur with cog list HOT 1
- Logging error HOT 1
- Help command HOT 1
- I have this issue HOT 6
- Stuck on "Continuing logging in" for what feels like an hour, this is on a Raspberry Pi 3 B+ running Kali Linux
- Could not install packages due to an EnvironmentError
- Could not create animated emoji by GIF files!?
- how can i change the python version it runs it with? HOT 2
- Can't start - While settuping and after setup HOT 3
- requirements command not working
- Bot restarts constantly.
- lxml install problems (SOLVED) HOT 5
- installation issue
- Can't install requirements HOT 1
- New cog system
- Installation error macos
- Still cog list error HOT 1
- Error after starting bot
- Is this repo still active? HOT 11
- Exceptions when running run.bat HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-selfbot.