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.

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":
        await 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.3.4-cp311-cp311-musllinux_1_2_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

dextbird-0.3.4-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.3.4-cp310-cp310-musllinux_1_2_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

dextbird-0.3.4-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.3.4-cp39-cp39-musllinux_1_2_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

dextbird-0.3.4-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.3.4-cp38-cp38-musllinux_1_2_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

dextbird-0.3.4-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.3.4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.3.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 526e5dd7a9b3bfaa9e40ad323b7c6445223d5d549191eaad1b38b44bc8da21f5
MD5 89548c2670b2931cfa995b864058fb71
BLAKE2b-256 47c3816af70a03e43b4c3ca6529df45a42ecddffc18c811fa1bc997985a9944b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.3.4-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3293949f27bf4f6a1af587cd607a28ac7be897c31f318ee3d6427872f0841487
MD5 234451732b7efcee6a19e1fb9221d9a3
BLAKE2b-256 88327f1eed8b2408e926499ba2e22c93af9fc2f0ef59c86369949a980df1e0c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.3.4-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ee7faf6a8b1efb2ab07e4e007d472e9839b8c3bc9f136fec86c16f2d95469046
MD5 61a02c1fb08fd25f1c380c39c7cfa45d
BLAKE2b-256 b10577dd6ebd2ad7599250101be746b20caa75c916286f1eb8b3458c9e7e0d34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.3.4-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a82f1af85c49ebd420b5325f3416bf2f4f901b6381b97187debceaaa52102e54
MD5 634359c6009e86ed1fea744779b9798f
BLAKE2b-256 66d619bed5e57217841f5c093d32490144b58f9922d20150ce4b6c5a97d45b44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.3.4-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 48459cdd5a85a28e3a107300095a22275ccf66eada6fafcd4068df87548bc531
MD5 37dc78631f9bba2103bdb8ab6cec011f
BLAKE2b-256 2c3162d4aded9aa508f195f352cb542d59f879661e4725ec299e153b8c449739

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.3.4-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1a20c20a420baab248985b976ab6085f9711da2f4742d1a5944b297b51df06aa
MD5 7c7f9b7069bf81b9cffe3f3021b1496d
BLAKE2b-256 06e337f55218b54ca0b54d69d4887b97b021f61c53ecfce3cd8960f5deef2ac5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.3.4-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 46e6bdc8f28cd75560f29561c2fc08db74c55196a1375d4f57da3cca83480e99
MD5 b05d09fc8c54b0bab76a6c4abf632435
BLAKE2b-256 9a1bc78a4cfcdad7f83499eba63f5acfa728018289ce498b9cd8efe5051a137f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.3.4-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ea9da2411a6c3468eab805bca61e9d8492e65c7b19729834b294355352c084d2
MD5 80f42c678a60589e6cee63d17aa401cf
BLAKE2b-256 f042bc28f4b7b3008f64c2669353457e5128941100ebad5af2d479b2ee2d8e7d

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