Giter VIP home page Giter VIP logo

spincord's Introduction

record Spincord

Spincord CI/CD MIT License GitHub Release Code of Conduct

A Discord bot for music nerds that helps you easily get info about any album or artist on Discogs in any Discord server. More info at https://kamranpayne.com/spincord.

Stack

Spincord is a Typescript and NodeJS app that authenticates with the Spincord Discord bot user using discord.js. The Discogs REST API is used to query for album, artist, and marketplace data. The source is linted with eslint, unit tested with JEST, and uses GitHub Actions for automated CI/CD.

Contributing

Read the CONTRIBUTING docs for contributor info. Be sure to take a look at the CODE OF CONDUCT too while you're at it.

Website

The Spincord website is a Jekyll blog maintained on the gh-pages branch and served by GitHub Pages.

spincord's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dantco bcktlk

spincord's Issues

Artist Info

Relevant or proposed chat command

  1. !artist <Artist name, e.g. "Michael Jackson">
  2. !artistart <Artist name>
  3. !artisturl <Artist name> <optional substring, e.g. "facebook">

Is your feature request related to a problem? Please describe.
Would like to get a summary of artist info from discord chat

Describe the solution you'd like

  1. returns the first hit of https://www.discogs.com/search/?type=artist&q=<Artist name> - with for example the following - maybe not the Sites yet.

image

  1. return the first hit of the Artist's cover image, only (similar to !albumart)

  2. return the urls of the Artists sites, filtered to the one that includes the optional substring

artistpic and albumart don't show image properly anymore

Getting a downloadable .jpeg instead of an embedded image back, on the albumart and artistpic commands (at least)
image

Discord desktop client for Windows:
Stable 126213 (75b3f22) Host 1.0.9004 Windows 10 64-Bit (10.0.19044)

Bot does have permissions: Send Messages, Embed Links, Attach Files, Use Application Commands

"now using slash commands" notification

Now that you've migrated the bot to Discord's new slash commands, I'd love to see a little blurb when trying to use the old system- just in case anyone missed the memo.

Maybe just a brief message whenever users attempt to use !spincord? Something along the lines of "Hey, we're using slash commands now, blah blah blah."

Love the project dude, looking forward to using it more. ๐Ÿ˜Ž

New releases feed

What I would love to see is some sort of periodical notification about new releases for a list of artists or a search query.

To avoid making it spammy, it could just post list with new releases every day or so.

Ideally there would be two separate options here:

In the first case you give the bot a search query (in accordance with API syntax or just a Discogs search URL) and the bot parses the output sorted by added date and generates daily lists from it.

In the second case you give the bot a list of artists and it parses the release lists of those artists in the same way as above and combines them into one feed.

I hope this isn't too complex to implement.

Images failing to show - due to missing file extension (.png)

Since a day or two the spincord bot - as added to our server - no longer includes a file extension - hence the response becomes a download rather than an inline cover_image

!albumart ben liebrand styles xl

image

Still worked on March 21, 2021. Broken shortly thereafter.

Thank you for a great project!

Upgrade to discord.js v13

discord.js v13 implements a lot of new discord features for bots, specifically slash commands. Upgrading to it now could save a lot of headaches in the future.

Problem to consider: moving to slash commands will require existing spincord integrations to get new permissions.

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.