Discord extensions voice library made with rust
Project description
discord-ext-songbird
Songbird is rust voice manager.
This library is wrapping songbird for discord.py
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
Release history Release notifications | RSS feed
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
Close
Hashes for dextbird-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f276ab3b5adfb21d60942b8900d24930c5e53ae3737ecf3c1139753cddd20724 |
|
MD5 | 52f0558a94a379a1736491fb52bdadff |
|
BLAKE2b-256 | ee89da8b8aa1882f8b713dbfae0c52aa37a31d5a531339a42f012e8ff080685f |
Close
Hashes for dextbird-0.4.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e383e53aba689b36de19ced5293b812354c677ad394c7e527801717ccd910ac8 |
|
MD5 | 45c79452855ccfe93f2b1579b38cd1bc |
|
BLAKE2b-256 | d5883ea2721c737a0f72108d7e9f09e8dc600f9568ed3dc1b464e951a3114cdd |
Close
Hashes for dextbird-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 776339278a25669e8546c7b27fcb70d3d48840a0d27f1ed40679a6d07eb35ee6 |
|
MD5 | 7e1218fdef2afbcf7061607067946782 |
|
BLAKE2b-256 | 354c87c2a11cfd80097b96adada6e52ecb18c181dd85cf04b6ccd6ad8d8bb4ec |
Close
Hashes for dextbird-0.4.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b764b0b13f9c0e7003533b37a36d5ce376a2824f90a5bc0d224a18ae84e5cbc0 |
|
MD5 | 4929977c44a3473a4a69b98c5c71f34d |
|
BLAKE2b-256 | b48abc9323aca5c5e72aecc7f98f3a1e7f33a38ce423bc9c484122a8c9bab756 |
Close
Hashes for dextbird-0.4.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e43aea9b1f02a1f2914a2b674b13cd835c6a81a1cc652cdce0ef76c5aeb7348 |
|
MD5 | 7449c361f56b8cfce30739f70e896612 |
|
BLAKE2b-256 | 834e7bc7b941302b603316a67541c46e78e19bacbb99ad84bebe281c148bcee1 |
Close
Hashes for dextbird-0.4.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25877481b5f1456cf37f4dd0ba077e8dd3f084ee524325da83d51a7690724953 |
|
MD5 | ce4b9ecffeb6ab454a8d38f412e16255 |
|
BLAKE2b-256 | 0b66c10cf75d49f2925ff950fc43c939a1f7f416609942673d968d5bfc8243d1 |
Close
Hashes for dextbird-0.4.0-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c69b5f323cfd9f72d1dabf80f463f1f439743be377520b7721e395b0225b7e |
|
MD5 | 31410cc4ab682251735b753701a5a345 |
|
BLAKE2b-256 | dc089fd238566c8df0663960dc008dd383b8bf5e17b5077a6406ade031255e3d |
Close
Hashes for dextbird-0.4.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9688c61f9cdee4ac301a81ed1071a68ce71e325fefb0c15f8a6898d1c32bee4d |
|
MD5 | cb1435832fd7940d6ddb5480abd7fe7e |
|
BLAKE2b-256 | 7371867b6cad722fe3027f3676ffef6270dea55306718300741596c5d9f3287c |