imports and classname fix

This commit is contained in:
Jannes Höke 2016-04-16 16:54:07 +02:00
parent 6cb177d2a7
commit d2f2b74bdb
2 changed files with 12 additions and 4 deletions

View file

@ -22,10 +22,18 @@
from .dispatcher import Dispatcher
from .jobqueue import JobQueue
from .updater import Updater
from .handler import Handler
from .callbackqueryhandler import CallbackQueryHandler
from .choseninlineresulthandler import ChosenInlineResultHandler
from .commandhandler import CommandHandler
from .handler import Handler
from .inlinequeryhandler import InlineQueryHandler
from .messagehandler import MessageHandler
from .regexhandler import RegexHandler
from .stringcommandhandler import StringCommandHandler
from .stringregexhandler import StringRegexHandler
from .typehandler import TypeHandler
__all__ = ('Dispatcher', 'JobQueue', 'Updater', 'Handler', 'CommandHandler',
'MessageHandler', 'RegexHandler')
__all__ = ('Dispatcher', 'JobQueue', 'Updater', 'CallbackQueryHandler',
'ChosenInlineResultHandler', 'CommandHandler', 'Handler',
'InlineQueryHandler', 'MessageHandler', 'RegexHandler',
'StringCommandHandler', 'StringRegexHandler', 'TypeHandler')

View file

@ -25,7 +25,7 @@ import re
from .handler import Handler
class RegexHandler(Handler):
class StringRegexHandler(Handler):
"""
Handler class to handle string updates based on a regex. It uses a
regular expression to check update content. Read the documentation of the