tentative de résolution de bug presence

This commit is contained in:
Adrien Bourmault 2022-02-17 11:23:11 +01:00
parent 0640c90489
commit f6e563b071
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 3 additions and 3 deletions

6
bot.py
View File

@ -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":