cedroux / owbot
A Discord bot for Overwatch players
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 1
Type:cli
Requires
- php: ^7.1
- charlottedunois/yasmin: ^0.4.0
- paquettg/php-html-parser: ^1.7
This package is not auto-updated.
Last update: 2022-08-04 06:36:42 UTC
README
Introduction
OWBot is a simple Discord bot for Overwatch players.
It allows players to track their competive ranking points and compare themselves to other players of the server.
Available commands
General
-
!help
List the available commands -
!help admin
(Admin only)
List the available commands for the admin users
Overwatch
-
!rank <BattleTag>
Display the competitive rank of any BattleTag -
!addme <BattleTag>
Link your BattleTag and your Discord ID to the bot. You will now appear in the rankings and your rank changes will be broadcasted on the specified channels. -
!top
Display the competive rank table of players registered in the server -
!top2
Same as!top
but in a fancy way (Not mobile friendly) -
!add <BattleTag>
(Admin only)
Add any BattleTag to the tracking (but not linked to a Discord ID) -
!delete <BattleTag>
(Admin only)
Remove a player from the tracking. -
!refresh
(Admin only)
Force a refresh of the ranks. Not recommended as it can cause some lags.
Administration commands
-
!setgame <Game name>
Update the game played by the bot. Will be seen in the user list as Playing Game name -
!restart
Restart OWBot -
!exit
Kill the bot process
How to use
Requirements
- PHP >= 7.0
- Composer
Install
Get the repository and update dependencies
# Clone the repository git clone https://github.com/Cedroux/owbot.git # Change directory cd owbot # Install Composer dependencies composer install
Configure
Copy and edit the default configuration file
cp config/config.example.php config/config.php nano config/config.php
Launch
To start the bot, just execute bot.php
php bot.php