Source code for opzet.plugins.ls

# opzet/plugins/ls.py
#
#

""" list object attributes. """

## IMPORTS

from opzet.object import Object

import opzet
import types

## CMNDS

[docs]def ls(bot, event): bot.announce(", ".join(sorted([x for x in bot.cmnds.names()])))
[docs]def register(bot): bot.cmnds.register("ls", ls)