Refactor Agora into sources

This commit is contained in:
2022-03-14 21:19:26 +00:00
parent 8bec00d825
commit cb15346a78
9 changed files with 50 additions and 10 deletions

View File

@@ -29,9 +29,9 @@ class UX(object):
"""
init_map = {
"ux": self,
"agora": self.agora,
"markets": self.markets,
"sinks": self.sinks,
"sources": self.sources,
"tx": self.tx,
"webapp": self.webapp,
"money": self.money,

View File

@@ -117,8 +117,8 @@ class IRCBot(irc.IRCClient):
:param channel: channel we joined
:type channel: string
"""
self.agora.setup_loop()
self.sinks.__irc_started__()
self.sources.__irc_started__()
self.log.info(f"Joined channel {channel}")
def privmsg(self, user, channel, msg):