Skip to content

Commit fe970fa

Browse files
authored
feat!: Implement barebones v2 permissions. (#765)
* feat!: Implement barebones v2 permissions. * docs: Fix command decor typos. * fix: Add _client slot to ApplicationCommandPermissions object. * fix: Remove API-removed attribute to the ApplicationCommand model. * docs: Document how to use v2 permissions in quickstart.rst * docs: Fix sentence clarification. * docs: Fix RST note display. * fix(http): Adjust endpoints for v2 permissions. * refactor: Remove associated endpoint header from last commit. * docs: Fix param/type in documentation.
1 parent 55ead42 commit fe970fa

36 files changed

+185
-88
lines changed

docs/locale/de/LC_MESSAGES/api.http.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ msgstr ""
447447
#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4
448448
#: interactions.api.http.HTTPClient.get_channel_messages:4
449449
#: interactions.api.http.HTTPClient.modify_guild:4 of
450-
msgid "..note::"
450+
msgid ".. note::"
451451
msgstr ""
452452

453453
#: interactions.api.http.HTTPClient.modify_guild:4 of
@@ -514,7 +514,7 @@ msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}"
514514
msgstr ""
515515

516516
#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of
517-
msgid "Get a url representing a png image widget for the guild. ..note::"
517+
msgid "Get a url representing a png image widget for the guild. .. note::"
518518
msgstr ""
519519

520520
#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of

docs/locale/de/LC_MESSAGES/api.models.channel.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ msgid "An enumerable object representing the type of channels."
2727
msgstr ""
2828

2929
#: interactions.api.models.channel.ChannelType:3 of
30-
msgid "..note::"
30+
msgid ".. note::"
3131
msgstr ""
3232

3333
#: interactions.api.models.channel.ChannelType:4 of

docs/locale/de/LC_MESSAGES/api.models.guild.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ msgid "A model representing the preview of a guild."
318318
msgstr ""
319319

320320
#: interactions.api.models.guild.GuildPreview:4 of
321-
msgid "..note::"
321+
msgid ".. note::"
322322
msgstr ""
323323

324324
#: interactions.api.models.guild.GuildPreview:4 of

docs/locale/de/LC_MESSAGES/api.models.message.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ msgid "An enumerable object representing the types of messages."
2727
msgstr ""
2828

2929
#: interactions.api.models.message.MessageType:3 of
30-
msgid "..note::"
30+
msgid ".. note::"
3131
msgstr ""
3232

3333
#: interactions.api.models.message.MessageType:4 of

docs/locale/fr/LC_MESSAGES/api.http.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ msgstr ""
447447
#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4
448448
#: interactions.api.http.HTTPClient.get_channel_messages:4
449449
#: interactions.api.http.HTTPClient.modify_guild:4 of
450-
msgid "..note::"
450+
msgid ".. note::"
451451
msgstr ""
452452

453453
#: interactions.api.http.HTTPClient.modify_guild:4 of
@@ -514,7 +514,7 @@ msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}"
514514
msgstr ""
515515

516516
#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of
517-
msgid "Get a url representing a png image widget for the guild. ..note::"
517+
msgid "Get a url representing a png image widget for the guild. .. note::"
518518
msgstr ""
519519

520520
#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of

docs/locale/fr/LC_MESSAGES/api.models.channel.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ msgid "An enumerable object representing the type of channels."
2727
msgstr ""
2828

2929
#: interactions.api.models.channel.ChannelType:3 of
30-
msgid "..note::"
30+
msgid ".. note::"
3131
msgstr ""
3232

3333
#: interactions.api.models.channel.ChannelType:4 of

docs/locale/fr/LC_MESSAGES/api.models.guild.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ msgid "A model representing the preview of a guild."
318318
msgstr ""
319319

320320
#: interactions.api.models.guild.GuildPreview:4 of
321-
msgid "..note::"
321+
msgid ".. note::"
322322
msgstr ""
323323

324324
#: interactions.api.models.guild.GuildPreview:4 of

docs/locale/fr/LC_MESSAGES/api.models.message.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ msgid "An enumerable object representing the types of messages."
2727
msgstr ""
2828

2929
#: interactions.api.models.message.MessageType:3 of
30-
msgid "..note::"
30+
msgid ".. note::"
3131
msgstr ""
3232

3333
#: interactions.api.models.message.MessageType:4 of

docs/locale/hi/LC_MESSAGES/api.http.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ msgstr ""
447447
#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4
448448
#: interactions.api.http.HTTPClient.get_channel_messages:4
449449
#: interactions.api.http.HTTPClient.modify_guild:4 of
450-
msgid "..note::"
450+
msgid ".. note::"
451451
msgstr ""
452452

453453
#: interactions.api.http.HTTPClient.modify_guild:4 of
@@ -514,7 +514,7 @@ msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}"
514514
msgstr ""
515515

516516
#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of
517-
msgid "Get a url representing a png image widget for the guild. ..note::"
517+
msgid "Get a url representing a png image widget for the guild. .. note::"
518518
msgstr ""
519519

520520
#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of

docs/locale/hi/LC_MESSAGES/api.models.channel.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ msgid "An enumerable object representing the type of channels."
2727
msgstr ""
2828

2929
#: interactions.api.models.channel.ChannelType:3 of
30-
msgid "..note::"
30+
msgid ".. note::"
3131
msgstr ""
3232

3333
#: interactions.api.models.channel.ChannelType:4 of

0 commit comments

Comments
 (0)