From 204f941e96d6072b97fb746063118ca6ac955900 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 28 Apr 2022 10:50:00 -0400 Subject: [PATCH] Display permissions v2 decorators in the documentation --- docs/interactions/api.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/interactions/api.rst b/docs/interactions/api.rst index 692095eb4..b1a97d62c 100644 --- a/docs/interactions/api.rst +++ b/docs/interactions/api.rst @@ -482,6 +482,12 @@ Decorators .. autofunction:: discord.app_commands.guilds :decorator: +.. autofunction:: discord.app_commands.guild_only + :decorator: + +.. autofunction:: discord.app_commands.default_permissions + :decorator: + Checks ~~~~~~~