Skip to content

Instantly share code, notes, and snippets.

@luaugg
Created February 23, 2019 15:37
Show Gist options
  • Save luaugg/b4b8ffaa27da190f45d38a0a68e63827 to your computer and use it in GitHub Desktop.
Save luaugg/b4b8ffaa27da190f45d38a0a68e63827 to your computer and use it in GitHub Desktop.
Kunou v2 Configuration File (in TOML). Prone to changes at any moment without notice.
[kunou]
token = "bot token"
[kunou.presences]
type = "LISTENING"
messages = ["blah", "blah 2"]
[kunou.commands]
default_prefix = "k->"
package = "com.github.samophis.kunou.commands.list"
[kunou.database]
[kunou.database.postgres]
host = "host name"
port = 5432
username = "kunou"
database = "kunou"
password = "secure password here."
[kunou.database.redis]
host = "host name"
port = 6379
password = "even more secure password here. redis is faster than postgres (150k attempts/s on a good box)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment