Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. [core]
  2. ## Bot presence and identity
  3. nick = [nlk]mechasqueak-test
  4. ## Channels for the bot to join, separated by commas
  5. ## If a channel has a password, use "#channel pasword"
  6. ## e.g. channels=#public,#private topsecret
  7. channels = #oppotest
  8. host = irc.fuelrats.com
  9. use_ssl = true
  10. verify_ssl = False
  11. port = 6697
  12. # auth_method = sasl
  13. # auth_password = topsecret
  14. # auth_username = mechasqueak-test
  15. # Since the EDSM Background refresh highly increases the ping for the Bot, the timeout needs to be bigger, the default 120 deosn't cut it.
  16. timeout = 300
  17.  
  18. prefix = \!
  19. help_prefix = !
  20.  
  21. ## Admins
  22. owner = NoLifeKing[PC]
  23. # admins = Joe,Bob
  24.  
  25. ## Where to find modules
  26. extra = sopel-modules
  27.  
  28. ## For production/testing
  29. enable = admin,help,rat-board,rat-facts,rat-search,rat-autocorrect,rat-socket
  30. ## Development use, which may add security risks
  31. # enable = admin,help,rat-board,rat-facts,rat-search,rat-autocorrect,rat-socket,reload,ipython
  32.  
  33. db_filename = run/ratbot.db
  34. logdir = logs
  35. verbose = verbose
  36. log_raw = True
  37.  
  38. [admin]
  39. auto_accept_invite = False
  40.  
  41. [ratbot]
  42. ## Common configuration to all rat modules.
  43. # If running sopel in a read-only location, make sure it has write access to workdir
  44. workdir = run
  45.  
  46. # Database connection string. See SQLAlchemy documentation.
  47. database = postgresql://username:password@localhost/databasename
  48.  
  49. ## Configuration file for Alembic (used for database schema creation and upgrades)
  50. alembic = alembic.ini
  51.  
  52. ## Uncomment this to make SQLAlchemy echo lots of queries.
  53. # debug_sql = true
  54.  
  55. ## API Selection.
  56. # If no API URL is defined, Mecha will operate in offline mode.
  57. ## Development API
  58. apiurl = http://dev.api.fuelrats.com
  59. ## Production API
  60. # apiurl = http://api.fuelrats.com
  61.  
  62. ## API Auth Token.
  63. # Previously generated Oauth2 Token to authorize API Calls
  64. # apitoken = longassthing
  65.  
  66. ## Set this to log API calls. The path must exist (but the file does not need to), file will be overwritten at startup.
  67. ## If this is 'stdout' or 'stderr', logs to stdout/stderr instead.
  68. # apidebug = logs/api.log
  69.  
  70. # URL to use to retrieve starsystem data.
  71. edsm_url = http://edsm.net/api-v1/systems?coords=1
  72.  
  73. # If starsystem data is older than this (in seconds), !sysrefresh can refresh it.
  74. edsm_maxage = 43200
  75.  
  76. # Check to see if the starsystem data needs to be refreshed every N seconds. This can be set to a smaller number than
  77. # edsm_maxage to do things like "check if refresh is needed every 4 hours, but only actually refresh every 12", e.g. to
  78. # allow retries in the event one attempt fails. Set to 0 to disable
  79. edsm_autorefresh = 14400
  80.  
  81. ## Ratbot will try to determine its version number on startup for some informational commands.
  82. ## It will do so by trying the following, in order:
  83. ## - Read the version_string setting
  84. ## - Read the first line of version_file
  85. ## - Execute version_cmd and read the first line of its stdout. This is interpreted using the shell.
  86. ## - Execute git describe --tags --long --always from one of its source directories. The path to git can be changed
  87. ## with 'version_git'
  88. ## The default behavior is usually fine, but uncomment one of these if you wish to change it
  89. #version_string = some-magical-version
  90. #version_file = version.txt
  91. #version_cmd = get_version.sh
  92. #version_git = /usr/bin/git
  93.  
  94.  
  95. [ratfacts]
  96. ## Filename or directory that will be searched for facts to add to the database on startup.
  97. ## This will not override existing facts.
  98. filename = facts
  99.  
  100. ## Language search order for facts with no language or where the specified language is not found
  101. ## Comma-separated list
  102. lang = en
  103.  
  104.  
  105. [ratboard]
  106. # Set the pattern that much be matched in order to trigger a ratsignal. This follows normal regular expression syntax
  107. # The actual pattern be (?!PREFIX).*SIGNAL.*, where PREFIX is the command prefix and PATTERN is the value here.
  108. # (In other words, SIGNAL can be anywhere in the text, and the text must not begin with the command prefix)
  109. # Default: ratsignal
  110. # Use drillsignal for drillsqueak, testsignal for debugging
  111. signal = ratsignal
  112.  
  113. [socket]
  114. # Tracker Configuration
  115. websocketurl = 12345
  116. websocketport = 9000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement