|
@ -55,7 +55,7 @@ async def mensa(which="zentral"): |
|
|
with urllib.request.urlopen("https://mensa.schneider-hosting.de/static/%s.%d.json" % (MENSA_URL[which], today)) as url: |
|
|
with urllib.request.urlopen("https://mensa.schneider-hosting.de/static/%s.%d.json" % (MENSA_URL[which], today)) as url: |
|
|
data = json.loads(url.read().decode()) |
|
|
data = json.loads(url.read().decode()) |
|
|
|
|
|
|
|
|
BOT.say("Das Essen für %s in der %s" % (data["date"], MENSA_NAME[which])) |
|
|
|
|
|
|
|
|
await BOT.say("Das Essen für %s in der %s" % (data["date"], MENSA_NAME[which])) |
|
|
|
|
|
|
|
|
message = "" |
|
|
message = "" |
|
|
for meal in data["meals"]: |
|
|
for meal in data["meals"]: |
|
|