To activate Slippi replay file analysis, call /analyze
upload the .slp
replay file to the message. SlippiStatsBot will then analyze the replay file and display statistics from the game.
You can select the dropdown to see which set of statistics you want to view.
These commands are slash commands, meaning they are preceded with a /
.
about
- displays information about the bot, and links to this repositoryping
- pings the client that is running the bot for its response time
Currently, this Discord bot isn't being hosted anywhere, so the bot is currently offline. Should I choose to host this bot in the future (whenever it may be), I will make preparations to make it available to people, including an invite link and a way to generate funds to keep this thing online.
You could also run this thing locally, and for that you might want to go down to Development for help on how to get up and running.
- High Priority
- Move file storage to a database like MongoDB (as opposed to local file storage)
- Low Priority
- Include link to/txt file of JSON data to be used elsewhere when appropriate flag is activated
- Put the replay analysis into a new thread instead of the chat
This Discord bot was made with the following Node.js packages
- discord-ts - A superset of discord.js with TypeScript decorators to improve readability
- slippi-js - A JavaScript/TypeScript library for parsing Project Slippi replay files for Super Smash Bros. Melee
- table - Simple library that produces a row-column table with ASCII characters
- Axios - Promise based HTTP client for Node.js
- ts-dotenv - Library that implements
.env
files to hold the Discord bot's token - lodash - JS Utility Library
git clone
this repository and navigate into itnpm install
- Create the file
.env
in the root directory and include the lineBOT_TOKEN=<bot-token-id>
where you replace<bot-token-id>
with your own from the Discord developer portal. npm run build
npm run start
you are done, you will see your bot up and running. For detailed installation guide, please see this