Skip to content

francescotarantino/BNoteBot

Repository files navigation

BNoteBot Bot License: GPL v3 Maintenance

Telegram Bot for save notes callable through inline mode and set reminders!

Logo BNoteBot

How to contribute

Fork this project, create a new branch, commit all changes and create a pull request!

If you want to help translate this project create a new file into lang/ directory named: message.languagecode.php. Use the file message.en.php as a guide. If you've seen a wrong translation send an issue.

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://'.