From 4497a82c504818d61ab18c5251ae2bc42bae279e Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 23 Nov 2024 18:47:50 +0000 Subject: Deploying to docs from @ python-discord/bot-core@bdaaa2e76d4cb32843754757532ef8d73ac97761 πŸš€ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v11.0.1/output/pydis_core.utils.interactions.html | 38 ++++++++++++++--------- 1 file changed, 23 insertions(+), 15 deletions(-) (limited to 'v11.0.1/output/pydis_core.utils.interactions.html') diff --git a/v11.0.1/output/pydis_core.utils.interactions.html b/v11.0.1/output/pydis_core.utils.interactions.html index 570ede9d..ddf73b58 100644 --- a/v11.0.1/output/pydis_core.utils.interactions.html +++ b/v11.0.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -464,7 +472,7 @@
    Parameters:
    @@ -479,7 +487,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -494,11 +502,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 (float | None) – 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 (float | None) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

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

    • message (Message | None) – 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.

    @@ -517,7 +525,7 @@ If None

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -528,7 +536,7 @@ If None

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -539,7 +547,7 @@ If None

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

    Return type:
    -

    None

    +

    None

    @@ -554,12 +562,12 @@ If NoneParameters:
    • user (User | Member) – The user to check

    • -
    • allowed_users (Sequence[int]) – A sequence of user ids that are allowed access

    • -
    • allowed_roles (Sequence[int]) – A sequence of role ids that are allowed access

    • +
    • allowed_users (Sequence[int]) – A sequence of user ids that are allowed access

    • +
    • allowed_roles (Sequence[int]) – A sequence of role ids that are allowed access

    Return type:
    -

    bool

    +

    bool

    @@ -647,7 +655,7 @@ If None - + -- cgit v1.2.3