diff --git a/bot.py b/bot.py index 46ef67e..fad2e31 100644 --- a/bot.py +++ b/bot.py @@ -138,7 +138,7 @@ class MUCBot(slixmpp.ClientXMPP): if presence['muc']['nick'] in self.datastore.knownMaintainers: self.send_message(mto=presence['from'].bare, mbody="Salut %s, vos services ont produit des " \ - % (presence['muc']['nick']) + + % (presence['muc']['nick']) + "alertes en votre absence !\nUtilisez la commande"+ " `hist` pour consulter l'historique", mtype='groupchat') diff --git a/commands.py b/commands.py index 59af416..7299b39 100644 --- a/commands.py +++ b/commands.py @@ -120,7 +120,7 @@ def cmdhist(owners, nick, text, store): msg = "voici les cinq derniers évènements pour chaque hôte notifié:\n" for host in store.knownMaintainers[nick]: - msg += "\nHôte %s:" % host + msg += "\nHôte %s:\n" % host count = 0 for serviceline in store.knownMaintainers[nick][host]: