Open
Description
In the instance that your oauth key begins with the character 'h' it will be stripped from the password at IRC initialization and throw a login error.
class IRC(threading.Thread):
def __init__(self, nickname: str, password: str, address: str = 'irc.chat.twitch.tv', port: int = 6667):
super().__init__()
self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.address: str = address
self.port: int = port
self.channels: List[str] = []
self.nickname: str = nickname
self.password: str = 'oauth:' + password.lstrip('oauth:')
self.active: bool = True
self.incoming: Subject = Subject()
Metadata
Metadata
Assignees
Labels
No labels