Giter Club home page Giter Club logo

noteblock's Introduction

@noteblock (An open-source music bot based on lavalink.) 🤖: Version: 1.3.0.

🎵 | Listen to a music with style! Feature rich with high quality music from YouTube/Soundcloud.

Self Hosting

  • Fill config.js
  • rename .env.scheme to .env
  • Node.JS requirements 16.6.x

Slash Commands

if you want to use the slash commands do:

  • go to config.js
  • if updateSlash show false change to true
  • start bot
  • change again to false

you only can do this if the bot doesnt have slash commands.

Running The Code

  • npm i
  • npm start
  • npm start:normal (for normal start, not running bash file, if your machine does not support node.js v16)

Plugin Used

  • better-erela.js-spotify Link
  • erela.js-deezer Link

Feature

  • Spotify support (no api key required)
  • Lavalink
  • Lightweight

Replit

  • Go to replit.com and create account
  • Click Create and then Import From Github
  • Paste the link E.g https://github.com/KagChi/noteblock
  • get your bot token Discord Developer Portal
  • paste your token to .env with variable DISCORD_TOKEN= yOuR nIcE tOkEn
  • run the code

Glitch

  • Go to glitch.com and create account
  • Click New Project and then Import From Github
  • Paste the link E.g https://github.com/KagChi/noteblock
  • get your bot token Discord Developer Portal
  • paste your token to .env with variable DISCORD_TOKEN= yOuR nIcE tOkEn

Disclaimer

  • please support the project by give the project star
  • please don't sell the code under any circumstances, the code will always free.

noteblock's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar iimu7ammad avatar kagchi avatar renovate-bot avatar renovate[bot] avatar sinkaroid avatar xayanide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

noteblock's Issues

queueEnd

is there any way to make the bot stay in the vc for n minutes even after the queue is ended and then leave the vc after n minutes. i tried editing the queueEnd listener but i cant seem to make it work

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency eslint to v9
  • chore(deps): update github/codeql-action action to v3
  • fix(deps): update dependency discord.js to v14
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v2
  • github/codeql-action v1
  • github/codeql-action v1
  • github/codeql-action v1
.github/workflows/node.js.yml
  • actions/checkout v2
  • actions/setup-node v2
npm
package.json
  • @discordjs/builders 0.14.0
  • axios 0.26.0
  • better-erela.js-apple 1.0.5
  • better-erela.js-spotify 1.3.11
  • common-tags 1.8.2
  • discord.js 13.10.3
  • dotenv 16.0.0
  • log4js 6.5.2
  • ms 2.1.3
  • eslint 8.9.0
  • eslint-config-airbnb-base 15.0.0
  • eslint-plugin-import 2.25.4
  • node >=v16.x

  • Check this box to trigger a request for Renovate to run again on this repository

Import to Autocode

How do i import the bot code to autocode and get it to start working??

skip and forceskip commands

Maybe an idea to add the ability to have the "skip" command work in a way so multiple people have to use the command.

Second command for X role (multiple roles) "forceskip"

Missing Permissions

When a user is connected to a private voice chat and requests a song where the bot cannot join ( private voice chat and the bot has no
admin role ), the bot breaks and stops working. Kindly look into these permission issues.

Screenshot:
image_2022-01-23_231112

could not start on replit

i can't run in replit, it always says [Symbol(code)]: 'TOKEN_INVALID']
because i can't rename .env.scheme to .env
how to solve it?

node main disconnected

sometimes i got this error [2021-04-18T06:35:14.587] [WARN] NOTEBLOCK - NODE [NODE-MAIN] DISCONNECTED , any solution?

Headers Timeout Error

When i'm trying to PLAY a music or something, its gives me this error:

2022-06-03T00:12:06.859354+00:00 app[worker.1]: �[32m[2022-06-03T00:12:06.859] [INFO] NOTEBLOCK - �[39m[ADMIN] USING [PLAY] COMMANDS
2022-06-03T00:12:06.551157+00:00 app[worker.1]: �[91m[2022-06-03T00:12:06.551] [ERROR] NOTEBLOCK - �[39mHeaders Timeout Error
2022-06-03T00:12:24.607376+00:00 app[worker.1]: �[91m[2022-06-03T00:12:24.607] [ERROR] NOTEBLOCK - �[39mHeaders Timeout Error
2022-06-03T00:12:24.832230+00:00 app[worker.1]: �[32m[2022-06-03T00:12:24.832] [INFO] NOTEBLOCK - �[39m[ADMIN] USING [PLAY] COMMANDS

Discord POV :

⛔ | An error occured

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.