[Core] Clean exit for dry run

This commit is contained in:
Twentysix 2017-01-19 15:11:48 +01:00
parent 7b6dbd201e
commit 9b6804ea09

1
red.py
View File

@ -573,6 +573,7 @@ def main(bot):
if bot.settings._dry_run: if bot.settings._dry_run:
print("Quitting: dry run") print("Quitting: dry run")
bot._shutdown_mode = True
exit(0) exit(0)
print("Logging into Discord...") print("Logging into Discord...")