A tournament management Discord bot for Esports team managers
Report Bug
·
Request Feature
A Discord bot made specifically for Esports team managers to use on their team server to schedule tournaments. This bot takes all the information regarding a match, formats it and publish it on a channel specified by the managers, it also has the option to tag a role.
To get a local copy up and running follow these simple steps.
- Make sure you've latest version of
npm
installed
npm install npm@latest -g
- Follow the instruction here to a create a bot application and get your token(It'll be required on step 4): https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot
-
Clone the repo
git clone https://github.com/m4hd1bd/Kobayashi.git
-
Go to project folder
cd Kobayashi
-
Install NPM packages
npm install
-
Open
.env
file in a text ediotor and fill up the require info (Bot token, Channel ID and Role ID) -
Start the bot
node index.js
To deploy the bot on Heroku and make sure it is always online follow below instructions
-
Create an account on Heroku
-
Follow the instruction here to a create a bot application and get your token(It'll be required on step 3): https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot
- Clone the repo
git clone https://github.com/m4hd1bd/Kobayashi.git
- Go to project folder
cd Kobayashi
- Install
heroku cli
npm install -g heroku
- Login to
heroku
heorku login
- Create a
heroku
application and addheroku
remote
heroku create
- Deploy the bot on
heroku
git push heroku main
- Login to your Heroku Dashboard and select the applicaton.
- Go to Resources tab, click one edit button beside
web npm start
and disable it. Then Click on edit button besideworker npm start
and Enable it. - Go to the Settings tab and then Click on
Reveal Config Vars
, add your Bot token asbotToken
, your channel ID aschannelID
and the role you want to mention asroleID
. - Your Bot is now ready, DM me on Discord if you face any problems.
List of commands:
!ping
- To check if the Bot is onlilne.!newtour
- To publish a tournament schedule in a specific channel and mentioning a specific role. Bot will ask you to enter specific informations related to the tournament, useN/A
if you doesn't have information on something. Sendcancel
to cancel the ongoing publishing procedure.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GNU 3.0. See LICENSE
for more information.
Mahdi - @M4hd1BD - virtualmahdi@gmail.com