SkinPeek
SkinPeek copied to clipboard
Awesome Valorant Discord bot to see your daily shop, night market, battlepass progression, and much more
SkinPeek
View your Valorant daily shop from the comfort of your bed, set alerts for skins, and much more.
Easy to use, has many features, and used by small & large bots alike.


See some more screenshots
Feel free to join the support server for any help with the bot or if you want to use a public instance without hosting it yourself!
Features
- 🔍 See your shop, bundles and night market easily and without lauching the game
- 🔔 Set skin alerts to be notified automatically when they are in your shop
- 🔀 Account switcher to check the shop and set alerts for multiple accounts
- 📋 Automatically track skin occurence stats
- 👀 See the shop of your friends using the bot (can be disabled)
- ⬛ Hide your Valorant username from the message using
/settings
- ✔ Automatically imports new skins from Valorant updates
- 🌍 Skin names are automatically translated to any language that Valorant supports
- 🛠 For bot admins:
- Easy to setup, highly configurable in
config.json
- Optimised for reliability and performance
- Toggleable login and shop queues to prevent rate limiting
- Shop cache to prevent fetching the same user's shop twice
- Used by large shop bots, highly scalable
- Fully supports sharding (required for 2500+ servers)
- Easy to setup, highly configurable in
Installation
-
Create a discord bot and add it to your server with the
bot
andapplications.commands
scope - Install Node.js v16.6 or newer
- Clone/Download the repo, rename the
config.json.example
file toconfig.json
and put your bot token into it. -
Open a command prompt in the same folder and type
npm i
to install dependencies - Run SkinPeek.js using
node SkinPeek.js
in the command prompt - Give the bot a role that allows it to send messages and create custom emojis
- Send
!deploy guild
or!deploy global
to deploy the commands.
Deploying in the guild happens instantly but the commands can only be used in that guild. Deploying globally can take up to an hour due to Discord's caching.
If you deployed both globally and in a guild, you will see every command twice. In that case, just send !undeploy guild
!
By default, the bot doesn't store your username/password, it only uses them to get the cookies that can be used to generate access tokens needed to get your shop.
You can log in using your auth.riotgames.com cookies using /cookies
to avoid sending your password, and you can delete your account from the bot using /forget
.
Obviously, only log in if you trust whoever is hosting the bot, as they can theoretically do anything with your account.
If you're bored, check out this writeup on how Riot treats third-party projects like this one.
Docker
For advanced users who want to deploy the bot using Docker:
-
Create a discord bot and add it to your server with the bot and
applications.commands
scope - Create a docker-compose file like this and a config file like this
- Put your bot token in config.json
- Use
docker-compose up -d
to start the bot,docker-compose logs -f
to see the logs anddocker-compose down
to stop it. - Send
!deploy guild
to deploy in the current guild or!deploy global
to deploy the commands globally.
Future Improvements
- ~~Auto check for new Valorant version~~
- ~~View balance~~
- ~~Auto fetch skin data on startup~~
- ~~Skin notifier/reminder~~
- ~~Show weapon rarity~~
- ~~See current bundles~~
- ~~See battlepass progress~~ (thanks muckelba!)
- ~~Localization support~~
- ~~Shop statistics~~
- ~~Settings menu~~
- ~~View other people's shops~~
- Option to send shop automatically every day
- Inspect weapon skin (all 4 levels + videos + radianite upgrade price)
- Show off your skin collection & account value
- Admin commands (delete user, see/edit everyone's alerts, etc.)
Acknowledgements
- Hamper for the idea and the code showing how to do it
- Valorant-api for the skin names and images
- muckelba for writing the battlepass calculator
- Spirit for his API for getting past bundle items and prices
- warriorzz for setting up the Docker
- The dev discord server, join here!
Translations
If you are fluent in another language and would like help translate the bot, please do!
- Look up the language code for your language here
- Look in the bot's
languages
folder - If you're starting from scratch, copy the
en-GB.json
file and rename it to your language code - Open the file and do the thing
Once you're done translating, you can either fork the repo and open a GitHub pull request, or you can just send me the JSON on discord and I'll upload it for you.
Thank you! :)