diff --git a/mybot.php b/mybot.php
index 3bbd130..7126730 100644
--- a/mybot.php
+++ b/mybot.php
@@ -20,8 +20,12 @@ $text = $telegram->Text();
$chat_id = $telegram->ChatID();
$message_id = $telegram->MessageID();
$username = $telegram->Username();
-
-
+$replymessagetext = $data['message'] [reply_to_message] ['text'];
+$userID = $telegram->UserID();
+$grouptitle = $telegram->messageFromGroupTitle();
+$usernamegroup = $data['message'] [chat] ['username'];
+$usernamereply = $data['message'] [reply_to_message] ['from'] ['username'];
+$replymessageid = $data['message'] [reply_to_message] ['message_id'];
include("frasi.php");
@@ -73,26 +77,10 @@ Questo bot si può utilizzare in due modi:\n\n· Inline: prova a tagg
$telegram->sendMessage($content);
}
-if (stripos($text, "cerca") === 0) {
-$searchquery = substr($text, 6);
- $url = "https://www.lealternative.net?s=".$searchquery."";
- $content = array(
- 'chat_id' => $chat_id,
- 'text' => "Clicca sul pulsante qui sotto per cercare direttamente sul sito LeAlternative",
-'reply_markup' =>json_encode([
-'inline_keyboard'=>[
-[
- ['text'=>'Cerca '.$searchquery.' su LeAlternative','url' => $url],
-]
- ]]),
-'parse_mode' => 'HTML',
-'disable_web_page_preview' => true
- );
- $telegram->sendMessage($content);
- }
+// CODEBERG
+include("codebergpost.php");
// BLACKLIST
-
include("blacklist.php");
?>
\ No newline at end of file