version 0.0.9

This commit is contained in:
张明明 2024-05-10 13:57:44 +08:00
parent a9c01a3095
commit f1506de907
3 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@ URL = 'https://github.com/miloira/wxhook'
EMAIL = '690126048@qq.com'
AUTHOR = 'Msky'
REQUIRES_PYTHON = '>=3.8.0'
VERSION = '0.0.8'
VERSION = '0.0.9'
# What packages are required for this module to be executed?
REQUIRED = [

View File

@ -1,3 +1,3 @@
from .core import Bot
version = "0.0.8"
version = "0.0.9"

View File

@ -41,11 +41,11 @@ class Bot:
def __init__(
self,
on_login: typing.Callable = None,
on_before_message: typing.Callable = None,
on_after_message: typing.Callable = None,
on_start: typing.Callable = None,
on_stop: typing.Callable = None,
on_login: typing.Optional[typing.Callable[["Bot", Event], typing.Any]] = None,
on_before_message: typing.Optional[typing.Callable[["Bot", Event], typing.Any]] = None,
on_after_message: typing.Optional[typing.Callable[["Bot", Event], typing.Any]] = None,
on_start: typing.Optional[typing.Callable[["Bot"], typing.Any]] = None,
on_stop: typing.Optional[typing.Callable[["Bot"], typing.Any]] = None,
faked_version: typing.Optional[str] = None
):
self.version = "3.9.5.81"