Sign inSign up

marcokreeft/codtelegrambot

By marcokreeft

•Updated over 5 years ago

A Telegram bot that can send latest matches and stats to a Telegram chat.

Image
1

50K+

marcokreeft/codtelegrambot repository overview

Use command !track [platform:battle/psn/xbl] [username] to register for tracking
Use command !untrack [platform:battle/psn/xbl] [username] to unregister for tracking
Use !recent for last match
Use !stats [daily/weekly/lifetime/hours(number of hours)] for [daily/weekly/lifetime/hours(number of hours)] stats
Use !leaderboard for leaderbord (cash, contracts, deaths, downs, gamesPlayed, kdRatio, kills, revives, score, scorePerMinute, timePlayed, tokens, topFive, topTen, topTwentyFive, wins, killsPerGame, revivesPerGame, avgLifetime, deathsPerGame, downsPerGame for lifetime stats and damageDone, damageTaken, gulagDeaths, gulagKills, matchesPlayed, damageDonePerGame, damageTakenPerGame, gulagDeathsPerGame, gulagKillsPerGame for weekly stats)
Use !bunkercodes for the bunker codes

Required environment variables:

CODApi:Username = Your my.callofduty.com username
CODApi:Password = Your my.callofduty.com password
TelegramBot:Token = Your Telegram Bot API Token
TelegramBot:BotName = Your Telegram Bot Name

Optional environment variables:

Custom commands (Eastereggs) can be added with a static reponse. For example : Eastereggs:CustomCommands:!test = "[Response to !test command]".

More about Telegram bots: https://core.telegram.org/bots⁠

Tag summary

Content type

Image

Digest

Size

93.2 MB

Last updated

over 5 years ago

docker pull marcokreeft/codtelegrambot