CORE


about


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

description


core bot commands.

commands


commands in this plugin:
 help-plug .. list .. version .. threads .. perm .. help-site .. loglevel .. help .. statusline .. reboot .. encoding .. whatcommands .. apro .. descriptions .. commands .. loaded .. quit .. uptime .. whereis .. running .. versions .. topper

  1. apro .. [handle_apro]

    description:arguments: <searchtxt> - apropos (search) for commands.
    permissions:USER .. GUEST
    code:apro command.
    examples:
    <user> ;apro com
    <output> commands matching com: admin-commands, bug-comments, chan-allowcommand, chan-loudcommand, chan-removecommand, chan-silentcommand, commands, fisheye_commit_lookup_disable, fisheye_commit_lookup_enable, welcome, whatcommands
  2. commands .. [handle_commands]

    description:arguments: [<plugname>] - show commands of plugin.
    permissions:USER .. GUEST
    code:commands command.
    examples:
    <user> ;commands core
    <output> no commands found for plugin core
  3. descriptions .. [handle_descriptions]

    description:no arguments - show descriptions of all plugins.
    permissions:USER .. GUEST
    code:descriptions command.
    examples:
    <user> ;descriptions
    <output> descriptions: <br>* periodical plugin (jsb.lib.periodical) - provide a periodic structure. <br><br>* alarm plugin (jsb.plugs.common.alarm) - <br> the alarm plugin allows for alarms that message the user giving the<br> command at a certain time or number of seconds from now<br><br><br><br>* ask plugin (jsb.plugs.common.ask) - ask a user a question and relay back - 38 more
  4. encoding .. [handle_encoding]

    description:not arguments - show default encoding.
    permissions:USER .. GUEST
    code:encoding command.
    examples:
    <user> ;encoding
    <output> default encoding is utf-8
  5. help .. [handle_help]

    description:arguments: [<cmndname or plugname>] - show help.
    permissions:OPER .. USER .. GUEST
    code:help command.
    examples:
    <user> ;help rss-list
    <output> help on rss-list:  no arguments - return list of available rss items.
    <output> permissions: RSS, USER - location: jsb.plugs.common.rss - examples: rss-list
  6. help-plug .. [handle_helpplug]

    description:arguments: <plugname> - how help on plugin/command or show basic help msg.
    permissions:USER .. GUEST
    code:help-plug command.
    examples:
    <user> ;help-plug
    <output> available plugins: admin, alarm, alias, all, ask, autovoice, birthday, bugtracker, cfg, chan, chatlog, choice, colors, confluence, controlchar, core, count, data, dns, echo, feedback, fish, fisheye, fleet, forward, gatekeeper, gcalc, geo, grep, hubbub, idle, ignore, imdb, infoitem, ipcalc, irc, irccat, irccat2, jira, karma, karma2, kickban, koffie, learn, lists, lmgt, - 1 more
    <output> see !help <plugin> to get help on a plugin.
    <user> ;help-plug misc
    <output> help on plugin MISC: misc commands.
    <output> commands:  !source -  no arguments - show where to fetch the bot source.  !test -  no arguments - give test response.
  7. help-site .. [handle_helpsite]

    description:arguments: <cmnd> - help commands that gives a url to the docs.
    permissions:OPER .. USER .. GUEST
    code:help-site command.
    examples:
    <user> ;help
    <output> documentation for jsonbot can be found at http://jsonbot.org
    <output> see !list for loaded plugins and "!help plugin" for help on the plugin.
    <user> ;help rss
    <output> can't find help on rss
  8. list .. [handle_available]

    description:no arguments - show available plugins .. to enable use !plug-enable.
    permissions:USER .. GUEST
    code:list command.
    examples:
    <user> ;list
    <output> available plugins: admin, alarm, alias, all, ask, autovoice, birthday, bugtracker, cfg, chan, chatlog, choice, colors, confluence, controlchar, core, count, data, dns, echo, feedback, fish, fisheye, fleet, forward, gatekeeper, gcalc, geo, grep, hubbub, idle, ignore, imdb, infoitem, ipcalc, irc, irccat, irccat2, jira, karma, karma2, kickban, koffie, learn, lists, lmgt, - 1 more
  9. loaded .. [handle_loaded]

    description:no arguments - show plugins in cache.
    permissions:USER .. GUEST
    code:loaded command.
    examples:
    <user> ;loaded
    <output> loaded plugins (cache): jsb.plugs.socket.github, jsb.plugs.core.tail, jsb.plugs.core.plug, jsb.plugs.common.topic, jsb.plugs.common.search, jsb.plugs.socket.fisheye, jsb.plugs.core.more, jsb.plugs.socket.confluence, jsb.plugs.core.fleet, jsb.plugs.socket.irccat, myplugs.socket, jsb.plugs.socket.restserver, jsb.plugs.common.remind, jsb.plugs.common.karma, jsb.plugs.common.weather, - 6 more
  10. loglevel .. [handle_loglevel]

    description:arguments: <loglevel> - change loglevel of the bot. loglevel is on of debug, info, warn or error.
    permissions:OPER
    code:loglevel command.
    examples:
    <user> ;loglevel warn
    <output> done - loglevel
  11. perm .. [handle_perm]

    description:arguments: <cmnd> - get permission of command.
    permissions:USER .. GUEST
    code:perm command.
    examples:
    <user> ;perm quit
    <output> quit command needs ['OPER'] permission
  12. quit .. [handle_quit]

    description:no arguments - disconnect from the server.
    permissions:OPER
    code:quit command.
  13. reboot .. [handle_reboot]

    description:no arguments - reboot the bot.
    permissions:OPER
    code:reboot command.
  14. running .. [handle_running]

    description:no arguments - show running tasks.
    permissions:USER .. GUEST
    code:running command.
    examples:
    <user> ;running
    <output> callbacks: [] - commands: [] - longrunning: []
  15. statusline .. [handle_statusline]

    description:no arguments - show a status line.
    permissions:USER .. GUEST
    code:statusline command.
    examples:
    <user> ;statusline
    <output> controlchars: ! - perms: OPER, USER, QUOTE, MAIL, GUEST
  16. threads .. [handle_threads]

    description:no arguments - show running threads.
    permissions:USER .. GUEST
    code:threads command.
    examples:
    <user> ;threads
    <output> threads running: BotEventRunner._loop = 28, Dummy-3 = 1, Dummy-4 = 1, Dummy-5 = 1, Dummy-6 = 1, IRCBot._readloop = 1, MainThread = 1, TCPServer.serve_forever = 1, TickLoop._loop = 1, gendoc = 8, markovlearnlog = 1
  17. topper .. [handle_topper]

    description:no arguments - show a ‘topper’ startus line.
    permissions:USER .. GUEST
    code:topper command.
    examples:
    <user> ;topper
    <output> forwards: none - watched: <channel> - feeds: none
  18. uptime .. [handle_uptime]

    description:no arguments - show uptime.
    permissions:USER .. GUEST
    code:uptime command.
    examples:
    <user> ;uptime
    <output> uptime is 28 seconds
  19. version .. [handle_version]

    description:no arguments - show bot’s version.
    permissions:USER .. GUEST
    code:version command.
    examples:
    <user> ;version
    <output> JSONBOT 0.84.4 RELEASE BASE SQLITE HG 3145
  20. versions .. [handle_versions]

    description:no arguments - show versions of all loaded modules (if available).
    permissions:USER .. GUEST
    code:versions command.
    examples:
    <user> ;versions
    <output> versions ==> {'jsb.plugs.socket.mpd': '2007111601', 'python': '2.7.2+ (default, Oct 4 2011, 20:06:09) \n[GCC 4.6.1]', 'xml.parsers.expat': '$Revision: 17640 $', 'simplejson': '2.1.6', 'BaseHTTPServer': '0.3', 'pyexpat': '2.7.2+', 'SocketServer': '0.4', 'jsb.lib': '0.84', 'tarfile': '$Revision: 85213 $', 'BeautifulSoup': '3.2.0', 'urllib': '1.17', 'jsb.lib.container': '1', - 2 more
  21. whatcommands .. [handle_whatcommands]

    description:arguments: <permission. - show all commands with permission.
    permissions:USER .. GUEST
    code:whatcommands command.
    examples:
    <user> ;whatcommands USER
    <output> commands known for permission USER: @, age, alarm, alarm-mylist, alias, alias-del, alias-search, all, apro, ask, ask-experts, ask-join, ask-list, ask-part, ask-stop, ask-subjects, bd, bd-del, bd-set, beledig, bier, bug, bug-comments, bug-list, cc, cfg, cfg-set, chan-disable, chan-enable, chan-list, chan-token, chatlog-search, chatlog-stats, chips, choice, commands, count, - 7 more
  22. whereis .. [handle_whereis]

    description:arguments: <cmnd> - locate a command.
    permissions:USER .. GUEST
    code:whereis command.
    examples:
    <user> ;whereis test
    <output> test command is in: jsb.plugs.core.misc

Table Of Contents

Previous topic

CHOICE

Next topic

COUNT

This Page