DATA


about


author:Bart Thate <bthate@gmail.com>
contact:IRCNET/#dunkbots
distribution:core
license:MIT

description


data dumper commands.

commands


commands in this plugin:
 data-bot .. data-event .. data-cfg .. data-chan .. data-main

  1. data-bot .. [handle_databot]

    description:no arguments - dump bot as json dict.
    permissions:OPER
    code:data-bot command.
    examples:
    <user> ;data-bot
    <output> {"status": "init", "networkname": "testbot", "encoding": "utf-8", "allowall": true, "nicks": {}, "reconnectcount": 0, "ids": [], "ignore": [], "fleetdir": "fleet/testbot", "ecounter": 0, "maincfg": {"domain": "", "auto_register": 0, "color": "", "whitelist": [], "dbenable": 1, "app_id": "jsonbot", "colors": "", "issaved": true, "origdir": "/home/bart/.jsb", "ticksleep": 1, - 2 more
  2. data-cfg .. [handle_datacfg]

    description:no arguments - dump bot as json dict.
    permissions:OPER
    code:data-cfg command.
    examples:
    <user> ;data-cfg
    <output> {"jsondb": null, "name": "testbot", "nick": "jsb", "host": "", "server": "", "channels": [], "ssl": 0, "isdb": false, "disable": 1, "isgae": false, "issaved": true, "ipv6": 0, "port": "", "uuid": "9e864023-34ef-40d6-b916-7dba7489be91"}
  3. data-chan .. [handle_datachan]

    description:no arguments - dump channel data to json.
    permissions:OPER
    code:data-chan command.
    examples:
    <user> ;data-chan
    <output> {"nick": "jsb", "autovoice": 0, "enable": true, "silent": true, "forwards": ["jsonbot@jsonbot.org"], "ops": ["test@test"], "allowcommands": ["learn"], "dogeo": true, "denyplug": ["idle"], "cacheindex": 0, "how": "msg", "allowwatch": [], "debug": true, "watched": ["<channel>"], "feeds": [], "silentcommands": ["learn"], "id": "#test", "cc": "!"}
  4. data-event .. [handle_dataevent]

    description:no arguments - dump event to json.
    permissions:OPER
    code:data-event command.
    examples:
    <user> ;data-event
  5. data-main .. [handle_datamain]

    description:no arguments - dump bot as json dict.
    permissions:OPER
    code:jsb.plugs.core.data_data-main_command.
    examples:
    <user> ;data-main
    <output> {"domain": "", "auto_register": 0, "color": "", "whitelist": [], "dbenable": 1, "app_id": "jsonbot", "colors": "", "issaved": true, "ticksleep": 1, "port": "", "uuid": "a0563c7e-abba-4fc4-bfe8-8f3107bdc212", "appname": "JSONBOT", "dbtype": "sqlite", "guestasuser": 0, "floodallow": 1, "jsondb": null, "memcached": 0, "quitmsg": "http://jsonbot.googlecode.com", "bindhost": "", - 1 more

Table Of Contents

Previous topic

COUNT

Next topic

DISPATCH

This Page