The Project Creds goes to Pollinations.ai for the AI model!
A complete code for a text-to-image bot 🖼
Open the configuration file located in the main folder .env
.
TOKEN = Bot Token
MESSAGE_CHANNEL = CHANNEL ID
GUILD_ID = SERVER ID
PREFIX=/
CLIENT_ID = CLIENT ID OF BOT
To use the project correctly you will need some tools.
WARNING: You MUST use Node.js version under 18.17, otherwise, you will encounter major compatibility issues.
Node JS (v18.17) or older for environment
yarn for package management
Now in your terminal run the following commands assuming you are in the same directory as the project.
npm install
and then run the command
node registerCommand.js
node wandyFunc2.js
and Done, your bot should be running!
Made ❤️ by Ayushman.
Please do not withdraw the license and keep the credits on this project.