Skip to content

Added negative scores, auto unpin msgs, fix bday bug#34

Open
harshil21 wants to merge 9 commits intomasterfrom
negative_scores
Open

Added negative scores, auto unpin msgs, fix bday bug#34
harshil21 wants to merge 9 commits intomasterfrom
negative_scores

Conversation

@harshil21
Copy link
Member

@harshil21 harshil21 commented Oct 18, 2020

  • Now deduct one mark for every wrong answer in quiz
  • Bar graph adjusted for negative marks.
  • Require v13.1 of PTB
  • Now automatically unpin old messages (older than a day)
  • Fixed a bug where bot didn't wish people who have bdays on same day.
  • Switch to https://t.me/TelegramTips for TMS group

Other changes:

  • Added more scolds, now also add commas for readability.
  • Use timedelta for stop_quiz_date.
  • Change font sizes in graph to adjust for large no. of users.
  • Added hyperlink to bot username in readme.md.
  • Some tiny refactoring and improvements

unclesam79 and others added 4 commits July 18, 2020 02:05
- Now deduct one mark for every wrong answer in quiz

- Bar graph adjusted for negative marks.

Other changes:

- Added more scolds
- Use timedelta for stop_quiz_date
- Change font sizes in graph to adjust for large no. of users
@harshil21 harshil21 requested a review from unclesam79 October 18, 2020 15:28
# Conflicts:
#	bot_funcs/morning_wisher.py
#	db.sqlite3
#	files/interactions.txt
#	leaderboard.png
- Fixed bug: Now wish all people who have the same birthday
- Changed 12b user ids to dict
- Change max question length from 255 -> 300 as per Bot API 5.0

Signed-off-by: Harshil <ilovebhagwan@gmail.com>
- Bot now unpins all its messages in all chats once a day.
- README.md now hyperlinks to bot instead of just a string
- Tiny improvements in code re-usability and readability.

Signed-off-by: Harshil <ilovebhagwan@gmail.com>
@harshil21 harshil21 changed the title Added negative marking, scores Added negative scores, auto unpin msgs, fix bday bug Nov 19, 2020
Since Filters.private/group is deprecated since ptb 13.1+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants