Remove unused config

This commit is contained in:
Czar 2021-05-16 18:47:44 -03:00
commit 53a4aa0a4a
Signed by: czar
GPG key ID: 2DBA9558E9277C37
2 changed files with 2 additions and 13 deletions

14
main.py
View file

@ -208,17 +208,8 @@ class AngelBot(ClientXMPP):
print(e)
return
def __init__(
self,
jid,
password,
owner,
nick="angel",
prefix="!",
autojoin=None,
):
def __init__(self, jid, password, nick="angel", autojoin=None):
ClientXMPP.__init__(self, jid, password)
self.owner = owner
self.jid = jid
self.prefix = prefix
self.nick = nick
@ -309,10 +300,9 @@ if __name__ == "__main__":
jid = config["angel"]["jid"]
password = config["angel"]["password"]
owner = config["angel"]["owner"]
autojoin = config["angel"]["autojoin"].split()
bot = AngelBot(jid, password, owner, autojoin=autojoin)
bot = AngelBot(jid, password, autojoin=autojoin)
bot.connect()
bot.process()