Repository
https://github.com/Galarzaa90/NabBot
What Will I Learn?
As a complex (and hence extremely complete and useful) discord bot for Tibia and due to the lack of comprehensive installation tutorials out there, here you'll learn step by step how to install and run such software.
- You will learn how and where to download the required programs.
- You will learn where to install the files and set them up properly.
- You will learn to start up the bot and invite it to your Discord server.
Requirements
For this extensive software, you're asked to download quite a few programs and/or tools.
Difficulty
- Intermediate
Tutorial Contents
- Install GIT clicking
nextall the way till the installation is finished.
DO NOT SWITCH/CHANGE ANY OPTION OR VARIABLE, PLEASE LEAVE IT AS IT IS.
- Next install PYTHON 3.6 and make sure to select the option to add Python to
PATH.
- Extract the files inside the
NabBot-master.zipin to the installation address Python was installed in.
MAKE SURE YOU EXTRACT THE FILES INSIDE THE FOLDER, AND NOT JUST THE FOLDER.
- Enter here and right-click anywhere, select Save as and save it as
get-pip.pyinside your Python folder.
- Hold SHIFT right-click inside the folder python is installed into and click
open CMD window
- In the cmd window, run the cmd
python get-pip.py
- Next is to execute the cmd
python -m pip install -U -r requirements.txtit'll install quite a lot of things and should say it's been successful at the end.
- Now run the cmd
python -m pip install -U "yarl<.1.2"
- Run the cmd
python nabbot.py. Then it'll then ask for a token. Go to My Apps in the developers portal. Once you're there, click on the New App button.
- Fill the fields, Click on Create App once you're done. Now that you have created your App, look for the Create a Bot User button.
- You're going to need to click reveal so you can see your token ID
- Copy and paste that long code on the cmd window, next it'll ask you to press any key to start the bot.
Invite your bot to your Discord server.
In the Developer documentation, inside your newly created bot's app, should be a Client ID
- Copy that number and replace it in the last part of this link
https://discordapp.com/oauth2/authorize?scope=bot&permissions=257232&client_id=CLIENT_ID_HERE - Select the server you've got administrator's rights and wish to include the bot to, and succeed at the captcha. And that'll be it. Explore the /commands and configure the bot to sharpen it up.