--- /dev/null
+# Mattermost Bot.
+# Copyright (c) 2016-2020 by Someone <someone@somenet.org> (aka. Jan Vales <jan@jvales.net>)
+# published under MIT-License
+
+import inspect
+
+
+from AbstractCommand import *
+class CommandEnglish(AbstractCommand):
+ TRIGGER = "english"
+ CONFIG = {"display_name": "somebot-command", "auto_complete": True,
+ "auto_complete_hint": "['oida'|'oida minusf']",
+ }
+ USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Suggest to continue in emglish."
+
+
+ def on_POST(self, request, data):
+ if data["text"] == "oida":
+ request.cmd_respond_text_chan("## ``ENGLISCH! OIDA!``")
+
+ elif data["text"] == "oida minusf":
+ request.cmd_respond_text_chan(inspect.cleandoc("""
+ ## :warning::point_down::point_down::point_down::point_down::point_down::point_down::point_down::point_down::point_down::point_down::point_down::point_down::point_down:
+ ## :point_right: **``RED' ENDLISCH! OIDA!``**
+ ## :warning::point_up::point_up_2::point_up::point_up_2::point_up::point_up_2::point_up::point_up_2::point_up::point_up_2::point_up::point_up_2::point_up:
+ """))
+ else:
+ request.cmd_respond_text_chan("## **``ORDER! OOORDER!``**\n# :boom::hammer:\nRespect this channel's purpose!")
+