test
This commit is contained in:
parent
28a29c2861
commit
4751b1c2ba
@ -26,13 +26,16 @@ class Comms():
|
|||||||
self.backend = bot.backend
|
self.backend = bot.backend
|
||||||
self.dispatch = bot.dispatch
|
self.dispatch = bot.dispatch
|
||||||
|
|
||||||
|
def hostmask_set(self, bot):
|
||||||
|
self.hostmask = bot.hostmask
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def botnick(self):
|
def botnick(self):
|
||||||
return self.config.core.nick
|
return self.config.core.nick
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def bothostmask(self):
|
def bothostmask(self):
|
||||||
return self.bot.hostmask
|
return self.hostmask
|
||||||
|
|
||||||
def write(self, args, text=None):
|
def write(self, args, text=None):
|
||||||
while not self.backend:
|
while not self.backend:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user