Until80 and similar functions¶
-
misbot.until_func.until_eighty(bot, update)¶ Calculate number of lectures you must consecutively attend before you attendance is 80%
If
misbot.mis_utils.until_x()returns a negative number, attendance is already over 80%Parameters: - bot (telegram.bot.Bot) – Telegram Bot object
- update (telegram.update.Update) – Telegram Update object
-
misbot.until_func.until(bot, update, args)¶ Like
until_eighty()but user supplies the number.Parameters: - bot (telegram.bot.Bot) – Telegram Bot object
- update (telegram.update.Update) – Telegram Update object
- args (tuple) – User supplied arguments
Returns: None
Return type: None