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":
        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.4.0a0-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.0a0-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.0a0-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.0a0-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.0a0-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.0a0-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.0a0-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.0a0-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.0a0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9467a6422fd42609a3029247caded4a174f47f89f4b8c21a4ee0442626562b53
MD5 181b3123a1c24d7c6b0c1f3b07ce5b84
BLAKE2b-256 70f06f7f94ed3e39a3d64e59e8296bd388f4c787f89beae97e3bbf5e07a42194

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a204f0b3794fd08aa30c16a0a04605cd925c08d9e4a24a35a7acebefc9bcec6d
MD5 7bf4c94c7dc479486d7e1bb6350cf61e
BLAKE2b-256 d3122258fabcb7ccca024c13a215b638c53e2a209faf83595d6c87a1c078d62a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 99e5c0031714c35df06086e310913ff4cb775b9443c0a630b653d12b1c83eb72
MD5 eb4a0733487a3266047704f25e979401
BLAKE2b-256 413a1ab0a9b6661e3513acbaa470a91d8fc9961b3e102677a2285b0b5450d277

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8416c08781fb3b3648497711c92076dae44702919110477c925ba3e58629cf2d
MD5 6e1e90b91617629977de4b56a431ad5f
BLAKE2b-256 a1b0bc7e31ba3eafc76ccc1653e76c095450c7e5c7b29202fa00cd0d96351b8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b03133c5e788abb8fea119d402ac0edc71cfe4ce6af01c7c4d2ce993fe8372fc
MD5 229d1191a8c305ac34adfb42fc85add8
BLAKE2b-256 503cb2de6d79e9bd9367ac2b49c5cb9d27976a3b1ad10146a247acdcdcf7c475

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 77e8b67b8d338757679e88d9d759cda015882209995e93f83a3b151b81936210
MD5 c4fc2829c7ce82343e1a743375399bbb
BLAKE2b-256 96930e15f384dd090d59a71cec8ce5573e2500cf3ae096b77cf241fff59d4793

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a0-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bc03ce2610c477e014fe320ed1d86f7fcce30e607d571f63d739d9e23201f2df
MD5 9f8b76d9881b72b2ed0693c4fe8be7a2
BLAKE2b-256 26132d0159a07dc7ba0882e2afa60657e1f4859048f0e5767f13932e30279448

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f3eddd0ecc5bd1c8f67e4ad3777612d60d66b7ad10db08ca68e2e3dd1a3cea25
MD5 b7b58f066f8a44e98328dfa1e313a1e7
BLAKE2b-256 d8915bd0576a4aa2e83d31445e5c9e98de2d06f3bacf34afcb5d3704ef41bde3

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