Skip to content
Snippets Groups Projects
Commit 4506c0a7 authored by dnns01's avatar dnns01
Browse files

Removed debug outputs

parent 5ce20c0d
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,6 @@ class InfoCog:
pass
async def start_info_loop(self):
print("Starting Loop")
asyncio.create_task(self.info_loop())
async def info_loop(self):
......@@ -32,9 +31,8 @@ class InfoCog:
If this is true, reset the pipi counter, as you can assume, that the stream recently started."""
while True:
print(f"Loop started. Sleeping for {self.INFO_LOOP} minutes")
await asyncio.sleep(self.INFO_LOOP * 60)
print("Hey.... wake up!")
if await self.bot.stream():
channel = self.bot.channel()
message = f"Psssst... wusstest du eigentlich schon, {random.choice(self.info)}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment