import logging # This is a minimal configuration to get you started with the Text mode. # If you want to connect Errbot to chat services, checkout # the options in the more complete config-template.py from here: # https://raw.githubusercontent.com/errbotio/errbot/master/errbot/config-template.py #Config de base BOT_DATA_DIR = '/home/lapinou/erbaut/data' BOT_EXTRA_PLUGIN_DIR = '/home/lapinou/erbaut/plugins' BOT_LOG_FILE = '/home/lapinou/erbaut/errbot.log' BOT_LOG_LEVEL = logging.INFO #IPV6 pour voir si ça passe XMPP_USE_IPV6 = True # Liste des admins autorisées à modifier le bot en ligne BOT_ADMINS = ('moi@xmppserver.com', ) #Install auto des dépendances des plugins AUTOINSTALL_DEPS = True ## XMPP BACKEND = 'XMPP' BOT_IDENTITY = { # XMPP 'username': 'bot@xmppserver.com', # The JID of the user you have created for the bot 'password': 'ACHANGER', } CHATROOM_PRESENCE = ('salon1@chat.xmppserver.com','salon2@chat.xmppserver.com',) # "nick" of the bot in the room CHATROOM_FN = 'Erbaut' ## Prefix configuration # autre nom auquel le bot répond (même si c'est dans une phrase ?) BOT_ALT_PREFIXES = ('pendorid',) # Evite que la casse change quelque chose BOT_ALT_PREFIX_CASEINSENSITIVE = True ## Contrôles d'accès et droits ACCESS_CONTROLS_DEFAULT = {} ACCESS_CONTROLS = { 'say': { 'allowrooms': ('salon1@chat.xmppserver.com','salon2@chat.xmppserver.com',), 'denyusers':('toi@xmppserver.com',) }, } HIDE_RESTRICTED_COMMANDS = True