def memojoinmsg(self, syscolor, td, timeGrammar, verb): (temporal, pcf, when) = (timeGrammar.temporal, timeGrammar.pcf, timeGrammar.when) timetext = timeDifference(td) initials = pcf+self.initials()+timeGrammar.number return "<c=%s><c=%s>%s %s [%s]</c> %s %s.</c>" % \ (syscolor.name(), self.colorhtml(), temporal, self.handle, initials, timetext, verb)
def memoopenmsg(self, syscolor, td, timeGrammar, verb, channel): (temporal, pcf, when) = (timeGrammar.temporal, timeGrammar.pcf, timeGrammar.when) timetext = timeDifference(td) initials = pcf + self.initials() return "<c=%s><c=%s>%s</c> %s %s %s.</c>" % \ (syscolor.name(), self.colorhtml(), initials, timetext, verb, channel[1:].upper().replace("_", " "))
def memoopenmsg(self, syscolor, td, timeGrammar, verb, channel): (temporal, pcf, when) = (timeGrammar.temporal, timeGrammar.pcf, timeGrammar.when) timetext = timeDifference(td) initials = pcf + self.initials() return "<c=%s><c=%s>%s</c> %s %s %s.</c>" % ( syscolor.name(), self.colorhtml(), initials, timetext, verb, channel[1:].upper().replace("_", " "), )