Deleted some old garbage functions

This commit is contained in:
Jacob Henry 2019-03-03 19:52:31 -05:00
parent 8191231649
commit 783882abfc
1 changed files with 1 additions and 9 deletions

View File

@ -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: