Skip to content

ImXanax/Violet

Repository files navigation

Violet

Introduction

This document provides an overview of a simple Discord bot written in TypeScript using the Discord.js library. The bot listens for messages in Discord servers and responds to specific commands.

Technologies Used

  • TypeScript
  • Discord.js

Features

  • Moderation
  • MongoDB
  • Event listeners

Installation

To run the bot locally, follow these steps:

  1. Clone the repository:

    git clone <repository-url>
  2. Navigate to the project directory:

    cd discord-bot
  3. Install dependencies:

    npm install
  4. Compile TypeScript code:

    npm run compile
  5. Set up your Discord bot in the Discord Developer Portal and obtain a bot token.

  6. Create a .env file in the project root directory and add your bot token:

    token=your-bot-token-here
    client_id=your-client-id
    guild_id=your-guild-id
  7. Start the bot:

    npm run dev

Usage

Once the bot is running and added to your Discord server, you can interact with it using the following command:

  • !hello: Responds with "Hello, world!".

Resources

About

Discord bot intended for a private server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published