Added setup attribute to EjabberdAPI library. Related to #3

This commit is contained in:
spla 2022-08-29 12:52:30 +02:00
pare b819f73fb6
commit c9c880949f

Veure arxiu

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