welcome

send welcome message.

fbf.plugs.core.welcome.handle_welcome(bot, event)

no arguments - display welcome message.

CODE

# fbf/plugs/core/welcome.py
#
#

""" send welcome message. """

fbf imports

from fbf.lib.commands import cmnds
from fbf.lib.examples import examples

welcome command

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')

Table Of Contents

Previous topic

userstate

Next topic

xmpp

This Page