From c20c19c9cefb207586e9b51edf98948e1d710333 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 16 Jul 2022 19:13:11 +0100 Subject: Add a generic view and button The view implements an interaction check for allowed_users and allowed_roles. The button deleted the message attached the the parent view on click. --- docs/changelog.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/changelog.rst b/docs/changelog.rst index 9d74eee8..cbe37062 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,11 @@ Changelog ========= +- :release:`7.3.0 <16th July 2022>` +- :feature:`103` Add a generic view :obj:`botcore.utils.interactions.ViewWithUserAndRoleCheck` that only allows specified users and roles to interaction with it +- :feature:`103` Add a button :obj:`botcore.utils.interactions.DeleteMessageButton` that deletes the message attached to its parent view. + + - :release:`7.2.2 <9th July 2022>` - :bug:`98` Only close ``BotBase.stats._transport`` if ``BotBase.stats`` was created -- cgit v1.2.3