main #15

Open
polymath wants to merge 2 commits from polymath/KaikOut:main into main
Showing only changes of commit 2f3e887c83 - Show all commits

View file

@ -11,6 +11,7 @@ from kaikout.utilities import Config
from kaikout.xmpp.client import XmppClient
from getpass import getpass
from argparse import ArgumentParser
from erdhe import integrate_with_kaikout # Add this import
import logging
# import os
# import slixmpp
@ -56,5 +57,11 @@ def main():
port = account_xmpp['client']['port'] if 'port' in account_xmpp['client'] else None
XmppClient(jid, password, hostname, port, alias)
# Create the XMPP client
xmpp_client = XmppClient(jid, password, hostname, port, alias)
# Integrate the welcome whisper feature
welcomer = integrate_with_kaikout(xmpp_client)
if __name__ == '__main__':
main()