Created
December 23, 2020 15:51
-
-
Save cyrus01337/b235b7b64a0aaf4ee16f73015513df38 to your computer and use it in GitHub Desktop.
Jishaku eval code used to generate the image example for ?tag inline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kwargs = {"title": "title", "description": "description"} | |
embeds = (discord.Embed(**kwargs), discord.Embed(**kwargs)) | |
values = ("not inline", "inline") | |
for i, inline in enumerate((False, True)): | |
embed = embeds[i] | |
for n in range(1, 7): | |
embed.add_field(name=f"field #{n}", value=values[i], inline=inline) | |
_=await _ctx.send(embed=embed) # replace "_ctx" according to your bot's jishaku underscore settings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment