TheHamkerCat 5 gadi atpakaļ
vecāks
revīzija
7815a3c0c8
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      wbb/core/sections.py

+ 2 - 2
wbb/core/sections.py

@@ -4,7 +4,7 @@ def section(
     text = f"**--{title}**--:\n" if underline else f"**{title}**:\n"
     for key, value in body.items():
         if not isinstance(value, list):
-            text += f"{' ' * indent}`→` **{key}:** `{value}`\n"
+            text += f"{' ' * indent}**{key.capitalize()}:** `{value}`\n"
         else:
-            text += f"{' ' * indent}`→` **{key}:** {value[0]}\n"
+            text += f"{' ' * indent}**{key.capitalize()}:** {value[0]}\n"
     return text