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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nextmusic-0.0.6-py3-none-any.whl
(14.6 kB
view details)
File details
Details for the file nextmusic-0.0.6.tar.gz.
File metadata
- Download URL: nextmusic-0.0.6.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d76250b793b4285041d82520bda28c68fe0bdd15fb7953288a7c21041f00b60
|
|
| MD5 |
c943029a8e21a98bd102b0d0ec692b15
|
|
| BLAKE2b-256 |
c64b9a65e007e1f3151483311cde9403640e524bcb24b23bc3795d6414f5e2b8
|
File details
Details for the file nextmusic-0.0.6-py3-none-any.whl.
File metadata
- Download URL: nextmusic-0.0.6-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
142cc7b1e3969ecd85a0cbd58a92b9316e09e69664d368e635ae40e26da55764
|
|
| MD5 |
a40c01a6ac6b2fca95657d1abe5d5ecf
|
|
| BLAKE2b-256 |
8c8ec2ace6b1b285f9a835ba9ca27c0f0b8d4de0618102311d19012e21e1bed5
|