ming před 3 roky
rodič
revize
adca046c27
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      newbot.py

+ 3 - 3
newbot.py

@@ -223,14 +223,14 @@ def make_box(num, content):
     row_dict['contents']= [
     row_dict['contents']= [
           {
           {
             "type": "text",
             "type": "text",
-            "text": "第"+str(num)+"名",
+            "text": "第"+str(num)+"名",
             "size": "sm",
             "size": "sm",
             "color": "#aaaaaa",
             "color": "#aaaaaa",
-            "flex": 1
+            "flex": 2
           },
           },
           {
           {
             "type": "text",
             "type": "text",
-            "text": "hello, world"+str(1),
+            "text": content,
             "flex": 5,
             "flex": 5,
             "weight": "regular"
             "weight": "regular"
           }
           }