Don't use bolding for command colors (commands.py)
This commit is contained in:
parent
3cc9bc9dbb
commit
eadb49d41a
1 changed files with 2 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue