소스 검색

Example simple plugin

Kirk Trombley 6 년 전
부모
커밋
4c421fdcd9
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/plugins/echo_plugin.py

+ 6 - 0
src/plugins/echo_plugin.py

@@ -0,0 +1,6 @@
+from command_system import wrap_simple_no_db, as_plugin
+
+@as_plugin
+@wrap_simple_no_db
+def echo(raw_args):
+    return raw_args