curious is a Python 3.6+ library to interact with the Discord API.
Installation
Curious is available on PyPI under discord-curious:
$ pip install -U discord-curious
Or for the latest development version:
$ pip install -U git+https://github.com/Fuyukai/curious.git#egg=curious
Basic Example
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/.
Metadata
Release files for discord-curious 0.7.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| discord-curious-0.7.9.tar.gz | 143.9 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discord_curious-0.7.9-py3.7.egg | Legacy Egg format | - | - | Details |
| discord_curious-0.7.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 452.2 kB
Release files / discord-curious-0.7.9.tar.gz
| Download URL | discord-curious-0.7.9.tar.gz |
|---|---|
| Size | 143.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8125001de48d7841dd6bf30190983b50eb317824fb13f19bcd9001d2fc19f004
|
|
BLAKE2b-256 checksum How to use checksums |
0daab45805b08846a3d9304f7c515ce9fb7dc1b21340dd68228298ee625172a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/36.5.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/3.6.5
|
Release files / discord_curious-0.7.9-py3.7.egg
| Download URL | discord_curious-0.7.9-py3.7.egg |
|---|---|
| Size | 152.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
a08f76fc72bf6796d73546e5ca103e010ae38cea2b34e4a83d4613b149316087
|
|
BLAKE2b-256 checksum How to use checksums |
d21ef152fbdef06ddcd8e2edd2da90c6d9ef58bb167fb36d22af6e17c618b626
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/36.5.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/3.6.5
|
Release files / discord_curious-0.7.9-py3-none-any.whl
| Download URL | discord_curious-0.7.9-py3-none-any.whl |
|---|---|
| Size | 155.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e766a10b6c315e4c5b5d9c25f1c858088679154b206fcedffd8c03ad5035d841
|
|
BLAKE2b-256 checksum How to use checksums |
a265e6c5c8395fe0a0c8734d900b2773b1bd6205e69383ef77e7d1e13f8de1b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/36.5.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/3.6.5
|