Metadata-Version: 2.0
Name: discord-curious
Version: 0.7.6.dev1
Summary: An async library for the Discord API
Home-page: https://github.com/SunDwarf/curious
Author: Laura Dickinson
Author-email: l@veriny.tf
License: LGPLv3
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Framework :: Trio
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.6.2
Requires-Dist: lomond (<0.2,>=0.1.13)
Requires-Dist: pylru (==1.0.9)
Requires-Dist: oauthlib (<2.1.0,>=2.0.2)
Requires-Dist: pytz (>=2017.3)
Requires-Dist: asks (<1.4.0,>=1.3.0)
Requires-Dist: multidict (<4.2.0,>=4.1.0)
Requires-Dist: multio (<0.3.0,>=0.2.1)
Requires-Dist: async-generator (~=1.9)
Requires-Dist: typing-inspect (>=0.2.0)
Provides-Extra: docs
Requires-Dist: sphinx-py3doc-enhanced-theme; extra == 'docs'
Requires-Dist: sphinx; extra == 'docs'
Requires-Dist: sphinxcontrib-asyncio; extra == 'docs'
Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
Provides-Extra: voice
Requires-Dist: opuslib (==1.1.0); extra == 'voice'
Requires-Dist: PyNaCL (==1.0.1); extra == 'voice'

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/.


