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

discord-curious

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-curious

An async library for the Discord API

  • 0.7.9
  • PyPI
  • Socket score

Maintainers
1

Curious

curious is a Python 3.6+ library to interact with the Discord <https://discordapp.com>_ API.

Installation

Curious is available on PyPI under discord-curious:

.. code-block:: bash

$ pip install -U discord-curious

Or for the latest development version:

.. code-block:: bash

$ pip install -U git+https://github.com/Fuyukai/curious.git#egg=curious

Basic Example

.. code-block:: python3

from curious import BotType, Client, Message

cl = Client("token", bot_type=BotType.BOT | BotType.NO_DMS)


@cl.event("ready")
async def ready(ctx):
    print("Ready on shard", ctx.shard_id)


@cl.event("message_create")
async def handle_message(ctx, message: Message):
    print(f"{message.author.user.name} said '{message.content}'")

cl.run(shards=1)

Documentation

See the documentation at https://curious.readthedocs.io/en/latest/.

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