https://github.com/dimi-dun-morogh/telegram-dimibot
telegram chatbot, mongo/node, currently it can count user activity stats and most used words in messages for predefined amounts of time
https://github.com/dimi-dun-morogh/telegram-dimibot
bot telegram-bot typescript
Last synced: 10 months ago
JSON representation
telegram chatbot, mongo/node, currently it can count user activity stats and most used words in messages for predefined amounts of time
- Host: GitHub
- URL: https://github.com/dimi-dun-morogh/telegram-dimibot
- Owner: Dimi-Dun-Morogh
- Created: 2020-10-18T23:53:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T19:06:56.000Z (about 3 years ago)
- Last Synced: 2025-03-12T01:43:02.893Z (over 1 year ago)
- Topics: bot, telegram-bot, typescript
- Language: TypeScript
- Homepage: https://t.me/mkmaester_bot
- Size: 1020 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# dimiBot
> telegram bot that let's you monitor chat activity, post activity statistics for top 10 users and also for most used words. Stats are avalaible for different time periods(1 day, 7 days, 30, entire history); Also bot can post jokes, set and retrieve chat rules, greet new members of chat and farewell those who leave
bot is avalaible under this link - https://t.me/mkmaester_bot
list of bot's commands can be seen on screenshots below:
##### /help

##### /stat

##### /set_rules & /rules

##### /joke

##### /anime

##### /meme

##### greetings

##### /stat_me

##### /stat_word

##### /games_info

##### when and info

##### uptime page https://dimi-tg.herokuapp.com/bot-status

##### bot weather

#### log:
- [x] create a function/controller to get all msg's for specific amount of time (currentDay,last 7 days, last 30 days)(20.10.2020) ✅
- [x] create a function to count messages for each user (20.10.2020) ✅
- [x] create a function to count most used words in messages (20.10.2020) ✅
- [x] create a function to render string with all the stats(message count, words count etc) (25.10.2020) ✅
- [x] create a number to emoji string helpers/function (25.10.2020) ✅
- [ ] implement a daily statistics post message ( setInterval maybe?)
- [x] implement a greeting new member logic (27.10.2020) ✅
- [ ] refactor data-base, crud methods, message strings should be put in array of chat/user document
- [x] implement a logic to parse jokes from some site and post them with bot command (29.10.2020) ✅
- [x] implement get/set rules for chat (28.10.2020) ✅
- [x] migrate to TypeScript (30.01.2021) ✅
- [x] fix stat_word being case sensetive (10.02.2021) ✅
- [x] create logic/task/command to parse/send info about epic games giveaways (13.02.2021) ✅
- [ ] create who/when/info commands
- [x] create a random meme command (17.04.2021) ✅
- [x] created simple uptime html page https://dimi-tg.herokuapp.com/bot-status (18.04.2021) ✅
- [x] created bot weather city_name command (15.05.2021) ✅