From 8bc4474ff2d267e823da9f068e889e9f3223ee87 Mon Sep 17 00:00:00 2001 From: Soheab_ <33902984+Soheab@users.noreply.github.com> Date: Wed, 31 Jan 2024 19:05:06 +0100 Subject: [PATCH] remove extraneous note about import Embed from module --- docs/guide/topics/embeds.rst | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/guide/topics/embeds.rst b/docs/guide/topics/embeds.rst index 5ca0d86db..784db1ec8 100644 --- a/docs/guide/topics/embeds.rst +++ b/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.