2nd version of making a bot using Discord.gd tutorial in Godot engine!
100% GDScript
- Godot 4.x - main branch
- Godot 3.x - godot3 branch
- Commands are in separate files
- Easily scale number of commands and interactions
- Commands support aliases, usage, description and more
- Advanced help command which dynamically generates help from all commands
- Download this repo.
- Rename the file
.env-sampleto.envand paste your BOT_TOKEN in the file. - Open the
project.godotfile in Godot. Then run theMain.tscnscene.
For source code of previous parts of the tutorial, see branches
-
Create a new app on Heroku (Needs signing up for a Free account)
-
Goto the
Settingstab, in theConfig Varssection, clickReveal Config Vars -
Add three config vars:
GODOT_VERSION: 3.4.2HEROKU_URL: https://<your-app-name>.herokuapp.comBOT_TOKEN: <your discord bot token>
-
In the
Buildpackssection, clickAdd Buildpack, and paste this URLhttps://github.com/3ddelano/heroku-buildpack-godot -
Finally goto the
Deploytab and follow the instructions to push your source code to Heroku (you can directly use the GitHub flow or even use the Heroku CLI).
Want to support in other ways? Contact me on Discord:
@3ddelano#6033
For doubts / help / bugs / problems / suggestions do join: 3ddelano Cafe