Browse Source

remove extraneous note about import Embed from module

pull/9708/head
Soheab_ 1 year ago
parent
commit
8bc4474ff2
  1. 10
      docs/guide/topics/embeds.rst

10
docs/guide/topics/embeds.rst

@ -60,16 +60,6 @@ Let's break down what we did.
First, we imported the ``discord`` module. This is required to access the ``Embed`` class.
.. note::
You can also import the ``Embed`` class directly from the ``discord`` module like so:
.. code-block:: python
from discord import Embed
embed = Embed(...)
Next, we created an instance of the ``Embed`` class. This is the object that will contain the basic fields of our embed.
The ``title`` and ``description`` fields are pretty self-explanatory. The ``colour`` field is a bit more interesting.

Loading…
Cancel
Save