Update pages/telegram.py
Browse files- pages/telegram.py +2 -1
pages/telegram.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
# import telebot
|
2 |
from telebot import types
|
3 |
import asyncio
|
|
|
4 |
|
5 |
from telebot.async_telebot import AsyncTeleBot
|
6 |
|
@@ -41,7 +42,7 @@ async def handle_button_click(call):
|
|
41 |
|
42 |
async def function_allg(message):
|
43 |
# hier bitte den Zaubereipart einsenden
|
44 |
-
antwort =
|
45 |
await bot.send_message(message, antwort)
|
46 |
|
47 |
async def function_akt_meldungen(message):
|
|
|
1 |
# import telebot
|
2 |
from telebot import types
|
3 |
import asyncio
|
4 |
+
from bot import get_llm_answer
|
5 |
|
6 |
from telebot.async_telebot import AsyncTeleBot
|
7 |
|
|
|
42 |
|
43 |
async def function_allg(message):
|
44 |
# hier bitte den Zaubereipart einsenden
|
45 |
+
antwort = get_llm_answer(message.text)
|
46 |
await bot.send_message(message, antwort)
|
47 |
|
48 |
async def function_akt_meldungen(message):
|