'Ejabberd' object has no attribute 'account_exists' #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Traceback (most recent call last):
File "xmpp.py", line 44, in
is_registered, text = ejabberd.register(mention.acct, bot.mastodon_hostname, password)
File "/home/mastodon/bots/xmppbot/ejabberdapi.py", line 77, in register
account_exists = self.account_exists(username, host)
AttributeError: 'Ejabberd' object has no attribute 'account_exists'
Bot is not replying 'register' keyword because this bug. It's right, that attribute don't exists.