Pal-bot
Discord bot for issuing statistics on the Paladins game.
Add to Discord server.
Visit our Discord server - there you can always quickly find out about upcoming updates, report bugs or get other help/information.
You can also run the bot yourself by following the Instructions
You can get detailed information about the commands by using the command hh, example: !hh ss
Commands
help
Sends a list of commands to the DM
me
Allows you to save your nickname for substituting it into teams automatically
menu
Opens the main menu with the buttons
setting
Settings
search
Search for players among all platforms
stats
Account statistics
progress
Compares the player’s current statistics with the saved ones.
history
Player’s Match History
last
Information about the last or specific match
current
Player status in the game
champions
Top Account Champions
champion
Championship statistics
deck
Account Decks
friends
Friends of the account
installation
Installation should be done only if you want to get your own bot. You can use an existing bot without installing it.
- Clone the repository and install all the dependencies
- For correct operation, you will need to additionally install
pm2-sudo npm install pm2@latest -g - And also MongoDB -
sudo apt updateand thensudo apt install -y mongodb - Create an empty
logsfolder in the root folder, if it is not there - Create a file
.envand write the following settings there, substituting their values together with zeros:
DISCORDTOKEN=00000000000000000000000000000000000000000000000000000000000
STEAMKEY=0000000000000000000000000000000
DEVID=0000
AUTHKEY=0000000000000000000000000000000
DBNAME=admin
DBHOST=localhost
DBPORT=27017
- When the bot is already running, enter the command in the chat
!con _local.utils.setSlashCommands()to register slash commands globally. Please note that you will need to change the creator’s ID in the config. - Updating data about champions and items is done by the team:
!con _local.utils.updateChampionsAndItems(),