diff --git a/plugins/tgbot/index.py b/plugins/tgbot/index.py index 21f16a44d..95c1cbf19 100755 --- a/plugins/tgbot/index.py +++ b/plugins/tgbot/index.py @@ -171,6 +171,12 @@ def reload(): content = mw.readFile(tgbot_tpl) mw.writeFile(tgbot_dst, content) + tgpush_tpl = getPluginDir() + '/startup/tgpush.py' + tgpush_dst = getServerDir() + '/tgpush.py' + + content = mw.readFile(tgpush_tpl) + mw.writeFile(tgpush_dst, content) + ext_src = getPluginDir() + '/startup/extend' ext_dst = getServerDir()