vars.go 956 B

12345678910111213141516171819202122232425262728293031
  1. package main
  2. import (
  3. "os"
  4. )
  5. const (
  6. projectName = "discord-downloader-go"
  7. projectLabel = "Discord Downloader GO"
  8. projectRepoBase = "get-got/discord-downloader-go"
  9. projectRepoURL = "https://github.com/" + projectRepoBase
  10. projectIcon = "https://cdn.discordapp.com/icons/780985109608005703/9dc25f1b91e6d92664590254e0797fad.webp?size=256"
  11. projectVersion = "2.1.0-dev" // follows Semantic Versioning, (http://semver.org/)
  12. pathCache = "cache"
  13. pathCacheHistory = pathCache + string(os.PathSeparator) + "history"
  14. pathCacheDuplo = pathCache + string(os.PathSeparator) + ".duplo"
  15. pathCacheInstagram = pathCache + string(os.PathSeparator) + "instagram.json"
  16. pathConstants = pathCache + string(os.PathSeparator) + "constants.json"
  17. pathDatabase = "database"
  18. defaultReact = "✅"
  19. limitMsg = 2000
  20. limitEmbedDesc = 4096
  21. )
  22. var (
  23. configFileBase = "settings"
  24. configFile string
  25. configFileC bool
  26. )