@@ -102,7 +102,7 @@ def _on_command_impl(name: str, fn: Callable[..., Any]) -> Callable[..., Any]:
return fn
-def as_command(arg: Union[str, Callable[[Message, Context], Any]]):
+def as_command(arg: Union[str, Callable[...]]) -> Callable[...]:
if isinstance(arg, str):
return lambda fn: _on_command_impl(arg, fn)
else:
@@ -11,5 +11,6 @@ setup(
packages=["rollbot"],
install_requires=[
"aiosqlite",
+ "aiohttp",
],
)