Skip to main content

No project description provided

Project description

discord-ext-songbird

Test songbird

Songbird is rust voice manager.

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+

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

dextbird-0.4.0a1-cp311-cp311-musllinux_1_2_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

dextbird-0.4.0a1-cp311-cp311-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

dextbird-0.4.0a1-cp310-cp310-musllinux_1_2_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

dextbird-0.4.0a1-cp310-cp310-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

dextbird-0.4.0a1-cp39-cp39-musllinux_1_2_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

dextbird-0.4.0a1-cp39-cp39-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.34+ x86-64

dextbird-0.4.0a1-cp38-cp38-musllinux_1_2_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

dextbird-0.4.0a1-cp38-cp38-manylinux_2_34_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.34+ x86-64

File details

Details for the file dextbird-0.4.0a1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0f34a7aa95dee3e1c83e493c9a7bcf57ae02878ba127a25e2ec2410fc4d2af06
MD5 5cd2f2f8ae06b07db77603bcc13c3543
BLAKE2b-256 baee0b53ff7169aab784d613cdef1231b91d69b921064762591bea576d217021

See more details on using hashes here.

File details

Details for the file dextbird-0.4.0a1-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 95d7d33f4e4307ef0a26e01d86b1b76adb1a21125ca2d652e8ce80006ab8bb35
MD5 5b77fed93f722da42e14aa17a19ede15
BLAKE2b-256 e8de1d52170570dac83c88f020bc41432962e23b7887c07ed49d091a85afe0ae

See more details on using hashes here.

File details

Details for the file dextbird-0.4.0a1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 803d2308dbf8ee11116cafc89c1b888d491487a6a7a667a18115961ee4fcaccc
MD5 d10a90340dab714aff364d8fe65f8ba6
BLAKE2b-256 fb88b6eb5f09d71015d4aecec43fafc7d4bd8d2a8b5091c496c4f2813e80a4c7

See more details on using hashes here.

File details

Details for the file dextbird-0.4.0a1-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3254b096d78f531bf77368f501471a5e0423bbcca4a0548038333dfca9c27cc1
MD5 3fdd2195118f689584c603e90e844d34
BLAKE2b-256 4f8ade6d48f5e954d388f185a02650ddd001d03c1c998f0e350736bcea3e113d

See more details on using hashes here.

File details

Details for the file dextbird-0.4.0a1-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a1-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9f3fc4469cec3d5b90f95320c32a1811e3d79250f52ead02fdb2f15fd23638de
MD5 400fd586ff92a484fe3bcc7179dcf93d
BLAKE2b-256 aa328f7d7b76c9a8ae5eedb159f683ab30e8188dda9f5caa730e714f4fb76cb8

See more details on using hashes here.

File details

Details for the file dextbird-0.4.0a1-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a1-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8fa3f967cce67d9cea839d21ddeef30e3e99e360c4dafbb9cf8400e4262bedec
MD5 a20cfbdf2a69462d0b5f69882bd9bf20
BLAKE2b-256 fae6dcecd2394da86280628abe2991795d1898227b1ed095397121c08c3f2d9a

See more details on using hashes here.

File details

Details for the file dextbird-0.4.0a1-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a1-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6bc61ec73e488abcbcbd5806605c8d61f59f57f6f4cdb60d3751bf3a6b569232
MD5 1b39aa218b8a728fd4d9d338208460a1
BLAKE2b-256 4ed1c7024a58d59c1cad8d620722bfd47ce75113b816bc5e3aaa801fc5de51a8

See more details on using hashes here.

File details

Details for the file dextbird-0.4.0a1-cp38-cp38-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a1-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 48f2ad4520c7a8b6a1310ddd46281f519934d97e996854920983799ebd430af1
MD5 e8d6209cef780043b22af381ada73730
BLAKE2b-256 6ce9e5aea362131e36ead4ea77fc939869f5896b6a0514eb4c88f6f460095101

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