Commit Graph

17 Commits

Author SHA1 Message Date
Alexei Sorokin 47aab1356e Escape the nick when forming a regexp 2017-06-18 12:15:29 +03:00
Alexei Sorokin 30e84cc7e6 Improve reconnecting ability
And increase timeout to 5 seconds.
2017-06-14 21:02:26 +03:00
Alexei Sorokin fd078c43ad Always display plugin errors
And fix !megakick once more.
2017-06-11 14:42:44 +03:00
Alexei Sorokin 720d17f6b9 Add basic Python plugins support 2017-06-09 18:28:28 +03:00
Alexei Sorokin 90855d4d89 Stop importing subprocess 2017-06-09 10:42:32 +03:00
Alexei Sorokin 91e05364f6 Fix !megakick broken after the slixmpp switch 2017-06-03 14:41:35 +03:00
Alexei Sorokin bea576efb3 Switch from sleekxmpp to slixmpp 2017-05-31 15:15:21 +03:00
Alexei Sorokin ee5fa7e9e2 Fix issues with reconnecting 2017-05-28 22:30:49 +03:00
Alexei Sorokin ae3312b2e2 Create a separate logger for the class 2017-05-28 20:38:41 +03:00
Alexei Sorokin 6094b074cc Before handling a message, check the sender if the bot 2017-02-22 01:17:47 +03:00
Alexei Sorokin d73e10e76e Rename main class to Hptoad 2016-08-25 21:56:13 +03:00
Alexei Sorokin 938709465c Use os.path.join() instead of concatenating manually 2016-08-24 17:20:19 +03:00
Alexei Sorokin 3bb0824e75 Alias client.plugin["xep_0045"] only once 2016-08-24 17:17:33 +03:00
Alexei Sorokin 96c975233c Work in the directory where hptoad.py is located 2016-08-24 02:16:37 +03:00
Alexei Sorokin 633a023580 Refactoring of command handling 2016-08-23 20:23:53 +03:00
Alexei Sorokin 2d96423021 Fix plugins stderr output 2016-08-20 21:56:39 +03:00
Alexei Sorokin ca6c9cca13 Port to Python with sleekxmpp 2016-08-19 22:26:56 +03:00