Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 6.46 KB | None | 0 0
  1. Ignoring exception in on_ready
  2. Traceback (most recent call last):
  3.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\client.py", line 270, in _run_event
  4.     await coro(*args, **kwargs)
  5.   File "C:\Users\Jakub\Desktop\Cookie Beta\main.py", line 179, in on_ready
  6.     await update_presence()
  7.   File "C:\Users\Jakub\Desktop\Cookie Beta\main.py", line 97, in update_presence
  8.     await dblClient.post_guild_count()
  9.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\dbl\client.py", line 130, in post_guild_count
  10.     await self.http.post_guild_count(self.bot_id, self.guild_count(), shard_count, shard_no)
  11.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\dbl\http.py", line 168, in post_guild_count
  12.     await self.request('POST', '{}/bots/{}/stats'.format(self.BASE, bot_id), json=payload)
  13.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\dbl\http.py", line 140, in request
  14.     raise Unauthorized(resp, data)
  15. dbl.errors.Unauthorized: Unauthorized (status code: 401)
  16. Ignoring exception in command None:
  17. discord.ext.commands.errors.CommandNotFound: Command "addlevel" is not found
  18. Ignoring exception in command prestige:
  19. Traceback (most recent call last):
  20.   File "C:\Users\Jakub\Desktop\Cookie Beta\cogs\econ.py", line 632, in prestige
  21.     await createuser(self.bot, ctx.author, banned=False, prestige=xd + 1, clan=user['clan'])
  22. TypeError: createuser() got an unexpected keyword argument 'clan'
  23.  
  24. During handling of the above exception, another exception occurred:
  25.  
  26. Traceback (most recent call last):
  27.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
  28.     ret = await coro(*args, **kwargs)
  29.   File "C:\Users\Jakub\Desktop\Cookie Beta\cogs\econ.py", line 636, in prestige
  30.     except asyncio.TimeoutError:
  31. NameError: name 'asyncio' is not defined
  32.  
  33. The above exception was the direct cause of the following exception:
  34.  
  35. Traceback (most recent call last):
  36.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\bot.py", line 863, in invoke
  37.     await ctx.command.invoke(ctx)
  38.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 728, in invoke
  39.     await injected(*ctx.args, **ctx.kwargs)
  40.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 88, in wrapped
  41.     raise CommandInvokeError(exc) from exc
  42. discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name 'asyncio' is not defined
  43. Ignoring exception in command prestige:
  44. Traceback (most recent call last):
  45.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
  46.     ret = await coro(*args, **kwargs)
  47.   File "C:\Users\Jakub\Desktop\Cookie Beta\cogs\econ.py", line 583, in prestige
  48.     xd = user['prestige']
  49. TypeError: 'NoneType' object is not subscriptable
  50.  
  51. The above exception was the direct cause of the following exception:
  52.  
  53. Traceback (most recent call last):
  54.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\bot.py", line 863, in invoke
  55.     await ctx.command.invoke(ctx)
  56.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 728, in invoke
  57.     await injected(*ctx.args, **ctx.kwargs)
  58.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 88, in wrapped
  59.     raise CommandInvokeError(exc) from exc
  60. discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: 'NoneType' object is not subscriptable
  61. Ignoring exception in command prestige:
  62. Traceback (most recent call last):
  63.   File "C:\Users\Jakub\Desktop\Cookie Beta\cogs\econ.py", line 632, in prestige
  64.     await createuser(self.bot, ctx.author, banned=False, prestige=xd + 1, clan=user['clan'])
  65. TypeError: createuser() got an unexpected keyword argument 'clan'
  66.  
  67. During handling of the above exception, another exception occurred:
  68.  
  69. Traceback (most recent call last):
  70.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
  71.     ret = await coro(*args, **kwargs)
  72.   File "C:\Users\Jakub\Desktop\Cookie Beta\cogs\econ.py", line 636, in prestige
  73.     except asyncio.TimeoutError:
  74. NameError: name 'asyncio' is not defined
  75.  
  76. The above exception was the direct cause of the following exception:
  77.  
  78. Traceback (most recent call last):
  79.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\bot.py", line 863, in invoke
  80.     await ctx.command.invoke(ctx)
  81.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 728, in invoke
  82.     await injected(*ctx.args, **ctx.kwargs)
  83.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 88, in wrapped
  84.     raise CommandInvokeError(exc) from exc
  85. discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name 'asyncio' is not defined
  86. Ignoring exception in command inventory:
  87. Traceback (most recent call last):
  88.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
  89.     ret = await coro(*args, **kwargs)
  90.   File "C:\Users\Jakub\Desktop\Cookie Beta\cogs\econ.py", line 107, in inventory
  91.     if user['prestige'] != 0:
  92. TypeError: 'NoneType' object is not subscriptable
  93.  
  94. The above exception was the direct cause of the following exception:
  95.  
  96. Traceback (most recent call last):
  97.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\bot.py", line 863, in invoke
  98.     await ctx.command.invoke(ctx)
  99.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 728, in invoke
  100.     await injected(*ctx.args, **ctx.kwargs)
  101.   File "C:\Users\Jakub\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 88, in wrapped
  102.     raise CommandInvokeError(exc) from exc
  103. discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: 'NoneType' object is not subscriptable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement