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 --- v10.0.0/output/pydis_core.utils.interactions.html | 26 +++++++++++++---------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'v10.0.0/output/pydis_core.utils.interactions.html') diff --git a/v10.0.0/output/pydis_core.utils.interactions.html b/v10.0.0/output/pydis_core.utils.interactions.html index f75adf81..cd84b1f8 100644 --- a/v10.0.0/output/pydis_core.utils.interactions.html +++ b/v10.0.0/output/pydis_core.utils.interactions.html @@ -10,9 +10,9 @@ - + @@ -355,6 +355,10 @@ v7.1.1 +
  • + v10.4.0 +
  • +
  • v10.3.0
  • @@ -439,7 +443,7 @@
    Parameters:
    @@ -454,7 +458,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -469,11 +473,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.

    @@ -489,10 +493,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

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

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -514,7 +518,7 @@ If None

    Stop listening for interactions, and remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    -- cgit v1.2.3