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 Distribution
dextbird-0.4.6.tar.gz
(2.1 MB
view hashes)
Built Distributions
Close
Hashes for dextbird-0.4.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f6afc48df04b18b220f1da6610e63032eed39aedaa9d5497dd8d11b6851e98 |
|
MD5 | bc93a6365c70b8140ef6d04403fcc59a |
|
BLAKE2b-256 | e7775c365bc2bf6c54a715b5d5ff7fc07081dddff6ab5f601c95e110e8774856 |
Close
Hashes for dextbird-0.4.6-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55b8c750242196c8a76236b3c6e3fa65b4206ff051a8b6239eb11a90e3fe049e |
|
MD5 | 371fb588bf87dd5ef400335c42c852b1 |
|
BLAKE2b-256 | 96ec634bf84705ae39a0eca7b3b570bd7071a833d299426e31c829c0222bd06e |
Close
Hashes for dextbird-0.4.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94d106f702ade01516f46ebcc8b19c90e7f0adbf19702a598b9cbe1bd61795fd |
|
MD5 | 6e0680b92a26acc2ca74f0bb47694b0e |
|
BLAKE2b-256 | cef3877dcf8da83a6b6bd2bdc109956afd999e768b553026a9c9d3cc49a8c3f2 |
Close
Hashes for dextbird-0.4.6-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66127ae81e9f98ccf4187fa4bb6adcad5d00740f1e30a0f1cb5856e6c4dff721 |
|
MD5 | 0b2eab143ce9d3bae99842d448ddcc59 |
|
BLAKE2b-256 | 1195d55212a7504160204058536fae57414b34f556f2daf2a8f9faa22af7d4f6 |
Close
Hashes for dextbird-0.4.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b83f7203fee496bf9f626aef86fc9c74e3469f5833870bbe95a40291cdd81f0 |
|
MD5 | 7d88c059c6f03960fa7d368eb17ffdf8 |
|
BLAKE2b-256 | dc9ba6092642692c72104bdd6cf39c34f0f05a65e654f553bc62d8e92c2dc317 |
Close
Hashes for dextbird-0.4.6-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb37c6c02808c177f47b4946c4962ea1235c4009600f256ed230dabb6ea84805 |
|
MD5 | 8ca7b0d8e00563f6dab212e250a60f42 |
|
BLAKE2b-256 | 77a106574cdcf1a172f26804593a168b65e9d85fd70d65fd0f8fdd2377f6a7bb |
Close
Hashes for dextbird-0.4.6-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b09635f6549c01d24c11dd4c589b09234d11e226c9e85e1eadeab677e4dfb5 |
|
MD5 | 82c9a7ce17e5c2a796567d3a21e6d217 |
|
BLAKE2b-256 | 801b0ac0aae3de73fb108f8661ef6de775f1e8d6bfd087ee9cf57b4abcfa6ec9 |
Close
Hashes for dextbird-0.4.6-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1c65b88e5855947f1a982791740956cd249e17ddf5a83a5fada0668b1f1998a |
|
MD5 | 19ee48b8e4e726ba50e1530cb51859bb |
|
BLAKE2b-256 | a7d2eaef8679b9d0b24ee83c12cf1e5331dc207f3dc34d204bd48a1c95a1ce95 |
Close
Hashes for dextbird-0.4.6-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e83310100b12fff032de968f448624a71ac90a5857d0819685b3eda90ede82a |
|
MD5 | 06939b9facad1c6133f783cf2edbd2d5 |
|
BLAKE2b-256 | 306feee7728d9807bd87c0897e5b95bac91a50c6a6f28ea1ea8129d1b0055ec9 |
Close
Hashes for dextbird-0.4.6-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 290a987d5e376a4772b12d6ffb01282380dfa97c375662bb77f803e0aa565c59 |
|
MD5 | c46a1a7753e71b8e517406dff02a5fef |
|
BLAKE2b-256 | 1aa50ca841ed75ad4aea63d129773b7b9805fdea9df769e74f00114f3eccdf6a |