Create A Bot
Create a new Blitz bot to start using Blitz plugins
There are 2 ways to create a new bot, through the Controller App or through the Blitz CLI.
CLI Command
You can also pass in options to bypass manual tasks such as setting the bots token.
Flags
Your bots token to place inside the .env file
Controller App
Create a bot from the homepage of the controller app.
Open Create Dialoge
Click “Create New Bot” button on the homepage.
Set Bot Name
Enter bot local name (name for the folder on your local device).
Set Bot Token
Enter the bots token to place inside the .env file.
Finish
Click “Create Bot” to create the files.
Files
Structure
Your bot should have a similar structure to this.
Uses
Contains the code to load your bot and the plugins.
Stores your discord bot token as an environment variable.
Holds all of the plugins you install onto a bot.
Class Props
You can add more config options into the Bot Class.