Skip to content
/ mdbot Public

Bot for Ingress Mission Day to be held 11 August 2018 in Dnipro, Ukraine.

License

Notifications You must be signed in to change notification settings

mihmax/mdbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdbot

Telegram Bot for Ingress Mission Day to be held 11 August 2018 in Dnipro, Ukraine. Maintained by @mihmax.

Main functions

  • Trilingual
  • Two basic screens:
    • Main screen with text
    • Missions screen
  • Autodetect user language, allow change
  • Stores basic information about the user
  • List of missions with maps
    • Since v5 with fast navigation

Technical trivia

  • To build, run ./build.sh, results will be in out/artifacts/mdbot_jar
  • Bot runs in long-polling mode (no public IP required)
  • Written in Groovy (bundles Groovy 2.5.2 runtime)
  • Known to compile on Java 8 (did not try other versions)
  • Runs on Java 8 (Chronicle Map does not work on Java 10)

TODO

  • Read all content (no hardcoded content)
  • Robust storage (currently Chronicle Maps is used for multiple String - String maps)
    • Part 1 - is Chronicle Maps really needed? (8.9MB or ~ 19% of libraries that do not run on Java 10)
    • Part 2 - move all settings to one serializable class to store in 1 Chronicle Map

Release Notes

  • Version 7 - post-Dnipro improvements
    • α - Code Cleanup, Variable Number of missions
    • β - Map of all missions
  • Version 6 - removed QR code generation, Final Version that was running during Dnipro Mission Day
  • Version 5 - final test
  • Versions 0-4 - experimental versions

About

Bot for Ingress Mission Day to be held 11 August 2018 in Dnipro, Ukraine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages