You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
343 B
16 lines
343 B
2 weeks ago
|
from snackfinder import menu
|
||
|
from typing import Any, Dict
|
||
|
from zulip_bots.lib import BotHandler
|
||
|
|
||
|
|
||
|
class AtoomSnackHandler:
|
||
|
def usage(self) -> str:
|
||
|
return ""
|
||
|
|
||
|
def handle_message(self, message: Dict[str, Any], bot_handler: BotHandler) -> None:
|
||
|
bot_handler.send_reply(message, menu())
|
||
|
|
||
|
|
||
|
handler_class = AtoomSnackHandler
|
||
|
|