【发布时间】:2021-01-09 23:51:04
【问题描述】:
所以我正在制作我的帮助页面,我想列出所有命令及其描述。当我尝试将每个命令及其描述放入不同的“”中,然后每次都下一行。它没有用。以下是我的尝试,感谢任何帮助:
async def currency(ctx):
await open_account(ctx.author)
em = discord.Embed(title = f":moneybag: Currency Commands",color = discord.Color.green())
em.add_field(name = "Free",value = "`cook` - Cook some cookies and sell them"
"`beg` - Beg and get coins"
"`farm` - Farm *cough cough* and sell the production for coins"
"`daily` - Get 2500 coins every day"
"`balance` - Shows you the amount of money you have")
em.add_field(name = ":star: Premium",value = "Coming Soon")
await ctx.send(embed = em)```
【问题讨论】:
-
只需在字符串中执行 \n 它会创建一个新行
标签: discord discord.py