diff --git a/xmpp.py b/xmpp.py index 20fab7d..4ce8bbc 100644 --- a/xmpp.py +++ b/xmpp.py @@ -1,5 +1,5 @@ from akkomabot import Akkomabot -from ejabberdapi import Ejabberd +from ejabberdapi import Ejabberd, EjabberdAPIConfigError from akkoma import AkkomaNetworkError import sys @@ -9,9 +9,7 @@ if __name__ == '__main__': bot = Akkomabot() - ejabberd_secrets_file = 'secrets/ejabberd_secrets.txt' - - ejabberd = Ejabberd(ejabberd_secrets_file) + ejabberd = Ejabberd() try: