Refactor Agora into sources
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user