XMPP Bot to provide version/uptime/ contact information
Find a file
nico faf2c428bf initial commit
+ added .gitignore file
+ added basic README file
2018-06-21 23:15:44 +02:00
.gitignore initial commit 2018-06-21 23:15:44 +02:00
README.MD initial commit 2018-06-21 23:15:44 +02:00

Python XMPP Chatbot

beforehand

Do not opperate this bot on foreign servers.

functions

  • query xmpp server software and version XEP-0092
  • query xmpp server uptime XEP-0012
  • displaying a help output
  • respond to username being mentioned

todo

  • query xmpp server contact addresses XEP-0157
    • iq is being catched but the answer needs to be extracted out of it
  • Github Webhook

install

requirements

  • slixmpp
  • configparser
  • datetime
  • random

configuration

bot.cfg replace dummy file with correct credentials/ parameters

[Account]
jid=nick@domain.tld/querybot-0.1
password=super_secret_password
[MUC]
rooms=room_to_connect_to@conference.domain.tld
nick=mucnickname
[ADMIN]
admins=admins ( ! muc nick and not the jid nickname)

If done correctly ./main.py & and enjoy your bot.