appu1232 / Discord-Selfbot

Discord selfbot made with Python using discord.py
GNU General Public License v3.0
512 stars 603 forks source link

urban dictionary command broken #403

Closed clragon closed 6 years ago

clragon commented 6 years ago
Ignoring exception in command ud
Traceback (most recent call last):
  File "/home/clragon/.local/lib/python3.5/site-packages/discord/ext/commands/core.py", line 60, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/clragon/selfbot/cogs/utility.py", line 467, in ud
    if result["tags"]:
KeyError: 'tags'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/clragon/.local/lib/python3.5/site-packages/discord/ext/commands/bot.py", line 876, in invoke
    await ctx.command.invoke(ctx)
  File "/home/clragon/.local/lib/python3.5/site-packages/discord/ext/commands/core.py", line 506, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/clragon/.local/lib/python3.5/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: KeyError: 'tags'

I get this error when running the ud command.

LyricLy commented 6 years ago

Are you on the latest version?

clragon commented 6 years ago

latest version. I just checked.

LyricLy commented 6 years ago

Resolved.

clragon commented 6 years ago

It's still broken though? :thinking:

LyricLy commented 6 years ago

The line with this error no longer exists on the master branch, so that exact issue must no longer exist.