Fortress is a Discord bot designed to enhance server interactions by providing various features and functionalities. It integrates with the Discord API to manage messages, commands, and user interactions seamlessly.
- Health check endpoint to monitor the bot's status.
- Message history management with garbage collection.
- Modular architecture for easy extensibility.
- Go 1.16 or later
- A Discord account to create a bot
-
Create a bot in Discord.
-
Add the bot to your server with admin permissions and message content intent.
-
Copy the
.env.examplefile to.env. -
Fill in the
.envfile with your bot token. -
Start the bot:
make dev
cmd/: Contains the entry point for the application.pkg/: Contains the core functionality, including:adapter/: Adapters for various services.discord/: Discord-related functionalities, including services and views.config/: Configuration management.logger/: Logging utilities.
.env.example: Example environment configuration file.Makefile: Build and run commands.