How armdng/kiyohime_go works
Project type and purpose
• This is a single‐service, monolithic Go application (“kiyohime_go”) that implements a Discord Bot using the discordgo library.
• It connects to Discord’s Gateway via WebSockets, listens for incoming events, and responds (for example, by fetching and displaying user avatars).
• It is containerized via a multi‐stage Docker build and has a GitHub Actions workflow for building/publishing.
File structure
• Top‐level Go module files (go.mod, go.sum) and main.go: the entire source code lives in main.go (no nested “src/” or “cmd/” folders).
• Dockerfile and .dockerignore: defines how to build and containerize the bot using a multi‐stage build.
• .github/workflows/docker.yml: CI pipeline that builds and pushes the Docker image.
• README.md: describes usage, environment variables, and build steps.
README for additional insights
• Dependencies: only discordgo (github.com/bwmarrin/discordgo).
• Runtime configuration via two environment variables: DISCORD_TOKEN and RMCMD.
• Docker usage and build instructions are provided.
Detail without over‐fragmentation
• Interactions: user → gateway → bot → gateway → user, plus build/deploy via CI → registry → container host.