@@ -94,7 +94,7 @@ def __init__(
9494
9595 self .exc_manager = ExceptionManager (self )
9696
97- self .aluerie_online : bool = False
97+ self .irene_online : bool = False
9898
9999 # def show_oauth(self) -> None:
100100 # oauth = twitchio.authentication.OAuth(
@@ -182,9 +182,9 @@ async def setup_hook(self) -> None:
182182 5. Comment the lines back. In normal state, they should be commented.
183183
184184 """
185- self .print_bot_oauth () # noqa: ERA001, RUF100
186- self .print_broadcaster_oauth () # noqa: ERA001, RUF100
187- return # noqa: ERA001, RUF100
185+ # self.print_bot_oauth() # noqa: ERA001, RUF100
186+ # self.print_broadcaster_oauth() # noqa: ERA001, RUF100
187+ # return # noqa: ERA001, RUF100
188188
189189 for ext in self .extensions :
190190 (await self .load_module (ext ))
@@ -418,18 +418,18 @@ async def check_if_online(self) -> None:
418418 """Check if aluerie is online - used to make my own (proper) online event instead of twitchio's."""
419419 await asyncio .sleep (1.0 ) # just in case;
420420 if await self .aluerie_stream ():
421- self .aluerie_online = True
421+ self .irene_online = True
422422 self .dispatch ("aluerie_online" )
423423
424424 async def event_stream_online (self , _ : twitchio .StreamOnline ) -> None :
425425 """Instead of the twitchio event - dispatch my own online event.
426426
427427 The difference is that my event accounts for the state of my stream when the bot restarts.
428428 """
429- self .aluerie_online = True
429+ self .irene_online = True
430430 self .dispatch ("aluerie_online" )
431431
432432 async def event_stream_offline (self , _ : twitchio .StreamOffline ) -> None :
433433 """Instead of the twitchio event - dispatch my own offline event."""
434- self .aluerie_online = False
434+ self .irene_online = False
435435 self .dispatch ("aluerie_offline" )
0 commit comments