forked from gitea/distea
|
||
---|---|---|
cmd/distea | ||
discord | ||
forge | ||
.drone.yml | ||
.gitignore | ||
.goreleaser.yaml | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md |
distea
A small Discord bot used in the Gitea server.
Configuration
CLI flags:
Usage of distea:
-config string
Path to config
-discord-guild-id string
Discord guild ID
-discord-token string
Discord bot token
-forge-token string
Forge token for authentication
-json
Use JSON logging
-log-level value
Set the logging level (default: info)
Config file (TOML):
discord-guild-id = ""
discord-token = ""
forge-token = ""
json = false
log-level = ""
Environment variables:
DISTEA_DISCORD_GUILD_ID
DISTEA_DISCORD_TOKEN
DISTEA_FORGE_TOKEN
DISTEA_JSON
DISTEA_LOG_LEVEL