Code Monkey home page Code Monkey logo

discord-odesli-bot's Introduction

Discord bot for Odesli (formerly Songlink)

Everyone can now enjoy the music you share no matter what platform they use.

This is a simple bot that takes a share URL from your streaming platform and returns a universal link so that everyone can easily enjoy the music you share.

Getting Started

Discord Prep

  1. Create Application via Discord Developer Portal - give it a fun name
  2. Configure your bot via the 'Bot' tab - ensure you have enabled 'message content intent'
  3. Generate and take note of your bot token you will need this when creating your .env file below
  4. Copy your application ID from the general information tab
  5. Add bot to your server using the following link, inserting your application ID after id=: https://discord.com/api/oauth2/authorize?client_id=&permissions=137439217728&scope=bot

Python Prep

  1. Download the source code zip from the releases tab
  2. Install from the requirements.txt How-To
  3. Create a .env file in the package directory and include the following lines: DISCORD_TOKEN=<YOUR-BOT-TOKEN>

Usage

  • Slash Coomand: Enter the URL from your streaming platform and the bot will return a universal link.
  • From Message: Right Click on a message with a URL from your streaming platform and select 'Get Universal link'. The bot will message the channel with the universal link, this message is ephemeral.

Example Usage

Supported Streaming Platforms

  • spotify
  • itunes
  • appleMusic
  • youtube
  • youtubeMusic
  • google
  • googleStore
  • pandora
  • deezer
  • tidal
  • amazonStore
  • amazonMusic
  • soundcloud
  • napster
  • yandex
  • spinrilla
  • audius
  • anghami
  • boomplay
  • audiomack

Credits

Disclaimer

This bot was built as a personal project and is in no way affiliated with Odesli/SongLink. For Odesli's terms of service and API information please refer to https://odesli.co/

discord-odesli-bot's People

Contributors

jordishore avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

boxingoctopus

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.