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