description |
---|
This is the official documentation of Discord Bot Builder with the collaboration of the community. |
Discord Bot Builder is a piece of software with which you can develop your own Discord bot using a GUI. You can buy it on Steam here.
We offer to the community the opportunity of ask of support and meet new people in our Discord server
We will only support and document the beta version of DBB because this is the rewritten version.
Open Steam and go to your library.
Right click on Discord Bot Builder and select Properties.
In the new window that came up, select the Betas tab at the top then in the dropdown menu, select the beta version. If you can't open the dropdown menu, make sure DBB is closed.
If you need to, wait until the beta version has downloaded and start DBB. You will be greeted with this screen:
Click on Create New Project. You should now have this screen:
The Bot Folder Name is the name of your project and the name of the folder that will contain your bot.
The Bot Folder Path is the directory on your computer where the new folder containing your bot will be created.
For example:
The bot will be saved on my desktop in the folder and with the project name 'My First Bot'.
Go on to the Discord Developer Portal. If you've never made a bot before, you should be shown this screen:
Create a new application and give it a name.
When you've clicked Create App, this should come up:
Go to Bot on the side, and create the bot:
You should now have this screen:
If you want to make it so only you can invite the bot (e.g. if it's a custom bot for your server), just click the slider under Public Bot:
Copy your bot's token. MAKE SURE TO KEEP THE TOKEN SECRET AT ALL TIMES! IF SOMEBODY GETS THE BOT TOKEN, CAN ACCESS AND ABUSE YOUR BOT! I am showing my token for documentation reasons, you should never show yours.
Input it into DBB. Do this by selecting the Bot menu in the toolbar at the top of the screen and selecting Set Bot Token. (you could also do the keyboard shortcut Ctrl + Alt + T.) Then paste the token and hit Enter or click OK.
Now you need to invite the bot to your server. Get an invite link by going to the Bot menu in the toolbar at the top of the screen and selecting Generate Invite. (you could also do the keyboard shortcut Ctrl + G.)
Then go to your web browser and paste the invite link there. Choose which server you want to invite the bot to and click Continue.
On the next page, a huge list of permissions will come up. Change them as you wish. Scroll down to the bottom (there will be some information about your bot) and click Authorize.
Finally, complete the reCAPTCHA, click Verify, and this message should display:
That means you're all set and the bot's now in your server.
To create a new command, click on the green + button next to the search bar at the top of the screen.
Once you have clicked on the + icon, a new workspace was created.
You can customise the thumbnail, title and description.
To customise the thumbnail of a workspace, hover over the empty grey space on the top right of the screen. Click on it, paste an image and hit enter or click OK. Boom! You're done.
Now your workspace looks nice and pretty.
To customise the title of a workspace, click on My New Workspace and change it. Simple as.
To customise the description of a workspace, click anywhere on the empty space above the 3 buttons at the bottom. Then type whatever you want. Simple as.
If you right-click on any empty spot in the workspace, the Blocks menu comes up. In the Events tab, there are some blocks so the bot can execute an action. In these docs, I will use the Message Sent Event block to execute an action whenever the bot receives a message (either in the server or its DMs).
This is the beginning of your command. The Message Sent Event block has an Action Output and a Message Output. If you don't know what this means, DBB is also well documented: whenever you hover over anything, it tells you what it is:
Server = Guild User ≠ Member (a member is a user that is relevant to the guild only. you can execute actions to do with a specific server with a member)
Use these docs and the example workspace provided to you to make your own bot!
ACertainCoder#9011
Ju#2402
monksharru#6969
MrGold#0001