Skip to content

becauseimclever/DrawingBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrawingBot

A .NET 10 application consisting of a Discord bot backend and a Blazor web frontend for running drawings (giveaways/raffles) within a Discord server.

Architecture

Project Description
src/DrawingBot.Core Domain models, interfaces, and business logic shared across projects
src/DrawingBot.Discord Discord bot hosted service using Discord.Net
src/DrawingBot.Web Blazor Server frontend with ASP.NET Core WebAPI
tests/DrawingBot.Core.Tests Unit tests for Core
tests/DrawingBot.Discord.Tests Unit tests for the Discord bot
tests/DrawingBot.Web.Tests Unit tests for the Web project

Getting Started

Prerequisites

Configuration

Copy the example settings and fill in your values (this file is git-ignored):

cp src/DrawingBot.Discord/appsettings.json src/DrawingBot.Discord/appsettings.Development.json

Set your Discord bot token in appsettings.Development.json:

{
  "Discord": {
    "Token": "<your-bot-token>",
    "GuildId": "<your-guild-id>"
  }
}

Build

dotnet build

Test

dotnet test

Run the Discord Bot

dotnet run --project src/DrawingBot.Discord

Run the Web Frontend

dotnet run --project src/DrawingBot.Web

Development Practices

This project follows Clean Code, SOLID, and Test-Driven Development (TDD) principles. See .github/copilot-instructions.md for detailed coding guidelines.

Feature Documentation

Feature specifications are maintained in the docs/ folder.

License

See LICENSE.

About

Discord bot for doing drawings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors