Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ath31st/code_redeemer_for_time_princess_bot
Bot for mass activation of promo codes for accounts from the game Time Princess
https://github.com/ath31st/code_redeemer_for_time_princess_bot
java maven spring-boot sqlite telegram telegrambots
Last synced: 2 days ago
JSON representation
Bot for mass activation of promo codes for accounts from the game Time Princess
- Host: GitHub
- URL: https://github.com/ath31st/code_redeemer_for_time_princess_bot
- Owner: ath31st
- Created: 2023-07-22T13:29:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-15T19:56:55.000Z (about 1 year ago)
- Last Synced: 2024-11-13T21:25:17.938Z (2 months ago)
- Topics: java, maven, spring-boot, sqlite, telegram, telegrambots
- Language: Java
- Homepage:
- Size: 392 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Code redeemer for mobile game "Time Princess"
![Java](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge&logo=openjdk&logoColor=white)
![Spring](https://img.shields.io/badge/Spring-6DB33F?style=for-the-badge&logo=spring&logoColor=white)
![Hibernate](https://img.shields.io/badge/Hibernate-59666C?style=for-the-badge&logo=Hibernate&logoColor=white)
![SonarLint](https://img.shields.io/badge/SonarLint-CB2029?style=for-the-badge&logo=sonarlint&logoColor=white)## Что умеет
Данный бот предназначен для удобной активации промокодов сразу на группу игроков для игры "Time
Princess"## Список команд
/menu - служит для вызова меню
## Примеры работы
Меню:
![image info](images/menu.jpg)
Ввод IGG ID:
![image info](images/input_id.jpg)
Неправильный ввод IGG ID:
![image info](images/wrong_input_id.jpg)
Список IGG ID из базы данных:
![image info](images/list_ids.jpg)## Как запустить
Перед тем как использовать скрипты, не забудьте заменить их параметры на свои данные (имя и токен
бота, id телеграм-чатов, которые будут иметь доступ к администраторским функциям (id перечисляются
через запятую, без пробелов))
На windows:```shell
git clone https://github.com/ath31st/code_redeemer_for_time_princess_bot
cd code_redeemer_for_time_princess_bot
.\mvnw package
cd target
New-Item white_set_id.properties
Set-Content -Path .\white_set_id.properties -Value idSet=YOUR_TELEGRAM_CHAT_ID
java -jar .\redeemer-{version}.jar --telegram.bot.name=YOUR_BOT_NAME --telegram.bot.token=YOUR_BOT_TOKEN
```На linux:
```bash
git clone https://github.com/ath31st/code_redeemer_for_time_princess_bot
cd code_redeemer_for_time_princess_bot
mvn package
cd target
touch white_set_id.properties
echo "idSet=YOUR_TELEGRAM_CHAT_ID" > white_set_id.properties
java -jar .\redeemer-{version}.jar --telegram.bot.name=YOUR_BOT_NAME --telegram.bot.token=YOUR_BOT_TOKEN
```## Technologies used
Versions:
- Application version: 0.9.1
- Java: 17
- Spring Boot: 2.7.12
- Telegrambots: 6.7.0
- SQLite version: 3.42.0.0
- Maven: 3.8.6