🐛 !Stop only causes git pull when not in testing mode.
This commit is contained in:
@ -33,8 +33,9 @@ class Funcs():
|
||||
self.bot.database["trivia questions"].delete_many({})
|
||||
self.bot.database["blackjack games"].delete_many({})
|
||||
|
||||
g = git.cmd.Git("")
|
||||
g.pull()
|
||||
if not self.bot.options.testing:
|
||||
g = git.cmd.Git("")
|
||||
g.pull()
|
||||
|
||||
def fiarReactionTest(self,channel,message,user):
|
||||
game = self.bot.database["4 in a row games"].find_one({"_id":str(channel.id)})
|
||||
|
Reference in New Issue
Block a user