mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 15:44:57 +00:00
Update functions.py
This commit is contained in:
parent
19519023e0
commit
79f0577afe
1 changed files with 5 additions and 4 deletions
|
@ -15,7 +15,8 @@ def format_list_entry(embed, l, name):
|
||||||
l_names = [f'{l[i]}' for i in range(len(l))]
|
l_names = [f'{l[i]}' for i in range(len(l))]
|
||||||
l_names = [name.replace('_', '\_') for name in l_names]
|
l_names = [name.replace('_', '\_') for name in l_names]
|
||||||
|
|
||||||
em = embed_entry(name=name,
|
em = embed_entry(
|
||||||
|
name=name,
|
||||||
value=", ".join(l_names),
|
value=", ".join(l_names),
|
||||||
playercount = len(l)
|
playercount = len(l)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue