From 783882abfcc3cf23cd795d1f4fd20eaeafdfaef9 Mon Sep 17 00:00:00 2001 From: Jacob Henry Date: Sun, 3 Mar 2019 19:52:31 -0500 Subject: [PATCH] Deleted some old garbage functions --- plugins/management_commands.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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: