You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
2.4 KiB

  1. [irc]
  2. #host = 'irc.hackint.org'
  3. #port = 6697
  4. # Possible values: 'yes' (connect over SSL/TLS and verify certificates), 'no' (connect without SSL/TLS), and 'insecure' (connect over SSL/TLS but disable all certificate checks)
  5. #ssl = 'yes'
  6. # Possible values: 'inet' or 'INET' (force IPv4), 'inet6' or 'INET6' (force IPv6); if unspecified, both are used (if supported)
  7. #family =
  8. #nick = 'h2ibot'
  9. #real = 'I am an http2irc bot.'
  10. # Certificate and key for SASL EXTERNAL authentication with NickServ; certfile is a string containing the path to a .pem file which has the certificate and the key, certkeyfile similarly for one containing only the key; default values are empty (None in Python) to disable authentication; the connection is terminated if authentication fails
  11. #certfile =
  12. #certkeyfile =
  13. [web]
  14. #host = '127.0.0.1'
  15. #port = 8080
  16. [maps]
  17. # No maps exist by default.
  18. #[maps.spam]
  19. # If webpath and/or ircchannel aren't specified, they correspond to the map key.
  20. # The webpath must start with a slash.
  21. #webpath = '/spam'
  22. #ircchannel = '#spam'
  23. # postauth and getauth can be either 'user:pass' for basic authentication or false to disable POST/GET access on this endpoint
  24. # For backwards compatibility, auth is treated as an alias of postauth.
  25. #postauth = false
  26. #getauth = false
  27. # module is the path to a Python source file that handles the message transformation. It must contain a coroutine function 'process' that takes one argument, the aiohttp.web.Request object, and returns the message string to be sent to IRC, which must not contain any linebreaks (CR or LF). It may raise an aiohttp.web.HTTPException to stop processing; any other exception will also cause the processing to be stopped and a '400 Bad Request' response to be returned to the client. The empty default value (None) causes the default processor to be used, which expects a straight message in the request body (with an optional trailing CR+LF or LF) and performs no transformations other than encoding the message as UTF-8.
  28. #module =
  29. # moduleargs are additional arguments to be passed into the module's process function after the request object. Example use: Gitea webhook secret key
  30. #moduleargs = []
  31. # overlongmode determines what happens to messages that are too long to be sent to the channel. The value may be 'split' (split into multiple messages on spaces or codepoints) or 'truncate' (truncate everything exceeding the limit).
  32. #overlongmode = 'split'