From 98fe8707d983ef4b9f10cab28a1a540b8dafc078 Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sun, 10 Dec 2023 16:00:28 +0000 Subject: Deploying to docs from @ python-discord/bot-core@3ed1d4be2328b59577afde058105fd071184bd95 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../output/botcore.utils.interactions.html | 24 +++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'v8.0.0-beta.1/output/botcore.utils.interactions.html') diff --git a/v8.0.0-beta.1/output/botcore.utils.interactions.html b/v8.0.0-beta.1/output/botcore.utils.interactions.html index 5cf35da1..02c09dd8 100644 --- a/v8.0.0-beta.1/output/botcore.utils.interactions.html +++ b/v8.0.0-beta.1/output/botcore.utils.interactions.html @@ -10,9 +10,9 @@ - + @@ -351,6 +351,10 @@ v7.1.1 +
  • + v10.4.0 +
  • +
  • v10.3.0
  • @@ -435,7 +439,7 @@
    Parameters:
    @@ -450,7 +454,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -465,11 +469,11 @@
    Parameters:
      -
    • allowed_users (Sequence[int]) – A sequence of user’s ids who are allowed to interact with the view.

    • -
    • allowed_roles (Sequence[int]) – A sequence of role ids that are allowed to interact with the view.

    • -
    • timeout (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. +

    • allowed_users (Sequence[int]) – A sequence of user’s ids who are allowed to interact with the view.

    • +
    • allowed_roles (Sequence[int]) – A sequence of role ids that are allowed to interact with the view.

    • +
    • timeout (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with view.message = await ctx.send( ... )` , or similar, after the view is instantiated.

    @@ -485,10 +489,10 @@ If None

    Ensure the user clicking the button is the view invoker, or a moderator.

    Parameters:
    -

    interaction (Interaction) – The interaction that occurred.

    +

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -499,7 +503,7 @@ If None

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    -- cgit v1.2.3