Update functions.py

This commit is contained in:
Elmon11 2020-12-18 18:29:01 +01:00 committed by GitHub
parent 19519023e0
commit 79f0577afe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,10 +15,11 @@ 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(
value=", ".join(l_names), name=name,
playercount = len(l) value=", ".join(l_names),
) playercount = len(l)
)
return em return em
def did_mention_other_user(users, author): def did_mention_other_user(users, author):