mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
@ -3,7 +3,7 @@
|
||||
"""
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015-2019 Rapptz
|
||||
Copyright (c) 2015-2020 Rapptz
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@ -421,15 +421,15 @@ class Embed:
|
||||
self._fields = [field]
|
||||
|
||||
return self
|
||||
|
||||
|
||||
def insert_field_at(self, index, *, name, value, inline=True):
|
||||
"""Inserts a field before a specified index to the embed.
|
||||
|
||||
|
||||
This function returns the class instance to allow for fluent-style
|
||||
chaining.
|
||||
|
||||
|
||||
.. versionadded:: 1.2.0
|
||||
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
index: :class:`int`
|
||||
|
Reference in New Issue
Block a user