From 720a553a5060d81c487a090b7955717c02cb8994 Mon Sep 17 00:00:00 2001 From: Pentacene Date: Tue, 11 May 2021 12:58:44 +0800 Subject: [PATCH] --- bc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bc.py b/bc.py index f3f08db..c979bb7 100644 --- a/bc.py +++ b/bc.py @@ -13,6 +13,7 @@ from time import strftime import json import urllib.request import time +from telethon.tl.custom.message import Message from pagermaid import log from pagermaid.listener import listener from pagermaid.utils import execute @@ -52,7 +53,7 @@ def init() -> None: command="bc", description="coins", parameters=" ") -async def coin(context) -> None: +async def coin(context: Message) -> None: """ coin change """ if not imported: await context.edit("支持库 `python-binance` `xmltodict` 未安装...\n正在尝试自动安装...")