Skip to main content

Discord extensions voice library made with rust

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.0a2-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.0a2-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.0a2-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.0a2-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.0a2-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.0a2-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.0a2-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.0a2-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.0a2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dextbird-0.4.0a2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f30b617a8c5762316ef32192def1b7023a6763413841dc2ff47ce135d0f27c93
MD5 8dc53763d9025ace89bd8edfc2f1d48d
BLAKE2b-256 ea710ea20653d4f3266141ca8fa99fd9ddb30f17ef3c037da122c9860a32764d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ca77cccad37687f5331c60f94dafbf6571d7df2b3ae6e3cac01f1f486b80435d
MD5 f21c295a0a11999fd252ee7e42766055
BLAKE2b-256 b95a897b8c5b084e3301e79103b534d710788166b33852d60d71b9dc036f25c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1708eeccbef48380c48018ed8438a281f4e465d163f4b2e8d8004a4930b51076
MD5 f82998c135ce22439b629aa733faa930
BLAKE2b-256 d1cb96c5127b223489de9c6f58d34b12544307562ea29ec64cbee97ab3214568

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a2-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1ec105499ea6015b3f7de6678d598e00ff952c497f3d206e32c5c1b339af7d97
MD5 144ef22c4c89273cd29d915d153b07f2
BLAKE2b-256 9a48f7a19fd8e526dbd6d2ce68615e08314b7717c5b0353ceb29583d382ba786

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 16c4ed53203ff7115a881550426333e45c6e79b737b1255d65a1d9b6ff388d01
MD5 ba745df4ee66e69d9363f700acc21ca0
BLAKE2b-256 a269c36d70b3f153c762731bbe6727a4be246fe65361b91a9d20dcdcf905a58f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a2-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5520c333ce34835d6da93459e7b383a34cc27b7dea75ad4fc3cb3ebee5677bfb
MD5 dab913cd0d8c952cdc9686074b0dce62
BLAKE2b-256 d389ba67457961e7ac513305c1b660de4aca60b8dc24a7425a7e661b1b4ec071

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a2-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b04da4a0d6e3c60b61eea8a2d73d9101c9d2bba67e007ba901305ad5255165e9
MD5 31a7a6a42130e8a23214504b05e63fa1
BLAKE2b-256 983b98565f4ab299cefeb9e88bdf7dc9d1d54ee82d6ce65e7392ad094d133d19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dextbird-0.4.0a2-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f924472e122dc6dcfeb9a45d86c322408aa04289da76cbdd24dedbd5021ca898
MD5 fd324e550a7a47fbb96e706d0119ab04
BLAKE2b-256 6e1858304f29947bbbb73dda771e44605f96333c94b02c92978e39006266362c

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