This replaces p!commit, with p!restart, which in addition to saving active sessions, also unlocks extra rooms, restarts the bot by calling process.exit(), then upon resuming, re-locks primary rooms and restarts sessions automatically. Also fixed a misnamed permission introduced in the previous change.
This replaces
p!commit
, withp!restart
, which in addition to saving active sessions, also unlocks extra rooms, restarts the bot by callingprocess.exit()
, then upon resuming, re-locks primary rooms and restarts sessions automatically. Also fixed a misnamed permission introduced in the previous change.