Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asyncdagreq

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asyncdagreq

An async wrapper made in Python for Dagpi.

  • 1.2.0
  • PyPI
  • Socket score

Maintainers
1

unofficial DagpiWrapper

Async Wrapper for Dagpi

| OFFICIAL DAGPI WEBSITE <https://dagpi.xyz/>__ | OFFICIAL GITHUBREPO <https://github.com/Ali-TM-original/asyncdagreq>__

Author: Ali™ AKA Ali-TM-original


Just A small project to imporve my skills in Object Oriented
Programming, inspired from my previous discord.py canny command

| NOT READY FOR USE YET
| tasks remaining:
|  [STRIKEOUT:1>Error Detection]

::

    2>.Testing
    3>.Get this up and running on pypi

CURRENT STATE : Functional
--------------------------------------------

Usage with discord.py (till now)
================================================================

super simple

**Roast**

::

    from asyncdagreq import Client
    import json

    object = Client.Asyncdagreq('your token')

    @bot.command()
    async def roast(ctx):
        roast = await object.roast()
        x = roast.decode("utf-8")
        j = json.loads(x)
        await ctx.send(j['roast'])


**USING IMAGE METHODS**

::

    from asyncdagreq import Client
    import json

    object = Client.Asyncdagreq('your token')

    @bot.command()
    async def captcha(ctx):
        url = str(ctx.message.author.avatar_url_as(format="png", static_format="png", size=1024))
        img = await object.captcha(str(url), "hello")
        file = discord.File(img, "pixel.png")
        await ctx.send(file=file)




FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc