Skip to main content

Voice module for `hikari`-based Discord bots

Project description

A lightweight, native voice implementation for hikari-based Discord bots

Latest: 0.1.0a2  |  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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hikari_wave-0.1.0a2.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hikari_wave-0.1.0a2-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file hikari_wave-0.1.0a2.tar.gz.

File metadata

  • Download URL: hikari_wave-0.1.0a2.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for hikari_wave-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 bf6eff2f6328bf28c0b5bff66393ead5695842770f54f4f0815916907a3a31e7
MD5 1eaaf1c58ebd657dea32a32adefd29f1
BLAKE2b-256 57cbb920189417cf403e076be78da8ef6e6dd7f7ee42232d1864c9b598f3d28a

See more details on using hashes here.

File details

Details for the file hikari_wave-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: hikari_wave-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for hikari_wave-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 abf2058caa113dd4426001fe1c0cf474e84288fa45db0545546f6210595ef547
MD5 f5b697cb8673a39e8db402081391e519
BLAKE2b-256 f0a9ce4481fa4e7352864e00005f423cef828c6508caee6264dc67c2aabebddd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page