[Change] add toikin

master
Marcel Eggert 3 years ago
parent 162c195572
commit 36765191a0
  1. 2
      .gitignore
  2. 1062
      Banner.csv
  3. 1
      agent-Schnackedatz.json
  4. 8
      agent-Toikin1977.json
  5. 2
      bannerDiscovery.py
  6. BIN
      bannerList.sqlite3

2
.gitignore vendored

@ -140,3 +140,5 @@ dmypy.json
# Cython debug symbols
cython_debug/
Banner.csv
Banner.csv

File diff suppressed because it is too large Load Diff

@ -6,3 +6,4 @@
"liste": "PanzerGlasWorld Banner",
"channel": "@PanzerGlasWorld"
}

@ -0,0 +1,8 @@
{
"completed-mission": 2,
"banner-completed": 1,
"gd-id": "1lZA_uPc2IDEdffHxVS2YRYCf3GLikEdv",
"gd-json": "1pwjEhvImytgoldxVjX53MRZei-79UwvQ",
"liste": "Toikin1977 Meine Banner",
"channel": "-1001240326731"
}

@ -578,7 +578,7 @@ def publishBannerInChannel(update: Update, context: CallbackContext, daten, agen
text = f"""<b>{daten[user.username]['bannerInfos']['titel']}</b>\n\n<b>Banner-Nr:</b> {daten[user.username]['bannerInfos']['nummer']}\n<b>Unique Mission Completed:</b> {daten[user.username]['bannerInfos']['completed']} (+{daten[user.username]['bannerInfos']['missions']})\n<b>Place:</b> {place}\n\n<a href="{link}">MAP</a>\n"""
# msg = escape_markdown(text, version=2)
context.bot.send_photo(agent['channel'], photo=open(daten[user.username]['bannerInfos']['file_path'], 'rb'), caption=text, parse_mode=ParseMode.HTML, protect_content=True)
context.bot.send_photo(agent['channel'], photo=open(daten[user.username]['bannerInfos']['file_path'], 'rb'), caption=text, parse_mode=ParseMode.HTML)
update.message.reply_text("Fertig")

Binary file not shown.
Loading…
Cancel
Save