migration vers new components V2, et ajout de diverse fonctions !

This commit is contained in:
Mathis 2026-05-16 18:05:04 +02:00
parent 3590cb748f
commit ba9e297cb8
14 changed files with 851 additions and 371 deletions

View file

@ -0,0 +1,9 @@
import disnake
import disnake.ui
c = disnake.ui.Container()
print(f"Container attributes: {dir(c)}")
try:
print(f"Children: {c.children}")
except Exception as e:
print(f"No children attribute: {e}")

12
scratch/check_file.py Normal file
View file

@ -0,0 +1,12 @@
import os
import json
member_id = 1141309757370675262
path = f"data/member_logs/{member_id}.json"
print(f"Path: {path}")
print(f"Exists: {os.path.exists(path)}")
if os.path.exists(path):
print(f"Size: {os.path.getsize(path)}")
with open(path, 'r') as f:
content = f.read()
print(f"Content: {repr(content)}")