Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ignoring exception in on_message
- Traceback (most recent call last):
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\client.py", line 307, in _run_event
- yield from getattr(self, event)(*args, **kwargs)
- File "C:\Users\Austin\Desktop\chillbot.py", line 32, in on_message
- for submission in subreddit.hot(limit=5):
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\praw\models\listing\generator.py", line 52, in __next__
- self._next_batch()
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\praw\models\listing\generator.py", line 62, in _next_batch
- self._listing = self._reddit.get(self.url, params=self.params)
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\praw\reddit.py", line 367, in get
- data = self.request('GET', path, params=params)
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\praw\reddit.py", line 472, in request
- params=params)
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\prawcore\sessions.py", line 179, in request
- params=params, url=url)
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\prawcore\sessions.py", line 110, in _request_with_retries
- data, files, json, method, params, retries, url)
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\prawcore\sessions.py", line 95, in _make_request
- params=params)
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\prawcore\rate_limit.py", line 32, in call
- kwargs['headers'] = set_header_callback()
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\prawcore\sessions.py", line 139, in _set_header_callback
- self._authorizer.refresh()
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\prawcore\auth.py", line 299, in refresh
- self._request_token(grant_type='client_credentials')
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\prawcore\auth.py", line 138, in _request_token
- response = self._authenticator._post(url, **data)
- File "C:\Users\Austin\AppData\Local\Programs\Python\Python36\lib\site-packages\prawcore\auth.py", line 31, in _post
- raise ResponseException(response)
- prawcore.exceptions.ResponseException: received 401 HTTP response
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement