# Quick Start
Bot Bind is not only a platform for creating Discord Bots, but also a community where server owners and addon developers benefit from each other.
Bot Bind uses a modified version of the powerful Klasa framework for discord.js to run the bots and the addons within it. The addon creation and submission process is quite simple and straight forward. We will guide through the process from start to the end.
But, what if I don't know Javascript?
All Bot Bind bots run on NodeJS, and we currently only support Javascript for addons.
# Prerequisites
- Any code editor (We recommend VS Code)
- NodeJS 10+ (Download)
- Git (Download)
- Bot Bind Developer account (Sign Up)
# Setup Environment
- First, create a working folder somewhere on your computer, call it botbind.
- Open your Command Prompt or Terminal and navigate to your working folder.
C:\Users\docs> cd Desktop
C:\Users\docs\Desktop> cd botbind
C:\Users\docs\Desktop\botbind>
It should look something like this, depends on where your folder is located.
- Using your terminal, install the necessary files:
# Clone repo from github
git clone https://github.com/botbind/addon-development.git
# Go to the cloned folder
cd addon-development
# install the dependencies
npm install
Note
If you get any errors after executing the commands above, make sure you have the Prerequisites installed
- Once done, your directory structure to look similar to this:
.
└── addon-development
├── addons
│ └── my-first-addon
│ ├── commands
│ │ └── helloworld.js
│ ├── index.js
│ └── package.json
├── bot.js
├── package-lock.json
└── package.json
You are now ready to develop addons.
# Testing your first addon
- Go to Discord Developer Portal and create a new Application.
- Enable Bot in the application and copy the Bot Token.
WARNING
Do not reuse the token you used to create a bot on botbind.com
- Open
bot.js
and replace your token that you got from Step 2. - Invite the "Test bot" you created to a Discord server, and start the bot using the terminal:
node bot
Note
If this gives you can error, make sure the terminal is in the addon-development
folder.
- You should now see your bot online in Discord. Now go ahead and type in
?helloworld
to check if everything is working fine.
Feel free to explore the rest of the documentation to figure out where to go from here. You can join our Discord server if you unsure about something.