mirror of
https://github.com/miloira/wxhook.git
synced 2024-11-22 10:29:25 +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'
|
EMAIL = '690126048@qq.com'
|
||||||
AUTHOR = 'Msky'
|
AUTHOR = 'Msky'
|
||||||
REQUIRES_PYTHON = '>=3.8.0'
|
REQUIRES_PYTHON = '>=3.8.0'
|
||||||
VERSION = '0.0.8'
|
VERSION = '0.0.9'
|
||||||
|
|
||||||
# What packages are required for this module to be executed?
|
# What packages are required for this module to be executed?
|
||||||
REQUIRED = [
|
REQUIRED = [
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
from .core import Bot
|
from .core import Bot
|
||||||
|
|
||||||
version = "0.0.8"
|
version = "0.0.9"
|
||||||
|
@ -41,11 +41,11 @@ class Bot:
|
|||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
on_login: typing.Callable = None,
|
on_login: typing.Optional[typing.Callable[["Bot", Event], typing.Any]] = None,
|
||||||
on_before_message: typing.Callable = None,
|
on_before_message: typing.Optional[typing.Callable[["Bot", Event], typing.Any]] = None,
|
||||||
on_after_message: typing.Callable = None,
|
on_after_message: typing.Optional[typing.Callable[["Bot", Event], typing.Any]] = None,
|
||||||
on_start: typing.Callable = None,
|
on_start: typing.Optional[typing.Callable[["Bot"], typing.Any]] = None,
|
||||||
on_stop: typing.Callable = None,
|
on_stop: typing.Optional[typing.Callable[["Bot"], typing.Any]] = None,
|
||||||
faked_version: typing.Optional[str] = None
|
faked_version: typing.Optional[str] = None
|
||||||
):
|
):
|
||||||
self.version = "3.9.5.81"
|
self.version = "3.9.5.81"
|
||||||
|
Loading…
Reference in New Issue
Block a user