send welcome message.
no arguments - display welcome message.
# fbf/plugs/core/welcome.py # # """ send welcome message. """
from fbf.lib.commands import cmnds from fbf.lib.examples import examples
def handle_welcome(bot, event): """ no arguments - display welcome message. """ event.reply("Welcome to FBFBOT - you can give this bot commands. try !help .. or !todo or !shop or !feedback .. ;]") cmnds.add('welcome', handle_welcome, ['OPER', 'USER', 'GUEST']) examples.add('welcome', 'send welcome msg', 'welcome')