This content originally appeared on DEV Community and was authored by Luca Argentieri
Hello, wonderful people of the internet and welcome to my first post in dev.to community.
I'm here today to present my shoe discord bot and all its features.
- First of all, why? 💡
Well, I and a couple of friends had in mind to build a bot to stay updated on the prices and upcoming releases of the sneakers. The biggest problem was finding the right API, but we managed to find a guy who did a huge job, put together: StockX FlightClub, Goat, and Stadium Goods API, cool right?
With this mega API, we started studying discord.js and the project started.
- API 👟
Sneaks-API by @druv5319
A StockX API, FlightClub API, Goat API, and Stadium Goods API all in one.
Sneaks API is a sneaker API built using Node.JS, Express, and Got. The Sneaks API allows users to get essential sneaker content such as images, product links, and even prices from reselling sites while also collecting data and storing it within a database. Read more...
- Setup 📦
First create an application and a bot from here and in auth -> general check bot and Administrator, save the bot token in the bot page.
Invite the bot in your discord server
Clone the repo
git clone https://github.com/LucaArgentieri/Shoe-Discord-Bot.git
Run
npm i
Create a .env file and put bot token
BOT_TOKEN_KEY=DISCORD_BOT_TOKEN_HERE
Run
npm run start
Use commands in chat! 🎉
You can use heroku or others for host your bot and have fun.
- Commands 🤖
This is the list of all commands at this moment. I'm here to show you and take new ideas for upgrading my bot.
$help For information on generic resell prices or based on the desired number.
$retail Yeezy(example) To get information about a shoe at retail.
$nextDrop To stay updated on upcoming releases.
$todayDrop To stay updated on the releases of the day.
$monthDrop To stay updated on the releases of the current month.
$infoShoesNumber Yeezy 11(example) To get information about a shoe with number.
$mostPopular To see the most popular scapre in the last three months.
- Thanks 😎
This is a personal project that I use to learn, everyone is free to use it and can contribute to the code.
I let you the link to my repo and thank you for reading, see you in the next post.
Bye!
This content originally appeared on DEV Community and was authored by Luca Argentieri
Luca Argentieri | Sciencx (2022-02-07T20:06:26+00:00) Shoe Discord Bot. Retrieved from https://www.scien.cx/2022/02/07/shoe-discord-bot/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.