Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

francescotarantino/BNoteBot

Repository files navigation

BNoteBot Bot License: GPL v3 Maintenance

Save notes, call them through inline mode, and set reminders!

This project is no longer maintained.

Logo BNoteBot

How to clone

Download a release, unzip, execute create_table.SQL to create tables in your MySQL Database, setup config.php and set Telegram webhook to bot.php file. After that you should execute cronjob.php every minute, just setup a cron-job.

How to setup the webhook

You can simply run setWebhook.php.

If you want to do it manually use this URL: https://api.telegram.org/botTOKEN/setWebhook?url=BOTURL

For example: https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/setWebhook?url=https://domain.com/bot.php

Remember that the TOKEN must start with 'bot' and the BOTURL with 'https://'.