An attempt to recreate reddit's PeriodicSentenceBot.
- A system with deno installed
- Telegram bot token (from @BotFather)
- Mongodb url (local or srv)
- Clone this repo
git clone https://github.com/Itz-fork/PeriodicBot && cd PeriodicBot- Setup environmental variables
BOT_TOKEN- Telegram bot tokenMONGO_URL- Mongodb url
- Run the bot
deno run --allow-net --allow-env peridiotic/bot.tsAs the current algorithm is not mature enough, it fails to detect complex sentences or sometimes even the most basic ones.
You can find the current algorithm here