Questions tagged [asyncpraw]

Async PRAW, an abbreviation for “Asynchronous Python Reddit API Wrapper”, is a Python package that allows for simple access to ’s API. Async PRAW aims to be easy to use and internally follows all of Reddit’s API rules. With Async PRAW there’s no need to introduce sleep calls in your code. Give your client an appropriate user agent and you’re set.

17 questions
0
votes
1 answer

Discord.py meme command takes a lot of time

I am making a bot in discord.py and have a fully working meme command using asyncpraw (praw did not work). But it takes a lot of time around 8-10 seconds for the meme to appear. Is there any way to reduce the time? Here is the code…
ChaoticNebula
  • 263
  • 1
  • 3
  • 18
-1
votes
1 answer

Praw & Discord.py: The bot keep sending the same meme. I want the bot to send different meme whenever it is asked

I am trying to create a listener for meme. The bot will respond to the message when it has "meme" in it. It has to send a meme. I am using Praw for that purpose. This is the code I have written: @nd.listen() async def on_message(message): if…
Bhavyadeep Yadav
  • 819
  • 8
  • 25
1
2