Music cog for discord bots. Supports YouTube, YoutubeMusic, SoundCloud and Spotify.
Project description
Nextmusic
A Music cog for discord.py with awesome music commands
Badges
Devloper
Installation
pip install nextmusic
Usage/Examples
import nextcord
from nextcord.ext import commands
from nextmusic.ext import Intents
TOKEN = 'Add your bot token here!'
PREFIX = '!' # Your Bot Prefix
nextmusic = commands.Bot(command_prefix=PREFIX,intents=Intents.intents,case_insensitive=True)
nextmusic.mongo_url = 'If you want auto reconnect & 24/7 feature then add mongodb url'
nextmusic.lavalink_nodes = [
{
"host": "losingtime.dpaste.org", "port": 2124, "password": "SleepingOnTrains"
},
]
nextmusic.spotify_credentials = {
"client_id": "CLIENT_ID_HERE",
"client_secret": "CLIENT_SECRET_HERE",
}
nextmusic.mongo_uri = ''
nextmusic.description ='A music bot powered by nextmusic.'
nextmusic.invite_link='https://araki.social/invite'
nextmusic.support_server_url='https://araki.social/support'
nextmusic.embed_colour = 0x303236
nextmusic.load_extension('nextmusic')
nextmusic.run(TOKEN)
Support
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nextmusic-0.0.6.tar.gz
(12.0 kB
view hashes)
Built Distribution
nextmusic-0.0.6-py3-none-any.whl
(14.6 kB
view hashes)
Close
Hashes for nextmusic-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 142cc7b1e3969ecd85a0cbd58a92b9316e09e69664d368e635ae40e26da55764 |
|
MD5 | a40c01a6ac6b2fca95657d1abe5d5ecf |
|
BLAKE2b-256 | 8c8ec2ace6b1b285f9a835ba9ca27c0f0b8d4de0618102311d19012e21e1bed5 |