mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2025-01-03 13:18:18 +00:00
Update functions.py
This commit is contained in:
parent
3fa9b6e28c
commit
837b69aa5b
1 changed files with 3 additions and 5 deletions
|
@ -1,14 +1,12 @@
|
|||
import discord
|
||||
import json
|
||||
import requests
|
||||
|
||||
from discord.ext import commands
|
||||
from checks import *
|
||||
|
||||
|
||||
def format_list_entry(embed, list, name):
|
||||
embed.add_field(name="{} ({})".format(name, len(list)),
|
||||
value=", ".join(list), inline=False)
|
||||
def format_list_entry(embed, l, name):
|
||||
embed.add_field(name="{} ({})".format(name, len(l)),
|
||||
value=", ".join(l), inline=False)
|
||||
return embed
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue