Update Telethon and use PyPI telethon-aio package

This commit is contained in:
Tulir Asokan
2018-03-04 13:35:24 +02:00
parent 172e472221
commit 021b60a45e
18 changed files with 37 additions and 38 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import asyncio
from telethon.errors import *
from telethon_aio.errors import *
from . import command_handler
from .. import puppet as pu
+1 -1
View File
@@ -17,7 +17,7 @@
import markdown
import logging
from telethon.errors import FloodWaitError
from telethon_aio.errors import FloodWaitError
from ..util import format_duration
+1 -1
View File
@@ -14,7 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from telethon.errors import *
from telethon_aio.errors import *
from mautrix_appservice import MatrixRequestError
from .. import portal as po
+4 -4
View File
@@ -14,10 +14,10 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from telethon.errors import *
from telethon.tl.types import User as TLUser
from telethon.tl.functions.messages import ImportChatInviteRequest, CheckChatInviteRequest
from telethon.tl.functions.channels import JoinChannelRequest
from telethon_aio.errors import *
from telethon_aio.tl.types import User as TLUser
from telethon_aio.tl.functions.messages import ImportChatInviteRequest, CheckChatInviteRequest
from telethon_aio.tl.functions.channels import JoinChannelRequest
from .. import puppet as pu, portal as po
from . import command_handler