From 8cde891e32850e817b7ba88464124902cc34c0b5 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 4 May 2019 19:37:06 -0400 Subject: [PATCH] new restart sequence --- sopel_modules/SpiceBot_Restart/Restart.py | 2 +- sopel_modules/SpiceBot_SBTools/__init__.py | 1 + sopel_modules/SpiceBot_Update/Update.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot_Restart/Restart.py b/sopel_modules/SpiceBot_Restart/Restart.py index 28da9eb..1d0b26b 100644 --- a/sopel_modules/SpiceBot_Restart/Restart.py +++ b/sopel_modules/SpiceBot_Restart/Restart.py @@ -23,4 +23,4 @@ def nickname_comand_chanstats(bot, trigger): bot.osd("Received command from " + trigger.nick + " to restart. Be Back Soon!", bot.channels.keys()) # service_manip(bot, bot.nick, 'restart', 'SpiceBot_Restart') - bot.restart() + # bot.restart() diff --git a/sopel_modules/SpiceBot_SBTools/__init__.py b/sopel_modules/SpiceBot_SBTools/__init__.py index cb442e1..00e8883 100644 --- a/sopel_modules/SpiceBot_SBTools/__init__.py +++ b/sopel_modules/SpiceBot_SBTools/__init__.py @@ -253,6 +253,7 @@ def channel_list_current(bot): def spicebot_reload(bot): bot.reload_plugins() + bot.restart() def service_manip(bot, servicename, dowhat, log_from='service_manip'): diff --git a/sopel_modules/SpiceBot_Update/Update.py b/sopel_modules/SpiceBot_Update/Update.py index e45acec..1c5a0c2 100644 --- a/sopel_modules/SpiceBot_Update/Update.py +++ b/sopel_modules/SpiceBot_Update/Update.py @@ -62,7 +62,7 @@ def nickname_comand_chanstats(bot, trigger): spicebot_update(bot, "True") # service_manip(bot, bot.nick, 'restart', 'SpiceBot_Update') - bot.restart() + # bot.restart() def spicebot_update(bot, deps="False"):