Don't use bolding for command colors (commands.py)

This commit is contained in:
jesopo 2019-01-11 20:57:52 +00:00
parent 3cc9bc9dbb
commit eadb49d41a

View file

@ -68,12 +68,10 @@ class Out(object):
class StdOut(Out): class StdOut(Out):
def prefix(self): def prefix(self):
return utils.irc.color(utils.irc.bold(self.module_name), return utils.irc.color(self.module_name, utils.consts.LIGHTGREEN)
utils.consts.GREEN)
class StdErr(Out): class StdErr(Out):
def prefix(self): def prefix(self):
return utils.irc.color(utils.irc.bold("!"+self.module_name), return utils.irc.color("!"+self.module_name, utils.consts.RED)
utils.consts.RED)
def _command_method_validate(s): def _command_method_validate(s):
if s.upper() in COMMAND_METHODS: if s.upper() in COMMAND_METHODS: