yihong0618 / tg_bing_dalle

Telegram bing bot DALL-E 3
MIT License
414 stars 53 forks source link

Check the @botname in /quota@botname #27

Closed F4ria closed 11 months ago

F4ria commented 11 months ago

Check the @botname in /quota@botname #23

F4ria commented 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: @.***>