From f6e563b071dfe69ee000e7f278e5c23fa92240c5 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 17 Feb 2022 11:23:11 +0100 Subject: [PATCH] =?UTF-8?q?tentative=20de=20r=C3=A9solution=20de=20bug=20p?= =?UTF-8?q?resence?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 71c5864..46ef67e 100644 --- a/bot.py +++ b/bot.py @@ -137,10 +137,10 @@ 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 " + + mbody="Salut %s, vos services ont produit des " \ + % (presence['muc']['nick']) + "alertes en votre absence !\nUtilisez la commande"+ - " `hist` pour consulter l'historique" - % (presence['muc']['nick']), + " `hist` pour consulter l'historique", mtype='groupchat') if presence['muc']['affiliation'] == "owner":