diff --git a/bot.py b/bot.py index 00c2198..52cc6ca 100644 --- a/bot.py +++ b/bot.py @@ -1,5 +1,6 @@ import simplematrixbotlib as botLibrary import json +import fetch with open('config.json', 'r') as f: config = json.load(f) @@ -37,9 +38,10 @@ async def make_choice(room, message): else: id = match.args() id = str(id[1]) + quoteLink = fetch.fetchQuote(id) message = (f""" Command recived (DEBUG). - (We're supposed to fetch quote number {id} now.) + (We're supposed to fetch quote number {id} now, from {quoteLink}.) """) await bot.api.send_text_message(room.room_id, message)