def formatBold(t: str = "", close: bool = True) -> str:
    """
    Applies IRC bold formatting to the provided text (t),
    optionally resetting formatting at the end of it (True by default).
    """
    reset = '\x0f'
    return f"\x02{t}{reset if close else ''}"