Skip to main content

Discord extensions voice library made with rust

Project description

discord-ext-songbird

Test songbird

Songbird is voice client which made by Rust.

This library is wrapping songbird for discord.py.

Document

Support

Only macos and linux.

If you are using linux, we are only support this python version. 3.8.10+, 3.9.5+, 3.10.0+

Why I am not supporting windows?

It's too hard for me.

Install

pip install "dextbird @ git+https://github.com/tuna2134/discord-ext-songbird.git"

Sample code

from dextbird import VoiceClient
import discord

import os
import logging


client = discord.Client(intents=discord.Intents.all())
logging.getLogger().setLevel(logging.INFO)


@client.event
async def on_message(message):
    if message.content == "!join":
        vc = await message.author.voice.channel.connect(cls=VoiceClient)
    elif message.content == "!play":
        # Play lycoris recoil
        track = await message.guild.voice_client.ytdl("https://youtu.be/Vi-1402wYtI?si=x_rhftnpQ0fKcfEE")
        track.play()
    elif message.content == "!leave":
        await message.guild.voice_client.disconnect()
    elif message.content == "!stop":
        message.guild.voice_client.stop()


client.run(os.getenv("TOKEN"))

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

dextbird-0.4.9.tar.gz (29.5 kB view details)

Uploaded Source

Built Distributions

dextbird-0.4.9-cp312-cp312-musllinux_1_2_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

dextbird-0.4.9-cp312-cp312-manylinux_2_34_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

dextbird-0.4.9-cp311-cp311-musllinux_1_2_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

dextbird-0.4.9-cp311-cp311-manylinux_2_34_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

dextbird-0.4.9-cp310-cp310-musllinux_1_2_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

dextbird-0.4.9-cp310-cp310-manylinux_2_34_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

dextbird-0.4.9-cp39-cp39-musllinux_1_2_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

dextbird-0.4.9-cp39-cp39-manylinux_2_34_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.34+ x86-64

dextbird-0.4.9-cp38-cp38-musllinux_1_2_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

dextbird-0.4.9-cp38-cp38-manylinux_2_34_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.34+ x86-64

File details

Details for the file dextbird-0.4.9.tar.gz.

File metadata

  • Download URL: dextbird-0.4.9.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.5.1

File hashes

Hashes for dextbird-0.4.9.tar.gz
Algorithm Hash digest
SHA256 8fa01dee4784fb6476252a41f27efed2a55da3b6a014834c33ced616de0b01fc
MD5 ba14b5bba98643b143943f08408acfdc
BLAKE2b-256 73d62727132349cf16b341954cfa25eff2725685e5f743bd227c3711e7ce9773

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 757b634f7e177542618c1282f01a555a8c82fc9af2dcf38beb0dd5c851402579
MD5 a03751bbf03ab0e393d74a4fa0a3e9bd
BLAKE2b-256 2181f8abe981a6b2d6657b5fdab48a1b6d4f48c1811ed7da82f818ef845b6086

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ccc5294d97eba4975794e7cf3c3cd02e735ac51934d65f2c94aba16c71ab7971
MD5 57bff10f3774d5ff8eeb7628435f83dc
BLAKE2b-256 86d13771702cef8cc58c44666ffe634b48f014a29100865cad9e47ff2510dcb5

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ea0a6afb5a17c841f03cf4568c6b0a75390d6c99771816420923cfe361a045c5
MD5 8fc5993e4ecc7d16caccbb2c5830212b
BLAKE2b-256 d289afa9fca8307e4f11a05ffee5eec9745ef4b5e1e4d893f2741f9c450c2649

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f43d23a0d9bcb576dfd0d71953066471b33c5e7ae99074d157e107acfa16507f
MD5 b519bd3bd5be9db1189044099c59fad8
BLAKE2b-256 76c08c83b285bd8b4a96525ffbd18aa82a8a565af7800c103fcd9e3b141afa5f

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 239432e985f31fb36dc8d3652ad20ae8edbd75918f7298c90cb5bc23d9a8bfcc
MD5 836b2e443aa642c61f9747143d018cfd
BLAKE2b-256 05a0e0237b337f3294dda679f878af2bb12adddb3fb8f6c795144418d6dd5800

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f401f87ae680059c54959011fba96282bd9cac9f0953ce0e9c5dd6a98aa3f5e1
MD5 0c41528f5851021c735ff631da3c590b
BLAKE2b-256 6ce04723695fdc7d87fd7eab3b07f12967260a25fad502e6487a5138de740477

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4534d252afdc125eab3d1e16a8ed9c4af17b8969abd3a4babadace2527f2b29e
MD5 635a6e259fd5b513dfed0b0ccd7713f7
BLAKE2b-256 f45e68032d8d479a37656e98ee76fa2d517a9c1a6811b6c3dd70dfe8c40ad701

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c9642890179928ed67d28e35d01f2b389a41568576c7c4231b3ed8f6762d4d05
MD5 91e1359331d76608ef7b98374b6e24b5
BLAKE2b-256 cfe854e26daf75c6e23bf2a710e7cad34176c563bc415d0900cec4ab2bf5aee3

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f7ffcbd6f23262446697c92a72b2ed013765b8c115d089662db34c7dc12d8497
MD5 754c089ffced179ea1f17a475edb1eeb
BLAKE2b-256 eb3351e5bf509fe65d4f006254f1d1470e766940820be5ac618ae9f262ab1333

See more details on using hashes here.

File details

Details for the file dextbird-0.4.9-cp38-cp38-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.9-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7dfd1c199468ca9d9aa1f58fb636ac8866fde25faab412de02e4066fccb97b01
MD5 b02cf96dc735ee4b5831fe6c3b18581e
BLAKE2b-256 110388bf75573fbeb65843e0296b8f16f3e35d4f4cf2168fd430c63bbc382528

See more details on using hashes here.

Supported by

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