discord embed python bot code example
Example 1: embed python discord
embed.add_field(name="Field 1 Title", value="This is the value for field 1. This is NOT an inline field.", inline=False)
Example 2: python discord bot embed
emb = discord.Embed(title='Команды Админов')
emb.add_field(name = settings['prefix']+'clear [count]', value='Очистка чата.\n', inline=False)
emb.add_field(name = settings['prefix']+'ban [name]', value='Бан пользователя.\n', inline=False)
emb.add_field(name = settings['prefix']+'muted [name]', value='Замютить пользователя.\n', inline=False)
emb.add_field(name = settings['prefix']+'setprefix [prefix]', value='Сменить префикс бота.\n', inline=False)
emb.add_field(name = settings['prefix']+'restart', value='Перезапуск бота.\n', inline=False)