From a044360f2369fbc13a2db0cb1c97f1ac7326e150 Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Thu, 18 Aug 2022 15:13:27 +0000 Subject: Deploying to docs from @ python-discord/bot-core@127d0efa219d29e15bd71339d0d2517945aed57c 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v7.3.0/output/botcore.utils.interactions.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'v7.3.0/output/botcore.utils.interactions.html') diff --git a/v7.3.0/output/botcore.utils.interactions.html b/v7.3.0/output/botcore.utils.interactions.html index 4c2bcdb4..a318a90b 100644 --- a/v7.3.0/output/botcore.utils.interactions.html +++ b/v7.3.0/output/botcore.utils.interactions.html @@ -205,6 +205,10 @@ main +
  • + v8.1.0 +
  • +
  • v8.0.0-beta.4
  • @@ -328,7 +332,7 @@
    class DeleteMessageButton(*, style=<ButtonStyle.secondary: 2>, label='Delete', **kwargs)[source]#
    -

    Bases: Button

    +

    Bases: Button

    A button that can be added to a view to delete the message containing the view on click.

    This button itself carries out no interaction checks, these should be done by the parent view.

    See botcore.utils.interactions.ViewWithUserAndRoleCheck for a view that implements basic checks.

    @@ -361,7 +365,7 @@
    class ViewWithUserAndRoleCheck(*, allowed_users, allowed_roles, timeout=180.0)[source]#
    -

    Bases: View

    +

    Bases: View

    A view that allows the original invoker and moderators to interact with it.

    Parameters:
    @@ -384,7 +388,7 @@ 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

    -- cgit v1.2.3