aboutsummaryrefslogtreecommitdiff
path: root/discord/embeds.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/embeds.py')
-rw-r--r--discord/embeds.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/discord/embeds.py b/discord/embeds.py
index e8b83985..316299ef 100644
--- a/discord/embeds.py
+++ b/discord/embeds.py
@@ -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`