Skip to content

Latest commit

 

History

History
280 lines (202 loc) · 10.5 KB

README.md

File metadata and controls

280 lines (202 loc) · 10.5 KB



Valorant Discord Bot

Store, Nightmarket, Battlepass, Missions, Bundle, Notify

Support Server release discord.py License

AboutInstallationScreenshotsUsageTranslationsDisclaimerSpecial ThanksSupport

Note ⚠️

  • will not receive updates until v4.0.0 will be finished. sorry 😭
  • I'm a student and I have to divide my study time with this project.

About

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

Heroku

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.

Deploy

Repl.it

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)

Run on Repl.it

P.S. need to add 2 secrets: TOKEN and OWNER_ID, need to use Uptimerobot or other services to keep the bot alive.

Docker

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.

Screenshots

image image

See more screenshots battlepass nightmarket missions points

Installation

pip install -r requirements.txt
  • Store discord bot token and owner ID under .env
TOKEN='INPUT DISCORD TOKEN HERE'
OWNER_ID='INPUT YOUR DISCORD ID'
  • How to get your Owner ID

    1. Turn on Developer Mode under Discord Settings > Advanced

    2. Right click on your profile icon in any chat and copy your ID

  • Run the bot
python bot.py
  • the Slash Command (/) will automaticalled be assigned for global commands (global commands can also take up to an hour to update for Android users). Refer to docs.
  • to use commands in your server immediately, use -sync guild.
  • remove commands in your server by using -unsync guild.
  • remove global commands by using -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.

Usage

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

Translations

If you want to use your language and would like help translate the bot, please do!

  • Option 1
  1. You can translate my crowdin project here.
  1. Fork the repo
  2. Look up the language code for your language here
  3. In the languages folder of your forked repo, copy en-US.json and rename it to your language code
  4. Open that file and do the thing
  5. Open a pull request
  • Alternatively, you can just send me the JSON on discord and I'll upload it for you.

License

This project is licensed under the GNUv3 License - see the LICENSE file for details.

Disclaimer

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.

Special Thanks

This project wouldn't have happened without.

Support Me

ko-fi