18 lines
514 B
Python
18 lines
514 B
Python
import logger
|
|
|
|
|
|
class License:
|
|
def process(self, bot, channel, sender, message):
|
|
"""
|
|
Si la commande est bonne, le bot renvoie sa licence.
|
|
"""
|
|
if message.lower() in ("!license", "!licence"):
|
|
logger.info("!license caught.")
|
|
bot.send(
|
|
channel,
|
|
"Hebdobot est un logiciel libre de l'April sous licence GNU AGPLv3+, "
|
|
"sources : https://forge.april.org/adminsys/hebdobot",
|
|
)
|
|
|
|
return True
|