Skip to content

Shuvam012/DISCORD_BOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Discord Bot

A simple Discord bot built using Node.js and discord.js.
This bot supports slash commands and uses environment variables for secure configuration.


🚀 Features

  • Slash command support (/ping)
  • Secure token handling using .env
  • Built with discord.js v14

🛠️ Tech Stack

  • Node.js
  • discord.js
  • dotenv

📂 Project Setup

1️⃣ Clone the repository

git clone https://github.com/your-username/discord-bot.git
cd discord-bot

2️⃣ Install dependencies
npm install

3️⃣ Create .env file

Create a .env file in the project root and add:

DISCORD_BOT_TOKEN=your_bot_token_here
CLIENT_ID=your_client_id_here

4️⃣ Start the bot
npm start

📌 Slash Commands

/ping → Replies with Pong!

About

A Discord bot built with Node.js and discord.js, demonstrating slash commands and secure configuration using environment variables.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors