Discord Bot Image Scraper using PRAW - Error

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • asyncpraw

    Async PRAW, an abbreviation for "Asynchronous Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

  • C:\Users\17734\bot\venv\Scripts\python.exe C:/Users/17734/bot/main.py the ranch! the ranch! horse bot#5576 has joined the ranch! aggie: horse (the-ranch) It appears that you are using PRAW in an asynchronous environment. It is strongly recommended to use Async PRAW: https://asyncpraw.readthedocs.io. See https://praw.readthedocs.io/en/latest/getting_started/multiple_instances.html#discord-bots-and-asynchronous-environments for more info. Ignoring exception in on_message Traceback (most recent call last): File "C:\Users\17734\bot\main.py", line 17, in horse submission = next(x for x in horses_submissions if not x.stickied) StopIteration The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\17734\bot\venv\lib\site-packages\discord\client.py", line 343, in _run_event await coro(*args, **kwargs) File "C:\Users\17734\bot\main.py", line 52, in on_message horses = await horse() File "C:\Users\17734\bot\venv\lib\site-packages\discord\ext\commands\core.py", line 374, in __call__ return await self.callback(*args, **kwargs) RuntimeError: coroutine raised StopIteration

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts