ADMIN


about


author:FeedBackLoop <feedbackloop@gmail.com>
contact:FREENODE/#fbf
distribution:core
license:

description


admin related commands. these commands are mainly for maintaining the bot.

commands


commands in this plugin:
 admin-debugoff .. admin-stop .. admin-mc .. admin-callbacks .. admin-debugon .. admin-save .. admin-userhostscache .. admin-errors .. admin-commands .. admin-exceptions .. admin-boot .. admin-bootthreaded .. admin-bootbackend .. admin-floodcontrol .. admin-setstatus .. admin-makebot .. admin-reloadconfig .. admin-loadall .. admin-status

  1. admin-boot .. [handle_adminboot]

    description:no arguments - boot the bot .. do some initialisation.
    permissions:OPER
    code:admin-boot command.
  2. admin-bootbackend .. [handle_adminbootbackend]

    description:no arguments - boot the bot .. do some initialisation.
    permissions:OPER
    code:admin-bootbackend command.
    examples:
    <user> ;admin-bootbackend
    <output> reloading all plugins
    <output> done - admin-bootbackend
  3. admin-bootthreaded .. [handle_adminbootthreaded]

    description:no arguments - boot the bot .. do some initialisation.
    permissions:OPER
    code:admin-bootthreaded command.
    examples:
    <user> ;admin-bootthreaded
    <output> reloading all plugins
    <output> done - admin-bootthreaded
  4. admin-callbacks .. [handle_admincallbacks]

    description:no arguments - load all available plugins.
    permissions:OPER
    code:admin-callbacks command.
    examples:
    <user> ;admin-callbacks
    <output> callbacks: 001: ['fbf.plugs.core.nickserv'], 367: ['fbf.plugs.extra.kickban'], BLIP_SUBMITTED: ['fbf.plugs.extra.relay', 'fbf.plugs.extra.forward', 'fbf.plugs.extra.watcher', 'fbf.plugs.extra.learn', 'fbf.plugs.core.dispatch'], CMND: ['fbf.plugs.extra.learn', 'fbf.plugs.core.dispatch'], CONSOLE: ['fbf.plugs.extra.forward', 'fbf.plugs.extra.watcher', 'fbf.plugs.extra.fisheye', - 8 more
  5. admin-commands .. [handle_admincommands]

    description:no arguments - load all available plugins.
    permissions:OPER
    code:admin-commands command.
    examples:
    <user> ;admin-commands
    <output> commands: 8b: fbf.plugs.extra.8b, @: fbf.plugs.extra.snarf, action: fbf.plugs.core.irc, add_fisheye_project: fbf.plugs.extra.fisheye, add_jira_server: fbf.plugs.extra.jira, admin-boot: fbf.plugs.core.admin, admin-bootbackend: fbf.plugs.core.admin, admin-bootthreaded: fbf.plugs.core.admin, admin-callbacks: fbf.plugs.core.admin, admin-commands: fbf.plugs.core.admin, admin-debugoff: - 47 more
  6. admin-debugoff .. [handle_admindebugoff]

    description:no arguments - disable debug on a channel.
    permissions:OPER
    code:admin-debugoff command.
    examples:
    <user> ;admin-debugoff
    <output> debugging is disabled for #test
  7. admin-debugon .. [handle_admindebugon]

    description:no arguments - enable debug on a channel.
    permissions:OPER
    code:admin-debugon command.
    examples:
    <user> ;admin-debugon
    <output> debugging is enabled for #test
  8. admin-errors .. [handle_adminerrors]

    description:no arguments - show logged errors (not exceptions).
    permissions:OPER
    code:admin-errors command.
    examples:
    <user> ;admin-errors
    <output> no errors
  9. admin-exceptions .. [handle_adminexceptions]

    description:no arguments - show exceptions raised in the bot.
    permissions:OPER
    code:admin-exceptions command.
    examples:
    <user> ;admin-exceptions
    <output> exceptions raised: fbf.lib.eventbase:148 execute | fbf.lib.commands:167 dispatch | fbf.lib.commands:185 doit | fbf.plugs.core.test:140 handle_forcedexception | <class 'Exception'>: test exception<br><br>fbf.lib.eventbase:148 execute | fbf.lib.commands:167 dispatch | fbf.lib.commands:185 doit | fbf.plugs.core.test:150 handle_forcedexceptionthreaded | <class 'Exception'>: - 1 more
  10. admin-floodcontrol .. [handle_adminfloodcontrol]

    description:no arguments - disable debug on a channel.
    permissions:OPER
    code:admin-floodcontrol command.
    examples:
    <user> ;admin-floodcontrol dunker 20
    <output> floodrate for dunker set to 20
    <user> ;admin-floodcontrol dunker 20 300 500
    <output> admin-floodcontrol <userhost> <threshold> [period] [wait]
  11. admin-loadall .. [handle_loadall]

    description:no arguments - load all available plugins.
    permissions:OPER
    code:admin-loadall command.
    examples:
    <user> ;admin-loadall
    <output> done - admin-loadall
  12. admin-makebot .. [handle_adminmakebot]

    description:arguments: <botname> <bottype> - create a bot of given type.
    permissions:OPER
    code:admin-makebot command.
    examples:
    <user> ;admin-makebot cmndxmpp xmpp
    <output> done - admin-makebot
  13. admin-mc .. [handle_adminmc]

    description:flush memcached.
    permissions:OPER
    code:admin-mc command.
    examples:
    <user> ;admin-mc stats
    <output> memcached error: 'NoneType' object has no attribute 'get_stats'
    <user> ;admin-mc flushall
    <output> no memcached running
  14. admin-reloadconfig .. [handle_adminreloadconfig]

    description:no arguments - reload bot config and mainconfig files.
    permissions:OPER
    code:admin-reloadconfig command.
    examples:
    <user> ;admin-reloadconfig
    <output> done - admin-reloadconfig
  15. admin-save .. [handle_adminsave]

    description:no arguments - boot the bot .. do some initialisation.
    permissions:OPER
    code:admin-save command.
    examples:
    <user> ;admin-boot
    <output> reloading all plugins
    <output> done - admin-boot
  16. admin-setstatus .. [handle_adminsetstatus]

    description:arguments: <status> [<statustxt>] - set the status of the bot (xmpp).
    permissions:STATUS .. OPER
    code:admin-setstatus command.
    examples:
    <user> ;admin-setstatus available Yooo dudes !
    <output> this command only works on sxmpp bots (for now)
  17. admin-status .. [handle_adminstatus]

    description:[]
    permissions:OPER
    code:admin-status command.
    examples:
    <user> ;admin-status
    <output> current runner status: api: {}, callback: {"BotEventRunner/callback-4": {"queue": 0, "running": "True", "outs": 0, "stopped": "False", "working": "False", "fromplug": ""}, "BotEventRunner/callback-1": {"queue": 0, "running": "True", "outs": 0, "stopped": "False", "working": "False", "fromplug": ""}, "BotEventRunner/callback-0": {"queue": 0, "running": "True", "outs": - 2 more
  18. admin-stop .. [handle_adminstop]

    description:no arguments - stop the bot.
    permissions:OPER
    code:admin-stop command.
  19. admin-userhostscache .. [handle_userhostscache]

    description:no arguments - show userhostscache of the bot the command is given on.
    permissions:OPER
    code:admin-userhostscache command.
    examples:
    <user> ;admin-userhostscache
    <output> userhostcache of #test:

Table Of Contents

Previous topic

core

Next topic

ALIAS

This Page