This repository was archived by the owner on Jan 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1313# - Code -
1414# ----------------------------------------------------------------------------------------------------------------------
1515def version_handler () -> str :
16- version = 0 ,2 ,0
16+ version = 0 ,3 ,0
1717 version_str = "." .join (str (i ) for i in version )
1818
1919 with open ("src/AthenaTwitchBot/_info/_v.py" , "w" ) as file :
Original file line number Diff line number Diff line change 11def _version ():
2- return '0.2 .0'
2+ return '0.3 .0'
Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ def launch(
2323 protocol_factory :Callable = None ,
2424 output :Output = None ,
2525 host :str = 'irc.chat.twitch.tv' ,
26- port :int = 6667 , #todo make this into the ssl port
27-
28- auto_restart :bool = False
26+ port :int = 6667 ,
27+ port_ssl :int = 6697 ,
28+ auto_restart :bool = False ,
29+ ssl :bool = False
2930):
3031
3132 if output is None :
@@ -48,7 +49,8 @@ def launch(
4849 loop .create_connection (
4950 protocol_factory = protocol_factory ,
5051 host = host ,
51- port = port ,
52+ port = port if not ssl else port_ssl ,
53+ ssl = ssl
5254 )
5355 )
5456 loop .run_forever ()
You can’t perform that action at this time.
0 commit comments