Closed F4ria closed 11 months ago
yes, has_quota is better than is_quota
yihong @.***> 于2023年11月6日周一 19:18写道:
@.**** commented on this pull request.
In utils.py https://github.com/yihong0618/tg_bing_dalle/pull/27#discussion_r1383157360 :
@@ -6,6 +6,36 @@ from telebot.types import Message # type: ignore
+def is_quota(message: Message, bot_name: str) -> bool:
is_quota -> has_quota maybe better?
— Reply to this email directly, view it on GitHub https://github.com/yihong0618/tg_bing_dalle/pull/27#pullrequestreview-1714884623, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7DCOTNG4LWKD6YHKUPUG3YDDBQJAVCNFSM6AAAAAA67KQ5RSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOMJUHA4DINRSGM . You are receiving this because you authored the thread.Message ID: @.***>
Check the @botname in /quota@botname #23