def func(self):
     if not UEngine.is_int(self.text):
         self.text = 1
     if int(self.text) > 10:
         self.text = 10
     try:
         self.result['attachment'] = UEngine.get_random_wall_picture(-96122509, int(self.text))
         return True
     except Exception as e:
         self.result['message'] = str(e)
         return False
 def func(self):
     if not UEngine.is_int(self.text):
         self.text = 1
     if int(self.text) > 10:
         self.text = 10
     try:
         groups = [-62376962, -113698537]
         self.result['attachment'] = UEngine.get_random_wall_picture(
             random.choice(groups), int(self.text))
         return True
     except Exception as e:
         self.result['message'] = str(e)
         return False
Exemple #3
0
 def func(self):
     if not UEngine.is_int(self.text):
         self.text = 1
     if int(self.text) > 10:
         self.text = 10
     try:
         groups = [-65596623, -45595714, -75338985, -58158419, -71067613]
         self.result['attachment'] = UEngine.get_random_wall_picture(
             random.choice(groups), int(self.text))
         return True
     except Exception as e:
         self.result['message'] = str(e)
         return False
Exemple #4
0
 def func(self):
     if not UEngine.is_int(self.text):
         self.text = 1
     if int(self.text) > 10:
         self.text = 10
     try:
         groups = [-80799846, -146203367, -72495085]
         self.result['attachment'] = UEngine.get_random_wall_picture(
             random.choice(groups), int(self.text))
         return True
     except Exception as e:
         self.result['message'] = str(e)
         return False
Exemple #5
0
 def func(self):
     if not UEngine.is_int(self.text):
         self.text = 1
     if int(self.text) > 10:
         self.text = 10
     try:
         groups = [-46764887, -80461135, -62846302, -56861816]
         self.result['attachment'] = UEngine.get_random_wall_picture(
             random.choice(groups), int(self.text))
         return True
     except Exception as e:
         self.result['message'] = str(e)
         return False
 def func(self):
     try:
         if not UEngine.is_int(self.text):
             self.text = 1
         if int(self.text) > 10:
             self.text = 10
         while True:
             a = UEngine.get_random_wall_picture(-74382159, int(self.text))
             if len(a) > 1:
                 self.result['attachment'] = a
                 return True
     except Exception as e:
         self.result['message'] = str(e)
         return False
 def func(self):
     try:
         if not UEngine.is_int(self.text):
             self.text = 1
         if int(self.text) > 10:
             self.text = 10
         while True:
             groups = [-36292619, -4186257]
             a = UEngine.get_random_wall_picture(random.choice(groups),
                                                 int(self.text))
             if len(a) > 1:
                 self.result['attachment'] = a
                 return True
     except Exception as e:
         self.result['message'] = str(e)
         return False
 def func(self):
     if not UEngine.is_int(self.text):
         self.text = 1
     if int(self.text) > 10:
         self.text = 10
     try:
         groups = [
             -134982584, -84753006, -146150692, -126442376, -65144752,
             -83971955, -83971955
         ]
         self.result['attachment'] = UEngine.get_random_wall_picture(
             random.choice(groups), int(self.text))
         return True
     except Exception as e:
         self.result['message'] = str(e)
         return False
 def func(self):
     if not UEngine.is_int(self.text):
         self.text = 1
     if int(self.text) > 10:
         self.text = 10
     try:
         groups = [
             -127518015, -101072212, -69721869, -111673172, -151443835,
             -113969740, -157516431
         ]
         self.result['attachment'] = UEngine.get_random_wall_picture(
             random.choice(groups), int(self.text))
         return True
     except Exception as e:
         self.result['message'] = str(e)
         return False