diff --git a/plugins/management_commands.py b/plugins/management_commands.py index 54749c4..d68131e 100644 --- a/plugins/management_commands.py +++ b/plugins/management_commands.py @@ -1,18 +1,10 @@ -from typing import Match, List +from typing import Match import hooks import client import slack_util -def list_hooks_callback_gen(hooks: List[hooks.ChannelHook]) -> hooks.Callback: - # noinspection PyUnusedLocal - async def callback(event: slack_util.Event, match: Match) -> None: - client.get_slack().reply(event, "\n".join(hook.patterns for hook in hooks)) - - return callback - - # Gracefully reboot to reload code changes # noinspection PyUnusedLocal async def reboot_callback(event: slack_util.Event, match: Match) -> None: