Skip to content

Instantly share code, notes, and snippets.

View GuardianSecurity's full-sized avatar

GuardianSecurity

View GitHub Profile
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
ret = await coro(args, kwargs)
File "/bot/commands/config.py", line 272, in set
if not await self.client.has_voted(ctx.author.id):
File "/bot/basebot.py", line 253, in has_voted
data = json.loads(await request.text())
File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
ret = await coro(args, kwargs)
File "/bot/commands/config.py", line 272, in set
if not await self.client.has_voted(ctx.author.id):
File "/bot/basebot.py", line 253, in has_voted
data = json.loads(await request.text())
File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
ret = await coro(args, kwargs)
File "<repl>", line 10, in try_prefixes
File "/usr/local/lib/python3.8/site-packages/discord/message.py", line 762, in delete
await self._state.http.delete_message(self.channel.id, self.id)
File "/usr/local/lib/python3.8/site-packages/discord/http.py", line 223, in request
raise NotFound(r, data)
discord.errors.NotFound: 404 Not Found (error code: 10008): Unknown Message
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
ret = await coro(args, kwargs)
File "<repl>", line 10, in try_prefixes
AttributeError: 'list' object has no attribute 'delete'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 892, in invoke
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
ret = await coro(args, kwargs)
File "<repl>", line 6, in try_prefixes
TypeError: delete() got an unexpected keyword argument 'delete_after'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 892, in invoke
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
ret = await coro(args, kwargs)
File "<repl>", line 6, in try_prefixes
TypeError: delete() got an unexpected keyword argument 'after'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 892, in invoke
@GuardianSecurity
GuardianSecurity / tokenleak.md
Created October 23, 2020 21:46
Posted by Guardian
@GuardianSecurity
GuardianSecurity / tokenleak.md
Created October 23, 2020 21:45
Posted by Guardian
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
ret = await coro(args, kwargs)
File "<repl>", line 13, in translate
NameError: name 'messsage_text' is not defined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 892, in invoke
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
ret = await coro(args, kwargs)
File "<repl>", line 13, in translate
File "/usr/local/lib/python3.8/site-packages/discord/abc.py", line 870, in send
data = await state.http.send_message(channel.id, content, tts=tts, embed=embed, nonce=nonce)
File "/usr/local/lib/python3.8/site-packages/discord/http.py", line 225, in request
raise HTTPException(r, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50006): Cannot send an empty message