Skip to content

Telegram bot to lookup portuguese word definitions

Notifications You must be signed in to change notification settings

fopina/tgbot-priberambot

Repository files navigation

This is a Telegram bot that will lookup up a portuguese word in Priberam, a portuguese dictionary. Feel free to use it by talking to @PriberamBot.

Build Status Coverage Status

PriberamBot was a developed using TGBotPlug.

This repository is ready for Heroku (as the bot is running there), so you can easily host your own:

  • Register in Heroku

  • Install and setup heroku cli , the command line tool

  • Talk to @BotFather to register your bot

  • And finally run these commands (replacing <YOUR_APP_NAME> for something of your choice and <YOUR_BOT_TOKEN> with the token provided by @BotFather)

    heroku create <YOUR_APP_NAME> --addons heroku-postgresql:hobby-dev
    heroku config:set TGTOKEN=<YOUR_BOT_TOKEN>
    heroku config:set MYAPPNAME=<YOUR_APP_NAME>
    heroku run './priberambot.py -d $DATABASE_URL --create_db'
    heroku ps:scale web=1
    

Have fun!

About

Telegram bot to lookup portuguese word definitions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published