Skip to main content

Getting Started

Welcome to ShadowCore! This guide will help you set up your development environment and create your first bot using ShadowCore.

📦 Installation

Before getting started, ensure you have the following prerequisites installed:
  • Node.js (Version 18 or higher)
  • npm (or Yarn/Pnpm)
  • Git (optional, but recommended)

1️⃣ Install ShadowCore

Installing ShadowCore globally is not required. It is only recommended if you want easy access to the CLI once it is fully finished. You can skip this step for now.
To install ShadowCore globally, run:
Or, if you prefer using it locally within a project:

2️⃣ Setting Up a New Bot

Since the CLI init command is not available yet, you’ll need to manually set up your bot.

Step 1: Create a New Project Folder

Step 2: Initialize a package.json

Run the following command and follow the prompts:

Step 3: Install ShadowCore

Inside your bot’s directory, install ShadowCore:

Step 4: Create the Bot’s Entry File

Create a new file called index.ts (or index.js if using JavaScript) and open it in your editor. Paste the following basic bot setup:
You can get your bot’s token from the Discord Developer Portal.

Step 5: Run Your Bot

🎯 Next Steps

Now that your bot is running, explore the following topics to enhance its functionality:

❓ Need Help?

If you encounter any issues, check out the FAQ or join the community for support.
You’re all set! 🚀 Start building your bot and take full advantage of ShadowCore’s powerful features.