xyberos-discord
Discord bot API plugin — RFC-0019, M7 (community wave). Send messages and inspect channels from Xyberos agents via the Discord bot API (v10). Stdlib-only with an injectable transport for tests.
Install
pip install -e ./discord
Usage
from xyberos import create_app
from xyberos_discord import DiscordPlugin
app = create_app()
app.load_plugin(DiscordPlugin()) # token from DISCORD_TOKEN
app.tools.execute("discord_send_message", None, channel_id="111", content="hello")
app.tools.execute("discord_get_channel", None, channel_id="111")
Tools
| Tool | Notes |
|---|---|
discord_send_message(channel_id, content) |
post a message |
discord_get_channel(channel_id) |
channel metadata |
Requires DISCORD_TOKEN (a bot token; auth sent as Authorization: Bot ...).
Tests
pip install pytest
pytest tests/
Canned responses via an injectable transport — no network.
Ship location
Plugin (xyberos.plugins entry point) — community wave (M7).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xyberos_discord-0.1.0.tar.gz.
File metadata
- Download URL: xyberos_discord-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3e1cfe53f70cff80a3a24dc2192edf7c1402f967e054365056015981bb7e79d
|
|
| MD5 |
7c542f8247d14cbb4f622dc29700b220
|
|
| BLAKE2b-256 |
0c8ed839b3b178146a93d6b20881726393f3fd7ecc5fe6c8f9dc496488e3be27
|
File details
Details for the file xyberos_discord-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xyberos_discord-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2e320c09a3dce6b6d553b9cd333a8e08576277537d520d34e0fecf851389183
|
|
| MD5 |
bb9022b07317bb39db28834faca9b17b
|
|
| BLAKE2b-256 |
a2e7883d34377e4a6338c5f666296adcf747dfbc58c0416f2dc6c040f2edc767
|