diff --git a/teledynmap.py b/teledynmap.py index b056f5d..796a403 100644 --- a/teledynmap.py +++ b/teledynmap.py @@ -12,6 +12,8 @@ api = lambda route: settings.DYNMAP_ADDRESS + route emojis = list(emoji.unicode_codes.UNICODE_EMOJI_ENGLISH.keys()) logging.basicConfig(level=logging.INFO) +logging.info('Bridge initialized') + @bot.on(events.NewMessage(incoming=True)) async def new_message(event): text = event.raw_text @@ -38,6 +40,7 @@ async def main(): web = aiohttp.ClientSession() last_time = 0 last_msg = '' + logging.info('Bridge loaded') while True: async with web.get(api('/up/world/world/' + str(last_time))) as res: