discord-bot
by xxczaki
Helm chartv0.35.81App 7bdcb0ab222756aec71b651c7459984317e42b45MITVerified publisher
🎵 Music bot for my private Discord server, powered by discord-player
About this chart
discord-bot
🎵 Music bot for my private Discord server, powered by discord-player
Homepage: https://github.com/xxczaki/discord-bot
Maintainers
| Name | Url | |
|---|---|---|
| Antoni Kępiński | https://github.com/xxczaki |
Source Code
Requirements
| Repository | Name | Version |
|---|---|---|
| https://charts.bitnami.com/bitnami | redis | ~28.3.16 |
Values
Bot
| Key | Type | Default | Description |
|---|---|---|---|
| env.botDebugChannelId | string | "" | ID of the channel used for sending debug messages The server containing this channel is treated as the home server, whose owners can manage shared caches |
| env.clientId | string | "" | Client ID used for Discord API authorization |
| env.disabledCommands | string | "" | Comma-separated list of commands to disable (e.g. "lockdown,prompt") Disabled commands are not registered with Discord |
| env.enableYoutube | string | "" | Enable YouTube for search and playback Set to "true" to enable YouTube extractor, leave empty for SoundCloud-only |
| env.guilds | object | {} | Servers allowed to use the bot, keyed by guild ID Each entry needs playlistsChannelId (channel storing the server's playlists) and can set ownerRoleId (role allowed to use owner-only commands like /lockdown, which are unavailable without it) |
| env.spotifyClientId | string | "" | Optional client ID for the Spotify API Used by https://github.com/iTsMaaT/discord-player-spotify |
| env.spotifyMarket | string | "DE" | Spotify market code (ISO 3166-1 alpha-2) for search results |
| persistentVolumeClaim | object | {"accessModes":["ReadWriteOnce"],"size":"5Gi","storageClass":""} | Configuration of the PVC used for storing the cached songs |
| secrets.mistralApiKey | object | {"key":"","name":""} | Points to a Secret containing the Mistral API key Used for the /prompt command |
| secrets.sentryDsn | object | {"key":"","name":""} | Points to a Secret containing the Sentry DSN Learn more: https://docs.sentry.io/concepts/key-terms/dsn-explainer/ |
| secrets.spotifyClientSecret | object | {"key":"","name":""} | Points to a Secret containing the Spotify API client secret Used by https://github.com/iTsMaaT/discord-player-spotify |
| secrets.token | object | {"key":"","name":""} | Points to a Secret containing the Discord bot token |
Redis
| Key | Type | Default | Description |
|---|---|---|---|
| redis | object | {"architecture":"standalone","auth":{"enabled":false},"commonConfiguration":"# Enable AOF https://redis.io/topics/persistence#append-only-file\nappendonly yes\n# Disable RDB persistence, AOF persistence already enabled.\nsave \"\"","image":{"digest":"sha256:d75bda00b778ad5e03a639ec36e00f6665a5d7e0f35a6250be5b103fb2117275"}} | General configuration of the Redis instance used for query caching and storing usage statistics |
Service Account
| Key | Type | Default | Description |
|---|---|---|---|
| serviceAccount | object | {"annotations":{},"create":true,"name":""} | Service account used by the bot Pod |
Other Values
| Key | Type | Default | Description |
|---|---|---|---|
| image | object | {"pullPolicy":"Always","repository":"ghcr.io/xxczaki/discord-bot","tag":"7bdcb0ab222756aec71b651c7459984317e42b45"} | General configuration of the Redis instance used for query caching and storing usage statistics |
| livenessProbe | object | {"initialDelaySeconds":10,"periodSeconds":10,"tcpSocket":{"port":8000}} | Liveness probe used for the bot Pod |
| readinessProbe | object | {"initialDelaySeconds":10,"periodSeconds":10,"tcpSocket":{"port":8000}} | Readiness probe used for the bot Pod |
| resources | object | {"limits":{"cpu":"400m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}} | Resource limits used for the bot Pod |
| securityContext | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}} | Security context used for the bot Pod |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy discord-bot with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has discord-bot on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdiscord-bot is pinned at v0.35.81 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply