Voice module for `hikari`-based Discord bots
Project description
A lightweight, native voice implementation for hikari-based Discord bots
Latest: 0.2.0a1
|
Python: 3.10+
Overview
hikari-wave is a standalone voice module for hikari that provides direct voice gateway communication without requiring external backends like Lavalink.
It is designed to be:
- Simple to use
- Fully asynchronous
- Native to
hikari's architecture
No separate software. No complex setup. Just voice.
Features
- Native Discord voice gateway implementation
- Clean, async-first API
- Strong typing and documentation throughout
- Supplemental voice events for better control and UX
Installation
pip install hikari-wave
Ensure FFmpeg is installed and available in your system PATH.
Quick Start
Create a basic voice client bot:
import hikari
bot = hikari.GatewayBot("TOKEN")
client = hikariwave.VoiceClient(bot)
bot.run()
Connect to voice when a member joins:
@bot.listen(hikariwave.MemberJoinVoiceEvent)
async def on_join(event):
await voice.connect(event.guild_id, event.channel_id)
Play audio:
@bot.listen(hikariwave.MemberJoinVoiceEvent)
async def on_join(event):
connection = await voice.connect(event.guild_id, event.channel_id)
source = FileAudioSource("test.mp3")
await connection.player.play(source)
That's it.
Status
- Voice connect / disconnect
- Audio playback
- Move, reconnect, resume
- Player utilities (queue, shuffle, next/previous)
- Audio Sources:
- Files
- URLs
- In-memory buffers
- Media sites (YouTube, SoundCloud, etc.) (planned)
- Discord
DAVE(planned)
Documentation
Full documentation is available at: https://hikari-wave.wildevstudios.net/
Contributing
Bug reports and feature requests are welcome via GitHub Issues. Clear reproduction steps and context are appreciated.
License
MIT License © 2025 WilDev Studios
Project details
Release history Release notifications | RSS feed
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 hikari_wave-0.2.0a1.tar.gz.
File metadata
- Download URL: hikari_wave-0.2.0a1.tar.gz
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f941ebfa98a15607ee4dcf4f72c2202cdcc032b541df91df26edfcfcd9aa0c2f
|
|
| MD5 |
a0d4de74985a735a465b9c03407b0933
|
|
| BLAKE2b-256 |
ab3d1c85aeb5026b7dc3987146fd8cff9651ec004d07108608777dedff7b7178
|
File details
Details for the file hikari_wave-0.2.0a1-py3-none-any.whl.
File metadata
- Download URL: hikari_wave-0.2.0a1-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49ba3888d60ce9c8346624bad0fe604cd0e88b6fc8e1070c96744d98d9c45f49
|
|
| MD5 |
a8dca98962e610af3cb722e4b36bfbfa
|
|
| BLAKE2b-256 |
bb3b5cb95ed08f06c47b36e1d03c319d5257e051b4e3d1ef433a51d29d711c13
|