mirror of
https://gitlab.com/octospacc/WinDog.git
synced 2025-01-20 11:08:23 +01:00
15 lines
474 B
Python
Executable File
15 lines
474 B
Python
Executable File
# ==================================== #
|
|
# WinDog multi-purpose chatbot #
|
|
# Licensed under AGPLv3 by OctoSpacc #
|
|
# ==================================== #
|
|
|
|
def cStart(context:EventContext, data:InputMessageData):
|
|
return send_message(context, OutputMessageData(
|
|
text_html=context.endpoint.get_string(
|
|
"start", data.user.settings.language).format(data.user.name)))
|
|
|
|
register_module(name="Start", endpoints=[
|
|
SafeNamespace(names=["start"], handler=cStart),
|
|
])
|
|
|