GitXplorerGitXplorer
p

telegram-scheduler-bot

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
758808bc0a84648a9a33684244fbc191fcbdca09

v1.0

ppanic08 committed 2 years ago
Unverified
42b0ed221d4014d7927cc9eef33647c58ee6bd59

v1.0

ppanic08 committed 2 years ago
Unverified
5de6e8c23cc094cef4893c202a1a90e6ff0d08a0

v1.0

ppanic08 committed 2 years ago
Unverified
83a383e7b3957b945dd71d362de29a1b15f37560

v1/9

ppanic08 committed 2 years ago
Verified
be118ddc7a62ef874ffadf0b33102e9fbd199037

Merge pull request #1 from DmitrijsFinaskins/joke-command-basic-implementation

DDmitrijsFinaskins committed 2 years ago
Unverified
4b1a6ca29cf839a2487a9ac2f87e5faab9f59713

initial implementation of /joke command

DDmitrijsFinaskins committed 2 years ago

README

The README file for this repository.

Telegram-Scheduler-Bot

To install you will need:

  • Java 17 (JRE 17)
  • POSTGRESQL 15
  • INTERNET CONNECTION

1. Installing missing components

Install JRE 17 (we will do it on Ubuntu 22.02 LTS)
To do this, open a terminal and enter commands:
  • sudo apt update
  • sudo apt install default-17-jre

We can check the java version with a command:

  • java -version

Next, install the DBMS Postregsql 15 from the off repository.
To do this, let's enter commands:

  • sudo apt install postgresql postgresql-contrib
  • sudo systemctl start postgresql.service

Next, simply create a database

2. Set up app.properties

Go to application.properties, and enter our data from the database, as well as the token from telegram, which we can get: [BotFather](https://t.me/BotFather)
Now we need to replace all values with our own (database name, password, URL, telegram token, and so on).

3. Launching an application

Build and run the application with the command:
  • mvn package
  • java -jar lapayment-0.0.1-SNAPSHOT.jar