Browse Source

Example simple plugin

Kirk Trombley 6 năm trước cách đây
mục cha
commit
4c421fdcd9
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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