Historical Facts is a bot for Telegram that aims to spread knowledge of history and also to bring knowledge in a "light" and "calm" way to the entire public.
-
Sends historical events of the day
- Private chat
- Channel
- Groups
-
Sends historical phrases
-
Sends Holidays of the day
-
Send Born of the day
-
Sends dead of the day
-
Sends images of historical events
- Private chat
- Channel
- Groups
-
Send historical curiosities
-
Send commemorative dates
You will need to have the following tools installed on your machine:
# Clone this repository
$ git clone https://github.com/leviobrabo/historicalevents.git
# Access the project folder in terminal/cmd
$ cd historicalevents
# Install the dependencies
# Using NPM:
$ npm i
# Environment variables
# Create a file with .env with any text editor and put:
DB_STRING=#MongoDB Connection URL
TELEGRAM_API=#Token of your bot generated in @BotFather
groupId=#ID GROUP LOG
DEV_USERS=#ID_DEV // userId1,userId2,userId3
channelId=ID_CHANNEL_POST
# Run the application
$ npm start