discord-ext-rx
Work In Progress!
Combine RxPy with discord.py.
Example
from discord.ext.rx import RxBot, _
from rx import operators as ops
bot = RxBot()
bot.messages.pipe(
ops.filter(lambda m: m.author.id == 121678432504512512),
ops.filter(lambda m: m.content == '418'),
ops.map(lambda m: m.channel)
).subscribe(
_(lambda c: c.send("I'm a teapot!"))
)
bot.run('token')
Release files for discord-ext-rx 0.1.0
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-ext-rx-0.1.0.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discord_ext_rx-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / discord-ext-rx-0.1.0.tar.gz
| Download URL | discord-ext-rx-0.1.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dec6329c5ff4140137999112f35752c8d0e169e545e2ae182e979d6267828728
|
|
BLAKE2b-256 checksum How to use checksums |
101ab879cb7457bfddfb6315ecb0daf4e683137e8af28bf22cf0e36f27be1e47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|
Release files / discord_ext_rx-0.1.0-py3-none-any.whl
| Download URL | discord_ext_rx-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce80b91dd185e58e7e557bbb95483c6bafab49cd3961f7ac26ff3432a4f27a5d
|
|
BLAKE2b-256 checksum How to use checksums |
2007164109eff0cfe36cb312e1602aaf6a31b4f62f7ddc549e9a256490ccd9d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|