Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2021-04-07T12:35:16.826364+00:00 app[worker.1]: Ignoring exception in command play:
- 2021-04-07T12:35:16.826651+00:00 app[worker.1]: Traceback (most recent call last):
- 2021-04-07T12:35:16.829995+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/ext/commands/core.py", line 85, in wrapped
- 2021-04-07T12:35:16.829996+00:00 app[worker.1]: ret = await coro(*args, **kwargs)
- 2021-04-07T12:35:16.830045+00:00 app[worker.1]: File "annubot.py", line 153, in play
- 2021-04-07T12:35:16.830046+00:00 app[worker.1]: url = request(query,False)
- 2021-04-07T12:35:16.830134+00:00 app[worker.1]: File "annubot.py", line 89, in request
- 2021-04-07T12:35:16.830136+00:00 app[worker.1]: name = spotifypull(uri)
- 2021-04-07T12:35:16.830177+00:00 app[worker.1]: File "annubot.py", line 76, in spotifypull
- 2021-04-07T12:35:16.830180+00:00 app[worker.1]: return (r['name']+" "+r['artists'][0]['name'])
- 2021-04-07T12:35:16.830288+00:00 app[worker.1]: KeyError: 'name'
- 2021-04-07T12:35:16.830339+00:00 app[worker.1]:
- 2021-04-07T12:35:16.830340+00:00 app[worker.1]: The above exception was the direct cause of the following exception:
- 2021-04-07T12:35:16.830340+00:00 app[worker.1]:
- 2021-04-07T12:35:16.830425+00:00 app[worker.1]: Traceback (most recent call last):
- 2021-04-07T12:35:16.830511+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 902, in invoke
- 2021-04-07T12:35:16.830512+00:00 app[worker.1]: await ctx.command.invoke(ctx)
- 2021-04-07T12:35:16.830567+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/ext/commands/core.py", line 864, in invoke
- 2021-04-07T12:35:16.830568+00:00 app[worker.1]: await injected(*ctx.args, **ctx.kwargs)
- 2021-04-07T12:35:16.830603+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/ext/commands/core.py", line 94, in wrapped
- 2021-04-07T12:35:16.830604+00:00 app[worker.1]: raise CommandInvokeError(exc) from exc
- 2021-04-07T12:35:16.830696+00:00 app[worker.1]: discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'name'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement