forked from mindiell/hebdobot
14 lines
333 B
Python
14 lines
333 B
Python
import logger
|
|
|
|
|
|
class Version:
|
|
def process(self, bot, channel, sender, message):
|
|
"""
|
|
Si la commande est bonne, le bot renvoie sa version.
|
|
"""
|
|
if message.lower() == "!version":
|
|
logger.info("!version caught.")
|
|
bot.send(channel, bot.settings.VERSION)
|
|
|
|
return True
|