It's a telegram bot to send the last news of some sources.
Prerequisites:
- Clone the repository
- Install the Maven dependencies
cd NewsBot
mvn install- MySQL configuration
- Bot Configuration
- Run the Newsbot
cd target
java -jar newsbot-0.0.1-SNAPSHOT-jar-with-dependencies[TO DO]
- Create the telegram bot with help of the great BotFather
- Create the file
config.propertiesin the directorytarget - Insert these properties:
token: given by the BotFatheradmin: the chat id of admin that will manage the botname: the bot's name createdsources: the urls separated by;
MIT