Giter VIP home page Giter VIP logo

discordbot's Introduction

DiscordBot

A music recognition bot for Discord. Uses the Music Recognition API.

Try it on our server!

Discord bot

How to run it:

  • Get a token from AudD and copy it to the AudDToken in config.json
  • Create an application here: https://discordapp.com/developers/applications
  • Copy the secret to the DiscordToken in config.json and the Client ID to DiscordAppID in config.json
  • Create a bot
  • Build the binary (e.g. go build -v ./...) or download one compiled by GitHub and run it (e.g., ./discordBot)
  • Open https://discordapp.com/api/oauth2/authorize?client_id=<INSERT CLIENT ID HERE>&permissions=277026819136&scope=bot%20applications.commands and add the bot to a server

Please note that to be able to identify music from messages you replied with "!song" to, the bot needs access to the privelleged Message Content intent.

How to use it

  • To identify a song from an audio/video file or a link, reply to it with !song or or right-click on the message and pick App -> Recognize This Song
  • To recognize music from a voice channel, send !song @mention or /song-vc slash command, mentioning the person who is playing the song (like !song @MusicBot)
  • If you want the bot to listen to a channel so it can immediately recognize the song from the last 15 second of audio, type !listen or use the /listen slash command.

How to use it with the streams

If you have a stream, with this bot you can automatically post all the songs to Discord.

Discord bot

How to run it for streams

The bot prints IDs of all the text channel it has access to when it restarts or is being added to a new server or on the !here command.

discordbot's People

Contributors

mihonarium avatar happyllama25 avatar

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.