Skip to content

A Discord bot generating Spotify playlists and retrieving statistics.

Notifications You must be signed in to change notification settings

veneta13/ROSbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROSbot

A Discord bot for generating Spotify playlists and retrieving Spotify user statistics.

Setup

First, you need to get a Discord bot token from here.
You need to get a Client ID and Client Secret tokens from here.

Next, make sure that nothing is running on http://localhost:PORT/. To run the bot use the following command:

go run . -t DISCORD_BOT_TOKEN -port PORT

You can omit the port, as the default is 8888.

The following message should appear on the command prompt if the bot is set up correctly:

Log: ROSbot is up.

Commands

ROSbot supports the following commands:

Command Description Arguments Image
!help print a list of all commands Help command
!log-in ID={client_id} SECRET={client_secret} print a link for Spotify authorisation client_id - the Client ID from Spotify client_secret - the Client Secret from Spotify
!say-hi greet the user
!get-stats {type} {time} get the Spotify statistics of the user {type} - artist / track {time} - last month / last 6 months / all time Artist statistics Track statistics
!create-playlist {mood} create a Spotify playlist according to a given mood {mood} - happy / sad / relaxed / party / focused / romantic / holiday / travel / motivated / sleepy Playlist

Releases

No releases published

Packages

No packages published

Languages