A discord bot with valorant api.
GPL-3.0 License
I'm a student and I have to divide my study time with this project.
Discord bot that shows your information and more without opening VALORANT by using the In-game API. written using Python and the Discord.py library If you need help regarding Valorant Discord Bot, please join the support server
Important: Please note that dynos will have be restarted every 24 hours. All changes to the local filesystem will be deleted, which means you'll have to relogin using
/login
once the 24-hour limit is reached. Read more about automatic dyno restarts here.
Important: All projects under the Repl.it free plan are public. To solve the privacy problem, all data is stored in the Repl.it Database, but the Repl.it Database is slow to read and it takes time to execute commands. (Cache system to be updated)
P.S. need to add 2 secrets: TOKEN
and OWNER_ID
, need to use Uptimerobot or other services to keep the bot alive.
To simply install the latest stable version, run
docker pull marchingon12/valorant-bot
If using Docker Desktop (GUI), run using environmental variables under "Optional Settings". Put in your TOKEN and OWNER_ID.
If using Docker-CLI, you have to manually put in your env vars in a single line like this:
docker run -e TOKEN=<YOUR_BOT_TOKEN> -e OWNER_ID=<YOUR_OWNER_ID> marchingon12/valorant-bot
or use --env-file
to point to the path you stored your env file. Read more info on how to do so here.
View on Docker image on DockerHub.
Install requirements
Create the discord bot
Under Privileged Gateway Intents enable MESSAGE CONTENT INTENT
Enable the required bot permissions.
Invite your bot to the server with the scopes bot & applications.commands
Clone/Download
pip install -r requirements.txt
TOKEN='INPUT DISCORD TOKEN HERE'
OWNER_ID='INPUT YOUR DISCORD ID'
Turn on Developer Mode under Discord Settings > Advanced
Right click on your profile icon in any chat and copy your ID
python bot.py
/
) will automaticalled be assigned for global commands (global commands can also take up to an hour to update for Android users). Refer to docs.-sync guild
.-unsync guild
.-unsync global
. This removes commands for everyone using the bot.Important: custom emojis used by the bot will be added to your server so that they can be accessed when needed. If there are no slots left, emojis will not be added and therefore displayed in text from e.g.
:ValorantPointIcon:
. There are 7 custom emojis in total.
Command | Action |
---|---|
/store |
Shows your daily store |
/point |
Shows your valorant point |
/login |
Log in with your Riot account |
/logout |
Log out of your Riot account |
/misson |
View your daily/weekly mission progress |
/nightmarket |
Shows your nightmarket |
/battlepass |
View your battlepass' current tier |
/bundle |
inspect a specific bundle credit by Giorgio
|
/bundles |
Show the current featured bundles credit by Giorgio
|
/cookies |
Login to your account with a cookie, How to cookies credit by Giorgio , video
|
/notify add |
Set a notification when a specific skin is available on your store |
/notify list |
View skins you have set a notification for |
/notify mode |
Change notification mode Specified skin or all skin
|
/notify test |
Testing notification |
/notify channel |
Change notification channel DM Message or Channel(in server)
|
/debug |
command for debug emoji , skin price ,cache is not loaded |
If you want to use your language and would like help translate the bot, please do!
languages
folder of your forked repo, copy en-US.json
and rename it to your language codeThis project is licensed under the GNUv3 License - see the LICENSE file for details.
Please read the DISCLAIMER before using the code to host your bot.
Valorant-DiscordBot is not endorsed by Riot Games and does not reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games and all associated properties are trademarks or registered trademarks of Riot Games, Inc.
This project wouldn't have happened without.
HeyM1ke/ValorantClientAPI for providing a great API about Valorant!
colinhartigan/valclient.py for beautiful client endpoint
techchrism/valorant-api-docs for API docs documentation
Valorant-API.com for every skin names and images!
github/giorgi-o for always helping me and more!. ValoBot in JS SkinPeek
Discord - Valorant App Developer developer community for valorant api
Contributors <3 <3
Thank you very much <3