🐛 !Stop only causes git pull when not in testing mode.
This commit is contained in:
@@ -33,6 +33,7 @@ class Funcs():
|
|||||||
self.bot.database["trivia questions"].delete_many({})
|
self.bot.database["trivia questions"].delete_many({})
|
||||||
self.bot.database["blackjack games"].delete_many({})
|
self.bot.database["blackjack games"].delete_many({})
|
||||||
|
|
||||||
|
if not self.bot.options.testing:
|
||||||
g = git.cmd.Git("")
|
g = git.cmd.Git("")
|
||||||
g.pull()
|
g.pull()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user