This commit is contained in:
Nyx 2025-01-31 19:06:34 -06:00
parent 0c24d9491e
commit 1a04b34bb4

4
bot.py
View file

@ -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)