.env.example 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Example .env file for selfhosting the bot
  2. # Don't add your .env file to your github repository, these settings are used to access the bot
  3. # Your bot token to login your bot
  4. token="<Discord bot token>"
  5. # Your bots user ID
  6. bot="461189216198590464"
  7. # Your bots client secret for the dashboard
  8. secret="<Discord client secret>"
  9. # Optional: Your bots return uri for the dashboard
  10. dashboard="https://settings.wikibot.de/oauth"
  11. # Your user ID for owner only commands
  12. owner="243478237710123009"
  13. # Command prefix for the bot
  14. prefix="!wiki "
  15. # Channel where to change the patreon settings
  16. channel="464098946894004224"
  17. # Invite link to the bot help Discord
  18. invite="https://discord.gg/v77RTk5"
  19. # Link to the patreon page for the bot
  20. patreon="https://www.patreon.com/WikiBot"
  21. # Optional: API token for phabricator.wikimedia.org
  22. phabricator_wikimedia=""
  23. # Optional: API token for phabricator.miraheze.org
  24. phabricator_miraheze=""
  25. # Optional: Client ID for Wikimedia OAuth2 consumer
  26. oauth_wikimedia=""
  27. # Optional: Client secret for Wikimedia OAuth2 consumer
  28. oauth_wikimedia_secret=""
  29. # Optional: Client ID for Miraheze OAuth2 consumer
  30. oauth_miraheze=""
  31. # Optional: Client secret for Miraheze OAuth2 consumer
  32. oauth_miraheze_secret=""
  33. # Optional: Path to a log file for usage statistics
  34. usagelog=""
  35. # Variables for your PostgreSQL server
  36. PGHOST="localhost"
  37. PGUSER="postgres"
  38. PGDATABASE="postgres"
  39. PGPASSWORD="postgres"
  40. PGPORT="5432"