Skip to content
Snippets Groups Projects
Commit d73a63c4 authored by Michael Loipführer's avatar Michael Loipführer
Browse files

remove async artifacts

parent 3e361d77
No related branches found
No related tags found
No related merge requests found
import asyncio
import json
import time
from json import JSONDecodeError
......@@ -93,7 +92,7 @@ class Hackerman(Hauptbahnhof):
sound = random.choice(sounds)
if sound[0] == '97':
await asyncio.sleep(1)
time.sleep(1)
for i in range(0, 300):
if i == 100:
requests.get("https://bot.stusta.de/set/" + sound[0])
......
......@@ -41,5 +41,5 @@ class MPD(Hauptbahnhof):
else:
self.log.info("Will not parse volume: %s", message['volume'])
async def command_song(self, client, userdata, msg):
def command_song(self, client, userdata, msg):
pass
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