outils.py 389 B

1234567891011
  1. def import_array(filename):
  2. # Load the JSON file
  3. with open(filename, 'r') as f:
  4. data = json.load(f)
  5. # Access the "messages" array
  6. array = data['messages']
  7. return array
  8. btz_core = ['Nathan Spaeter', 'Luyzon', 'Clément Krebs', 't o', 'Leous', 'Arnaud']
  9. btz_ext = [*btz_core, *['Senkei', 'Éléonore', 'Tozpa', 'Léo', 'XxX_MatthieuXPlume_XxX', 'poline', 'Sarah Guillemant']]