aczekajski / iitc-plugin-mininomaly

Provides possibility to run a portal battle event for your Ingress community in your browser, without external tools
3 stars 1 forks source link

Language support #2

Open hectorluisnavas opened 5 years ago

hectorluisnavas commented 5 years ago

This pluging is the best I have found. It would be great to have support for several languages from the plugin configuration file and adding custom text or hashtags, so that you do not have to edit the base code and damage some function.

aczekajski commented 5 years ago

@hectorluisnavas Thank you for your feedback! 💚💙

For now I'm trying to reorganize the code and finalize the work on Flash Shards mechanics. When I'm done with implementing various mechanics, I'll certainly look at some additional customization.

For now you can use one customizable part of TgBotCommunicator. Look at the index.ts file - you'll find a comment and an empty string looking like this: /*'🚧 MINI-ANOMALY TEST 🚧\n'*/'' It is passed as a third argument to the constructor. This string will be prepended to every message sent by the bot to your Telegram chat.

hectorluisnavas commented 5 years ago

Thanks for the info; unfortunately my programming skills are not that high but I will try. Excellent work and keep it up. Greetings from GYE, EC