Lasty is a Discord bot intended to interact with Last.FM to provide real time listening data.
A public instance of Lasty is currently not available. Follow Installation to get started.
For comments and support contact me on Discord: #1
# Clone the repository
git clone https://github.com/dxnter/lasty
# Enter into the directory
cd lasty
# Install dependencies
npm install
Rename config.example.json
to config.json
in the root directory and enter in the correct information for each property.
EMBED_COLOR
can either be left as the default or changed to a valid hex color code.
OWNERS
can either be a single Discord User ID or multiple ID's separated by a comma. Owners will have complete control over Lasty and bypass command throttling.
{
"PREFIX": "",
"EMBED_COLOR": "#E31C23",
"OWNERS": "",
"DISCORD_BOT_TOKEN": "",
"LASTFM_API_KEY": ""
}
npm start
This section is completely optional but suggested if hosting Lasty on a VPS.
Globally install pm2
, this enables Lasty to run as a daemon process.
npm install --global pm2
Start / stop the bot
pm2 start npm -- start
AND
pm2 stop all