[angel]
jid = angel@example.com
password = b0TPA55W0rD
-autojoin = room1@muc.example.com room2@muc.example.com room3@muc.example.com
\ No newline at end of file
+autojoin = room1@muc.example.com room2@muc.example.com room3@muc.example.com
+nick = angel-from-underworld
vcard = self.plugin["xep_0054"].make_vcard()
vcard["URL"] = "https://gt.kalli.st/czar/angel"
+ vcard["DESC"] = "Angel is a bot that can do link previews and embeds."
+ vcard["NICKNAME"] = "Angel"
+ vcard["FN"] = "Angel"
+ vcard["PHOTO"] = info
asyncio.gather(self.plugin["xep_0054"].publish_vcard(vcard))
jid = config["angel"]["jid"]
password = config["angel"]["password"]
autojoin = config["angel"]["autojoin"].split()
-
- bot = AngelBot(jid, password, nick="angel-from-overworld", autojoin=autojoin)
+ nick = config["angel"]["nick"]
+ bot = AngelBot(jid, password, nick=nick, autojoin=autojoin)
bot.connect()
bot.process(forever=True)