improved logging, added docs, better help support, much improved instancing, pip installable
This commit is contained in:
@@ -23,9 +23,17 @@ commands:
|
||||
require_nick_prefix: false # If true, commands must be prefixed with "botname: " or "botname, "
|
||||
allow_private_commands: false # If true, allows commands in private messages
|
||||
|
||||
help: # Help message templates
|
||||
specific_format: "\x02{prefix}{cmd}\x02: {desc}" # Format for specific command help
|
||||
list_format: "(\x02{cmd}\x02, {desc})" # Format for commands in list
|
||||
list_separator: " | " # Separator between commands in list
|
||||
|
||||
admin:
|
||||
users: # List of users who can use admin commands (use "*" for anyone)
|
||||
- "*"
|
||||
|
||||
logging:
|
||||
level: "INFO" # Logging level: DEBUG, INFO, WARNING, ERROR, or CRITICAL
|
||||
level: "INFO" # Logging level: DEBUG, INFO, WARNING, ERROR, or CRITICAL
|
||||
format: "%(asctime)s - %(levelname)s - %(message)s" # Format for console logs
|
||||
error_format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s" # Format for error logs
|
||||
datefmt: "%H:%M:%S" # Date/time format for log timestamps
|
||||
Reference in New Issue
Block a user