Welcome to the Erry Bot Handler repository! This robust handler is designed to streamline your Discord bot development using the latest features of Discord.js v14 with TypeScript. This handler will be used for Erry bot.
- TypeScript Ready: Crafted for the modern TypeScript ecosystem.
- Up-to-Date Dependencies: Always running on the latest versions for peak performance.
- Advanced Sharding: Implements
discord-hybrid-sharding
anddiscord-cross-hosting
for efficient clustering and sharding. - Prisma Integration: Utilizes
prisma
as a powerful database wrapper for PostgreSQL. - Comprehensive Tools: Comes with an integrated database, Redis cache, cross-hosting, and sharding capabilities.
- User-Friendly Commands: Jumpstart your bot with pre-generated commands (
npm run ...
) for ease of use.
- Clone the Repository: Download the code from GitHub.
- Configure: Rename
config/config_sample.ts
toconfig/config.ts
. - Customize Configuration: Fill in the
config.ts
as needed. Don't worry, not all fields are mandatory for initial setup, and defaults work just fine! - Initialization: Execute
npm run init
and await the magic. - Launch: Once you see
SETUP IS DONE
in the console, you're all set! Start your bot withnpm run start
, and for the bridge, usenpm run bridge_start
. Discover more commands inpackage.json
. - Success: Your bot is now live and ready to engage!
Special thanks to Tomato6966/discord-js-v14-handler for the inspiration behind our code structure and select functions that we've adapted and enhanced.