mirror of
https://github.com/miloira/wxhook.git
synced 2024-11-22 02:19:26 +08:00
version 0.0.9
This commit is contained in:
parent
a9c01a3095
commit
f1506de907
2
setup.py
2
setup.py
@ -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 = [
|
||||
|
@ -1,3 +1,3 @@
|
||||
from .core import Bot
|
||||
|
||||
version = "0.0.8"
|
||||
version = "0.0.9"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user