Skip to content

Modifications to battle logs summary and telegram notification#12

Open
virgaux wants to merge 228 commits intoPCJones:masterfrom
virgaux:master
Open

Modifications to battle logs summary and telegram notification#12
virgaux wants to merge 228 commits intoPCJones:masterfrom
virgaux:master

Conversation

@virgaux
Copy link
Contributor

@virgaux virgaux commented Sep 23, 2021

Hi Jones,

I just made some modifications to the battle logs summary. Also fixed the ERC to be more accurate and include the current and new rating after the battle.

I added telegram notification if ever the user wants it. This is what it looks like.

image

*Updated battle summary log
*added telegram notification

Additional installation for telegram notif :

npm install --save telegram-notify

config:
token - your telegram bot token, create bot: https://t.me/BotFather

chatId - telegram chat id for notify, get the id: https://t.me/get_id_bot
* Update much accurate ERC rating
* Fix some logs for better battle summary
* Update New Feature in README
* Add installation guide for Telegram Notification in README
@PCJones
Copy link
Owner

PCJones commented Sep 24, 2021

I'll modify the telegram part so that nobody has to create a bot, that might take some time.

@virgaux
Copy link
Contributor Author

virgaux commented Sep 24, 2021

There is a public token that can be used that I made. This can be used by anyone. It needs more modification to be fancy but it works. The token is updated on my fork and just look for @Battle_Result_Bot

virgaux and others added 13 commits September 24, 2021 14:45
*Add npm install for telegram and chromium installation in intall.bat
* fix some font issue.
* update README
* Update the quest battle log to have accurate info for quest reward.
* Quest reward can be redeemed once available after battle.
* add automation for Install.bat to run stat.bat after installation.
Fixed the updated Quest status  error
- fixed API unable to recognize quest priority
- fixed rented card not being used. (Optional to download)
- Update Install.bat
Copy link
Contributor Author

@virgaux virgaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • API unable to recognize quest priority is still not fixed.

hopefully quest priority is now working cuz I give up. XD
- Accurate battle summary.
- Can identify if it is draw
- Claim reward function after battle if available.
-added alert notification to telegram
- fix undefined error when selecting cards if api was not used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants