def to_irc(self) -> int:
        """
        Convert to mIRC color Code
        :return: IRC color code
        """
        d = {
            (self.BLACK, True): 14,
            (self.BLACK, False): 1,
            (self.RED, True): 4,
            (self.RED, False): 5,
            (self.GREEN, True): 9,
            (self.GREEN, False): 3,
            (self.YELLOW, True): 8,
            (self.YELLOW, False): 7,
            (self.BLUE, True): 12,
            (self.BLUE, False): 2,
            (self.MAGENTA, True): 13,
            (self.MAGENTA, False): 6,
            (self.CYAN, True): 11,
            (self.CYAN, False): 10,
            (self.WHITE, True): 0,
            (self.WHITE, False): 15
        }
        return d[(self.color, self.bright)]
def to_irc ( self ) -> int : d = { ( self . BLACK , True ) : 14 , ( self . BLACK , False ) : 1 , ( self . RED , True ) : 4 , ( self . RED , False ) : 5 , ( self . GREEN , True ) : 9 , ( self . GREEN , False ) : 3 , ( self . YELLOW , True ) : 8 , ( self . YELLOW , False ) : 7 , ( self . BLUE , True ) : 12 , ( self . BLUE , False ) : 2 , ( self . MAGENTA , True ) : 13 , ( self . MAGENTA , False ) : 6 , ( self . CYAN , True ) : 11 , ( self . CYAN , False ) : 10 , ( self . WHITE , True ) : 0 , ( self . WHITE , False ) : 15 } return d [ ( self . color , self . bright ) ]
Convert to mIRC color Code
        :return: IRC color code