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.

31 lines
2.1 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. #nick = 'h2ibot'
  7. #real = 'I am an http2irc bot.'
  8. # 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
  9. #certfile =
  10. #certkeyfile =
  11. [web]
  12. #host = '127.0.0.1'
  13. #port = 8080
  14. [maps]
  15. # No maps exist by default.
  16. #[maps.spam]
  17. # If webpath and/or ircchannel aren't specified, they correspond to the map key.
  18. # The webpath must start with a slash.
  19. #webpath = '/spam'
  20. #ircchannel = '#spam'
  21. # auth can be either 'user:pass' for basic authentication or false to disable auth
  22. #auth = false
  23. # 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.
  24. #module =
  25. # moduleargs are additional arguments to be passed into the module's process function after the request object. Example use: Gitea webhook secret key
  26. #moduleargs = []
  27. # 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).
  28. #overlongmode = 'split'