@@ -37,6 +37,10 @@ def __init__(self, bot: LueBot) -> None:
3737 "hi chat many features of this bot are WIP so, please, if you notice bugs or incorrect responses "
3838 f"- inform me { const .STV .DANKHACKERMANS } "
3939 ),
40+ (
41+ "hey chat I'm making a small web-page to describe the bot's features (WIP)."
42+ "You can see it here: (not implemented xdd)" # TODO: add the web page
43+ ),
4044 # "Discord discord.gg/K8FuDeP",
4145 # "if you have nothing to do Sadge you can try !randompasta. Maybe you'll like it Okayge",
4246 ]
@@ -84,6 +88,23 @@ async def timer_task(self) -> None:
8488 async def timer_task_before_loop (self ) -> None :
8589 await self .bot .wait_until_ready ()
8690
91+ @commands .Component .listener (name = "aluerie_online" )
92+ async def periodic_announcements (self ) -> None :
93+ """Send periodic announcements into irene's channel on timer."""
94+
95+ # lazy implementation
96+ for _ in range (0 , 3 ):
97+ await asyncio .sleep (60 * 3 )
98+ await self .aluerie .send_announcement (
99+ moderator = const .UserID .Bot ,
100+ token_for = const .UserID .Bot ,
101+ message = (
102+ "hey chat soon I will need to grind an affiliate for @AlueBot account. "
103+ f"{ const .STV .please } Any follows and lurks for that account are appreciated. "
104+ f"We need 50 followers total and 3 average viewers { const .STV .Erm } ."
105+ ),
106+ )
107+
87108
88109async def setup (bot : LueBot ) -> None :
89110 """Load LueBot extension. Framework of twitchio."""
0 commit comments