Skip to content

About

A bot that serves as a lightweight VTT for TTRPG games in discord.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Discord Bot Project

This project is a Discord bot built using Python. It utilizes the discord.py library to interact with the Discord API and provides a framework for creating commands and handling events.

Project Structure

discord-bot-project
├── src
│   ├── bot.py                # Main entry point for the bot
│   ├── commands              # Directory for command-related files
│   │   ├── __init__.py       # Initializes the commands module
│   │   └── example_command.py # Example command definition
│   ├── events                # Directory for event-related files
│   │   ├── __init__.py       # Initializes the events module
│   │   └── on_ready.py       # Event handler for the on_ready event
│   ├── utils                 # Directory for utility functions
│   │   └── __init__.py       # Initializes the utils module
│   └── config.py             # Configuration settings for the bot
├── requirements.txt           # Lists project dependencies
└── README.md                  # Project documentation

Setup Instructions

  1. Clone the repository:

    git clone <repository-url>
    cd discord-bot-project
    
  2. Install dependencies: Ensure you have Python installed, then run:

    pip install -r requirements.txt
    
  3. Configure the bot: Open src/config.py and set your Discord bot token and command prefix.

  4. Run the bot: Execute the following command:

    python src/bot.py
    

Usage Guidelines

  • Add commands in the src/commands directory.
  • Handle events in the src/events directory.
  • Use utility functions from the src/utils directory as needed.

For more information on how to use the discord.py library, refer to the official documentation: discord.py Documentation.

About

A bot that serves as a lightweight VTT for TTRPG games in discord.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages