Bump d.py version to 2.4.0 (#6401)

Co-authored-by: Ryan <yamikaitou@gmail.com>
This commit is contained in:
Jakub Kuczys
2024-07-10 20:36:47 +02:00
committed by GitHub
parent dd61b669b0
commit 2b1e603124
9 changed files with 173 additions and 36 deletions

View File

@@ -2867,7 +2867,7 @@ Supports either an attachment or an image URL.
**Examples:**
- ``[p]set bot avatar`` - With an image attachment, this will set the avatar.
- ``[p]set bot avatar`` - Without an attachment, this will show the command help.
- ``[p]set bot avatar https://links.flaree.xyz/k95`` - Sets the avatar to the provided url.
- ``[p]set bot avatar https://avatars.githubusercontent.com/u/23690422`` - Sets the avatar to the provided url.
**Arguments:**
- ``[url]`` - An image url to be used as an avatar. Leave blank when uploading an attachment.
@@ -2895,6 +2895,57 @@ Removes Red's avatar.
**Example:**
- ``[p]set bot avatar remove``
.. _core-command-set-bot-banner:
""""""""""""""
set bot banner
""""""""""""""
.. note:: |owner-lock|
**Syntax**
.. code-block:: none
[p]set bot banner [url]
**Description**
Sets Red's banner
Supports either an attachment or an image URL.
**Examples:**
- ``[p]set bot banner`` - With an image attachment, this will set the banner.
- ``[p]set bot banner`` - Without an attachment, this will show the command help.
- ``[p]set bot banner https://opengraph.githubassets.com`` - Sets the banner to the provided url.
**Arguments:**
- ``[url]`` - An image url to be used as an banner. Leave blank when uploading an attachment.
.. _core-command-set-bot-banner-remove:
"""""""""""""""""""""
set bot banner remove
"""""""""""""""""""""
.. note:: |owner-lock|
**Syntax**
.. code-block:: none
[p]set bot banner remove
.. tip:: Alias: ``set bot banner clear``
**Description**
Removes Red's banner.
**Example:**
- ``[p]set bot banner remove``
.. _core-command-set-bot-custominfo:
""""""""""""""""""