This Go-based Discord bot offers Tic-Tac-Toe and Weather commands. Below is a brief overview of the project.
- cmd: Main entry point of the application.
- config: Manages configuration settings.
- internal/bot: Implements core bot functionality.
- internal/bot/discord: Handles Discord-specific features.
- pkg/api/tictactoe: Provides Tic-Tac-Toe game logic.
- pkg/api/weather: Interfaces with an external weather API.
-
Clone and Build:
git clone <repository-url> cd <project-directory> go build ./cmd -config=config/local.toml
/weather <city>
/ttt star # Start a new game.
/ttt move <position> # Make a move.
/help