Skip to main content

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

MIT License GPLv3 License AGPL License

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

Devlopement Server

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)

Uploaded Source

Built Distribution

nextmusic-0.0.6-py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 3

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