tgbot
Advanced tools
+1
-1
| Metadata-Version: 1.1 | ||
| Name: tgbot | ||
| Version: 1.0.dev24 | ||
| Version: 1.0.dev25 | ||
| Summary: Framework to build a Telegram Bot based on a UWSGI Server | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/T-Eberle/tgbot/ |
+1
-1
@@ -8,5 +8,5 @@ [metadata] | ||
| [egg_info] | ||
| tag_build = .dev24 | ||
| tag_build = .dev25 | ||
| tag_date = 0 | ||
| tag_svn_revision = 0 | ||
| Metadata-Version: 1.1 | ||
| Name: tgbot | ||
| Version: 1.0.dev24 | ||
| Version: 1.0.dev25 | ||
| Summary: Framework to build a Telegram Bot based on a UWSGI Server | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/T-Eberle/tgbot/ |
@@ -35,8 +35,6 @@ # -*- coding: utf-8 -*- | ||
| commandparser.parsecommand(message, botcommands) | ||
| elif conversation.getconversationmethodanddelete(user.getchatid()): | ||
| elif conversation.getconversation(user.getchatid()): | ||
| commandparser.parseconversation(message, conversationmethods, conversation) | ||
| elif TGRedis.getconvcommand(message): | ||
| commandparser.parsecommand(message, botcommands) | ||
| elif conversation and conversation.getconversationmethod(user.getchatid()): | ||
| commandparser.parsecommand(message, botcommands) | ||
| else: | ||
@@ -47,3 +45,2 @@ textparser.parsetext(message) | ||
| def parseinline(inline,args): | ||
| # parsereplycommand(message) | ||
| if inline.query is not None: | ||
@@ -50,0 +47,0 @@ inlineparser.parseinline(inline,args) |
@@ -11,3 +11,3 @@ # -*- coding: utf-8 -*- | ||
| @abstractmethod | ||
| def getconversationmethod(user_id): | ||
| def getconversation(user_id): | ||
| pass | ||
@@ -17,3 +17,3 @@ | ||
| @abstractmethod | ||
| def getconversationmethodanddelete(user_id): | ||
| def deleteconversation(user_id): | ||
| pass | ||
@@ -23,3 +23,3 @@ | ||
| @abstractmethod | ||
| def deleteconversation(user_id): | ||
| def addtoconversation(user_id, key, value): | ||
| pass | ||
@@ -29,3 +29,3 @@ | ||
| @abstractmethod | ||
| def addtoconversation(user_id,question,answer): | ||
| def getconversationvalue(user_id,command): | ||
| pass | ||
@@ -40,3 +40,3 @@ | ||
| @abstractmethod | ||
| def setconversation(user_id,command): | ||
| def setconversation(user_id,command,value=None): | ||
| pass |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
62646
-0.32%1025
-0.29%