def cleardefaults(self): if not self.values: return 'Clear what?' Defaults.objects(command=self.values[0]).delete() return 'Responses cleared'
def cleardefaults(self): if not self.values: return 'Clear what?' Defaults.objects(command=self.values[0]).delete() return 'Responses cleared'
def default(self): backup = Defaults.objects(command=self.lastcommand) if backup: return choice(backup).response self.act(" cannot do this thing :'(")
def default(self): backup = Defaults.objects(command=self.lastcommand) if backup: return choice(backup).response self.act(" cannot do this thing :'(")