diff --git a/README.rst b/README.rst index e45eb46c9..09e5660a3 100644 --- a/README.rst +++ b/README.rst @@ -1,32 +1,19 @@ -=============== interactions.py =============== **Easy, simple, scalable and modular: a Python API wrapper for interactions.** .. image:: https://img.shields.io/pypi/dm/discord-py-slash-command.svg - :target: https://pypi.python.org/pypi/discord-py-interactions/ - :alt: PyPI Monthly Downloads .. image:: https://img.shields.io/github/license/goverfl0w/discord-interactions.svg - :target: https://github.com/goverfl0w/discord-interactions/blob/master/LICENSE - :alt: License .. image:: https://img.shields.io/pypi/pyversions/discord-py-interactions.svg - :target: https://pypi.python.org/pypi/discord-py-interactions/ - :alt: PyPI Versions .. image:: https://img.shields.io/pypi/v/discord-py-interactions.svg - :target: https://pypi.python.org/pypi/discord-py-interactions/ - :alt: PyPI Version .. image:: https://readthedocs.org/projects/discord-interactions/badge/?version=latest - :target: http://discord-interactions.readthedocs.io/?badge=latest - :alt: Documentation Status .. image:: https://discord.com/api/guilds/789032594456576001/embed.png - :target: https://discord.gg/KkgMBVuEkx - :alt: Discord ---- diff --git a/docs/api.gateway.rst b/docs/api.gateway.rst index 71e344be1..eff310dbb 100644 --- a/docs/api.gateway.rst +++ b/docs/api.gateway.rst @@ -6,3 +6,11 @@ Gateway .. automodule:: interactions.api.gateway :members: :noindex: + +.. automodule:: interactions.api.gateway.client + :members: + :noindex: + +.. automodule:: interactions.api.gateway.heartbeat + :members: + :noindex: diff --git a/docs/api.http.rst b/docs/api.http.rst index 6d1b568df..2c24996d6 100644 --- a/docs/api.http.rst +++ b/docs/api.http.rst @@ -19,50 +19,50 @@ HTTP :members: :noindex: -.. autoclass:: interactions.api.http.channel._ChannelRequest +.. autoclass:: interactions.api.http.channel.ChannelRequest :members: :noindex: -.. autoclass:: interactions.api.http.emoji._EmojiRequest +.. autoclass:: interactions.api.http.emoji.EmojiRequest :members: :noindex: -.. autoclass:: interactions.api.http.guild._GuildRequest +.. autoclass:: interactions.api.http.guild.GuildRequest :members: :noindex: -.. autoclass:: interactions.api.http.interaction._InteractionRequest +.. autoclass:: interactions.api.http.interaction.InteractionRequest :members: :noindex: -.. autoclass:: interactions.api.http.member._MemberRequest +.. autoclass:: interactions.api.http.member.MemberRequest :members: :noindex: -.. autoclass:: interactions.api.http.message._MessageRequest +.. autoclass:: interactions.api.http.message.MessageRequest :members: :noindex: -.. autoclass:: interactions.api.http.reaction._ReactionRequest +.. autoclass:: interactions.api.http.reaction.ReactionRequest :members: :noindex: -.. autoclass:: interactions.api.http.scheduledEvent._ScheduledEventRequest +.. autoclass:: interactions.api.http.scheduledEvent.ScheduledEventRequest :members: :noindex: -.. autoclass:: interactions.api.http.sticker._StickerRequest +.. autoclass:: interactions.api.http.sticker.StickerRequest :members: :noindex: -.. autoclass:: interactions.api.http.thread._ThreadRequest +.. autoclass:: interactions.api.http.thread.ThreadRequest :members: :noindex: -.. autoclass:: interactions.api.http.user._UserRequest +.. autoclass:: interactions.api.http.user.UserRequest :members: :noindex: -.. autoclass:: interactions.api.http.webhook._WebhookRequest +.. autoclass:: interactions.api.http.webhook.WebhookRequest :members: :noindex: diff --git a/docs/client.rst b/docs/client.rst index 277feddee..24680bf7d 100644 --- a/docs/client.rst +++ b/docs/client.rst @@ -3,6 +3,6 @@ Bot Client ========== -.. automodule:: interactions.client +.. automodule:: interactions.client.bot :members: :noindex: diff --git a/docs/conf.py b/docs/conf.py index dcf9c1b6a..6e85a5f97 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,6 +39,7 @@ "sphinx.ext.autosectionlabel", "hoverxref.extension", "karma_sphinx_theme", + "sphinx_search.extension", ] # Stackoverflow said that this is gonna cure my LaTeX errors for ref handling. @@ -57,7 +58,11 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = "de" + +# Language is commented out because of PR reviews. In a RTD-hosted case, +# the variable seems to be skipped. +# language = "de" + locale_dirs = ["locale/"] gettext_compact = True @@ -66,8 +71,9 @@ # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build"] -# This should fix wrong sort -autodoc_member_order = "bysource" +# This autodocs private attrs and also fixes wrong sort +autodoc_default_options = {"member-order": "bysource", "private-members": True} + # -- Options for HTML output ------------------------------------------------- diff --git a/docs/context.rst b/docs/context.rst index 9159fe1c7..778d171e8 100644 --- a/docs/context.rst +++ b/docs/context.rst @@ -3,6 +3,7 @@ Event Context ============= -.. automodule:: interactions.context +.. automodule:: interactions.client.context :members: + :inherited-members: :noindex: diff --git a/docs/enums.rst b/docs/enums.rst index b0f42eb47..19a39b773 100644 --- a/docs/enums.rst +++ b/docs/enums.rst @@ -3,6 +3,6 @@ Enumerable Objects ================== -.. automodule:: interactions.enums +.. automodule:: interactions.client.enums :members: :noindex: diff --git a/docs/index.rst b/docs/index.rst index 6e0543831..aa5fad487 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -26,7 +26,7 @@ Some more unique features that are exclusive to our interactions include: - **Event-triggered callbacks**: whether a component, application command or interaction response, you'll never need to worry about bridging responses. - **Dual-way decorator logic**: a decorator can act as both a constructor for an interaction, as well as a callback. - **API-strict naming**: no more confusion with the naming approach of many libraries; we follow the naming style of interactions from the officially curated Discord Developers documentation. -- **Extensive framework structure**: (**pending in** ``4.1.0``) build your own tools and technologies for our library to develop and integrate community creations. +- **Extensive framework structure**: build your own tools and technologies for our library to develop and integrate community creations. What do we not offer? ********************* @@ -88,7 +88,7 @@ Advanced Search * :ref:`modindex` * :ref:`search` -.. _contribution requirements: https://github.com/interactions-py/library/blob/stable/CONTRIBUTING.md +.. _contribution requirements: https://github.com/interactions-py/library/blob/stable/CONTRIBUTING.rst .. _MIT License: https://github.com/interactions-py/library/blob/stable/LICENSE .. _Pull Requests: https://github.com/interactions-py/library/pulls .. _Issues: https://github.com/interactions-py/library/issues diff --git a/docs/locale/de/LC_MESSAGES/api.cache.mo b/docs/locale/de/LC_MESSAGES/api.cache.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.cache.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.cache.po b/docs/locale/de/LC_MESSAGES/api.cache.po index f32d51085..43abb1314 100644 --- a/docs/locale/de/LC_MESSAGES/api.cache.po +++ b/docs/locale/de/LC_MESSAGES/api.cache.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,7 +31,7 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.cache.Item:3 of +#: interactions.api.cache.Item:3 interactions.api.cache.Storage.get:3 of msgid "The ID of the item." msgstr "" @@ -55,22 +55,8 @@ msgstr "" msgid "Adds a new item to the storage." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Parameters" msgstr "" @@ -78,27 +64,46 @@ msgstr "" msgid "The item to add." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Returns" msgstr "" #: interactions.api.cache.Storage.add:5 of -msgid "typing.List[interactions.api.cache.Item]" +msgid "The new storage." +msgstr "" + +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of +msgid "Return type" +msgstr "" + +#: interactions.api.cache.Storage.get:1 of +msgid "Gets an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.get:5 of +msgid "The item from the storage if any." +msgstr "" + +#: interactions.api.cache.Storage.update:1 of +msgid "Updates an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.update:3 of +msgid "The item to update." +msgstr "" + +#: interactions.api.cache.Storage.update:4 of +msgid "The updated item, if stored." +msgstr "" + +#: interactions.api.cache.Storage.view:1 of +msgid "Views all items from storage." +msgstr "" + +#: interactions.api.cache.Storage.view:3 of +msgid ":return The items stored. :rtype: List[dict]" msgstr "" #: interactions.api.cache.Cache:1 of @@ -138,169 +143,3 @@ msgstr "" #: interactions.api.cache.Cache:12 of msgid "The cached interactions upon interaction." msgstr "" - -#: interactions.api.cache.Cache.add_dm:1 of -msgid "Adds a DM to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_dm:3 of -msgid "The Direct Message to add." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:5 -#: interactions.api.cache.Cache.add_dm:5 -#: interactions.api.cache.Cache.add_guild:5 -#: interactions.api.cache.Cache.add_interaction:7 -#: interactions.api.cache.Cache.add_member:5 -#: interactions.api.cache.Cache.add_message:5 -#: interactions.api.cache.Cache.add_role:5 -#: interactions.api.cache.Cache.add_self_guild:5 -#: interactions.api.cache.Cache.add_user:5 -#: interactions.api.cache.Cache.get_channel:7 -#: interactions.api.cache.Cache.get_dm:5 -#: interactions.api.cache.Cache.get_guild:5 -#: interactions.api.cache.Cache.get_interaction:5 -#: interactions.api.cache.Cache.get_member:7 -#: interactions.api.cache.Cache.get_message:9 -#: interactions.api.cache.Cache.get_role:9 -#: interactions.api.cache.Cache.get_self_guild:5 -#: interactions.api.cache.Cache.get_user:5 of -msgid "interactions.api.cache.Item" -msgstr "" - -#: interactions.api.cache.Cache.get_dm:1 of -msgid "Gets a DM from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_dm:3 of -msgid "The ID of the Direct Message." -msgstr "" - -#: interactions.api.cache.Cache.add_self_guild:1 of -msgid "Adds a combed guild from the gateway to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:3 -#: interactions.api.cache.Cache.add_self_guild:3 of -msgid "The guild to add." -msgstr "" - -#: interactions.api.cache.Cache.get_self_guild:1 of -msgid "Gets a combed guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:3 -#: interactions.api.cache.Cache.get_guild:3 -#: interactions.api.cache.Cache.get_member:3 -#: interactions.api.cache.Cache.get_message:3 -#: interactions.api.cache.Cache.get_role:3 -#: interactions.api.cache.Cache.get_self_guild:3 of -msgid "The ID of the guild." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:1 of -msgid "Adds a guild after the ready event to the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_guild:1 of -msgid "Gets a new guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:1 of -msgid "Adds a channel to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:3 of -msgid "The channel to add." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:1 of -msgid "Gets a channel from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:5 -#: interactions.api.cache.Cache.get_message:5 of -msgid "The ID of the channel." -msgstr "" - -#: interactions.api.cache.Cache.add_role:1 of -msgid "Adds a role to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_role:3 of -msgid "The role to add." -msgstr "" - -#: interactions.api.cache.Cache.get_role:1 of -msgid "Gets a role from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_member:5 -#: interactions.api.cache.Cache.get_role:5 of -msgid "The ID of the member." -msgstr "" - -#: interactions.api.cache.Cache.get_role:7 of -msgid "The ID of the role." -msgstr "" - -#: interactions.api.cache.Cache.add_member:1 of -msgid "Adds a member to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_member:3 of -msgid "The member to add." -msgstr "" - -#: interactions.api.cache.Cache.get_member:1 of -msgid "Gets a member from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:1 of -msgid "Adds a message to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:3 of -msgid "The message to add." -msgstr "" - -#: interactions.api.cache.Cache.get_message:1 of -msgid "Gets a message from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_message:7 of -msgid "The ID of the message." -msgstr "" - -#: interactions.api.cache.Cache.add_user:1 of -msgid "Adds a user to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_user:3 of -msgid "The user to add." -msgstr "" - -#: interactions.api.cache.Cache.get_user:1 of -msgid "Gets a user from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_user:3 of -msgid "The ID of the user." -msgstr "" - -#: interactions.api.cache.Cache.get_interaction:1 of -msgid "Gets an application command/interaction from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:3 -#: interactions.api.cache.Cache.get_interaction:3 of -msgid "The application ID of the command." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:1 of -msgid "Adds an application command/interaction to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:5 of -msgid "The application command to add." -msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.dispatch.mo b/docs/locale/de/LC_MESSAGES/api.dispatch.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.dispatch.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.dispatch.po b/docs/locale/de/LC_MESSAGES/api.dispatch.po index 1b084411b..b6707ea02 100644 --- a/docs/locale/de/LC_MESSAGES/api.dispatch.po +++ b/docs/locale/de/LC_MESSAGES/api.dispatch.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -59,16 +59,6 @@ msgstr "" msgid "Keyword-only arguments of the coroutine." msgstr "" -#: interactions.api.dispatch.Listener.dispatch -#: interactions.api.dispatch.Listener.register of -msgid "Returns" -msgstr "" - -#: interactions.api.dispatch.Listener.dispatch:9 -#: interactions.api.dispatch.Listener.register:9 of -msgid "None" -msgstr "" - #: interactions.api.dispatch.Listener.register:1 of msgid "" "Registers a given coroutine as an event to be listened to. If the name of" @@ -83,3 +73,7 @@ msgstr "" #: interactions.api.dispatch.Listener.register:7 of msgid "The coroutine to register as an event." msgstr "" + +#: interactions.api.dispatch.Listener.register:9 of +msgid "The name to associate the coroutine with. Defaults to None." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.enums.mo b/docs/locale/de/LC_MESSAGES/api.enums.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.enums.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.enums.po b/docs/locale/de/LC_MESSAGES/api.enums.po index 284356c95..e77ec4bbc 100644 --- a/docs/locale/de/LC_MESSAGES/api.enums.po +++ b/docs/locale/de/LC_MESSAGES/api.enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,25 +22,6 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.api.enums.DefaultErrorType:1 of -msgid "" -"An enumerable object for the default errors that occur with interaction " -"creation." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:4 of -msgid "" -"This is a port from v3's errors, which basically delegate errors to a " -"unique error code. This enum's purpose is to help remember error codes. " -"Importing this class is not required." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:7 of -msgid "" -"i.e. : raise InteractionException(1) == raise " -"InteractionException(REQUEST_FAILURE)" -msgstr "" - #: interactions.api.enums.OpCodeType:1 of msgid "" "An enumerable object for the Gateway's OPCODE result state. This is " @@ -53,35 +34,3 @@ msgid "" "`_ in the Discord API." msgstr "" - -#: interactions.api.enums.WSCloseCodeType:1 of -msgid "" -"An enumerable object for the Gateway's closing connection codes. This is " -"representative of the Gateway responses generated by the WebSocket." -msgstr "" - -#: interactions.api.enums.WSCloseCodeType:5 of -msgid "" -"Equivalent of `Gateway Close Event Codes " -"`_ in the Discord API." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:1 of -msgid "An enumerable object for the HTTP response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:4 of -msgid "This enumerable does not list the documented \"5xx\", as it may vary." -msgstr "" - -#: interactions.api.enums.JSONResponseType:1 of -msgid "An enumerable object for the JSON error response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.JSONResponseType:4 of -msgid "" -"Equivalent of `JSON Error Codes " -"`_ in the Discord API." -msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.error.mo b/docs/locale/de/LC_MESSAGES/api.error.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.error.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.error.po b/docs/locale/de/LC_MESSAGES/api.error.po index 4dcbb1a1a..85101f5e4 100644 --- a/docs/locale/de/LC_MESSAGES/api.error.po +++ b/docs/locale/de/LC_MESSAGES/api.error.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -47,7 +47,7 @@ msgstr "" #: interactions.api.error.HTTPException:3 #: interactions.api.error.InteractionException:8 #: interactions.api.error.JSONException:3 of -msgid "The built in formatter." +msgid "The built-in formatter." msgstr "" #: interactions.api.error.GatewayException:4 diff --git a/docs/locale/de/LC_MESSAGES/api.gateway.mo b/docs/locale/de/LC_MESSAGES/api.gateway.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.gateway.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.gateway.po b/docs/locale/de/LC_MESSAGES/api.gateway.po index c2adf73a2..c64b34dd0 100644 --- a/docs/locale/de/LC_MESSAGES/api.gateway.po +++ b/docs/locale/de/LC_MESSAGES/api.gateway.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,125 +22,276 @@ msgstr "" msgid "Gateway" msgstr "" -#: interactions.api.gateway.Heartbeat:1 of -msgid "A class representing a consistent heartbeat connection with the gateway." +#: interactions.api.gateway:1 of +msgid "interactions.api.gateway" msgstr "" -#: interactions.api.gateway.Heartbeat interactions.api.gateway.WebSocket of +#: interactions.api.gateway:3 of +msgid "This section of the library maintains and handles all of the Gateway work." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:1 of +msgid "" +"A class representing the client's connection to the Gateway via. " +"WebSocket." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient of msgid "Variables" msgstr "" -#: interactions.api.gateway.Heartbeat:3 of -msgid "The WebSocket class to infer on." +#: interactions.api.gateway.client.WebSocketClient:3 of +msgid "The asynchronous event loop." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:4 of +msgid "The built-in event dispatcher." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:5 of +msgid "The user-facing HTTP client." msgstr "" -#: interactions.api.gateway.Heartbeat:4 of -msgid "The heartbeat interval determined by the gateway." +#: interactions.api.gateway.client.WebSocketClient:6 of +msgid "The WebSocket data of the connection." msgstr "" -#: interactions.api.gateway.Heartbeat:5 of -msgid "The multi-threading event." +#: interactions.api.gateway.client.WebSocketClient:7 of +msgid "Whether the connection has been closed or not." msgstr "" -#: interactions.api.gateway.Heartbeat.run:1 of -msgid "Starts the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:8 of +msgid "The connection options made during connection." msgstr "" -#: interactions.api.gateway.Heartbeat.stop:1 of -msgid "Stops the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:9 of +msgid "The gateway intents used for connection." msgstr "" -#: interactions.api.gateway.WebSocket:1 of -msgid "A class representing a websocket connection with the gateway." +#: interactions.api.gateway.client.WebSocketClient:10 of +msgid "The contents of the application returned when ready." msgstr "" -#: interactions.api.gateway.WebSocket:3 of -msgid "An instance of :class:`interactions.api.models.Intents`." +#: interactions.api.gateway.client.WebSocketClient:11 of +msgid "The context state of a \"heartbeat\" made to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket:4 of -msgid "The coroutine event loop established on." +#: interactions.api.gateway.client.WebSocketClient:12 of +msgid "The shards used during connection." msgstr "" -#: interactions.api.gateway.WebSocket:5 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.api.gateway.client.WebSocketClient:13 of +msgid "The presence used in connection." msgstr "" -#: interactions.api.gateway.WebSocket:6 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.api.gateway.client.WebSocketClient:14 of +msgid "The ready state of the client as an ``asyncio.Event``." msgstr "" -#: interactions.api.gateway.WebSocket:7 of -msgid "The current client session." +#: interactions.api.gateway.client.WebSocketClient:15 of +msgid "The closing task for ending connections." msgstr "" -#: interactions.api.gateway.WebSocket:8 of -msgid "The current ID of the gateway session." +#: interactions.api.gateway.client.WebSocketClient:16 of +msgid "The ID of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:9 of -msgid "The current sequence of the gateway connection." +#: interactions.api.gateway.client.WebSocketClient:17 of +msgid "The sequence identifier of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:10 of -msgid "An instance of :class:`interactions.api.gateway.Heartbeat`." +#: interactions.api.gateway.client.WebSocketClient:18 of +msgid "" +"The latest time of the last send_packet function call since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:11 of -msgid "The current connection state." +#: interactions.api.gateway.client.WebSocketClient:19 of +msgid "" +"The latest time of the last ``HEARTBEAT_ACK`` event since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:12 of -msgid "The internal HTTP client used to connect to the gateway." +#: interactions.api.gateway.client.WebSocketClient:20 of +msgid "The latency of the connection, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket.recv:1 of -msgid "Receives packets sent from the gateway." +#: interactions.api.gateway.client.WebSocketClient._manage_heartbeat:1 of +msgid "Manages the heartbeat loop." msgstr "" -#: interactions.api.gateway.WebSocket.connect:1 of -msgid "Establishes a connection to the gateway." +#: interactions.api.gateway.client.WebSocketClient.__restart:1 of +msgid "Restart the client's connection and heartbeat with the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of +#: interactions.api.gateway.client.WebSocketClient._establish_connection:1 of +msgid "Establishes a client connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__identify +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context +#: interactions.api.gateway.client.WebSocketClient._dispatch_event +#: interactions.api.gateway.client.WebSocketClient._establish_connection +#: interactions.api.gateway.client.WebSocketClient._handle_connection +#: interactions.api.gateway.client.WebSocketClient._send_packet +#: interactions.api.gateway.client.WebSocketClient._update_presence of msgid "Parameters" msgstr "" -#: interactions.api.gateway.WebSocket.connect:3 of -msgid "The token to use for identifying." +#: interactions.api.gateway.client.WebSocketClient._establish_connection:3 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:5 of +msgid "The shards to establish a connection with. Defaults to ``None``." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of -msgid "Returns" +#: interactions.api.gateway.client.WebSocketClient._establish_connection:5 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:7 of +msgid "The presence to carry with. Defaults to ``None``." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:1 of +msgid "Handles the client's connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:3 of +msgid "The packet stream to handle." msgstr "" -#: interactions.api.gateway.WebSocket.connect:5 -#: interactions.api.gateway.WebSocket.handle:7 of -msgid "None" +#: interactions.api.gateway.client.WebSocketClient.wait_until_ready:1 of +msgid "Waits for the client to become ready according to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:1 of -msgid "Handles the dispatched event data from a gateway event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:1 of +msgid "Dispatches an event from the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:3 of +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:3 of msgid "The name of the event." msgstr "" -#: interactions.api.gateway.WebSocket.handle:5 of -msgid "The data of the event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:5 of +msgid "The data for the event." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:1 of +msgid "" +"Takes raw data given back from the Gateway and gives \"context\" based " +"off of what it is." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:4 of +msgid "The data from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Returns" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:6 of +msgid "The context object." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Return type" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:1 of +msgid "" +"Checks if an application command schema has sub commands needed for " +"argument collection." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:4 of +msgid "The data structure of the option." msgstr "" -#: interactions.api.gateway.WebSocket.identify:1 of +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:6 of +msgid "The context to refer subcommands from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:8 of +msgid "A dictionary of the collected options, if any." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:1 of +msgid "Looks up the type of option respective to the existing option types." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:4 of +msgid "The context to refer types from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:6 of +msgid "The option type." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:8 of +msgid "The option type context." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:1 of +msgid "Receives a stream of packets sent from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:3 of +msgid "The packet stream." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:1 of +msgid "Sends a packet to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:3 of +msgid "The data to send to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:1 of msgid "Sends an ``IDENTIFY`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.resume:1 of +#: interactions.api.gateway.client.WebSocketClient.__identify:3 of +msgid "The shard ID to identify under." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:5 +#: interactions.api.gateway.client.WebSocketClient._update_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__resume:1 of msgid "Sends a ``RESUME`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.heartbeat:1 of +#: interactions.api.gateway.client.WebSocketClient.__heartbeat:1 of msgid "Sends a ``HEARTBEAT`` packet to the gateway." msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.shard:1 of +msgid "Returns the current shard" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.presence:1 of +msgid "Returns the current presence." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:1 of +msgid "Sends an ``UPDATE_PRESENCE`` packet to the gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.api.gateway.heartbeat._Heartbeat:1 of +msgid "An internal class representing the heartbeat in a WebSocket connection." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.http.mo b/docs/locale/de/LC_MESSAGES/api.http.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.http.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.http.po b/docs/locale/de/LC_MESSAGES/api.http.po index c550cad31..b637802cb 100644 --- a/docs/locale/de/LC_MESSAGES/api.http.po +++ b/docs/locale/de/LC_MESSAGES/api.http.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,1742 +19,2431 @@ msgstr "" "Generated-By: Babel 2.9.1\n" #: ../../api.http.rst:4 -msgid "HTTP Client" +msgid "HTTP" msgstr "" -#: interactions.api.http.Route:1 of +#: interactions.api.http.route.Route:1 of msgid "A class representing how an HTTP route is structured." msgstr "" -#: interactions.api.http.Padlock interactions.api.http.Request -#: interactions.api.http.Route of +#: interactions.api.http.client.HTTPClient +#: interactions.api.http.limiter.Limiter interactions.api.http.request._Request +#: interactions.api.http.route.Route of msgid "Variables" msgstr "" -#: interactions.api.http.Route:3 of +#: interactions.api.http.route.Route:3 of msgid "The HTTP route path." msgstr "" -#: interactions.api.http.Route:4 of +#: interactions.api.http.route.Route:4 of msgid "The HTTP method." msgstr "" -#: interactions.api.http.Route:5 of +#: interactions.api.http.route.Route:5 of msgid "The URL path." msgstr "" -#: interactions.api.http.Route:6 of +#: interactions.api.http.route.Route:6 of msgid "The channel ID from the bucket if given." msgstr "" -#: interactions.api.http.Route:7 of +#: interactions.api.http.route.Route:7 of msgid "The guild ID from the bucket if given." msgstr "" -#: interactions.api.http.Route.bucket:1 of -msgid "Returns the route's bucket." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_webhooks -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_webhook -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.Request.request interactions.api.http.Route.bucket of +#: interactions.api.http.route.Route.get_bucket:1 of +msgid "" +"Returns the route's bucket. If shared_bucket is None, returns the path " +"with major parameters. Otherwise, it relies on Discord's given bucket." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.delete_channel +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.channel.ChannelRequest.trigger_typing +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_ban +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_kick +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild +#: interactions.api.http.guild.GuildRequest.delete_guild_integration +#: interactions.api.http.guild.GuildRequest.delete_guild_role +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state +#: interactions.api.http.guild.GuildRequest.remove_guild_ban +#: interactions.api.http.guild.GuildRequest.remove_guild_member +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest._post_followup +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response +#: interactions.api.http.interaction.InteractionRequest.delete_application_command +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.add_member_role +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.member.MemberRequest.remove_member_role +#: interactions.api.http.member.MemberRequest.search_guild_members +#: interactions.api.http.message.MessageRequest.create_message +#: interactions.api.http.message.MessageRequest.delete_message +#: interactions.api.http.message.MessageRequest.delete_messages +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.pin_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.message.MessageRequest.unpin_message +#: interactions.api.http.reaction.ReactionRequest.create_reaction +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.join_thread +#: interactions.api.http.thread.ThreadRequest.leave_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message +#: interactions.api.http.webhook.WebhookRequest.delete_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of +msgid "Parameters" +msgstr "" + +#: interactions.api.http.route.Route.get_bucket:4 of +msgid "The bucket that Discord provides, if available." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.client.HTTPClient.get_bot_gateway +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_self +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of msgid "Returns" msgstr "" -#: interactions.api.http.Route.bucket:3 of -msgid "str" +#: interactions.api.http.route.Route.get_bucket:7 of +msgid "The route bucket." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket of +msgid "Return type" +msgstr "" + +#: interactions.api.http.route.Route.endpoint:1 of +msgid "Returns the route's endpoint." msgstr "" -#: interactions.api.http.Padlock:1 of -msgid "A class representing ratelimited sessions as a \"locked\" event." +#: interactions.api.http.route.Route.endpoint:3 of +msgid "The route endpoint." msgstr "" -#: interactions.api.http.Padlock:3 of -msgid "The lock coroutine event." +#: interactions.api.http.limiter.Limiter:1 of +msgid "A class representing a limitation for an HTTP request." msgstr "" -#: interactions.api.http.Padlock:4 of -msgid "Whether the lock should stay open or not." +#: interactions.api.http.limiter.Limiter:3 of +msgid "The \"lock\" or controller of the request." msgstr "" -#: interactions.api.http.Padlock.click:1 of -msgid "Re-closes the lock after the instiantiation and invocation ends." +#: interactions.api.http.limiter.Limiter:4 of +msgid "The remaining time before the request can be ran." msgstr "" -#: interactions.api.http.Request:1 of +#: interactions.api.http.request._Request:1 of msgid "A class representing how HTTP requests are sent/read." msgstr "" -#: interactions.api.http.Request:3 of +#: interactions.api.http.request._Request:3 of msgid "The current application token." msgstr "" -#: interactions.api.http.Request:4 of +#: interactions.api.http.request._Request:4 of msgid "The current coroutine event loop." msgstr "" -#: interactions.api.http.Request:5 of -msgid "The current ratelimits from the Discord API." +#: interactions.api.http.request._Request:5 of +msgid "The current per-route rate limiters from the API." +msgstr "" + +#: interactions.api.http.request._Request:6 of +msgid "The current endpoint to shared_bucket cache from the API." msgstr "" -#: interactions.api.http.Request:6 of +#: interactions.api.http.request._Request:7 of msgid "The current headers for an HTTP request." msgstr "" -#: interactions.api.http.Request:7 of +#: interactions.api.http.request._Request:8 of msgid "The current session for making requests." msgstr "" -#: interactions.api.http.Request:8 of -msgid "The ratelimit lock event." +#: interactions.api.http.request._Request:9 of +msgid "The global rate limiter." msgstr "" -#: interactions.api.http.Request.check_session:1 of +#: interactions.api.http.request._Request._check_session:1 of msgid "Ensures that we have a valid connection session." msgstr "" -#: interactions.api.http.Request.request:1 of -msgid "Sends a request to the Discord API." +#: interactions.api.http.request._Request._check_lock:1 of +msgid "Checks the global lock for its current state." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.add_member_role -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_kick -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_interaction_response -#: interactions.api.http.HTTPClient.create_message -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_application_command -#: interactions.api.http.HTTPClient.delete_channel -#: interactions.api.http.HTTPClient.delete_channel_permission -#: interactions.api.http.HTTPClient.delete_guild -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.delete_stage_instance -#: interactions.api.http.HTTPClient.delete_webhook_message -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_channel_permission -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_current_user_voice_state -#: interactions.api.http.HTTPClient.modify_guild -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_user_voice_state -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.remove_all_reactions -#: interactions.api.http.HTTPClient.remove_member_role -#: interactions.api.http.HTTPClient.remove_user_reaction -#: interactions.api.http.HTTPClient.search_guild_members -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.HTTPClient.trigger_typing -#: interactions.api.http.Request.request of -msgid "Parameters" +#: interactions.api.http.request._Request.request:1 of +msgid "Sends a request to the Discord API." msgstr "" -#: interactions.api.http.Request.request:3 of +#: interactions.api.http.request._Request.request:3 of msgid "The HTTP route to request." msgstr "" -#: interactions.api.http.Request.request:5 of +#: interactions.api.http.request._Request.request:5 of msgid "Optional keyword-only arguments to pass as information in the request." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:4 -#: interactions.api.http.Request.request:7 of -msgid "None" +#: interactions.api.http.request._Request.request:7 of +msgid "The contents of the request if any." msgstr "" -#: interactions.api.http.Request.close:1 of +#: interactions.api.http.request._Request.close:1 of msgid "Closes the current session." msgstr "" -#: interactions.api.http.HTTPClient:1 of -msgid "" -"A WIP class that represents the http Client that handles all major " -"endpoints to Discord API." +#: interactions.api.http.client.HTTPClient:1 of +msgid "The user-facing client of the Web API for individual endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:3 of +msgid "The token of the application." msgstr "" -#: interactions.api.http.HTTPClient.get_gateway:1 of +#: interactions.api.http.client.HTTPClient:4 of +msgid "The requesting interface for endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:5 of +msgid "The referenced cache." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_gateway:1 of msgid "" "This calls the Gateway endpoint and returns a v9 gateway link with JSON " "encoding." msgstr "" -#: interactions.api.http.HTTPClient.get_bot_gateway:1 of -msgid "" -"This calls the BOT Gateway endpoint. :return: A tuple denoting (shard, " -"gateway_url), url from API v9 and JSON encoding" +#: interactions.api.http.client.HTTPClient.get_bot_gateway:1 of +msgid "This calls the BOT Gateway endpoint." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_bot_gateway:3 of +msgid "A tuple denoting (shard, gateway_url), url from API v9 and JSON encoding" msgstr "" -#: interactions.api.http.HTTPClient.login:1 of +#: interactions.api.http.client.HTTPClient.login:1 of msgid "" "This 'logins' to the gateway, which makes it available to use any other " "endpoint." msgstr "" -#: interactions.api.http.HTTPClient.logout:1 of +#: interactions.api.http.client.HTTPClient.logout:1 of msgid "This 'log outs' the session." msgstr "" -#: interactions.api.http.HTTPClient.get_current_bot_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_bot_information:1 of msgid "Returns the bot user application object without flags." msgstr "" -#: interactions.api.http.HTTPClient.get_current_authorisation_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_authorisation_information:1 +#: of msgid "Returns info about the current authorization of the bot user" msgstr "" -#: interactions.api.http.HTTPClient.get_voice_regions:1 of +#: interactions.api.http.channel.ChannelRequest.get_channel:1 of msgid "" -"Gets a list from the API a list of voice regions. :return: An array of " -"Voice Region objects." +"Gets a channel by ID. If the channel is a thread, it also includes thread" +" members (and other thread attributes)." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:6 +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.get_channel:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:6 +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:3 +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.modify_channel:3 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.move_channel:4 +#: interactions.api.http.channel.ChannelRequest.trigger_typing:6 +#: interactions.api.http.message.MessageRequest.pin_message:3 +#: interactions.api.http.message.MessageRequest.unpin_message:3 +#: interactions.api.http.webhook.WebhookRequest.create_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:3 of +msgid "Channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_self:1 of -msgid "An alias to `get_user`, but only gets the current bot user." +#: interactions.api.http.channel.ChannelRequest.get_channel:4 of +msgid "Dictionary of the channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_self:3 of -msgid "" -":return A partial User object of the current bot user in the form of a " -"dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:1 of +msgid "Deletes a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_user:1 of -msgid "" -"Gets a user object for a given user ID. :param user_id: A user snowflake " -"ID. If omitted, this defaults to the current bot user. :return A partial " -"User object in the form of a dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:3 of +msgid "Channel ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_self:1 of -msgid "Modify the bot user account settings. :param payload: The data to send." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:1 of +msgid "Get messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:1 of -msgid "Changes a nickname of the current bot user in a guild." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:4 of +msgid "around, before, and after arguments are mutually exclusive." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:3 of -msgid "Guild snowflake ID." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:7 of +msgid "How many messages to get. Defaults to 50, the max is 100." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:4 of -msgid "The new nickname, if any." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:8 of +msgid "Get messages around this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:5 of -msgid "Nothing needed to be yielded." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:9 of +msgid "Get messages before this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.create_dm:1 of -msgid "" -"Creates a new DM channel with a user. :param recipient_id: User snowflake" -" ID. :return: Returns a dictionary representing a DM Channel object." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:10 of +msgid "Get messages after this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.send_message:1 of -msgid "" -"A higher level implementation of :meth:`create_message()` that handles " -"the payload dict internally. Does not integrate components into the " -"function, and is a port from v3.0.0" +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:11 of +msgid "An array of Message objects." msgstr "" -#: interactions.api.http.HTTPClient.create_message:1 of -msgid "Send a message to the specified channel." +#: interactions.api.http.channel.ChannelRequest.create_channel:1 of +msgid "Creates a channel within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_message:3 of -msgid "Dictionary contents of a message. (i.e. message payload)" +#: interactions.api.http.channel.ChannelRequest.create_channel:4 of +msgid "This does not handle payload in this method. Tread carefully." msgstr "" -#: interactions.api.http.HTTPClient.create_message:4 -#: interactions.api.http.HTTPClient.edit_message:3 of -msgid "Channel snowflake ID." +#: interactions.api.http.channel.ChannelRequest.create_channel:6 +#: interactions.api.http.channel.ChannelRequest.move_channel:3 +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:3 +#: interactions.api.http.guild.GuildRequest.add_guild_member:3 +#: interactions.api.http.guild.GuildRequest.create_guild_role:3 +#: interactions.api.http.guild.GuildRequest.create_guild_template:3 +#: interactions.api.http.guild.GuildRequest.delete_guild:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_role:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_template:3 +#: interactions.api.http.guild.GuildRequest.get_guild_bans:6 +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:3 +#: interactions.api.http.guild.GuildRequest.get_guild_invites:3 +#: interactions.api.http.guild.GuildRequest.get_guild_preview:3 +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:3 +#: interactions.api.http.guild.GuildRequest.get_guild_templates:3 +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:6 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:3 +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.modify_guild:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:3 +#: interactions.api.http.guild.GuildRequest.sync_guild_template:3 +#: interactions.api.http.member.MemberRequest.get_member:3 +#: interactions.api.http.member.MemberRequest.modify_member:5 +#: interactions.api.http.member.MemberRequest.search_guild_members:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:3 +#: of +msgid "Guild ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.create_message of -msgid "return dict" +#: interactions.api.http.channel.ChannelRequest.create_channel:7 of +msgid "Payload data." msgstr "" -#: interactions.api.http.HTTPClient.create_message:5 of -msgid "Dictionary representing a message (?)" +#: interactions.api.http.channel.ChannelRequest.create_channel:8 of +msgid "Reason to show in audit log, if needed." msgstr "" -#: interactions.api.http.HTTPClient.get_message:1 of -msgid "" -"Get a specific message in the channel. :param channel_id: the channel " -"this message belongs to :param message_id: the id of the message :return:" -" message if it exists." +#: interactions.api.http.channel.ChannelRequest.create_channel:9 of +msgid "Channel object as dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_message:1 of -msgid "" -"Deletes a message from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param reason: " -"Optional reason to show up in the audit log. Defaults to `None`." +#: interactions.api.http.channel.ChannelRequest.move_channel:1 of +msgid "Moves a channel to a new position." msgstr "" -#: interactions.api.http.HTTPClient.delete_messages:1 of +#: interactions.api.http.channel.ChannelRequest.move_channel:5 of +msgid "The new channel position." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:6 of +msgid "The category parent ID, if needed." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:7 of msgid "" -"Deletes messages from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_ids: An array of message snowflake IDs. " -":param reason: Optional reason to show up in the audit log. Defaults to " -"`None`." +"Sync permissions with the parent associated with parent_id. Defaults to " +"False." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:1 of -msgid "Edits a message that already exists." +#: interactions.api.http.channel.ChannelRequest.move_channel:8 of +msgid "Reason to display to the audit log, if any." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:4 of -msgid "Message snowflake ID." +#: interactions.api.http.channel.ChannelRequest.move_channel:9 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:7 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:7 of +msgid "?" msgstr "" -#: interactions.api.http.HTTPClient.edit_message:5 of -msgid "Any new data that needs to be changed." +#: interactions.api.http.channel.ChannelRequest.modify_channel:1 of +msgid "Update a channel's settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:7 of -msgid "A message object with edited attributes." +#: interactions.api.http.channel.ChannelRequest.modify_channel:4 of +msgid "Data representing updated settings." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:5 of +msgid "Reason, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:6 of +msgid "Channel with updated attributes, if successful." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:1 of +msgid "Get the invites for the channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:4 of +msgid "List of invite objects" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:1 of +msgid "Creates an invite for the given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:4 of +msgid "This method does not handle payload. It just sends it." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:7 of +msgid "Data representing the payload/invite attributes." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:8 of +msgid "Reason to show in the audit log, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:9 of +msgid "An invite object." msgstr "" -#: interactions.api.http.HTTPClient.pin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:1 of msgid "" -"Pin a message to a channel. :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"Edits the channel's permission overwrites for a user or role in a given " +"channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:4 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:4 of +msgid "The ID of the overridden object." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:5 of +msgid "the bitwise value of all allowed permissions" msgstr "" -#: interactions.api.http.HTTPClient.unpin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:6 of +msgid "the bitwise value of all disallowed permissions" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:7 of +msgid "0 for a role or 1 for a member" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:5 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:8 of +msgid "Reason to display in the Audit Log, if given." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:1 of +msgid "Deletes a channel permission overwrite for a user or role in a channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:1 of +msgid "Posts \"... is typing\" in a given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:4 of msgid "" -"Unpin a message to a channel :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"By default, this lib doesn't use this endpoint, however, this is listed " +"for third-party implementation." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:1 of +msgid "Get all pinned messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:1 of +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:4 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:1 of +msgid "Create a new stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:4 of +msgid "The topic of the stage instance. Limited to 1-120 characters." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:5 of +msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:6 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:4 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:6 of +msgid "The reason for the creating the stage instance, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:7 of +msgid "The new stage instance" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:1 of +msgid "Get the stage instance associated with a given channel, if it exists." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:4 of +msgid "A stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:1 of +msgid "Update the fields of a given stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:4 of msgid "" -"Publishes (API calls it crossposts) a message in a News channel to any " -"that is followed by." +"The new topic of the stage instance, if given. Limited to 1-120 " +"characters." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:3 of -msgid "Channel the message is in" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:5 of +msgid "The new privacy_level of the stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:4 of -msgid "The id of the message to publish" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:7 of +msgid "The updated stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:5 of -msgid "message object" +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:1 of +msgid "Delete a stage instance." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:1 of +msgid "Gets all emojis from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:4 of +msgid "A list of emojis." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:1 of +msgid "Gets an emote from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:4 of +msgid "Emoji ID snowflake." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:5 of +msgid "Emoji object" msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:1 of +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:1 of +msgid "Creates an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:4 of +msgid "Emoji parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:6 of +msgid "Optionally, give a reason." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:6 of +msgid "An emoji object with the included parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:1 of +msgid "Modifies an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:4 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:4 of +msgid "Emoji ID snowflake" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:5 of +msgid "Emoji parameters with updated attributes" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:7 of +msgid "An emoji object with updated attributes." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:1 of +msgid "Deletes an emoji." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_self_guilds:1 of msgid "Gets all guild objects associated with the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:3 of +#: interactions.api.http.guild.GuildRequest.get_self_guilds:3 of msgid ":return a list of partial guild objects the current bot user is a part of." msgstr "" -#: interactions.api.http.HTTPClient.get_guild:1 of -msgid "" -"Requests an individual guild from the API. :param guild_id: The guild " -"snowflake ID associated. :return: The guild object associated, if any." +#: interactions.api.http.guild.GuildRequest.get_guild:1 of +msgid "Requests an individual guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_preview:1 of -msgid "" -"Get a guild's preview. :param guild_id: Guild ID snowflake. :return: " -"Guild Preview object associated with the snowflake" +#: interactions.api.http.guild.GuildRequest.get_guild:3 +#: interactions.api.http.guild.GuildRequest.leave_guild:3 of +msgid "The guild snowflake ID associated." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:1 of -msgid "Modifies a guild's attributes." +#: interactions.api.http.guild.GuildRequest.get_guild:4 of +msgid "The guild object associated, if any." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 -#: interactions.api.http.HTTPClient.create_channel_invite:4 -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 -#: interactions.api.http.HTTPClient.get_channel_messages:4 -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid ".. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_preview:1 of +msgid "Get a guild's preview." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid "" -"This only sends the payload. You will have to check it when a higher-" -"level function calls this." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member:3 -#: interactions.api.http.HTTPClient.create_channel:6 -#: interactions.api.http.HTTPClient.create_guild_template:3 -#: interactions.api.http.HTTPClient.delete_guild:3 -#: interactions.api.http.HTTPClient.delete_guild_template:3 -#: interactions.api.http.HTTPClient.get_all_emoji:3 -#: interactions.api.http.HTTPClient.get_guild_templates:3 -#: interactions.api.http.HTTPClient.get_guild_widget_image:5 -#: interactions.api.http.HTTPClient.get_guild_widget_settings:3 -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:3 -#: interactions.api.http.HTTPClient.modify_guild:6 -#: interactions.api.http.HTTPClient.modify_guild_template:3 -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:3 -#: interactions.api.http.HTTPClient.modify_guild_widget:3 -#: interactions.api.http.HTTPClient.modify_member:5 -#: interactions.api.http.HTTPClient.modify_user_voice_state:3 -#: interactions.api.http.HTTPClient.move_channel:3 -#: interactions.api.http.HTTPClient.search_guild_members:3 -#: interactions.api.http.HTTPClient.sync_guild_template:3 of -msgid "Guild ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_preview:4 of +msgid "Guild Preview object associated with the snowflake" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild:1 of +msgid "Modifies a guild's attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild:4 of msgid "The parameters to change." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:8 of +#: interactions.api.http.guild.GuildRequest.modify_guild:5 of msgid "Reason to send to the audit log, if given." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild:6 of +msgid "The modified guild object as a dictionary" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.leave_guild:1 of msgid "Leaves a guild." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:3 of -msgid "The guild snowflake ID associated." +#: interactions.api.http.guild.GuildRequest.leave_guild:4 of +msgid "None" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild:1 of msgid "Deletes a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget:1 of -msgid "" -"Returns the widget for the guild. :param guild_id: Guild ID snowflake. " -":return: Guild Widget contents as a dict: {\"enabled\":bool, " -"\"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget:1 of +msgid "Returns the widget for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_widget:4 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:4 of +msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:1 of msgid "Get guild widget settings." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:4 of -msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:1 of +msgid "Get an url representing a png image widget for the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of -msgid "Get a url representing a png image widget for the guild. .. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:4 of +msgid "" +"See _ for list of styles." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:7 of msgid "The style of widget required, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:7 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:8 of msgid "A url pointing to this image" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:1 of msgid "Modify a guild widget." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:4 of msgid "Payload containing new widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:5 of msgid "Updated widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_invites:1 of -msgid "" -"Retrieves a list of invite objects with their own metadata. :param " -"guild_id: Guild ID snowflake. :return: A list of invite objects" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:1 of +msgid "Retrieves a list of invite objects with their own metadata." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_welcome_screen:1 of -msgid "" -"Retrieves from the API a welcome screen associated with the guild :param " -"guild_id: Guild ID snowflake. :return: Welcome Screen object" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:4 of +msgid "A list of invite objects" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:1 of +msgid "Retrieves from the API a welcome screen associated with the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:4 of +msgid "Welcome Screen object" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:1 of msgid "Modify the guild's welcome screen." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:4 of msgid "Whether the welcome screen is enabled or not." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:5 of msgid "" "The new channels (by their ID) linked in the welcome screen and their " "display options" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:6 of msgid "The new server description to show in the welcome screen" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:7 of msgid "Updated Welcome screen object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_integrations:1 of -msgid "" -"Gets a list of integration objects associated with the Guild from the " -"API. :param guild_id: Guild ID snowflake. :return: An array of " -"integration objects" +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:1 of +msgid "Gets a list of integration objects associated with the Guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_integration:1 of -msgid "" -"Deletes an integration from the guild. :param guild_id: Guild ID " -"snowflake. :param integration_id: Integration ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:4 of +msgid "An array of integration objects" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:1 of +msgid "Deletes an integration from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:4 of +msgid "Integration ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:1 +#: of msgid "Update the current user voice state." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:5 of msgid "Voice channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:5 +#: of msgid "Toggle the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:6 +#: of msgid "Sets the user's request to speak, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:1 of msgid "Modify the voice state of a user." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:4 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:4 +#: interactions.api.http.guild.GuildRequest.get_user_ban:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:4 of msgid "User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:6 of msgid "Toggles the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:1 of -msgid "Create a a new guild based on a template." +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:1 +#: of +msgid "Create a new guild based on a template." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:4 +#: of msgid "This endpoint can only be used by bots in less than 10 guilds." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:6 +#: of msgid "The code of the template to use." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:7 +#: of msgid "The name of the guild (2-100 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:8 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:8 +#: of msgid "Guild icon URI, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:9 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:9 +#: of msgid "The newly created guild object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:1 of msgid "Returns an array of guild templates." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:4 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:4 of msgid "An array of guild templates" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:1 of msgid "Create a guild template for the guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:5 of msgid "The name of the template" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:5 of msgid "The description of the template, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:6 of msgid "The created guild template" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:1 of msgid "Sync the template to the guild's current state." msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:4 of msgid "The code for the template to sync" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:5 of msgid "The updated guild template." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:1 of msgid "Modify a guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:4 of msgid "Template ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:6 of msgid "The description of the template" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:7 of msgid "The updated guild template" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:1 of msgid "Delete the guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:5 of msgid "The deleted template object" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:1 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:1 of msgid "Requests from the API to get all channels in the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:3 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:3 of msgid "Guild Snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:4 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:4 of msgid "A list of channels." msgstr "" -#: interactions.api.http.HTTPClient.get_all_roles:1 of -msgid "" -"Gets all roles from a Guild. :param guild_id: Guild ID snowflake :return:" -" An array of Role objects." +#: interactions.api.http.guild.GuildRequest.get_all_roles:1 of +msgid "Gets all roles from a Guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_role:1 of -msgid "" -"Create a new role for the guild. :param guild_id: Guild ID snowflake. " -":param data: A dict containing metadata for the role. :param reason: The " -"reason for this action, if given. :return: Role object" +#: interactions.api.http.guild.GuildRequest.create_guild_ban:3 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:3 +#: interactions.api.http.guild.GuildRequest.get_all_roles:3 +#: interactions.api.http.guild.GuildRequest.get_user_ban:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:3 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:8 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:4 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:4 +#: interactions.api.http.member.MemberRequest.get_list_of_members:3 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:3 of +msgid "Guild ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role_position:1 of -msgid "" -"Modify the position of a role in the guild. :param guild_id: Guild ID " -"snowflake. :param role_id: Role ID snowflake. :param position: The new " -"position of the associated role. :param reason: The reason for this " -"action, if given. :return: List of guild roles with updated hierarchy." +#: interactions.api.http.guild.GuildRequest.get_all_roles:4 of +msgid "An array of Role objects as dictionaries." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role:1 of -msgid "" -"Modify a given role for the guild. :param guild_id: Guild ID snowflake. " -":param role_id: Role ID snowflake. :param data: A dict containing updated" -" metadata for the role. :param reason: The reason for this action, if " -"given. :return: Updated role object." +#: interactions.api.http.guild.GuildRequest.create_guild_role:1 of +msgid "Create a new role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:4 of +msgid "A dict containing metadata for the role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:5 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:6 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:5 of +msgid "The reason for this action, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:6 of +msgid "Role object" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_role:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:1 of +msgid "Modify the position of a role in the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:4 of msgid "" -"Delete a guild role. :param guild_id: Guild ID snowflake. :param role_id:" -" Role ID snowflake. :param reason: The reason for this action, if any." +"A list of dicts containing the role IDs and new positions for all the " +"roles to be moved." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:1 of -msgid "Kicks a person from the guild." +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:6 of +msgid "List of guild roles with updated hierarchy." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.create_guild_kick:3 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_list_of_members:3 of -msgid "Guild ID snowflake" +#: interactions.api.http.guild.GuildRequest.modify_guild_role:1 of +msgid "Modify a given role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:4 of +msgid "Role ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role:5 of +msgid "A dict containing updated metadata for the role." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role:7 of +msgid "Updated role object." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:1 of +msgid "Delete a guild role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:5 of +msgid "The reason for this action, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_kick:1 of +msgid "Kicks a person from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:4 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:4 of msgid "User ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_kick:5 of msgid "Optional Reason argument." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_ban:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_ban:1 of msgid "" "Bans a person from the guild, and optionally deletes previous messages " -"sent by them. :param guild_id: Guild ID snowflake :param user_id: User ID" -" snowflake :param delete_message_days: Number of days to delete messages," -" from 0 to 7. Defaults to 0 :param reason: Optional reason to ban." +"sent by them." msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_ban:1 of -msgid "" -"Unbans someone using the API. :param guild_id: Guild ID snowflake :param " -"user_id: User ID snowflake :param reason: Optional reason to unban." +#: interactions.api.http.guild.GuildRequest.create_guild_ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:6 of +msgid "Optional reason to ban." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:1 of +msgid "Unbans someone using the API." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:5 of +msgid "Optional reason to unban." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_bans:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:4 of msgid "" -"Gets a list of banned users. :param guild_id: Guild ID snowflake. " -":return: A list of banned users." +"If both ``before`` and ``after`` are provided, only ``before`` is " +"respected." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:7 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:8 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:9 of +msgid "Consider only users after the given User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_user_ban:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:10 of +msgid "A list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:1 of msgid "" "Gets an object pertaining to the user, if it exists. Returns a 404 if it " -"doesn't. :param guild_id: Guild ID snowflake :param user_id: User ID " -"snowflake. :return: Ban object if it exists." +"doesn't." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:5 of +msgid "Ban object if it exists." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:1 of msgid "" "A low level method of adding a user to a guild with pre-defined " "attributes." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:5 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:5 of msgid "User access token." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:6 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:6 of msgid "User's nickname on join." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:7 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:7 of msgid "An array of roles that the user is assigned." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:8 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:8 of msgid "Whether the user is mute in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:9 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:9 of msgid "Whether the user is deafened in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:10 of -msgid "Guild member object (?)" +#: interactions.api.http.guild.GuildRequest.add_guild_member:10 of +msgid "Guild member object as dictionary" msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:1 of msgid "" "A low level method of removing a member from a guild. This is different " -"from banning them. :param guild_id: Guild ID snowflake. :param user_id: " -"User ID snowflake. :param reason: Reason to send to audit log, if any." +"from banning them." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_prune_count:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:5 of +msgid "Reason to send to audit log, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:1 of msgid "" "Retrieves a dict from an API that results in how many members would be " -"pruned given the amount of days. :param guild_id: Guild ID snowflake. " -":param days: Number of days to count. Defaults to ``7``. :param " -"include_roles: Role IDs to include, if given. :return: A dict denoting " -"`{\"pruned\": int}`" +"pruned given the amount of days." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:4 of +msgid "Number of days to count. Defaults to ``7``." msgstr "" -#: interactions.api.http.HTTPClient.get_member:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:5 of +msgid "Role IDs to include, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:6 of +msgid "A dict denoting `{\"pruned\": int}`" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_auditlog:1 of msgid "" -"Uses the API to fetch a member from a guild. :param guild_id: Guild ID " -"snowflake. :param member_id: Member ID snowflake. :return: A member " -"object, if any." +"Returns an audit log object for the guild. Requires the 'VIEW_AUDIT_LOG' " +"permission. :param guild_id: Guild ID snowflake. :param user_id: User ID " +"snowflake. filter the log for actions made by a user. :param action_type:" +" the type ID of audit log event. :param before: filter the log before a " +"certain entry id. :param limit: how many entries are returned (default " +"50, minimum 1, maximum 100)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:1 +#: of +msgid "Get all application commands from an application." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:7 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:3 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:6 +#: of +msgid "Application ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:4 +#: of +msgid "Guild to get commands from, if specified. Defaults to global (None)" msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:1 of +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:5 +#: of +msgid "" +"Whether to include full localization dictionaries (name_localizations and" +" description_localizations) in the returned objects, instead of the " +"name_localized and description_localized fields. Default false." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:6 +#: of +msgid "A list of Application commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:1 +#: of +msgid "Registers to the Discord API an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:4 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:7 +#: of +msgid "The dictionary that contains the command (name, description, etc)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:5 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:8 +#: of +msgid "Guild ID snowflake to put them in, if applicable." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:6 +#: of +msgid "An application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:1 +#: of +msgid "" +"Overwrites application command(s) from a scope to the new, updated " +"commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:4 +#: of +msgid "" +"This applies to all forms of application commands (slash and context " +"menus)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:9 +#: of +msgid "An array of application command objects." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:1 +#: of +msgid "Edits an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:4 +#: of +msgid "Application ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:4 +#: of +msgid "A dictionary containing updated attributes" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:5 +#: of +msgid "The application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:6 +#: of +msgid "Guild ID snowflake, if given. Defaults to None/global." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:7 +#: of +msgid "The updated application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:1 +#: of +msgid "Deletes an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:4 +#: of +msgid "Application command ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:5 +#: of +msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:1 +#: of +msgid "Edits permissions for an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:4 +#: of +msgid "" +"This requires authenticating with the Bearer token. Likewise, if this " +"function is used in a bot process with a bot token, this will fail." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:9 +#: of +msgid "Application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:10 +#: of +msgid "Permission data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:11 +#: of +msgid "Returns an updated Application Guild permission object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from a specific Guild application" +" command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:5 +#: of +msgid "Application Command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:6 +#: of +msgid "a Guild Application Command permissions object" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from all Application commands at " +"that Guild." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:5 +#: of +msgid "An array of Guild Application Command permissions" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:1 +#: of +msgid "Posts initial response to an interaction, but you need to add the token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:3 +#: of +msgid "Token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:5 +#: interactions.api.http.user.UserRequest.modify_self:3 of +msgid "The data to send." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:1 +#: of +msgid "Gets an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:3 +#: of +msgid "token" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:6 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:5 +#: of +msgid "" +"Message ID snowflake. Defaults to `@original` which represents the " +"initial response msg." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:6 +#: of +msgid "Message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:1 +#: of +msgid "" +"Edits an existing interaction message, but token needs to be manually " +"called." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:3 +#: of +msgid "A dictionary containing the new response." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:5 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:4 +#: of +msgid "the token of the interaction" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:7 +#: of +msgid "Updated message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:1 +#: of +msgid "Deletes an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:1 of +msgid "Send a followup to an interaction." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:3 of +msgid "the payload to send" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:4 of +msgid "the id of the application" +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:1 of +msgid "Uses the API to fetch a member from a guild." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:4 +#: interactions.api.http.member.MemberRequest.modify_member:4 of +msgid "Member ID snowflake." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:5 of +msgid "A member object, if any." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_list_of_members:1 of msgid "Lists the members of a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:4 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:4 of msgid "How many members to get from the API. Max is 1000. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:5 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:5 of msgid "Get Member IDs after this snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:6 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:6 of msgid "An array of Member objects." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:1 of +#: interactions.api.http.member.MemberRequest.search_guild_members:1 of msgid "" -"Search a guild for members who's username or nickname starts with " +"Search a guild for members whose username or nickname starts with " "provided string." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:4 of +#: interactions.api.http.member.MemberRequest.search_guild_members:4 of msgid "The string to search for" msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:5 of +#: interactions.api.http.member.MemberRequest.search_guild_members:5 of msgid "The number of members to return. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:1 of +#: interactions.api.http.member.MemberRequest.add_member_role:1 of msgid "Adds a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:3 -#: interactions.api.http.HTTPClient.remove_member_role:3 of +#: interactions.api.http.member.MemberRequest.add_member_role:3 +#: interactions.api.http.member.MemberRequest.remove_member_role:3 of msgid "The ID of the guild" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:4 -#: interactions.api.http.HTTPClient.remove_member_role:4 of +#: interactions.api.http.member.MemberRequest.add_member_role:4 +#: interactions.api.http.member.MemberRequest.remove_member_role:4 of msgid "The ID of the user" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:5 -#: interactions.api.http.HTTPClient.remove_member_role:5 of +#: interactions.api.http.member.MemberRequest.add_member_role:5 +#: interactions.api.http.member.MemberRequest.remove_member_role:5 of msgid "The ID of the role to add" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:6 -#: interactions.api.http.HTTPClient.remove_member_role:6 of +#: interactions.api.http.member.MemberRequest.add_member_role:6 +#: interactions.api.http.member.MemberRequest.modify_member:7 +#: interactions.api.http.member.MemberRequest.remove_member_role:6 of msgid "The reason for this action. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.remove_member_role:1 of +#: interactions.api.http.member.MemberRequest.remove_member_role:1 of msgid "Removes a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:1 of +#: interactions.api.http.member.MemberRequest.modify_member:1 of msgid "" "Edits a member. This can nick them, change their roles, mute/deafen (and " -"its contrary), and moving them across channels and/or disconnect them" -msgstr "" - -#: interactions.api.http.HTTPClient.modify_member:4 of -msgid "Member ID snowflake." +"its contrary), and moving them across channels and/or disconnect them." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:6 of +#: interactions.api.http.member.MemberRequest.modify_member:6 of msgid "Payload representing parameters (nick, roles, mute, deaf, channel_id)" msgstr "" -#: interactions.api.http.HTTPClient.modify_member:7 of -msgid "? (modified voice state? not sure)" +#: interactions.api.http.member.MemberRequest.modify_member:8 of +msgid "Modified member object." msgstr "" -#: interactions.api.http.HTTPClient.get_channel:1 of +#: interactions.api.http.message.MessageRequest.send_message:1 of msgid "" -"Gets a channel by ID. If the channel is a thread, it also includes thread" -" members (and other thread attributes) :param channel_id: Channel ID " -"snowflake. :return: Channel object." +"A higher level implementation of :meth:`create_message()` that handles " +"the payload dict internally. Does not integrate components into the " +"function, and is a port from v3.0.0" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:1 of +msgid "Send a message to the specified channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:3 of +msgid "Dictionary contents of a message. (i.e. message payload)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:4 +#: interactions.api.http.message.MessageRequest.delete_message:3 +#: interactions.api.http.message.MessageRequest.delete_messages:3 +#: interactions.api.http.message.MessageRequest.edit_message:3 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:3 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:3 of +msgid "Channel snowflake ID." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:5 +#: interactions.api.http.message.MessageRequest.edit_message:6 of +msgid "An optional list of files to send attached to the message." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message of +msgid "return dict" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:6 of +msgid "Dictionary representing a message (?)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:1 of +msgid "Get a specific message in the channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:3 of +msgid "the channel this message belongs to" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:4 of +msgid "the id of the message" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:5 of +msgid "message if it exists." +msgstr "" + +#: interactions.api.http.message.MessageRequest.delete_message:1 of +msgid "Deletes a message from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:1 of -msgid "Deletes a channel." +#: interactions.api.http.message.MessageRequest.delete_message:4 +#: interactions.api.http.message.MessageRequest.edit_message:4 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:4 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:4 of +msgid "Message snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:3 of -msgid "Channel ID snowflake" +#: interactions.api.http.message.MessageRequest.delete_message:5 +#: interactions.api.http.message.MessageRequest.delete_messages:5 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:1 of -msgid "Get messages from a channel." +#: interactions.api.http.message.MessageRequest.delete_messages:1 of +msgid "Deletes messages from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:4 of -msgid "around, before, and after arguments are mutually exclusive." +#: interactions.api.http.message.MessageRequest.delete_messages:4 of +msgid "An array of message snowflake IDs." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:6 -#: interactions.api.http.HTTPClient.create_stage_instance:3 -#: interactions.api.http.HTTPClient.delete_channel_permission:3 -#: interactions.api.http.HTTPClient.delete_stage_instance:3 -#: interactions.api.http.HTTPClient.edit_channel_permission:3 -#: interactions.api.http.HTTPClient.get_channel_messages:6 -#: interactions.api.http.HTTPClient.get_stage_instance:3 -#: interactions.api.http.HTTPClient.modify_stage_instance:3 -#: interactions.api.http.HTTPClient.move_channel:4 -#: interactions.api.http.HTTPClient.trigger_typing:5 of -msgid "Channel ID snowflake." +#: interactions.api.http.message.MessageRequest.edit_message:1 of +msgid "Edits a message that already exists." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:7 of -msgid "How many messages to get. Defaults to 50, the max is 100." +#: interactions.api.http.message.MessageRequest.edit_message:5 of +msgid "Any new data that needs to be changed." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:8 of -msgid "Get messages around this snowflake ID." +#: interactions.api.http.message.MessageRequest.edit_message:8 of +msgid "A message object with edited attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:9 of -msgid "Get messages before this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:1 of +msgid "Pin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:10 of -msgid "Get messages after this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:4 +#: interactions.api.http.message.MessageRequest.unpin_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:5 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:5 of +msgid "Message ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:11 of -msgid "An array of Message objects." +#: interactions.api.http.message.MessageRequest.unpin_message:1 of +msgid "Unpin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:1 of -msgid "Creates a channel within a guild." +#: interactions.api.http.message.MessageRequest.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in a News channel to any " +"that is followed by." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 of -msgid "This does not handle payload in this method. Tread carefully." +#: interactions.api.http.message.MessageRequest.publish_message:3 of +msgid "Channel the message is in" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:7 of -msgid "Payload data." +#: interactions.api.http.message.MessageRequest.publish_message:4 of +msgid "The id of the message to publish" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:8 of -msgid "Reason to show in audit log, if needed." +#: interactions.api.http.message.MessageRequest.publish_message:5 of +msgid "message object" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:9 of -msgid "Channel object." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:1 of +msgid "Create a reaction for a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:1 of -msgid "Moves a channel to a new position." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:5 of +msgid "The emoji to use (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:5 of -msgid "The new channel position." +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:1 of +msgid "Remove bot user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:6 of -msgid "The category parent ID, if needed." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:5 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:5 of +msgid "The emoji to remove (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:7 of -msgid "" -"Sync permissions with the parent associated with parent_id. Defaults to " -"False." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:1 of +msgid "Remove user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:8 of -msgid "Reason to display to the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:3 of +msgid "The channel this is taking place in" msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:7 -#: interactions.api.http.HTTPClient.execute_slack_webhook:7 -#: interactions.api.http.HTTPClient.move_channel:9 of -msgid "?" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:4 of +msgid "The message to remove the reaction on." msgstr "" -#: interactions.api.http.HTTPClient.modify_channel:1 of -msgid "" -"Update a channel's settings. :param channel_id: Channel ID snowflake. " -":param data: Data representing updated settings. :param reason: Reason, " -"if any. :return: Channel with updated attributes, if successful." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:5 of +msgid "The emoji to remove. (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.get_channel_invites:1 of -msgid "" -"Get the invites for the channel. :param channel_id: Channel ID snowflake." -" :return: List of invite objects" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:6 of +msgid "The user to remove reaction of." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:1 of -msgid "Creates an invite for the given channel." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:1 of +msgid "Remove all reactions from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:4 of -msgid "This method does not handle payload. It just sends it." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:3 of +msgid "The channel this is taking place in." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:7 of -msgid "Data representing the payload/invite attributes." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:4 of +msgid "The message to clear reactions from." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:8 of -msgid "Reason to show in the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:1 +#: of +msgid "Remove all reactions of a certain emoji from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:9 of -msgid "An invite object." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:1 of +msgid "Gets the users who reacted to the emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_invite:1 of -msgid "" -"Delete an invite. :param invite_code: The code of the invite to delete " -":param reason: Reason to show in the audit log, if any. :return: The " -"deleted invite object" +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:5 of +msgid "The emoji to get (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:1 of -msgid "" -"Edits the channel's permission overwrites for a user or role in a given " -"channel." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:6 of +msgid "A list of users who sent that emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:4 -#: interactions.api.http.HTTPClient.edit_channel_permission:4 of -msgid "The ID of the overridden object." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:1 +#: of +msgid "Creates a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:5 of -msgid "the bitwise value of all allowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:5 +#: of +msgid "" +"The dictionary containing the parameters and values to edit the " +"associated event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:6 of -msgid "the bitwise value of all disallowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:5 +#: of +msgid "A dictionary containing the new guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:7 of -msgid "0 for a role or 1 for a member" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:1 +#: of +msgid "Gets a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:5 -#: interactions.api.http.HTTPClient.edit_channel_permission:8 of -msgid "Reason to display in the Audit Log, if given." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:4 +#: of +msgid "Guild Scheduled Event ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:1 of -msgid "Deletes a channel permission overwrite for a user or role in a channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:5 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:4 +#: of +msgid "" +"A boolean to include number of users subscribed to the associated event, " +"if given." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:1 of -msgid "Posts \"... is typing\" in a given channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:6 +#: of +msgid "A dictionary containing the guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:4 -#: interactions.api.http.HTTPClient.trigger_typing:3 of -msgid "..note:" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:1 +#: of +msgid "Gets all guild scheduled events in a guild." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:4 of +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:5 +#: of msgid "" -"By default, this lib doesn't use this endpoint, however, this is listed " -"for third-party implementation." +"A List of a dictionary containing the guild scheduled event objects on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.get_pinned_messages:1 of -msgid "" -"Get all pinned messages from a channel. :param channel_id: Channel ID " -"snowflake. :return: A list of pinned message objects." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:1 +#: of +msgid "Modifies a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:1 of -msgid "Create a new stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:6 +#: of +msgid "" +"A dictionary containing the updated guild scheduled event object on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:4 of -msgid "The topic of the stage instance. Limited to 1-120 characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:1 +#: of +msgid "Deletes a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:5 of -msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:5 +#: of +msgid "Nothing on success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:6 -#: interactions.api.http.HTTPClient.delete_stage_instance:4 -#: interactions.api.http.HTTPClient.modify_stage_instance:6 of -msgid "The reason for the creating the stage instance, if any." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:1 +#: of +msgid "Get the registered users of a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:7 of -msgid "The new stage instance" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:4 +#: of +msgid "Guild Scheduled Event snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:1 of -msgid "Get the stage instance associated with a given channel, if it exists." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:5 +#: of +msgid "Limit of how many users to pull from the event. Defaults to 100." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:4 of -msgid "A stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:6 +#: of +msgid "Include guild member data if it exists. Defaults to False." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:1 of -msgid "Update the fields of a given stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:7 +#: of +msgid "Considers only users before given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:4 of -msgid "" -"The new topic of the stage instance, if given. Limited to 1-120 " -"characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:8 +#: of +msgid "Considers only users after given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:5 of -msgid "The new privacy_level of the stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:9 +#: of +msgid "Returns a list of guild scheduled event user objects on success." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:7 of -msgid "The updated stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:1 of +msgid "Get a specific sticker." msgstr "" -#: interactions.api.http.HTTPClient.delete_stage_instance:1 of -msgid "Delete a stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:3 of +msgid "The id of the sticker" msgstr "" -#: interactions.api.http.HTTPClient.join_thread:1 of -msgid "Have the bot user join a thread. :param thread_id: The thread to join." +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.get_sticker:4 of +msgid "Sticker or None" msgstr "" -#: interactions.api.http.HTTPClient.leave_thread:1 of -msgid "Have the bot user leave a thread. :param thread_id: The thread to leave." +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:1 of +msgid "Gets the list of sticker packs available to Nitro subscribers." msgstr "" -#: interactions.api.http.HTTPClient.add_member_to_thread:1 of -msgid "" -"Add another user to a thread. :param thread_id: The ID of the thread " -":param user_id: The ID of the user to add" +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:3 of +msgid "List of sticker packs" msgstr "" -#: interactions.api.http.HTTPClient.remove_member_from_thread:1 of -msgid "" -"Remove another user from a thread. :param thread_id: The ID of the thread" -" :param user_id: The ID of the user to remove" +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:1 of +msgid "Get the stickers for a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_thread_members:1 of -msgid "" -"Get a list of members in the thread. :param thread_id: the id of the " -"thread :return: a list of member objects" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:3 of +msgid "The guild to get stickers from" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:1 of -msgid "Get a list of archived public threads in a given channel." +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:4 of +msgid "List of Stickers or None" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:3 of -msgid "The channel to get threads from" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:1 of +msgid "Get a sticker from a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:4 of -msgid "Optional limit of threads to" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:4 of +msgid "The sticker to get from the guild" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:5 of -msgid "Get threads before this Thread snowflake ID" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:1 of +msgid "" +"Create a new sticker for the guild. Requires the " +"MANAGE_EMOJIS_AND_STICKERS permission." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:6 of -msgid "a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:3 of +msgid "the payload to send." msgstr "" -#: interactions.api.http.HTTPClient.list_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel. :param channel_id: " -"The channel to get threads from :param limit: Optional limit of threads " -"to :param before: Get threads before this Thread snowflake ID :return: a " -"list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:4 of +msgid "The guild to create sticker at." msgstr "" -#: interactions.api.http.HTTPClient.list_joined_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel that the bot has " -"joined. :param channel_id: The channel to get threads from :param limit: " -"Optional limit of threads to :param before: Get threads before this " -"snowflake ID :return: a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:6 of +msgid "The reason for this action." msgstr "" -#: interactions.api.http.HTTPClient.list_active_threads:1 of -msgid "" -"List active threads within a guild. :param guild_id: the guild id to get " -"threads from :return: A list of active threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:6 of +msgid "The new sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:1 of +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:1 of msgid "" -"From a given channel, create a Thread with an optional message to start " -"with.." +"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:3 of -msgid "The ID of the channel to create this thread in" +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:4 of +msgid "The guild of the target sticker." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:4 of -msgid "The name of the thread" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:5 of +msgid "The sticker to modify." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:5 of -msgid "" -"duration in minutes to automatically archive the thread after recent " -"activity, can be set to: 60, 1440, 4320, 10080" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:7 of +msgid "The updated sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:7 of +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:1 of msgid "" -"The type of thread, defaults to public. ignored if creating thread from a" -" message" +"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:8 of -msgid "Boolean to display if the Thread is open to join or private." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:4 of +msgid "The sticker to delete." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:9 of -msgid "An optional message to create a thread from." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:6 of +msgid "Returns 204 No Content on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:10 of -msgid "An optional reason for the audit log" +#: interactions.api.http.thread.ThreadRequest.join_thread:1 of +msgid "Have the bot user join a thread." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:11 of -msgid "The created thread" +#: interactions.api.http.thread.ThreadRequest.join_thread:3 of +msgid "The thread to join." msgstr "" -#: interactions.api.http.HTTPClient.create_reaction:1 of -msgid "" -"Create a reaction for a message. :param channel_id: Channel snowflake ID." -" :param message_id: Message snowflake ID. :param emoji: The emoji to use " -"(format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:1 of +msgid "Have the bot user leave a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_self_reaction:1 of -msgid "" -"Remove bot user's reaction from a message. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:3 of +msgid "The thread to leave." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:1 of -msgid "Remove user's reaction from a message" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:1 of +msgid "Add another user to a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:3 of -msgid "The channel this is taking place in" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:3 +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:3 +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:3 of +msgid "The ID of the thread" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:4 of -msgid "The message to remove the reaction on." +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:4 of +msgid "The ID of the user to add" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:5 of -msgid "The emoji to remove. (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:1 of +msgid "Remove another user from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:6 of -msgid "The user to remove reaction of." +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:4 of +msgid "The ID of the user to remove" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:1 of -msgid "Remove all reactions from a message." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:1 of +msgid "Get a member from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:3 of -msgid "The channel this is taking place in." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:4 of +msgid "The ID of the user to find" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:4 of -msgid "The message to clear reactions from." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:5 of +msgid "A thread member object, if they're in the thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions_of_emoji:1 of -msgid "" -"Remove all reactions of a certain emoji from a message. :param " -"channel_id: Channel snowflake ID. :param message_id: Message snowflake " -"ID. :param emoji: The emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:1 of +msgid "Get a list of members in the thread." msgstr "" -#: interactions.api.http.HTTPClient.get_reactions_of_emoji:1 of -msgid "" -"Gets the users who reacted to the emoji. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to get (format: `name:id`) :return A list of users who sent that " -"emoji." +#: interactions.api.http.thread.ThreadRequest.list_thread_members:3 of +msgid "the id of the thread" msgstr "" -#: interactions.api.http.HTTPClient.get_sticker:1 of -msgid "" -"Get a specific sticker. :param sticker_id: The id of the sticker :return:" -" Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:4 of +msgid "a list of thread member objects" msgstr "" -#: interactions.api.http.HTTPClient.list_nitro_sticker_packs:1 of -msgid "" -"Gets the list of sticker packs available to Nitro subscribers. :return: " -"List of sticker packs" +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:1 of +msgid "Get a list of archived public threads in a given channel." msgstr "" -#: interactions.api.http.HTTPClient.list_guild_stickers:1 of -msgid "" -"Get the stickers for a guild. :param guild_id: The guild to get stickers " -"from :return: List of Stickers or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:3 of +msgid "The channel to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_sticker:1 of -msgid "" -"Get a sticker from a guild. :param guild_id: The guild to get stickers " -"from :param sticker_id: The sticker to get from the guild :return: " -"Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:4 of +msgid "Optional limit of threads to" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_sticker:1 of -msgid "" -"Create a new sticker for the guild. Requires the " -"MANAGE_EMOJIS_AND_STICKERS permission. :param payload: the payload to " -"send. :param guild_id: The guild to create sticker at. :param reason: The" -" reason for this action. :return: The new sticker data on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:5 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:5 of +msgid "Get threads before this Thread snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_sticker:1 of -msgid "" -"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param payload: the payload to send. :param guild_id: The " -"guild of the target sticker. :param sticker_id: The sticker to modify. " -":param reason: The reason for this action. :return: The updated sticker " -"data on success." +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:6 of +msgid "a list of threads" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_sticker:1 of -msgid "" -"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param guild_id: The guild of the target sticker. :param " -"sticker_id: The sticker to delete. :param reason: The reason for this " -"action. :return: Returns 204 No Content on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:1 +#: of +msgid "Get a list of archived private threads in a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:1 +#: of msgid "" -"Get all application commands from an application :param application_id: " -"Application ID snowflake :param guild_id: Guild to get commands from, if " -"specified. Defaults to global (None) :return: A list of Application " -"commands." -msgstr "" - -#: interactions.api.http.HTTPClient.create_application_command:1 of -msgid "Registers to the Discord API an application command." +"Get a list of archived private threads in a channel that the bot has " +"joined." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.create_application_command:3 -#: interactions.api.http.HTTPClient.create_interaction_response:6 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_application_command_permissions:3 -#: interactions.api.http.HTTPClient.overwrite_application_command:6 of -msgid "Application ID snowflake" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:5 +#: of +msgid "Get threads before this snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:7 of -msgid "The dictionary that contains the command (name, description, etc)" +#: interactions.api.http.thread.ThreadRequest.list_active_threads:1 of +msgid "List active threads within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:5 -#: interactions.api.http.HTTPClient.overwrite_application_command:8 of -msgid "Guild ID snowflake to put them in, if applicable." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:3 of +msgid "the guild id to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:6 of -msgid "An application command object." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:4 of +msgid "A list of active threads" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.create_thread:1 of msgid "" -"Overwrites application command(s) from a scope to the new, updated " -"commands." +"From a given channel, create a Thread with an optional message to start " +"with.." msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:4 of -msgid "" -"This applies to all forms of application commands (slash and context " -"menus)" +#: interactions.api.http.thread.ThreadRequest.create_thread:3 of +msgid "The ID of the channel to create this thread in" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:9 of -msgid "An array of application command objects." +#: interactions.api.http.thread.ThreadRequest.create_thread:4 of +msgid "The name of the thread" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:1 of -msgid "Edits an application command." +#: interactions.api.http.thread.ThreadRequest.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:3 -#: interactions.api.http.HTTPClient.edit_application_command:3 of -msgid "Application ID snowflake." +#: interactions.api.http.thread.ThreadRequest.create_thread:7 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:4 of -msgid "A dictionary containing updated attributes" +#: interactions.api.http.thread.ThreadRequest.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:5 of -msgid "The application command ID snowflake" +#: interactions.api.http.thread.ThreadRequest.create_thread:9 of +msgid "An optional message to create a thread from." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:6 of -msgid "Guild ID snowflake, if given. Defaults to None/global." +#: interactions.api.http.thread.ThreadRequest.create_thread:10 of +msgid "An optional reason for the audit log" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:7 of -msgid "The updated application command object." +#: interactions.api.http.thread.ThreadRequest.create_thread:11 of +msgid "The created thread" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:1 of -msgid "Deletes an application command." +#: interactions.api.http.user.UserRequest.get_self:1 of +msgid "An alias to `get_user`, but only gets the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:4 of -msgid "Application command ID snowflake." +#: interactions.api.http.user.UserRequest.get_self:3 of +msgid "A partial User object of the current bot user in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:5 of -msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +#: interactions.api.http.user.UserRequest.get_user:1 of +msgid "Gets a user object for a given user ID." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:1 of -msgid "Edits permissions for an application command" +#: interactions.api.http.user.UserRequest.get_user:3 of +msgid "A user snowflake ID. If omitted, this defaults to the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:5 of -msgid "Application command ID snowflake" +#: interactions.api.http.user.UserRequest.get_user:4 of +msgid "A partial User object in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:6 of -msgid "Permission data." +#: interactions.api.http.user.UserRequest.modify_self:1 of +msgid "Modify the bot user account settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:7 of -msgid "Returns an updated Application Guild permission object." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:1 of +msgid "Changes a nickname of the current bot user in a guild." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:1 -#: of -msgid "Edits permissions for all Application Commands in a guild." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:3 of +msgid "Guild snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:5 -#: of -msgid "An array of permission dictionaries." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:4 of +msgid "The new nickname, if any." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:6 -#: of -msgid "An updated array of application array permissions." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:5 of +msgid "Nothing needed to be yielded." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:1 of -msgid "" -"Gets, from the Discord API, permissions from a specific Guild application" -" command." +#: interactions.api.http.user.UserRequest.create_dm:1 of +msgid "Creates a new DM channel with a user." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:5 of -msgid "Application Command ID snowflake" +#: interactions.api.http.user.UserRequest.create_dm:3 of +msgid "User snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:6 of -msgid "a Guild Application Command permissions object" +#: interactions.api.http.user.UserRequest.create_dm:4 of +msgid "Returns a dictionary representing a DM Channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:1 -#: of -msgid "" -"Gets, from the Discord API, permissions from all Application commands at " -"that Guild." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:1 of +msgid "Create a new webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:5 -#: of -msgid "An array of Guild Application Command permissions" +#: interactions.api.http.webhook.WebhookRequest.create_webhook:4 of +msgid "Name of the webhook (1-80 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:1 of -msgid "Posts initial response to an interaction." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:5 of +msgid "The image for the default webhook avatar, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 of -msgid "Internally handles token for you." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:7 of +msgid "Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:7 of -msgid "The data to send." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:1 of +msgid "Return a list of channel webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.get_original_interaction_response:1 of -msgid "" -"Gets an existing interaction message. :param application_id: Application " -"ID snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Message " -"data." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:4 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:4 of +msgid "List of webhook objects" msgstr "" -#: interactions.api.http.HTTPClient.edit_interaction_response:1 of -msgid "" -"Edits an existing interaction message. :param data: A dictionary " -"containing the new response. :param application_id: Application ID " -"snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Updated " -"message data." +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:1 of +msgid "Return a list of guild webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:1 of -msgid "" -"Create a new webhook. :param channel_id: Channel ID snowflake. :param " -"name: Name of the webhook (1-80 characters) :param avatar: The image for " -"the default webhook avatar, if given." +#: interactions.api.http.webhook.WebhookRequest.get_webhook:1 of +msgid "Return the new webhook object for the given id." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:6 of -msgid ":return Webhook object" +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:3 of +msgid "Webhook ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_webhooks:1 of -msgid "" -"Return a list of channel webhook objects. :param channel_id: Channel ID " -"snowflake. :return:List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:4 of +msgid "Webhook Token, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:1 of -msgid "" -"Return a list of guild webhook objects. :param guild_id: Guild ID " -"snowflake" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:6 of +msgid ":return:Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:4 of -msgid "List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:1 of +msgid "Modify a webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:1 of -msgid "" -"Return the new webhook object for the given id. :param webhook_id: " -"Webhook ID snowflake. :param webhook_token: Webhook Token, if given." +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:3 of +msgid "Webhook ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:5 of -msgid ":return:Webhook object" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:4 of +msgid "The payload for the webhook" msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:1 of -msgid "" -"Modify a webhook. :param webhook_id: Webhook ID snowflake :param name: " -"the default name of the webhook :param avatar: image for the default " -"webhook avatar :param channel_id: Channel ID snowflake of new destination" -" :param webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:5 of +msgid "The token for the webhook, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:7 of msgid "Modified webhook object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook:1 of -msgid "" -"Delete a webhook :param webhook_id: Webhook ID snowflake. :param " -"webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:1 of +msgid "Delete a webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:1 of msgid "Sends a message as a webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:3 -#: interactions.api.http.HTTPClient.edit_webhook_message:3 -#: interactions.api.http.HTTPClient.execute_github_webhook:3 -#: interactions.api.http.HTTPClient.execute_slack_webhook:3 -#: interactions.api.http.HTTPClient.execute_webhook:3 -#: interactions.api.http.HTTPClient.get_webhook_message:3 of -msgid "Webhook ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.execute_github_webhook:4 -#: interactions.api.http.HTTPClient.execute_slack_webhook:4 -#: interactions.api.http.HTTPClient.execute_webhook:4 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:4 of msgid "The token for the webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:5 -#: interactions.api.http.HTTPClient.execute_slack_webhook:5 -#: interactions.api.http.HTTPClient.execute_webhook:5 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:5 of msgid "Payload consisting of the message." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:6 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:6 of +msgid "The files to upload to the message." +msgstr "" + +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:7 of msgid "" "A bool that signifies waiting for server confirmation of a send before " "responding." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:7 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:8 of msgid "Optional, sends a message to the specified thread." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:9 of msgid "The message sent, if wait=True, else None." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:1 of msgid "Sends a message to a Slack-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:1 of msgid "Sends a message to a Github-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:1 of msgid "Retrieves a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:4 -#: interactions.api.http.HTTPClient.edit_webhook_message:4 -#: interactions.api.http.HTTPClient.get_webhook_message:4 of +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:4 of msgid "Webhook token." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:5 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:5 of msgid "Message ID snowflake," msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:6 of msgid "A Message object." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:1 of msgid "Edits a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:5 -#: interactions.api.http.HTTPClient.edit_webhook_message:5 of -msgid "Message ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.edit_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:6 of msgid "A payload consisting of new message attributes." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:7 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:7 of msgid "An updated message object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:1 of msgid "Deletes a message object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_emoji:1 of -msgid "Gets all emojis from a guild." -msgstr "" - -#: interactions.api.http.HTTPClient.get_all_emoji:4 of -msgid "A list of emojis." -msgstr "" - -#: interactions.api.http.HTTPClient.get_guild_emoji:1 of -msgid "" -"Gets an emote from a guild. :param guild_id: Guild ID snowflake. :param " -"emoji_id: Emoji ID snowflake. :return: Emoji object" -msgstr "" - -#: interactions.api.http.HTTPClient.create_guild_emoji:1 of -msgid "" -"Creates an emoji. :param guild_id: Guild ID snowflake. :param data: Emoji" -" parameters. :param reason: Optionally, give a reason. :return: An emoji " -"object with the included parameters." -msgstr "" - -#: interactions.api.http.HTTPClient.modify_guild_emoji:1 of -msgid "" -"Modifies an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param data: Emoji parameters with updated attributes " -":param reason: Optionally, give a reason. :return: An emoji object with " -"updated attributes." -msgstr "" - -#: interactions.api.http.HTTPClient.delete_guild_emoji:1 of -msgid "" -"Deletes an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param reason: Optionally, give a reason." +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:1 +#: of +msgid "Deletes the original message object sent." msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.mo b/docs/locale/de/LC_MESSAGES/api.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.channel.mo b/docs/locale/de/LC_MESSAGES/api.models.channel.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.channel.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.channel.po b/docs/locale/de/LC_MESSAGES/api.models.channel.po index e4af3b294..529af7d9d 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.channel.po +++ b/docs/locale/de/LC_MESSAGES/api.models.channel.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,24 +26,24 @@ msgstr "" msgid "An enumerable object representing the type of channels." msgstr "" -#: interactions.api.models.channel.ChannelType:3 of -msgid ".. note::" +#: interactions.api.models.channel.Thread:1 of +msgid "An object representing a thread." msgstr "" -#: interactions.api.models.channel.ChannelType:4 of +#: interactions.api.models.channel.Thread:4 of msgid "" -"While all of them are listed, not all of them will be used at this " -"library's scope." +"This is a derivation of the base Channel, since a thread can be its own " +"event." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:1 of -msgid "A class object representing the metadata of a thread." +#: interactions.api.models.channel.Channel:1 of +msgid "A class object representing all types of channels." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:4 of +#: interactions.api.models.channel.Channel:4 of msgid "" -"``invitable`` will only show if the thread can have an invited created " -"with the current cached permissions." +"The purpose of this model is to be used as a base class, and is never " +"needed to be used directly." msgstr "" #: interactions.api.models.channel.Channel @@ -52,62 +52,6 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.channel.ThreadMetadata:7 of -msgid "The current thread accessibility state." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:8 of -msgid "The auto-archive time." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:9 of -msgid "The timestamp that the thread will be/has been closed at." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:10 of -msgid "The current message state of the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:11 of -msgid "The ability to invite users to the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:1 of -msgid "A class object representing a member in a thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:4 of -msgid "" -"``id`` only shows if there are active intents involved with the member in" -" the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:7 of -msgid "The \"ID\" or intents of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:8 of -msgid "The user ID of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:9 of -msgid "The timestamp of when the member joined the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:10 of -msgid "The bitshift flags for the member in the thread." -msgstr "" - -#: interactions.api.models.channel.Channel:1 of -msgid "A class object representing all types of channels." -msgstr "" - -#: interactions.api.models.channel.Channel:4 of -msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." -msgstr "" - #: interactions.api.models.channel.Channel:7 of msgid "The (snowflake) ID of the channel." msgstr "" @@ -214,20 +158,564 @@ msgstr "" msgid "The permissions of the channel." msgstr "" -#: interactions.api.models.channel.TextChannel:1 of +#: interactions.api.models.channel.Channel.mention:1 of +msgid "Returns a string that allows you to mention the given channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Returns" +msgstr "" + +#: interactions.api.models.channel.Channel.mention:3 of +msgid "The string of the mentioned channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Return type" +msgstr "" + +#: interactions.api.models.channel.Channel.send:1 of +msgid "Sends a message in the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_invite +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.pin_message +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit +#: interactions.api.models.channel.Channel.unpin_message of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.channel.Channel.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.channel.Channel.send:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.channel.Channel.send:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.channel.Channel.send:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.channel.Channel.delete:1 of +msgid "Deletes the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:1 of +msgid "Edits the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:6 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:8 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:10 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:12 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:14 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:16 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:18 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:20 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:24 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:26 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:3 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:28 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:30 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:32 of +msgid "The modified channel as new object" +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:1 of +msgid "Sets the name of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:3 of +msgid "The new name of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.lock:5 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:5 +#: interactions.api.models.channel.Channel.set_bitrate:5 +#: interactions.api.models.channel.Channel.set_name:5 +#: interactions.api.models.channel.Channel.set_nsfw:5 +#: interactions.api.models.channel.Channel.set_parent_id:5 +#: interactions.api.models.channel.Channel.set_position:5 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:5 +#: interactions.api.models.channel.Channel.set_topic:5 +#: interactions.api.models.channel.Channel.set_user_limit:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:7 +#: interactions.api.models.channel.Channel.lock:7 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:7 +#: interactions.api.models.channel.Channel.set_bitrate:7 +#: interactions.api.models.channel.Channel.set_name:7 +#: interactions.api.models.channel.Channel.set_nsfw:7 +#: interactions.api.models.channel.Channel.set_parent_id:7 +#: interactions.api.models.channel.Channel.set_position:7 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:7 +#: interactions.api.models.channel.Channel.set_topic:7 +#: interactions.api.models.channel.Channel.set_user_limit:7 of +msgid "The edited channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:1 of +msgid "Sets the topic of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:3 of +msgid "The new topic of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:1 of +msgid "Sets the bitrate of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:3 of +msgid "The new bitrate of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:1 of +msgid "Sets the user_limit of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:3 of +msgid "The new user limit of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:1 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:1 of +msgid "Sets the position of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:3 of +msgid "The new rate_limit_per_user of the channel (0-21600)" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:3 of +msgid "The new position of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:1 of +msgid "Sets the parent_id of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:3 of +msgid "The new parent_id of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:1 of +msgid "Sets the nsfw-flag of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:3 of +msgid "The new nsfw-flag of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:1 of +msgid "Sets the archived state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.archive:3 of +msgid "Whether the Thread is archived, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:5 of +msgid "The reason of the archiving" +msgstr "" + +#: interactions.api.models.channel.Channel.set_auto_archive_duration:1 of +msgid "Sets the time after the thread is automatically archived." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:1 of +msgid "Sets the locked state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:3 of +msgid "Whether the Thread is locked, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:1 of +msgid "This adds a member to the channel, if the channel is a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:3 of +msgid "The id of the member to add to the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:1 of +msgid "Pins a message to the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:3 of +msgid "The id of the message to pin" +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:1 of +msgid "Unpins a message from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:3 of +msgid "The id of the message to unpin" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in the channel to any that " +"is followed by." +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:3 of +msgid "The id of the message to publish" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:5 of +msgid "The message published" +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:1 of +msgid "Get all pinned messages from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:3 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:1 of +msgid "Gets a message sent in that channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:3 of +msgid "The message as object" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:1 of +msgid "" +"Purges a given amount of messages from a channel. You can specify a check" +" function to exclude specific messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:3 of +msgid "" +"Calling this method can lead to rate-limits when purging higher amounts " +"of messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:11 of +msgid "The amount of messages to delete" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:13 of +msgid "" +"The function used to check if a message should be deleted. The message is" +" only deleted if the check returns `True`" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:15 of +msgid "An id of a message to purge only messages before that message" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:17 of +msgid "" +"Whether to bulk delete the messages (you cannot delete messages older " +"than 14 days, default) or to delete every message seperately" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:18 of +msgid "Optional[bool]" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:19 of +msgid "The reason of the deletes" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:21 of +msgid "A list of the deleted messages" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:1 of +msgid "Creates a thread in the Channel." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:8 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:10 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:12 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:14 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:16 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:1 of +msgid "Creates an invite for the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:3 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for text channels." +"Duration of invite in seconds before expiry, or 0 for never. between 0 " +"and 604800 (7 days). Default 86400 (24h)" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:5 of +msgid "Max number of uses or 0 for unlimited. between 0 and 100. Default 0" msgstr "" -#: interactions.api.models.channel.DMChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:7 of +msgid "Whether this invite only grants temporary membership. Default False" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:9 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for DM channels." +"If true, don't try to reuse a similar invite (useful for creating many " +"unique one time use invites). Default False" msgstr "" -#: interactions.api.models.channel.ThreadChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:11 of +msgid "The type of target for this voice channel invite" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:13 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for thread channels." +"The id of the user whose stream to display for this invite, required if " +"target_type is STREAM, the user must be streaming in the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:15 of +msgid "" +"The id of the embedded application to open for this invite, required if " +"target_type is EMBEDDED_APPLICATION, the application must have the " +"EMBEDDED flag" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:17 of +msgid "The reason for the creation of the invite" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:1 of +msgid "Gets messages from the channel's history." +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:3 of +msgid "The amount of messages to get. Default 100" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:5 of +msgid "A list of messages" +msgstr "" + +#: interactions.api.models.channel.Channel.get_webhooks:1 of +msgid "Gets a list of webhooks of that channel" +msgstr "" + +#: interactions.api.models.channel.ThreadMember:1 of +msgid "A class object representing a member in a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:4 of +msgid "" +"``id`` only shows if there are active intents involved with the member in" +" the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:7 of +msgid "The \"ID\" or intents of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:8 of +msgid "The user ID of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:9 of +msgid "The timestamp of when the member joined the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:10 of +msgid "The bitshift flags for the member in the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:11 of +msgid "Whether the member is muted or not." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:1 of +msgid "A class object representing the metadata of a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:4 of +msgid "" +"``invitable`` will only show if the thread can have an invited created " +"with the current cached permissions." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:7 of +msgid "The current thread accessibility state." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:8 of +msgid "The auto-archive time." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:9 of +msgid "The timestamp that the thread will be/has been closed at." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:10 of +msgid "The current message state of the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:11 of +msgid "The ability to invite users to the thread." msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.flags.po b/docs/locale/de/LC_MESSAGES/api.models.flags.po new file mode 100644 index 000000000..6b44fd0d5 --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/api.models.flags.po @@ -0,0 +1,64 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.flags.rst:4 +msgid "Flag Bitshift Models" +msgstr "" + +#: interactions.api.models.flags.Intents:1 of +msgid "" +"An integer flag bitshift object representing flags respective for each " +"gateway intent type." +msgstr "" + +#: interactions.api.models.flags.AppFlags:1 of +msgid "" +"An integer flag bitshift object representing the different application " +"flags given by Discord." +msgstr "" + +#: interactions.api.models.flags.StatusType:1 of +msgid "" +"An enumerable object representing Discord status icons that a user may " +"have." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.api.models.flags.UserFlags:1 of +msgid "" +"An integer flag bitshift object representing the different user flags " +"given by Discord." +msgstr "" + +#: interactions.api.models.flags.Permissions:1 of +msgid "" +"An integer flag bitshift object representing the different member " +"permissions given by Discord." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.guild.mo b/docs/locale/de/LC_MESSAGES/api.models.guild.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.guild.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.guild.po b/docs/locale/de/LC_MESSAGES/api.models.guild.po index f2c1dd57a..795f3c96e 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.guild.po +++ b/docs/locale/de/LC_MESSAGES/api.models.guild.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,68 +22,166 @@ msgstr "" msgid "Guild Models" msgstr "" -#: interactions.api.models.guild.GuildFeature:1 of -msgid "" -"An enumerable string-formatted class representing all of the features a " -"guild can have." +#: interactions.api.models.guild.VerificationLevel:1 of +msgid "An enumerable object representing the verification level of a guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:1 of -msgid "A class object representing a welcome channel on the welcome screen." +#: interactions.api.models.guild.EntityType:1 of +msgid "An enumerable object representing the type of event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:4 of +#: interactions.api.models.guild.DefaultMessageNotificationLevel:1 of msgid "" -"``emoji_id`` and ``emoji_name`` are given values respectively if the " -"welcome channel uses an emoji." +"An enumerable object representing the default message notification level " +"of a guild." +msgstr "" + +#: interactions.api.models.guild.EventMetadata:1 of +msgid "A class object representing the metadata of an event entity." msgstr "" +#: interactions.api.models.guild.EventMetadata #: interactions.api.models.guild.Guild #: interactions.api.models.guild.GuildPreview +#: interactions.api.models.guild.GuildTemplate +#: interactions.api.models.guild.Integration +#: interactions.api.models.guild.Invite +#: interactions.api.models.guild.ScheduledEvents #: interactions.api.models.guild.StageInstance +#: interactions.api.models.guild.UnavailableGuild #: interactions.api.models.guild.WelcomeChannels #: interactions.api.models.guild.WelcomeScreen of msgid "Variables" msgstr "" -#: interactions.api.models.guild.WelcomeChannels:7 of -msgid "The ID of the welcome channel." +#: interactions.api.models.guild.EventMetadata:3 of +msgid "The location of the event, if any." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:8 of -msgid "The description of the welcome channel." +#: interactions.api.models.guild.EventStatus:1 of +msgid "An enumerable object representing the status of an event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:9 of -msgid "The ID of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:1 of +msgid "An object representing the snapshot of an existing guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:10 of -msgid "The name of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:3 of +msgid "The code of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:1 of -msgid "A class object representing the welcome screen shown for community guilds." +#: interactions.api.models.guild.GuildTemplate:4 of +msgid "The name of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:4 of -msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +#: interactions.api.models.guild.GuildTemplate:5 of +msgid "The description of the guild template, if given." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:6 of -msgid "We assume it's for the welcome screen topic." +#: interactions.api.models.guild.GuildTemplate:6 of +msgid "The amount of uses on the template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:8 of -msgid "The description of the welcome sceen." +#: interactions.api.models.guild.GuildTemplate:7 of +msgid "User ID of the creator of this template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:9 of -msgid "A list of welcome channels of the welcome screen." +#: interactions.api.models.guild.GuildTemplate:8 of +msgid "The User object of the creator of this template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:9 of +msgid "The time when this template was created." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:10 of +msgid "The time when this template was updated." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:11 of +msgid "The Guild ID that the template sourced from." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:12 of +msgid "A partial Guild object from the sourced template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:13 of +msgid "A status that denotes if the changes are unsynced." +msgstr "" + +#: interactions.api.models.guild.Integration:1 of +msgid "A class object representing an integration in a guild." +msgstr "" + +#: interactions.api.models.guild.Integration:3 of +msgid "The ID of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:4 of +msgid "The name of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:5 of +msgid "The type of integration." +msgstr "" + +#: interactions.api.models.guild.Integration:6 of +msgid "Whether the integration is enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:7 of +msgid "Whether the integration is syncing or not." +msgstr "" + +#: interactions.api.models.guild.Integration:8 of +msgid "The role ID that the integration uses for \"subscribed\" users." +msgstr "" + +#: interactions.api.models.guild.Integration:9 of +msgid "Whether emoticons should be enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:10 of +msgid "The expiration behavior of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:11 of +msgid "" +"The \"grace period\" of the integration when expired -- how long it can " +"still be used." +msgstr "" + +#: interactions.api.models.guild.Integration:12 of +msgid "The user of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:13 of +msgid "The account of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:14 of +msgid "The time that the integration was last synced." +msgstr "" + +#: interactions.api.models.guild.Integration:15 of +msgid "The current subscriber count of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:16 of +msgid "Whether the integration was revoked for use or not." +msgstr "" + +#: interactions.api.models.guild.Integration:17 of +msgid "The application used for the integration." +msgstr "" + +#: interactions.api.models.guild.InviteTargetType:1 of +msgid "An enumerable object representing the different invite target types" msgstr "" #: interactions.api.models.guild.StageInstance:1 of -msgid "A class object representing an instace of a stage channel in a guild." +msgid "A class object representing an instance of a stage channel in a guild." msgstr "" #: interactions.api.models.guild.StageInstance:3 of @@ -110,6 +208,154 @@ msgstr "" msgid "Whether the stage can be seen from the stage discovery." msgstr "" +#: interactions.api.models.guild.UnavailableGuild:1 of +msgid "A class object representing how a guild that is unavailable." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:4 of +msgid "" +"This object only seems to show up during the connection process of the " +"client to the Gateway when the ``READY`` event is dispatched. This event " +"will pass fields with ``guilds`` where this becomes present." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:9 of +msgid "The ID of the unavailable guild." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:10 of +msgid "Whether the guild is unavailable or not." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:1 of +msgid "A class object representing a welcome channel on the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:4 of +msgid "" +"``emoji_id`` and ``emoji_name`` are given values respectively if the " +"welcome channel uses an emoji." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:7 of +msgid "The ID of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:8 of +msgid "The description of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:9 of +msgid "The ID of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:10 of +msgid "The name of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.ExplicitContentFilterLevel:1 of +msgid "" +"An enumerable object representing the explicit content filter level of a " +"guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:1 of +msgid "A class object representing the scheduled events of a guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:19 +#: interactions.api.models.guild.ScheduledEvents:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:1 of +msgid "A class object representing the welcome screen shown for community guilds." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:4 of +msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:6 of +msgid "We assume it's for the welcome screen topic." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:8 of +msgid "The description of the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:9 of +msgid "A list of welcome channels of the welcome screen." +msgstr "" + #: interactions.api.models.guild.Guild:1 of msgid "A class object representing how a guild is registered." msgstr "" @@ -122,17 +368,17 @@ msgid "" msgstr "" #: interactions.api.models.guild.Guild:8 -#: interactions.api.models.guild.GuildPreview:6 of +#: interactions.api.models.guild.GuildPreview:3 of msgid "The ID of the guild." msgstr "" #: interactions.api.models.guild.Guild:9 -#: interactions.api.models.guild.GuildPreview:7 of +#: interactions.api.models.guild.GuildPreview:4 of msgid "The name of the guild." msgstr "" #: interactions.api.models.guild.Guild:10 -#: interactions.api.models.guild.GuildPreview:8 of +#: interactions.api.models.guild.GuildPreview:5 of msgid "The icon of the guild." msgstr "" @@ -141,12 +387,12 @@ msgid "The hashed version of the icon of the guild." msgstr "" #: interactions.api.models.guild.Guild:12 -#: interactions.api.models.guild.GuildPreview:9 of +#: interactions.api.models.guild.GuildPreview:6 of msgid "The invite splash banner of the guild." msgstr "" #: interactions.api.models.guild.Guild:13 -#: interactions.api.models.guild.GuildPreview:10 of +#: interactions.api.models.guild.GuildPreview:7 of msgid "The discovery splash banner of the guild." msgstr "" @@ -199,12 +445,12 @@ msgid "The list of roles in the guild." msgstr "" #: interactions.api.models.guild.Guild:26 -#: interactions.api.models.guild.GuildPreview:11 of +#: interactions.api.models.guild.GuildPreview:8 of msgid "The list of emojis from the guild." msgstr "" #: interactions.api.models.guild.Guild:27 -#: interactions.api.models.guild.GuildPreview:12 of +#: interactions.api.models.guild.GuildPreview:9 of msgid "The list of features of the guild." msgstr "" @@ -241,96 +487,1250 @@ msgid "The amount of members in the guild." msgstr "" #: interactions.api.models.guild.Guild:36 of -msgid "The list of presences in the guild." +msgid "The members in the guild." msgstr "" #: interactions.api.models.guild.Guild:37 of -msgid "The maximum amount of presences allowed in the guild." +msgid "The channels in the guild." msgstr "" #: interactions.api.models.guild.Guild:38 of -msgid "The maximum amount of members allowed in the guild." +msgid "All known threads in the guild." msgstr "" #: interactions.api.models.guild.Guild:39 of +msgid "The list of presences in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:40 of +msgid "The maximum amount of presences allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:41 of +msgid "The maximum amount of members allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:42 of msgid "The vanity URL of the guild." msgstr "" -#: interactions.api.models.guild.Guild:40 -#: interactions.api.models.guild.GuildPreview:15 of +#: interactions.api.models.guild.Guild:43 +#: interactions.api.models.guild.GuildPreview:12 of msgid "The description of the guild." msgstr "" -#: interactions.api.models.guild.Guild:41 of +#: interactions.api.models.guild.Guild:44 of msgid "The banner of the guild." msgstr "" -#: interactions.api.models.guild.Guild:42 of +#: interactions.api.models.guild.Guild:45 of msgid "The server boost level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:43 of +#: interactions.api.models.guild.Guild:46 of msgid "The amount of server boosters in the guild." msgstr "" -#: interactions.api.models.guild.Guild:44 of +#: interactions.api.models.guild.Guild:47 of msgid "The \"preferred\" local region of the guild." msgstr "" -#: interactions.api.models.guild.Guild:45 of +#: interactions.api.models.guild.Guild:48 of msgid "The channel ID for community updates of the guild." msgstr "" -#: interactions.api.models.guild.Guild:46 of +#: interactions.api.models.guild.Guild:49 of msgid "" "The maximum amount of video streaming members in a channel allowed in a " "guild." msgstr "" -#: interactions.api.models.guild.Guild:47 -#: interactions.api.models.guild.GuildPreview:13 of +#: interactions.api.models.guild.Guild:50 +#: interactions.api.models.guild.GuildPreview:10 of msgid "The approximate amount of members in the guild." msgstr "" -#: interactions.api.models.guild.Guild:48 -#: interactions.api.models.guild.GuildPreview:14 of +#: interactions.api.models.guild.Guild:51 +#: interactions.api.models.guild.GuildPreview:11 of msgid "The approximate amount of presences in the guild." msgstr "" -#: interactions.api.models.guild.Guild:49 of +#: interactions.api.models.guild.Guild:52 of msgid "The welcome screen of the guild." msgstr "" -#: interactions.api.models.guild.Guild:50 of +#: interactions.api.models.guild.Guild:53 of msgid "The NSFW safety filter level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:51 of +#: interactions.api.models.guild.Guild:54 of msgid "The stage instance of the guild." msgstr "" -#: interactions.api.models.guild.Guild:52 of +#: interactions.api.models.guild.Guild:55 of msgid "The list of stickers from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:1 of -msgid "A model representing the preview of a guild." +#: interactions.api.models.guild.Guild:56 of +msgid "Whether the guild has the boost progress bar enabled." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of -msgid ".. note::" +#: interactions.api.models.guild.Guild.ban:1 of +msgid "Bans a member from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of +#: interactions.api.models.guild.Guild.add_member_role +#: interactions.api.models.guild.Guild.ban +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_emoji +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.delete_channel +#: interactions.api.models.guild.Guild.delete_emoji +#: interactions.api.models.guild.Guild.delete_role +#: interactions.api.models.guild.Guild.delete_scheduled_event +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.kick +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.remove_ban +#: interactions.api.models.guild.Guild.remove_member_role +#: interactions.api.models.guild.Guild.search_members +#: interactions.api.models.guild.Guild.set_afk_channel +#: interactions.api.models.guild.Guild.set_afk_timeout +#: interactions.api.models.guild.Guild.set_banner +#: interactions.api.models.guild.Guild.set_default_message_notifications +#: interactions.api.models.guild.Guild.set_description +#: interactions.api.models.guild.Guild.set_discovery_splash +#: interactions.api.models.guild.Guild.set_explicit_content_filter +#: interactions.api.models.guild.Guild.set_icon +#: interactions.api.models.guild.Guild.set_name +#: interactions.api.models.guild.Guild.set_preferred_locale +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled +#: interactions.api.models.guild.Guild.set_public_updates_channel +#: interactions.api.models.guild.Guild.set_rules_channel +#: interactions.api.models.guild.Guild.set_splash +#: interactions.api.models.guild.Guild.set_system_channel +#: interactions.api.models.guild.Guild.set_verification_level of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:3 of +msgid "The id of the member to ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:1 of +msgid "Removes the ban of a user." +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:3 of +msgid "The id of the user to remove the ban from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:5 of +msgid "The reason for the removal of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:1 of +msgid "Kicks a member from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.kick:3 of +msgid "The id of the member to kick" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:4 of msgid "" -"This refers to the documentation `here " -"_`" +":type role Union[Role, int] :param member_id: The id of the member to add" +" the roles to :type member_id: int :param reason?: The reason why the " +"roles are added :type reason: Optional[str]" msgstr "" -#: interactions.api.models.guild.Invite:1 of -msgid "The invite object." +#: interactions.api.models.guild.Guild.remove_member_role:1 of +msgid "This method removes a or multiple role(s) from a member." msgstr "" -#: interactions.api.models.guild.GuildTemplate:1 of -msgid "An object representing the snapshot of an existing guild." +#: interactions.api.models.guild.Guild.remove_member_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:5 of +msgid "The id of the member to remove the roles from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:1 of +msgid "Creates a new role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:3 of +msgid "The name of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:5 of +msgid "RGB color value as integer, default ``0``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:7 of +msgid "Bitwise value of the enabled/disabled permissions" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:9 of +msgid "" +"Whether the role should be displayed separately in the sidebar, default " +"``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:11 of +msgid "The role's icon image (if the guild has the ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:13 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:15 of +msgid "Whether the role should be mentionable, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:17 of +msgid "The reason why the role is created, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Returns" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:19 of +msgid "The created Role" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Return type" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:1 of +msgid "" +"Searches for the member with specified id in the guild and returns the " +"member as member object." +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:3 of +msgid "The id of the member to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:5 of +msgid "The member searched for" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:1 of +msgid "Deletes a channel from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:3 of +msgid "The id of the channel to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:1 of +msgid "Deletes a role from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:3 of +msgid "The id of the role to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:5 +#: interactions.api.models.guild.Guild.delete_role:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:1 of +msgid "Edits a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:3 of +msgid "The id of the role to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:9 of +msgid "" +"Bitwise value of the enabled/disabled permissions, defaults to the " +"current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:1 of +msgid "Creates a thread in the specified channel." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:5 of +msgid "The id of the channel to create the thread in" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:7 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:10 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:12 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:14 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:16 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:18 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:1 of +msgid "Creates a channel in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:3 of +msgid "The name of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:5 of +msgid "The type of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:7 of +msgid "The topic of that channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:9 of +msgid "(voice channel only) The bitrate (in bits) of the voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:11 of +msgid "(voice channel only) Maximum amount of users in the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:13 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:15 of +msgid "Sorting position of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:17 of +msgid "The id of the parent category for a channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:19 +#: interactions.api.models.guild.Guild.modify_channel:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:21 of +msgid "Whether the channel is nsfw or not, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:23 of +msgid "The reason for the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:25 of +msgid "The created channel" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:1 of +msgid "Clones a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:3 of +msgid "The id of the channel to clone" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:5 of +msgid "The cloned channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:1 of +msgid "Edits a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:6 of +msgid "The id of the channel to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:8 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:10 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:12 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:14 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:16 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:18 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:20 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:24 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:26 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:28 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:30 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:32 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:34 of +msgid "The modified channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:1 of +msgid "Modifies a member of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:3 of +msgid "The id of the member to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:19 of +msgid "The modified member" +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:1 of +msgid "Get the guild's preview." +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:3 of +msgid "the guild preview as object" +msgstr "" + +#: interactions.api.models.guild.Guild.leave:1 of +msgid "Removes the bot from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:1 of +msgid "Modifies the current guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:3 +#: interactions.api.models.guild.Guild.set_afk_channel:3 +#: interactions.api.models.guild.Guild.set_name:3 of +msgid "The new name of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:5 of +msgid "The verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:7 of +msgid "The default message notification level for members" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:9 of +msgid "The explicit content filter level for media content" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:11 of +msgid "The id for the afk voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:13 of +msgid "Afk timeout in seconds" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:15 of +msgid "" +"1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when" +" the server has the ANIMATED_ICON feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:17 of +msgid "" +"The id of the user to transfer the guild ownership to. You must be the " +"owner to perform this" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:19 of +msgid "" +"16:9 png/jpeg image for the guild splash (when the server has the " +"INVITE_SPLASH feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:21 of +msgid "" +"16:9 png/jpeg image for the guild discovery splash (when the server has " +"the DISCOVERABLE feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:23 of +msgid "" +"16:9 png/jpeg image for the guild banner (when the server has the BANNER " +"feature; can be animated gif when the server has the ANIMATED_BANNER " +"feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:25 of +msgid "" +"The id of the channel where guild notices such as welcome messages and " +"boost events are posted" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:27 of +msgid "Whether to suppress member join notifications in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:29 of +msgid "" +"Whether to suppress server boost notifications in the system channel or " +"not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:31 of +msgid "Whether to suppress server setup tips in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:33 of +msgid "" +"Whether to hide member join sticker reply buttons in the system channel " +"or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:35 of +msgid "The id of the channel where guilds display rules and/or guidelines" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:37 of +msgid "" +"The id of the channel where admins and moderators of community guilds " +"receive notices from Discord" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:39 of +msgid "" +"The preferred locale of a community guild used in server discovery and " +"notices from Discord; defaults to \"en-US\"" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:41 of +msgid "The description for the guild, if the guild is discoverable" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:43 of +msgid "Whether the guild's boost progress bar is enabled" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:45 +#: interactions.api.models.guild.Guild.modify_role_position:7 +#: interactions.api.models.guild.Guild.modify_role_positions:5 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:47 of +msgid "The modified guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_name:1 of +msgid "Sets the name of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:5 +#: interactions.api.models.guild.Guild.set_afk_timeout:5 +#: interactions.api.models.guild.Guild.set_banner:5 +#: interactions.api.models.guild.Guild.set_default_message_notifications:5 +#: interactions.api.models.guild.Guild.set_description:5 +#: interactions.api.models.guild.Guild.set_discovery_splash:5 +#: interactions.api.models.guild.Guild.set_explicit_content_filter:5 +#: interactions.api.models.guild.Guild.set_icon:5 +#: interactions.api.models.guild.Guild.set_name:5 +#: interactions.api.models.guild.Guild.set_preferred_locale:5 +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:5 +#: interactions.api.models.guild.Guild.set_public_updates_channel:5 +#: interactions.api.models.guild.Guild.set_rules_channel:5 +#: interactions.api.models.guild.Guild.set_splash:5 +#: interactions.api.models.guild.Guild.set_system_channel:5 +#: interactions.api.models.guild.Guild.set_verification_level:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:1 of +msgid "Sets the verification level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:3 of +msgid "The new verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:1 of +msgid "Sets the default message notifications level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:3 of +msgid "The new default message notification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:1 of +msgid "Sets the explicit content filter level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:3 of +msgid "The new explicit content filter level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:1 of +msgid "Sets the afk channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:1 of +msgid "Sets the afk timeout of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:3 of +msgid "The new afk timeout of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:1 of +msgid "Sets the system channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:3 of +msgid "The new system channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:1 of +msgid "Sets the rules channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:3 of +msgid "The new rules channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:1 of +msgid "Sets the public updates channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:3 of +msgid "The new public updates channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:1 of +msgid "Sets the preferred locale of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:3 of +msgid "The new preferredlocale of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:1 of +msgid "Sets the description of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:3 of +msgid "The new description of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:1 of +msgid "Sets the visibility of the premium progress bar of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:3 of +msgid "Whether the bar is enabled or not" +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:1 of +msgid "Sets the icon of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:3 of +msgid "The new icon of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:1 of +msgid "Sets the splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:3 of +msgid "The new splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:1 of +msgid "Sets the discovery_splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:3 of +msgid "The new discovery_splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:1 of +msgid "Sets the banner of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:3 of +msgid "The new banner of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:1 of +msgid "creates a scheduled event for the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:3 +#: interactions.api.models.guild.Guild.modify_scheduled_event:5 of +msgid "The name of the event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:5 +#: interactions.api.models.guild.Guild.modify_scheduled_event:7 of +msgid "The entity type of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:7 +#: interactions.api.models.guild.Guild.modify_scheduled_event:9 of +msgid "The time to schedule the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:9 +#: interactions.api.models.guild.Guild.modify_scheduled_event:11 of +msgid "The time when the scheduled event is scheduled to end" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:11 +#: interactions.api.models.guild.Guild.modify_scheduled_event:13 of +msgid "The entity metadata of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:13 +#: interactions.api.models.guild.Guild.modify_scheduled_event:15 of +msgid "The channel id of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:15 +#: interactions.api.models.guild.Guild.modify_scheduled_event:17 of +msgid "The description of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:17 +#: interactions.api.models.guild.Guild.modify_scheduled_event:21 of +msgid "The cover image of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:19 of +msgid "The created event" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:1 of +msgid "Edits a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:3 of +msgid "The id of the event to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:23 of +msgid "The modified event" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:1 of +msgid "Deletes a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:3 of +msgid "The id of the event to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:1 of +msgid "Gets all channels of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:3 of +msgid "The channels of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:1 of +msgid "Gets all roles of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:3 of +msgid "The roles of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:1 of +msgid "Gets a role of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:3 of +msgid "The id of the role to get" +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:5 of +msgid "The role as object" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:3 of +msgid "The id of the role to modify the position of" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:9 +#: interactions.api.models.guild.Guild.modify_role_positions:7 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:1 of +msgid "Modifies the positions of multiple roles in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:3 of +msgid "A list of dicts containing roles (id) and their new positions (position)" +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:3 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:5 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:7 of +msgid "Consider only users after the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:3 +#: interactions.api.models.guild.Guild.get_bans:9 of +msgid "List of banned users with reasons" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:1 of +msgid "Gets all bans of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:1 of +msgid "Gets an emoji of the guild and returns it." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:3 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:5 of +msgid "The specified Emoji, if found" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:1 of +msgid "Gets all emojis of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:3 of +msgid "All emojis of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:1 of +msgid "Creates an Emoji in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:3 of +msgid "The image of the emoji." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:5 of +msgid "The name of the emoji. If not specified, the filename will be used" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:7 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:9 of +msgid "The reason of the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:1 of +msgid "Deletes an emoji of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:3 of +msgid "The emoji or the id of the emoji to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:1 of +msgid "Lists the members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:3 of +msgid "How many members to get from the API. Max is 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:5 of +msgid "Get only Members after this member." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:7 of +msgid "A list of members" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:1 of +msgid "" +"Search the guild for members whose username or nickname starts with " +"provided string." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:3 of +msgid "The string to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:5 of +msgid "The number of members to return." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:7 of +msgid "A list of matching members" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:1 of +msgid "Gets all members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:3 of +msgid "Calling this method can lead to rate-limits in larger guilds." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:5 of +msgid "Returns a list of all members of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.icon_url:1 of +msgid "" +"Returns the URL of the guild's icon. :return: URL of the guild's icon " +"(None will be returned if no icon is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.banner_url:1 of +msgid "" +"Returns the URL of the guild's banner. :return: URL of the guild's banner" +" (None will be returned if no banner is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.splash_url:1 of +msgid "" +"Returns the URL of the guild's invite splash banner. :return: URL of the " +"guild's invite splash banner (None will be returned if no banner is set) " +":rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.discovery_splash_url:1 of +msgid "" +"Returns the URL of the guild's discovery splash banner. :return: URL of " +"the guild's discovery splash banner (None will be returned if no banner " +"is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.GuildPreview:1 of +msgid "A class object representing the preview of a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:1 of +msgid "The invite object." +msgstr "" + +#: interactions.api.models.guild.Invite:3 of +msgid "The amount of uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:4 of +msgid "The amount of maximum uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:5 of +msgid "The maximum age of this invite, in seconds." +msgstr "" + +#: interactions.api.models.guild.Invite:6 of +msgid "A detection of whether this invite only grants temporary membership." +msgstr "" + +#: interactions.api.models.guild.Invite:7 of +msgid "The time when this invite was created." +msgstr "" + +#: interactions.api.models.guild.Invite:8 of +msgid "The time when this invite will expire." +msgstr "" + +#: interactions.api.models.guild.Invite:9 of +msgid "The type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:10 of +msgid "The user who created this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:11 of +msgid "The code of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:12 of +msgid "The guild ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:13 of +msgid "The channel ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:14 of +msgid "The type of the target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:15 of +msgid "The target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:16 of +msgid "The target type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:17 of +msgid "The guild of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:18 of +msgid "The channel of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:19 of +msgid "The approximate amount of total members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:20 of +msgid "The aprpoximate amount of online members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:21 of +msgid "A scheduled guild event object included in the invite." +msgstr "" + +#: interactions.api.models.guild.Invite.delete:1 of +msgid "Deletes the invite" msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.gw.po b/docs/locale/de/LC_MESSAGES/api.models.gw.po new file mode 100644 index 000000000..ffa9c1972 --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/api.models.gw.po @@ -0,0 +1,678 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.gw.rst:4 +msgid "Gateway-specific Event Models" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:1 of +msgid "" +"A class object representing the gateway event " +"``APPLICATION_COMMAND_PERMISSIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:3 of +msgid "" +"This is undocumented by the Discord API, so these attribute docs may or " +"may not be finalised." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions +#: interactions.api.models.gw.ChannelPins +#: interactions.api.models.gw.EmbeddedActivity +#: interactions.api.models.gw.GuildBan interactions.api.models.gw.GuildEmojis +#: interactions.api.models.gw.GuildIntegrations +#: interactions.api.models.gw.GuildJoinRequest +#: interactions.api.models.gw.GuildMember +#: interactions.api.models.gw.GuildMembers interactions.api.models.gw.GuildRole +#: interactions.api.models.gw.GuildScheduledEvent +#: interactions.api.models.gw.GuildScheduledEventUser +#: interactions.api.models.gw.GuildStickers +#: interactions.api.models.gw.Integration +#: interactions.api.models.gw.MessageReaction +#: interactions.api.models.gw.Presence +#: interactions.api.models.gw.ReactionRemove +#: interactions.api.models.gw.ThreadList +#: interactions.api.models.gw.ThreadMembers interactions.api.models.gw.Webhooks +#: of +msgid "Variables" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:5 of +msgid "The application ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:6 of +msgid "The guild ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:7 of +msgid "The ID of the command associated with the event. (?)" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:8 of +msgid "The updated permissions of the associated command/event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:1 of +msgid "A class object representing the event ``EMBEDDED_ACTIVITY_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:4 +#: interactions.api.models.gw.GuildJoinRequest:4 of +msgid "This is entirely undocumented by the API." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:6 of +msgid "The list of users of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:3 +#: interactions.api.models.gw.EmbeddedActivity:7 +#: interactions.api.models.gw.GuildBan:3 +#: interactions.api.models.gw.GuildEmojis:3 +#: interactions.api.models.gw.GuildIntegrations:3 +#: interactions.api.models.gw.GuildJoinRequest:7 +#: interactions.api.models.gw.GuildMember:3 +#: interactions.api.models.gw.GuildMembers:3 +#: interactions.api.models.gw.GuildRole:3 +#: interactions.api.models.gw.GuildStickers:3 +#: interactions.api.models.gw.Integration:23 +#: interactions.api.models.gw.MessageReaction:6 +#: interactions.api.models.gw.Presence:4 +#: interactions.api.models.gw.ReactionRemove:10 +#: interactions.api.models.gw.ThreadList:3 +#: interactions.api.models.gw.ThreadMembers:4 of +msgid "The guild ID of the event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:8 of +msgid "The embedded presence activity of the associated event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:4 +#: interactions.api.models.gw.EmbeddedActivity:9 +#: interactions.api.models.gw.MessageReaction:4 +#: interactions.api.models.gw.ReactionRemove:8 of +msgid "The channel ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:1 of +msgid "" +"A class object representing the gateway events ``INTEGRATION_CREATE``, " +"``INTEGRATION_UPDATE`` and ``INTEGRATION_DELETE``." +msgstr "" + +#: interactions.api.models.gw.Integration:4 of +msgid "" +"The documentation of this event is the same as " +":class:`interactions.api.models.guild.Guild`. The only key missing " +"attribute is ``guild_id``. Likewise, the documentation below reflects " +"this." +msgstr "" + +#: interactions.api.models.gw.Integration:8 +#: interactions.api.models.gw.ThreadMembers:3 of +msgid "The ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:9 of +msgid "The name of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:10 of +msgid "The type of integration in the event." +msgstr "" + +#: interactions.api.models.gw.Integration:11 of +msgid "Whether the integration of the event is enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:12 of +msgid "Whether the integration of the event is syncing or not." +msgstr "" + +#: interactions.api.models.gw.Integration:13 of +msgid "" +"The role ID that the integration in the event uses for \"subscribed\" " +"users." +msgstr "" + +#: interactions.api.models.gw.Integration:14 of +msgid "Whether emoticons of the integration's event should be enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:15 of +msgid "The expiration behavior of the integration of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:16 of +msgid "" +"The \"grace period\" of the integration of the event when expired -- how " +"long it can still be used." +msgstr "" + +#: interactions.api.models.gw.GuildBan:4 +#: interactions.api.models.gw.GuildMember:5 +#: interactions.api.models.gw.Integration:17 +#: interactions.api.models.gw.Presence:3 of +msgid "The user of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:18 of +msgid "The account of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:19 of +msgid "The time that the integration of the event was last synced." +msgstr "" + +#: interactions.api.models.gw.Integration:20 of +msgid "The current subscriber count of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:21 of +msgid "Whether the integration of the event was revoked for use or not." +msgstr "" + +#: interactions.api.models.gw.Integration:22 of +msgid "The application used for the integration of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:1 of +msgid "A class object representing the gateway event ``CHANNEL_PINS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:5 of +msgid "The time that the event took place." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:1 of +msgid "A class object representing the gateway event ``THREAD_MEMBERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:5 of +msgid "The member count of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:6 of +msgid "The added members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:7 of +msgid "The removed IDs of members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:1 of +msgid "A class object representing the gateway event ``THREAD_LIST_SYNC``." +msgstr "" + +#: interactions.api.models.gw.ThreadList:4 of +msgid "The channel IDs of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:5 of +msgid "The threads of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:6 of +msgid "The members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:1 of +msgid "" +"A class object representing the gateway events " +"``MESSAGE_REACTION_REMOVE``, ``MESSAGE_REACTION_REMOVE_ALL`` and " +"``MESSAGE_REACTION_REMOVE_EMOJI``." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:4 of +msgid "" +"This class inherits the already existing attributes of " +":class:`interactions.api.models.gw.Reaction`. The main missing attribute " +"is ``member``." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:6 +#: interactions.api.models.gw.MessageReaction:3 +#: interactions.api.models.gw.ReactionRemove:7 of +msgid "The user ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:5 +#: interactions.api.models.gw.ReactionRemove:9 of +msgid "The message ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:8 +#: interactions.api.models.gw.ReactionRemove:11 of +msgid "The emoji of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:1 of +msgid "A class object representing the gateway event ``MESSAGE_REACTION_ADD``." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:7 of +msgid "The member of the event." +msgstr "" + +#: interactions.api.models.gw.GuildIntegrations:1 of +msgid "" +"A class object representing the gateway event " +"``GUILD_INTEGRATIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildBan:1 of +msgid "A class object representing the gateway event ``GUILD_BAN_ADD``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:1 of +msgid "A class object representing the gateway event ``WEBHOOKS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:3 of +msgid "The channel ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.Webhooks:4 of +msgid "The guild ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:1 of +msgid "A class object representing the gateway event ``GUILD_MEMBERS_CHUNK``." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:4 of +msgid "The members of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:5 of +msgid "The current chunk index of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:6 of +msgid "The total chunk count of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:7 of +msgid "A list of not found members in the event if an invalid request was made." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:8 of +msgid "A list of presences in the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:9 of +msgid "The \"nonce\" of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:1 of +msgid "" +"A class object representing the gateway events ``GUILD_MEMBER_ADD``, " +"``GUILD_MEMBER_UPDATE`` and ``GUILD_MEMBER_REMOVE``." +msgstr "" + +#: interactions.api.models.gw.GuildMember:4 of +msgid "The roles of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:6 of +msgid "The nickname of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:7 of +msgid "The avatar URL of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:8 of +msgid "The time that the user of the event joined at." +msgstr "" + +#: interactions.api.models.gw.GuildMember:9 of +msgid "The time that the user of the event has since had \"premium.\"" +msgstr "" + +#: interactions.api.models.gw.GuildMember:10 of +msgid "Whether the member of the event is deafened or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:11 of +msgid "Whether the member of the event is muted or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:12 of +msgid "" +"Whether the member of the event is still pending -- pass membership " +"screening -- or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role +#: interactions.api.models.gw.GuildMember.add_to_thread +#: interactions.api.models.gw.GuildMember.ban +#: interactions.api.models.gw.GuildMember.kick +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.remove_role +#: interactions.api.models.gw.GuildMember.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:3 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:3 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:5 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:5 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:3 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:5 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:7 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:9 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:11 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:13 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:15 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:17 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.gw.GuildStickers:1 of +msgid "A class object representing the gateway event ``GUILD_STICKERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildStickers:4 of +msgid "The stickers of the event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_SCHEDULED_EVENT_USER_ADD`` and " +"``GUILD_SCHEDULED_EVENT_USER_REMOVE``" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:3 of +msgid "The ID of the guild scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:4 of +msgid "The ID of the guild associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:5 of +msgid "The ID of the user associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:1 of +msgid "" +"A class object representing gateway events " +"``GUILD_SCHEDULED_EVENT_CREATE``, ``GUILD_SCHEDULED_EVENT_UPDATE``, " +"``GUILD_SCHEDULED_EVENT_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.gw.Presence:1 of +msgid "A class object representing the gateway event ``PRESENCE_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Presence:5 of +msgid "The status of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:6 of +msgid "The activities of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:7 of +msgid "The client status across platforms in the event." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_JOIN_REQUEST_CREATE``, ``GUILD_JOIN_REQUEST_UPDATE``, and " +"``GUILD_JOIN_REQUEST_DELETE``" +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:1 of +msgid "A class object representing the gateway event ``GUILD_EMOJIS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:4 of +msgid "The emojis of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:1 of +msgid "" +"A class object representing the gateway events ``GUILD_ROLE_CREATE``, " +"``GUILD_ROLE_UPDATE`` and ``GUILD_ROLE_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildRole:4 of +msgid "The role of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:5 of +msgid "The role ID of the event." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.intents.mo b/docs/locale/de/LC_MESSAGES/api.models.intents.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.intents.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.intents.po b/docs/locale/de/LC_MESSAGES/api.models.intents.po deleted file mode 100644 index 0c9461d6f..000000000 --- a/docs/locale/de/LC_MESSAGES/api.models.intents.po +++ /dev/null @@ -1,36 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.intents.rst:4 -msgid "Intents Models" -msgstr "" - -#: interactions.api.models.intents.Intents:1 of -msgid "" -"A class objct representing the bitshift flags respective for each intents" -" type." -msgstr "" - -#: interactions.api.models.intents.Intents:4 of -msgid "" -"Equivalent of `Gateway Intents " -"`_ in" -" the Discord API." -msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.member.mo b/docs/locale/de/LC_MESSAGES/api.models.member.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.member.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.member.po b/docs/locale/de/LC_MESSAGES/api.models.member.po index 8c045b1b5..d616587fa 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.member.po +++ b/docs/locale/de/LC_MESSAGES/api.models.member.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,20 +23,10 @@ msgid "Member Models" msgstr "" #: interactions.api.models.member.Member:1 of -msgid "A class object representing the member of a guild." +msgid "A class object representing the user of a guild, known as a \"member.\"" msgstr "" #: interactions.api.models.member.Member:4 of -msgid "Also known as the guild member class object. (or partial)" -msgstr "" - -#: interactions.api.models.member.Member:6 of -msgid "" -"The methodology, instead of regular d.py conventions is to do member.user" -" to get the pure User object, instead of d.py's option of merging." -msgstr "" - -#: interactions.api.models.member.Member:10 of msgid "" "``pending`` and ``permissions`` only apply for members retroactively " "requiring to verify rules via. membership screening or lack permissions " @@ -47,38 +37,246 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.member.Member:14 of +#: interactions.api.models.member.Member:8 of msgid "The user of the guild." msgstr "" -#: interactions.api.models.member.Member:15 of +#: interactions.api.models.member.Member:9 of msgid "The nickname of the member." msgstr "" -#: interactions.api.models.member.Member:16 of +#: interactions.api.models.member.Member:10 of +msgid "The hash containing the user's guild avatar, if applicable." +msgstr "" + +#: interactions.api.models.member.Member:11 of msgid "The list of roles of the member." msgstr "" -#: interactions.api.models.member.Member:17 of +#: interactions.api.models.member.Member:12 of msgid "The timestamp the member joined the guild at." msgstr "" -#: interactions.api.models.member.Member:18 of +#: interactions.api.models.member.Member:13 of msgid "The timestamp the member has been a server booster since." msgstr "" -#: interactions.api.models.member.Member:19 of +#: interactions.api.models.member.Member:14 of msgid "Whether the member is deafened." msgstr "" -#: interactions.api.models.member.Member:20 of +#: interactions.api.models.member.Member:15 of msgid "Whether the member is muted." msgstr "" -#: interactions.api.models.member.Member:21 of +#: interactions.api.models.member.Member:16 of msgid "Whether the member is pending to pass membership screening." msgstr "" -#: interactions.api.models.member.Member:22 of +#: interactions.api.models.member.Member:17 of msgid "Whether the member has permissions." msgstr "" + +#: interactions.api.models.member.Member:18 of +msgid "How long until they're unmuted, if any." +msgstr "" + +#: interactions.api.models.member.Member.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.member.Member.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.member.Member.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.member.Member.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.member.Member.name:1 of +msgid "Returns the string of either the user's nickname or username." +msgstr "" + +#: interactions.api.models.member.Member.name:3 of +msgid "The name of the member" +msgstr "" + +#: interactions.api.models.member.Member.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.add_role +#: interactions.api.models.member.Member.add_to_thread +#: interactions.api.models.member.Member.ban +#: interactions.api.models.member.Member.kick +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.remove_role +#: interactions.api.models.member.Member.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.member.Member.ban:3 of +msgid "The id of the guild to ban the member from" +msgstr "" + +#: interactions.api.models.member.Member.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.member.Member.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.member.Member.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.kick:3 of +msgid "The id of the guild to kick the member from" +msgstr "" + +#: interactions.api.models.member.Member.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.member.Member.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.member.Member.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.add_role:5 of +msgid "The id of the guild to add the roles to the member" +msgstr "" + +#: interactions.api.models.member.Member.add_role:7 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.member.Member.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:5 of +msgid "The id of the guild to remove the roles of the member" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.member.Member.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.member.Member.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.member.Member.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.member.Member.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.member.Member.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.member.Member.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.member.Member.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.member.Member.modify:3 of +msgid "The id of the guild to modify the member on" +msgstr "" + +#: interactions.api.models.member.Member.modify:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.member.Member.modify:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.member.Member.modify:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.member.Member.modify:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.member.Member.modify:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.member.Member.modify:19 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.member.Member.get_avatar_url:1 of +msgid "" +"Returns the URL of the member's avatar for the specified guild. :param " +"guild_id: The id of the guild to get the member's avatar from :type " +"guild_id: int :return: URL of the members's avatar (None will be returned" +" if no avatar is set) :rtype: str" +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.message.mo b/docs/locale/de/LC_MESSAGES/api.models.message.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.message.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.message.po b/docs/locale/de/LC_MESSAGES/api.models.message.po index a831f2985..1f8521cd0 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.message.po +++ b/docs/locale/de/LC_MESSAGES/api.models.message.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,33 +26,36 @@ msgstr "" msgid "An enumerable object representing the types of messages." msgstr "" -#: interactions.api.models.message.MessageType:3 of -msgid ".. note::" -msgstr "" - -#: interactions.api.models.message.MessageType:4 of -msgid "" -"While all of them are listed, not all of them would be used at this lib's" -" scope." -msgstr "" - #: interactions.api.models.message.MessageActivity:1 of msgid "A class object representing the activity state of a message." msgstr "" #: interactions.api.models.message.MessageActivity:4 of -msgid "``party_id`` is ambigious -- Discord poorly documented this. :)" +msgid "``party_id`` is ambiguous -- Discord poorly documented this. :)" msgstr "" #: interactions.api.models.message.MessageActivity:6 of msgid "" -"We assume it's for game rich presence invites? i.e. : Phasmophobia, Call " -"of Duty" +"We assume it's for game rich presence invites? i.e. : Phasmophobia and " +"Call of Duty." msgstr "" #: interactions.api.models.message.Attachment +#: interactions.api.models.message.ChannelMention +#: interactions.api.models.message.Embed +#: interactions.api.models.message.EmbedAuthor +#: interactions.api.models.message.EmbedField +#: interactions.api.models.message.EmbedFooter +#: interactions.api.models.message.EmbedImageStruct +#: interactions.api.models.message.EmbedProvider +#: interactions.api.models.message.Emoji +#: interactions.api.models.message.Message #: interactions.api.models.message.MessageActivity -#: interactions.api.models.message.MessageReference of +#: interactions.api.models.message.MessageInteraction +#: interactions.api.models.message.MessageReference +#: interactions.api.models.message.PartialSticker +#: interactions.api.models.message.ReactionObject +#: interactions.api.models.message.Sticker of msgid "Variables" msgstr "" @@ -70,8 +73,8 @@ msgstr "" #: interactions.api.models.message.MessageReference:4 of msgid "" -"All of the class instances are optionals because a message can entirely " -"never be referenced." +"All of the attributes in this class are optionals because a message can " +"potentially never be referenced." msgstr "" #: interactions.api.models.message.MessageReference:7 of @@ -97,60 +100,919 @@ msgstr "" #: interactions.api.models.message.Attachment:4 of msgid "" "``height`` and ``width`` have values based off of ``content_type``, which" -" requires it to be a media file with viewabiltiy as a photo, animated " +" requires it to be a media file with viewabiltity as a photo, animated " "photo, GIF and/or video." msgstr "" #: interactions.api.models.message.Attachment:8 of +msgid "" +"If `ephemeral` is given, the attachments will automatically be removed " +"after a set period of time. In the case of regular messages, they're " +"available as long as the message associated with the attachment exists." +msgstr "" + +#: interactions.api.models.message.Attachment:11 of msgid "The ID of the attachment." msgstr "" -#: interactions.api.models.message.Attachment:9 of +#: interactions.api.models.message.Attachment:12 of msgid "The name of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:10 of +#: interactions.api.models.message.Attachment:13 of +msgid "The description of the file." +msgstr "" + +#: interactions.api.models.message.Attachment:14 of msgid "The type of attachment file." msgstr "" -#: interactions.api.models.message.Attachment:11 of +#: interactions.api.models.message.Attachment:15 of msgid "The size of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:12 of +#: interactions.api.models.message.Attachment:16 of msgid "The CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:13 of +#: interactions.api.models.message.Attachment:17 of msgid "The proxied/cached CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:14 of +#: interactions.api.models.message.Attachment:18 of msgid "The height of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:15 of +#: interactions.api.models.message.Attachment:19 of msgid "The width of the attachment file." msgstr "" -#: interactions.api.models.message.Message:1 of -msgid "The big Message model." +#: interactions.api.models.message.Attachment:20 of +msgid "Whether the attachment is ephemeral." msgstr "" -#: interactions.api.models.message.Message:3 of +#: interactions.api.models.message.MessageInteraction:1 of +msgid "" +"A class object that resembles the interaction used to generate the " +"associated message." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:4 of +msgid "ID of the interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:5 of +msgid "Type of interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:6 of +msgid "Name of the application command." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:7 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.api.models.message.ChannelMention:1 of +msgid "A class object that resembles the mention of a channel in a guild." +msgstr "" + +#: interactions.api.models.message.ChannelMention:4 of +msgid "The ID of the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:5 of +msgid "The ID of the guild that contains the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:6 of +msgid "The channel type." +msgstr "" + +#: interactions.api.models.message.ChannelMention:7 of +msgid "The name of the channel." +msgstr "" + +#: interactions.api.models.message.Emoji:1 of +msgid "A class objecting representing an emoji." +msgstr "" + +#: interactions.api.models.message.Emoji:3 of +msgid "Emoji id" +msgstr "" + +#: interactions.api.models.message.Emoji:4 of +msgid "Emoji name." +msgstr "" + +#: interactions.api.models.message.Emoji:5 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:6 of +msgid "User that created this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:7 of +msgid "Status denoting of this emoji must be wrapped in colons" +msgstr "" + +#: interactions.api.models.message.Emoji:8 of +msgid "Status denoting if this emoji is managed (by an integration)" +msgstr "" + +#: interactions.api.models.message.Emoji:9 of +msgid "Status denoting if this emoji is animated" +msgstr "" + +#: interactions.api.models.message.Emoji:10 of msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." +"Status denoting if this emoji can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Emoji.get:1 of +msgid "Gets an emoji." +msgstr "" + +#: interactions.api.models.message.Embed.add_field +#: interactions.api.models.message.Embed.insert_field_at +#: interactions.api.models.message.Embed.remove_field +#: interactions.api.models.message.Embed.set_author +#: interactions.api.models.message.Embed.set_field_at +#: interactions.api.models.message.Embed.set_footer +#: interactions.api.models.message.Embed.set_image +#: interactions.api.models.message.Embed.set_thumbnail +#: interactions.api.models.message.Embed.set_video +#: interactions.api.models.message.Emoji.delete +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Message.create_reaction +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.delete +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.remove_all_reactions_of +#: interactions.api.models.message.Message.remove_own_reaction_of +#: interactions.api.models.message.Message.remove_reaction_from +#: interactions.api.models.message.Message.reply of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.message.Emoji.get:3 of +msgid "The id of the guild of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:5 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:7 +#: interactions.api.models.message.Emoji.get_all_of_guild:5 of +msgid "The HTTPClient of your bot. Equals to ``bot._http``" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.message.Emoji.get:9 of +msgid "The Emoji as object" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_channel +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.get_guild +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Return type" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:1 of +msgid "Gets all emoji of a guild." +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:3 of +msgid "The id of the guild to get the emojis of" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:7 of +msgid "The Emoji as list" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:1 of +msgid "Deletes the emoji." +msgstr "" + +#: interactions.api.models.message.Emoji.delete:3 of +msgid "The guild id to delete the emoji from" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.message.Emoji.url:1 of +msgid "Returns the emoji's URL." +msgstr "" + +#: interactions.api.models.message.Emoji.url:3 of +msgid "URL of the emoji" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:1 of +msgid "A class object representing the structure of an image in an embed." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:3 of +msgid "The structure of an embed image:" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:13 of +msgid "Source URL of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:14 of +msgid "Proxied url of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:15 of +msgid "Height of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:16 of +msgid "Width of the object." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:1 of +msgid "A class object representing the provider of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:3 of +msgid "Name of provider" +msgstr "" + +#: interactions.api.models.message.EmbedProvider:4 of +msgid "URL of provider" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:1 of +msgid "A class object representing the author of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:3 of +msgid "The structure of an embed author:" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:11 of +msgid "Name of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:12 of +msgid "URL of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:13 of +msgid "URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:14 of +msgid "Proxied URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:1 of +msgid "A class object representing the footer of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedFooter:3 of +msgid "The structure of an embed footer:" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:11 of +msgid "Footer text" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:12 of +msgid "URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:13 of +msgid "Proxied URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedField:1 of +msgid "A class object representing the field of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedField:3 of +msgid "The structure of an embed field:" +msgstr "" + +#: interactions.api.models.message.EmbedField:13 of +msgid "Name of the field." +msgstr "" + +#: interactions.api.models.message.EmbedField:14 of +msgid "Value of the field" +msgstr "" + +#: interactions.api.models.message.EmbedField:15 of +msgid "A status denoting if the field should be displayed inline." +msgstr "" + +#: interactions.api.models.message.Embed:1 of +msgid "A class object representing an embed." +msgstr "" + +#: interactions.api.models.message.Embed:4 of +msgid "" +"The example provided below is for a very basic implementation of an " +"embed. Embeds are more unique than what is being shown." +msgstr "" + +#: interactions.api.models.message.Embed:8 of +msgid "The structure for an embed:" +msgstr "" + +#: interactions.api.models.message.Embed:17 of +msgid "Title of embed" +msgstr "" + +#: interactions.api.models.message.Embed:18 of +msgid "" +"Embed type, relevant by CDN file connected. This is only important to " +"rendering." +msgstr "" + +#: interactions.api.models.message.Embed:19 of +msgid "Embed description" +msgstr "" + +#: interactions.api.models.message.Embed:20 of +msgid "URL of embed" +msgstr "" + +#: interactions.api.models.message.Embed:21 of +msgid "Timestamp of embed content" +msgstr "" + +#: interactions.api.models.message.Embed:22 of +msgid "Color code of embed" +msgstr "" + +#: interactions.api.models.message.Embed:23 of +msgid "Footer information" +msgstr "" + +#: interactions.api.models.message.Embed:24 of +msgid "Image information" +msgstr "" + +#: interactions.api.models.message.Embed:25 of +msgid "Thumbnail information" +msgstr "" + +#: interactions.api.models.message.Embed:26 of +msgid "Video information" +msgstr "" + +#: interactions.api.models.message.Embed:27 of +msgid "Provider information" +msgstr "" + +#: interactions.api.models.message.Embed:28 of +msgid "Author information" +msgstr "" + +#: interactions.api.models.message.Embed:29 of +msgid "A list of fields denoting field information" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:1 of +msgid "Adds a field to the embed" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:3 +#: interactions.api.models.message.Embed.insert_field_at:5 +#: interactions.api.models.message.Embed.set_field_at:5 of +msgid "The name of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:5 +#: interactions.api.models.message.Embed.insert_field_at:7 +#: interactions.api.models.message.Embed.set_field_at:7 of +msgid "The value of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:7 +#: interactions.api.models.message.Embed.insert_field_at:9 +#: interactions.api.models.message.Embed.set_field_at:9 of +msgid "if the field is in the same line as the previous one" +msgstr "" + +#: interactions.api.models.message.Embed.clear_fields:1 of +msgid "Clears all the fields of the embed" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:1 of +msgid "Inserts a field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:3 +#: interactions.api.models.message.Embed.remove_field:3 +#: interactions.api.models.message.Embed.set_field_at:3 of +msgid "The new field's index" +msgstr "" + +#: interactions.api.models.message.Embed.set_field_at:1 of +msgid "Overwrites the field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_field:1 of +msgid "Remove field at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_author:1 of +msgid "Removes the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:1 of +msgid "Sets the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:3 of +msgid "The name of the author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:5 of +msgid "Url of author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:7 of +msgid "Url of author icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:9 of +msgid "A proxied url of author icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:1 of +msgid "Sets the embed's footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:3 of +msgid "The text of the footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:5 of +msgid "Url of footer icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:7 of +msgid "A proxied url of footer icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:1 of +msgid "Sets the embed's image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:3 of +msgid "Url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:5 of +msgid "A proxied url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:7 of +msgid "The image's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:9 of +msgid "The image's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:1 of +msgid "Sets the embed's video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:3 of +msgid "Url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:5 of +msgid "A proxied url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:7 of +msgid "The video's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:9 of +msgid "The video's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:1 of +msgid "Sets the embed's thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:3 of +msgid "Url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:5 of +msgid "A proxied url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:7 of +msgid "The thumbnail's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:9 of +msgid "The thumbnail's width" msgstr "" #: interactions.api.models.message.PartialSticker:1 of msgid "Partial object for a Sticker." msgstr "" +#: interactions.api.models.message.PartialSticker:3 +#: interactions.api.models.message.Sticker:3 of +msgid "ID of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:4 +#: interactions.api.models.message.Sticker:5 of +msgid "Name of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:5 +#: interactions.api.models.message.Sticker:10 of +msgid "Type of sticker format" +msgstr "" + #: interactions.api.models.message.Sticker:1 of -msgid "The full Sticker object." +msgid "A class object representing a full sticker apart from a partial." msgstr "" -#: interactions.api.models.message.EmbedImageStruct:1 of -msgid "This is the internal structure denoted for thumbnails, images or videos" +#: interactions.api.models.message.Sticker:4 of +msgid "ID of the pack the sticker is from." +msgstr "" + +#: interactions.api.models.message.Sticker:6 of +msgid "Description of the sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:7 of +msgid "Autocomplete/suggestion tags for the sticker (max 200 characters)" +msgstr "" + +#: interactions.api.models.message.Sticker:8 of +msgid "Previously a sticker asset hash, now an empty string." +msgstr "" + +#: interactions.api.models.message.Sticker:9 of +msgid "Type of sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:11 of +msgid "" +"Status denoting if this sticker can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Sticker:12 of +msgid "Guild ID that owns the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:13 of +msgid "The user that uploaded the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:14 of +msgid "The standard sticker's sort order within its pack" +msgstr "" + +#: interactions.api.models.message.ReactionObject:1 of +msgid "The reaction object." +msgstr "" + +#: interactions.api.models.message.ReactionObject:3 of +msgid "The amount of times this emoji has been used to react" +msgstr "" + +#: interactions.api.models.message.ReactionObject:4 of +msgid "A status denoting if the current user reacted using this emoji" +msgstr "" + +#: interactions.api.models.message.ReactionObject:5 of +msgid "Emoji information" +msgstr "" + +#: interactions.api.models.message.Message:1 of +msgid "A class object representing a message." +msgstr "" + +#: interactions.api.models.message.Message:3 of +msgid "ID of the message." +msgstr "" + +#: interactions.api.models.message.Message:4 of +msgid "ID of the channel the message was sent in" +msgstr "" + +#: interactions.api.models.message.Message:5 of +msgid "ID of the guild the message was sent in, if it exists." +msgstr "" + +#: interactions.api.models.message.Message:6 of +msgid "The author of the message." +msgstr "" + +#: interactions.api.models.message.Message:7 of +msgid "The member object associated with the author, if any." +msgstr "" + +#: interactions.api.models.message.Message:8 of +msgid "Message contents." +msgstr "" + +#: interactions.api.models.message.Message:9 of +msgid "Timestamp denoting when the message was sent." +msgstr "" + +#: interactions.api.models.message.Message:10 of +msgid "Timestamp denoting when the message was edited, if any." +msgstr "" + +#: interactions.api.models.message.Message:11 of +msgid "Status dictating if this was a TTS message or not." +msgstr "" + +#: interactions.api.models.message.Message:12 of +msgid "Status dictating of this message mentions everyone" +msgstr "" + +#: interactions.api.models.message.Message:13 of +msgid "Array of user objects with an additional partial member field." +msgstr "" + +#: interactions.api.models.message.Message:14 of +msgid "Array of roles mentioned in this message" +msgstr "" + +#: interactions.api.models.message.Message:15 of +msgid "Channels mentioned in this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:16 of +msgid "An array of attachments" +msgstr "" + +#: interactions.api.models.message.Message:17 of +msgid "An array of embeds" +msgstr "" + +#: interactions.api.models.message.Message:18 of +msgid "Reactions to the message." +msgstr "" + +#: interactions.api.models.message.Message:19 of +msgid "Used for message validation" +msgstr "" + +#: interactions.api.models.message.Message:20 of +msgid "Whether this message is pinned." +msgstr "" + +#: interactions.api.models.message.Message:21 of +msgid "Webhook ID if the message is generated by a webhook." +msgstr "" + +#: interactions.api.models.message.Message:22 of +msgid "Type of message" +msgstr "" + +#: interactions.api.models.message.Message:23 of +msgid "Message activity object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:24 of +msgid "Application object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:25 of +msgid "" +"Data showing the source of a message (crosspost, channel follow, add, " +"pin, or replied message)" +msgstr "" + +#: interactions.api.models.message.Message:26 of +msgid "The allowed mentions of roles attached in the message." +msgstr "" + +#: interactions.api.models.message.Message:27 of +msgid "Message flags" +msgstr "" + +#: interactions.api.models.message.Message:28 of +msgid "Message interaction object, if the message is sent by an interaction." +msgstr "" + +#: interactions.api.models.message.Message:29 of +msgid "" +"The thread that started from this message, if any, with a thread member " +"object embedded." +msgstr "" + +#: interactions.api.models.message.Message:30 of +msgid "Components associated with this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:31 of +msgid "An array of message sticker item objects, if sent with them." +msgstr "" + +#: interactions.api.models.message.Message:32 of +msgid "Array of sticker objects sent with the message if any. Deprecated." +msgstr "" + +#: interactions.api.models.message.Message.get_channel:1 of +msgid "Gets the channel where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.get_guild:1 of +msgid "Gets the guild where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.delete:1 of +msgid "Deletes the message." +msgstr "" + +#: interactions.api.models.message.Message.delete:3 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." +msgstr "" + +#: interactions.api.models.message.Message.edit:1 of +msgid "This method edits a message. Only available for messages sent by the bot." +msgstr "" + +#: interactions.api.models.message.Message.edit:3 +#: interactions.api.models.message.Message.reply:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.message.Message.edit:5 +#: interactions.api.models.message.Message.reply:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.message.Message.edit:7 +#: interactions.api.models.message.Message.reply:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:9 +#: interactions.api.models.message.Message.reply:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:11 +#: interactions.api.models.message.Message.reply:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.message.Message.edit:13 of +msgid "" +"A component, or list of components for the message. If `[]` the " +"components will be removed" +msgstr "" + +#: interactions.api.models.message.Message.edit:15 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.api.models.message.Message.reply:1 of +msgid "Sends a new message replying to the old." +msgstr "" + +#: interactions.api.models.message.Message.reply:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.message.Message.reply:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.message.Message.pin:1 of +msgid "Pins the message to its channel" +msgstr "" + +#: interactions.api.models.message.Message.unpin:1 of +msgid "Unpins the message from its channel" +msgstr "" + +#: interactions.api.models.message.Message.publish:1 of +msgid "" +"Publishes (API calls it crossposts) the message in its channel to any " +"that is followed by." +msgstr "" + +#: interactions.api.models.message.Message.publish:3 of +msgid "message object" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:1 of +msgid "Creates a thread from the message." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:10 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:12 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:1 of +msgid "Adds a reaction to the message." +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:3 +#: interactions.api.models.message.Message.remove_all_reactions_of:3 +#: interactions.api.models.message.Message.remove_own_reaction_of:3 +#: interactions.api.models.message.Message.remove_reaction_from:3 of +msgid "The Emoji as object or formatted as `name:id`" +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions:1 of +msgid "Removes all reactions of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions_of:1 of +msgid "Removes all reactions of one emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_own_reaction_of:1 of +msgid "Removes the own reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:1 of +msgid "Removes another reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:5 of +msgid "The user or user_id to remove the reaction of" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:1 of +msgid "Gets a Message based from its url." +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:3 of +msgid "The full url of the message" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:5 of +msgid "The HTTPClient of your bot. Set ` _client=botvar._http``" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:7 of +msgid "The message the URL points to" +msgstr "" + +#: interactions.api.models.message.Message.url:1 of +msgid "Returns the URL of the message." +msgstr "" + +#: interactions.api.models.message.Message.url:3 of +msgid "The URL of said message" msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.misc.mo b/docs/locale/de/LC_MESSAGES/api.models.misc.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.misc.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.misc.po b/docs/locale/de/LC_MESSAGES/api.models.misc.po index 03b58e8a2..4c66ffbe1 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.misc.po +++ b/docs/locale/de/LC_MESSAGES/api.models.misc.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,6 +22,179 @@ msgstr "" msgid "Miscellanous Models" msgstr "" +#: interactions.api.models.misc.Snowflake:1 of +msgid "The Snowflake object." +msgstr "" + +#: interactions.api.models.misc.Snowflake:3 of +msgid "" +"This snowflake object will have features closely related to the API " +"schema. In turn, compared to regular d.py's treated snowflakes, these " +"will be treated as strings." +msgstr "" + +#: interactions.api.models.misc.Snowflake:8 of +msgid "(Basically, snowflakes will be treated as if they were from d.py 0.16.12)" +msgstr "" + +#: interactions.api.models.misc.Snowflake:11 of +msgid "" +"You can still provide integers to them, to ensure ease of use of " +"transition and/or if discord API for some odd reason will switch to " +"integer." +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:1 of +msgid "" +"This is the 'Increment' portion of the snowflake. This is incremented for" +" every ID generated on that process." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch +#: interactions.api.models.misc.Snowflake.increment +#: interactions.api.models.misc.Snowflake.timestamp of +msgid "Returns" +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:4 of +msgid "An integer denoting the increment." +msgstr "" + +#: interactions.api.models.misc.Snowflake.worker_id:1 of +msgid "" +"This is the Internal Worker ID of the snowflake. :return: An integer " +"denoting the internal worker ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.process_id:1 of +msgid "" +"This is the Internal Process ID of the snowflake. :return: An integer " +"denoting the internal process ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:1 of +msgid "This is the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:3 of +msgid "A float containing the seconds since Discord Epoch." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:1 of +msgid "The Datetime object variation of the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:3 of +msgid "The converted Datetime object from the Epoch. This respects UTC." +msgstr "" + +#: interactions.api.models.misc.Color:1 of +msgid "An object representing Discord branding colors." +msgstr "" + +#: interactions.api.models.misc.Color:4 of +msgid "" +"This object only intends to cover the branding colors and no others. The " +"main reason behind this is due to the current accepted standard of using " +"hex codes or other custom-defined colors." +msgstr "" + +#: interactions.api.models.misc.Color.blurple:1 of +msgid "Returns a hexadecimal value of the blurple color." +msgstr "" + +#: interactions.api.models.misc.Color.green:1 of +msgid "Returns a hexadecimal value of the green color." +msgstr "" + +#: interactions.api.models.misc.Color.yellow:1 of +msgid "Returns a hexadecimal value of the yellow color." +msgstr "" + +#: interactions.api.models.misc.Color.fuchsia:1 of +msgid "Returns a hexadecimal value of the fuchsia color." +msgstr "" + +#: interactions.api.models.misc.Color.red:1 of +msgid "Returns a hexadecimal value of the red color." +msgstr "" + +#: interactions.api.models.misc.Color.white:1 of +msgid "Returns a hexadecimal value of the white color." +msgstr "" + +#: interactions.api.models.misc.Color.black:1 of +msgid "Returns a hexadecimal value of the black color." +msgstr "" + +#: interactions.api.models.misc.ClientStatus:1 of +msgid "An object that symbolizes the status per client device per session." +msgstr "" + +#: interactions.api.models.misc.ClientStatus +#: interactions.api.models.misc.Overwrite of +msgid "Variables" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:3 of +msgid "User's status set for an active desktop application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:4 of +msgid "User's status set for an active mobile application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:5 of +msgid "User's status set for an active web application session" +msgstr "" + +#: interactions.api.models.misc.Image:1 of +msgid "This class object allows you to upload Images to the Discord API." +msgstr "" + +#: interactions.api.models.misc.Image:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'file' parameter." +msgstr "" + +#: interactions.api.models.misc.Image.filename:1 of +msgid "Returns the name of the file." +msgstr "" + +#: interactions.api.models.misc.File:1 of +msgid "A File object to be sent as an attachment along with a message." +msgstr "" + +#: interactions.api.models.misc.File:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'filename' parameter." +msgstr "" + +#: interactions.api.models.misc.File:7 of +msgid "If a description is not given the file's basename is used instead." +msgstr "" + #: interactions.api.models.misc.Overwrite:1 of -msgid "This is used for the PermissionOverride obj" +msgid "This is used for the PermissionOverride object." +msgstr "" + +#: interactions.api.models.misc.Overwrite:3 of +msgid "Role or User ID" +msgstr "" + +#: interactions.api.models.misc.Overwrite:4 of +msgid "Type that corresponds ot the ID; 0 for role and 1 for member." +msgstr "" + +#: interactions.api.models.misc.Overwrite:5 +#: interactions.api.models.misc.Overwrite:6 of +msgid "Permission bit set." +msgstr "" + +#: interactions.api.models.attrs_utils.MISSING:1 of +msgid "" +"A pseudosentinel based from an empty object. This does violate PEP, but, " +"I don't care." msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.mo b/docs/locale/de/LC_MESSAGES/api.models.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.po b/docs/locale/de/LC_MESSAGES/api.models.po index b0046fbcf..764507670 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.po +++ b/docs/locale/de/LC_MESSAGES/api.models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/de/LC_MESSAGES/api.models.presence.mo b/docs/locale/de/LC_MESSAGES/api.models.presence.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.presence.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.presence.po b/docs/locale/de/LC_MESSAGES/api.models.presence.po index 71ec432f3..cd9426f00 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.presence.po +++ b/docs/locale/de/LC_MESSAGES/api.models.presence.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,196 @@ msgstr "" #: ../../api.models.presence.rst:4 msgid "Presence Models" msgstr "" + +#: interactions.api.models.presence.PresenceParty:1 of +msgid "A class object representing the party data of a presence." +msgstr "" + +#: interactions.api.models.presence.ClientPresence +#: interactions.api.models.presence.PresenceActivity +#: interactions.api.models.presence.PresenceAssets +#: interactions.api.models.presence.PresenceButtons +#: interactions.api.models.presence.PresenceParty +#: interactions.api.models.presence.PresenceSecrets +#: interactions.api.models.presence.PresenceTimestamp of +msgid "Variables" +msgstr "" + +#: interactions.api.models.presence.PresenceParty:3 of +msgid "ID of the party." +msgstr "" + +#: interactions.api.models.presence.PresenceParty:4 of +msgid "An array denoting the party's current and max size" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:1 of +msgid "A class object representing the assets of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:3 of +msgid "ID for a large asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:4 of +msgid "Text associated with the large asset" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:5 of +msgid "ID for a small asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:6 of +msgid "Text associated with the small asset" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:1 of +msgid "A class object representing \"secret\" join information of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:3 of +msgid "Join secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:4 of +msgid "Spectate secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:5 of +msgid "Instanced match secret" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:1 of +msgid "A class object representing the timestamp data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:3 of +msgid "Unix time in ms when the activity started" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:4 of +msgid "Unix time in ms when the activity ended" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:1 of +msgid "A class object representing the current activity data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:4 of +msgid "" +"When using this model to instantiate alongside the client, if you provide" +" a type 1 ( or PresenceActivityType.STREAMING ), then the ``url`` " +"attribute is necessary." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:7 of +msgid "The activity name" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:8 of +msgid "The activity type" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:9 of +msgid "stream url (if type is 1)" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:10 of +msgid "Unix timestamp of when the activity was created to the User's session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:11 of +msgid "Unix timestamps for start and/or end of the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:12 of +msgid "Application ID for the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:13 of +msgid "What the player is currently doing" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:14 of +msgid "Current party status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:15 of +msgid "The emoji used for the custom status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:16 of +msgid "Info for the current players' party" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:17 of +msgid "Images for the presence and their associated hover texts" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:18 of +msgid "for RPC join/spectate" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:19 of +msgid "A status denoting if the activity is a game session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:20 of +msgid "activity flags" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:21 of +msgid "Custom buttons shown in the RPC." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:1 of +msgid "" +"This returns the JSON representing the ClientPresence sending via the " +"Gateway." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:4 of +msgid "" +"This is NOT used for standard presence activity reading by other users, " +"i.e. User activity reading. You can use the `_json` attribute instead." +msgstr "" + +#: interactions.api.models.presence.PresenceActivityType:1 of +msgid "A class object representing all supported Discord activity types." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:1 of +msgid "A class object representing the buttons of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:3 of +msgid "Text of the button" +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:4 of +msgid "URL of the button" +msgstr "" + +#: interactions.api.models.presence.ClientPresence:1 of +msgid "" +"An object that symbolizes the presence of the current client's session " +"upon creation." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:3 of +msgid "" +"Unix time in milliseconds of when the client went idle. None if it is not" +" idle." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:4 of +msgid "Array of activity objects." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:5 of +msgid "The client's new status." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:6 of +msgid "Whether the client is afk or not." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.role.mo b/docs/locale/de/LC_MESSAGES/api.models.role.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.role.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.role.po b/docs/locale/de/LC_MESSAGES/api.models.role.po index 22011c993..9a3430734 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.role.po +++ b/docs/locale/de/LC_MESSAGES/api.models.role.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,177 @@ msgstr "" #: ../../api.models.role.rst:4 msgid "Role Models" msgstr "" + +#: interactions.api.models.role.Role:1 of +msgid "A class object representing a role." +msgstr "" + +#: interactions.api.models.role.Role interactions.api.models.role.RoleTags of +msgid "Variables" +msgstr "" + +#: interactions.api.models.role.Role:3 of +msgid "Role ID" +msgstr "" + +#: interactions.api.models.role.Role:4 of +msgid "Role name" +msgstr "" + +#: interactions.api.models.role.Role:5 of +msgid "Role color in integer representation" +msgstr "" + +#: interactions.api.models.role.Role:6 of +msgid "A status denoting if this role is hoisted" +msgstr "" + +#: interactions.api.models.role.Role:7 of +msgid "Role icon hash, if any." +msgstr "" + +#: interactions.api.models.role.Role:8 of +msgid "Role unicode emoji" +msgstr "" + +#: interactions.api.models.role.Role:9 of +msgid "Role position" +msgstr "" + +#: interactions.api.models.role.Role:10 of +msgid "Role permissions as a bit set" +msgstr "" + +#: interactions.api.models.role.Role:11 of +msgid "A status denoting if this role is managed by an integration" +msgstr "" + +#: interactions.api.models.role.Role:12 of +msgid "A status denoting if this role is mentionable" +msgstr "" + +#: interactions.api.models.role.Role:13 of +msgid "The tags this role has" +msgstr "" + +#: interactions.api.models.role.Role.mention:1 of +msgid "Returns a string that allows you to mention the given role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Returns" +msgstr "" + +#: interactions.api.models.role.Role.mention:3 of +msgid "The string of the mentioned role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Return type" +msgstr "" + +#: interactions.api.models.role.Role.delete:1 of +msgid "Deletes the role from the guild." +msgstr "" + +#: interactions.api.models.role.Role.delete +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.role.Role.delete:3 of +msgid "The id of the guild to delete the role from" +msgstr "" + +#: interactions.api.models.role.Role.delete:5 of +msgid "The reason for the deletion" +msgstr "" + +#: interactions.api.models.role.Role.modify:1 of +msgid "Edits the role in a guild." +msgstr "" + +#: interactions.api.models.role.Role.modify:3 of +msgid "The id of the guild to edit the role on" +msgstr "" + +#: interactions.api.models.role.Role.modify:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.role.Role.modify:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.role.Role.modify_position:3 of +msgid "The id of the guild to modify the role position on" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:7 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:9 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.role.RoleTags:1 of +msgid "A class object representing the tags of a role." +msgstr "" + +#: interactions.api.models.role.RoleTags:3 of +msgid "The id of the bot this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:4 of +msgid "The id of the integration this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:5 of +msgid "Whether if this is the guild's premium subscriber role" +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.team.mo b/docs/locale/de/LC_MESSAGES/api.models.team.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.team.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.team.po b/docs/locale/de/LC_MESSAGES/api.models.team.po index 8595a1d03..c058f10df 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.team.po +++ b/docs/locale/de/LC_MESSAGES/api.models.team.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,160 @@ msgstr "" #: ../../api.models.team.rst:4 msgid "Team Models" msgstr "" + +#: interactions.api.models.team.Team:1 of +msgid "A class object representing a team." +msgstr "" + +#: interactions.api.models.team.Application interactions.api.models.team.Team +#: interactions.api.models.team.TeamMember of +msgid "Variables" +msgstr "" + +#: interactions.api.models.team.Team:3 of +msgid "The hash of the team's icon" +msgstr "" + +#: interactions.api.models.team.Team:4 of +msgid "The team's unique ID" +msgstr "" + +#: interactions.api.models.team.Team:5 of +msgid "The members of the team" +msgstr "" + +#: interactions.api.models.team.Team:6 of +msgid "The team name" +msgstr "" + +#: interactions.api.models.team.Team:7 of +msgid "The User ID of the current team owner" +msgstr "" + +#: interactions.api.models.team.TeamMember:1 of +msgid "A class object representing the member of a team." +msgstr "" + +#: interactions.api.models.team.TeamMember:4 of +msgid "" +"The membership state is either a 1 for invited, or 2 for accepted. At the" +" moment, permissions will always be [\"*\"]." +msgstr "" + +#: interactions.api.models.team.TeamMember:7 of +msgid "The user's membership state on the team" +msgstr "" + +#: interactions.api.models.team.TeamMember:8 of +msgid "Team Member permissions" +msgstr "" + +#: interactions.api.models.team.TeamMember:9 of +msgid "ID of the team that they're a member of." +msgstr "" + +#: interactions.api.models.team.TeamMember:10 of +msgid "The user object." +msgstr "" + +#: interactions.api.models.team.Application:1 of +msgid "A class object representing an application." +msgstr "" + +#: interactions.api.models.team.Application:4 of +msgid "``type`` and ``hook`` are currently undocumented in the API." +msgstr "" + +#: interactions.api.models.team.Application:6 of +msgid "Application ID" +msgstr "" + +#: interactions.api.models.team.Application:7 of +msgid "Application Name" +msgstr "" + +#: interactions.api.models.team.Application:8 of +msgid "Icon hash of the application" +msgstr "" + +#: interactions.api.models.team.Application:9 of +msgid "Application Description" +msgstr "" + +#: interactions.api.models.team.Application:10 of +msgid "An array of rpc origin urls, if RPC is used." +msgstr "" + +#: interactions.api.models.team.Application:11 of +msgid "A status denoting if anyone can invite the bot to guilds" +msgstr "" + +#: interactions.api.models.team.Application:12 of +msgid "" +"A status denoting whether full Oauth2 is required for the app's bot to " +"join a guild" +msgstr "" + +#: interactions.api.models.team.Application:13 of +msgid "URL of the app's Terms of Service" +msgstr "" + +#: interactions.api.models.team.Application:14 of +msgid "URL of the app's Privacy Policy" +msgstr "" + +#: interactions.api.models.team.Application:15 of +msgid "User object of the owner" +msgstr "" + +#: interactions.api.models.team.Application:16 of +msgid "Summary of the store page, if this application is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:17 of +msgid "" +"Hex encoded key for verification in interactions and/or the GameSDK's " +"GetTicket" +msgstr "" + +#: interactions.api.models.team.Application:18 of +msgid "A list of team members, if this app belongs to a team." +msgstr "" + +#: interactions.api.models.team.Application:19 of +msgid "Guild ID linked, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:20 of +msgid "Game SKU ID, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:21 of +msgid "" +"URL slug that links to the store page, if this app is a game sold on " +"Discord" +msgstr "" + +#: interactions.api.models.team.Application:22 of +msgid "The app's default rich presence invite cover image" +msgstr "" + +#: interactions.api.models.team.Application:23 of +msgid "The application's public flags" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:1 of +msgid "Returns the URL of the application's icon" +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:3 of +msgid "URL of the application's icon." +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Return type" +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.user.mo b/docs/locale/de/LC_MESSAGES/api.models.user.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.user.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.user.po b/docs/locale/de/LC_MESSAGES/api.models.user.po index 35b554cf4..e9be179ff 100644 --- a/docs/locale/de/LC_MESSAGES/api.models.user.po +++ b/docs/locale/de/LC_MESSAGES/api.models.user.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,111 @@ msgstr "" #: ../../api.models.user.rst:4 msgid "User Models" msgstr "" + +#: interactions.api.models.user.User:1 of +msgid "A class object representing a user." +msgstr "" + +#: interactions.api.models.user.User of +msgid "Variables" +msgstr "" + +#: interactions.api.models.user.User:3 of +msgid "The User ID" +msgstr "" + +#: interactions.api.models.user.User:4 of +msgid "The Username associated (not necessarily unique across the platform)" +msgstr "" + +#: interactions.api.models.user.User:5 of +msgid "The User's 4-digit discord-tag (i.e.: XXXX)" +msgstr "" + +#: interactions.api.models.user.User:6 of +msgid "The user's avatar hash, if any" +msgstr "" + +#: interactions.api.models.user.User:7 of +msgid "A status denoting if the user is a bot" +msgstr "" + +#: interactions.api.models.user.User:8 of +msgid "A status denoting if the user is an Official Discord System user" +msgstr "" + +#: interactions.api.models.user.User:9 of +msgid "A status denoting if the user has 2fa on their account" +msgstr "" + +#: interactions.api.models.user.User:10 of +msgid "The user's banner hash, if any" +msgstr "" + +#: interactions.api.models.user.User:11 of +msgid "The user's banner color as a hex, if any" +msgstr "" + +#: interactions.api.models.user.User:12 of +msgid "The user's banner color as an integer represented of hex color codes" +msgstr "" + +#: interactions.api.models.user.User:13 of +msgid "The user's chosen language option" +msgstr "" + +#: interactions.api.models.user.User:14 of +msgid "Whether the email associated with this account has been verified" +msgstr "" + +#: interactions.api.models.user.User:15 of +msgid "The user's email, if any" +msgstr "" + +#: interactions.api.models.user.User:16 of +msgid "The user's flags" +msgstr "" + +#: interactions.api.models.user.User:17 of +msgid "The type of Nitro subscription the user has" +msgstr "" + +#: interactions.api.models.user.User:18 of +msgid "The user's public flags" +msgstr "" + +#: interactions.api.models.user.User.mention:1 of +msgid "Returns a string that allows you to mention the given user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Returns" +msgstr "" + +#: interactions.api.models.user.User.mention:3 of +msgid "The string of the mentioned user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Return type" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:1 of +msgid "Returns the URL of the user's avatar" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:3 of +msgid "URL of the user's avatar." +msgstr "" + +#: interactions.api.models.user.User.banner_url:1 of +msgid "Returns the URL of the user's banner." +msgstr "" + +#: interactions.api.models.user.User.banner_url:3 of +msgid "URL of the user's banner (None will be returned if no banner is set)" +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.voice.mo b/docs/locale/de/LC_MESSAGES/api.models.voice.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/api.models.voice.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/api.models.voice.po b/docs/locale/de/LC_MESSAGES/api.models.voice.po deleted file mode 100644 index 848f7dde8..000000000 --- a/docs/locale/de/LC_MESSAGES/api.models.voice.po +++ /dev/null @@ -1,23 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.voice.rst:4 -msgid "Voice Models" -msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.models.webhook.po b/docs/locale/de/LC_MESSAGES/api.models.webhook.po new file mode 100644 index 000000000..1df6f27fe --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/api.models.webhook.po @@ -0,0 +1,239 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.webhook.rst:4 +msgid "Webhook Models" +msgstr "" + +#: interactions.api.models.webhook.Webhook:1 of +msgid "A class object representing a Webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook of +msgid "Variables" +msgstr "" + +#: interactions.api.models.webhook.Webhook:3 of +msgid "the id of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:4 of +msgid "the type of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:5 of +msgid "the guild id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:6 of +msgid "the channel id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:7 of +msgid "" +"the user this webhook was created by (not returned when getting a webhook" +" with its token)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:8 of +msgid "the default name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:9 of +msgid "the default user avatar hash of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:10 of +msgid "the secure token of the webhook (returned for Incoming Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:11 of +msgid "the bot/OAuth2 application that created this webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:12 of +msgid "" +"the guild of the channel that this webhook is following (returned for " +"Channel Follower Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:13 of +msgid "" +"the channel that this webhook is following (returned for Channel Follower" +" Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:14 of +msgid "" +"the url used for executing the webhook (returned by the webhooks OAuth2 " +"flow)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:1 of +msgid "Creates a webhook in a channel." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:3 +#: interactions.api.models.webhook.Webhook.get:3 of +msgid "The HTTPClient of the bot, has to be set to `bot._http`." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:5 of +msgid "The ID of the channel to create the webhook in." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:7 of +msgid "The name of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:9 of +msgid "The avatar of the Webhook, if any." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Returns" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:11 of +msgid "The created webhook as object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Return type" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:1 of +msgid "Gets an existing webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:5 of +msgid "The ID of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:7 of +msgid "The token of the webhook, optional" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:9 of +msgid "The Webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:1 of +msgid "Modifies the current webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:3 of +msgid "The new name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:5 of +msgid "" +"The channel id of the webhook. If not provided, the webhook token will be" +" used for authentication" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:7 of +msgid "The new avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:9 of +msgid "The modified webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:1 of +msgid "Executes the webhook. All parameters to this function are optional." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:4 of +msgid "The ``components`` argument requires an application-owned webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:6 of +msgid "the message contents (up to 2000 characters)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:8 of +msgid "override the default username of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:10 of +msgid "override the default avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:12 of +msgid "true if this is a TTS message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:14 of +msgid "embedded ``rich`` content" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:16 of +msgid "allowed mentions for the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:18 of +msgid "the components to include with the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:20 of +msgid "The files to attach to the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:22 of +msgid "" +"Send a message to a specified thread within a webhook's channel. The " +"thread will automatically be unarchived" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:24 of +msgid "The sent message, if present" +msgstr "" + +#: interactions.api.models.webhook.Webhook.delete:1 of +msgid "Deletes the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:1 of +msgid "Returns the URL of the webhook's avatar." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:3 of +msgid "URL of the webhook's avatar" +msgstr "" + +#: interactions.api.models.webhook.WebhookType:1 of +msgid "An enumeration." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/api.po b/docs/locale/de/LC_MESSAGES/api.po index b17ce38d1..cb74082a0 100644 --- a/docs/locale/de/LC_MESSAGES/api.po +++ b/docs/locale/de/LC_MESSAGES/api.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,19 +18,23 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../api.rst:17 +#: ../../api.rst:11 msgid "Client" msgstr "" -#: ../../api.rst:23 ../../api.rst:40 +#: ../../api.rst:17 +msgid "Frameworks/Commands" +msgstr "" + +#: ../../api.rst:24 ../../api.rst:41 msgid "Model/Design" msgstr "" -#: ../../api.rst:33 +#: ../../api.rst:34 msgid "Client Connections" msgstr "" -#: ../../api.rst:48 +#: ../../api.rst:49 msgid "Events" msgstr "" @@ -42,17 +46,10 @@ msgstr "" msgid "This page outlines the API wrapper of discord-interactions." msgstr "" -#: ../../api.rst:10 -msgid "" -"As of the time of this writing, version 4.0 of discord-interactions has " -"not yet been released, which this documentation currently reflects. The " -"documentation written here is subject to change and is not finalized." -msgstr "" - -#: ../../api.rst:15 +#: ../../api.rst:9 msgid "Interactions" msgstr "" -#: ../../api.rst:31 +#: ../../api.rst:32 msgid "Discord API" msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/client.mo b/docs/locale/de/LC_MESSAGES/client.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/client.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/client.po b/docs/locale/de/LC_MESSAGES/client.po index b168d9798..8e2fd324c 100644 --- a/docs/locale/de/LC_MESSAGES/client.po +++ b/docs/locale/de/LC_MESSAGES/client.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,63 +22,575 @@ msgstr "" msgid "Bot Client" msgstr "" -#: interactions.client.Client:1 of +#: interactions.client.bot.Client:1 of msgid "" "A class representing the client connection to Discord's gateway and API " "via. WebSocket and HTTP." msgstr "" -#: interactions.client.Client of +#: interactions.client.bot.Client of msgid "Variables" msgstr "" -#: interactions.client.Client:3 of -msgid "The main overall asynchronous coroutine loop in effect." +#: interactions.client.bot.Client:3 of +msgid "The asynchronous event loop of the client." msgstr "" -#: interactions.client.Client:4 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.client.bot.Client:4 of +msgid "" +"The user-facing HTTP connection to the Web API, as its own separate " +"client." msgstr "" -#: interactions.client.Client:5 of -msgid "The application's intents as :class:`interactions.api.models.Intents`." +#: interactions.client.bot.Client:5 of +msgid "An object-orientation of a websocket server connection to the Gateway." msgstr "" -#: interactions.client.Client:6 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.client.bot.Client:6 of +msgid "The Gateway intents of the application. Defaults to ``Intents.DEFAULT``." msgstr "" -#: interactions.client.Client:7 of -msgid "An instance of :class:`interactions.api.gateway.WebSocket`." +#: interactions.client.bot.Client:7 of +msgid "The list of bucketed shards for the application's connection." msgstr "" -#: interactions.client.Client:8 of -msgid "The application token." +#: interactions.client.bot.Client:8 of +msgid "The RPC-like presence shown on an application once connected." msgstr "" -#: interactions.client.Client.login:1 of -msgid "Makes a login with the Discord API." +#: interactions.client.bot.Client:9 of +msgid "The token of the application used for authentication when connecting." +msgstr "" + +#: interactions.client.bot.Client:10 of +msgid "The \"extensions\" or cog equivalence registered to the main client." +msgstr "" + +#: interactions.client.bot.Client:11 of +msgid "The application representation of the client." +msgstr "" + +#: interactions.client.bot.Client.guilds:1 of +msgid "Returns a list of guilds the bot is in." msgstr "" -#: interactions.client.Client.start:1 of +#: interactions.client.bot.Client.latency:1 of +msgid "Returns the connection latency in milliseconds." +msgstr "" + +#: interactions.client.bot.Client.start:1 of msgid "Starts the client session." msgstr "" -#: interactions.client.Client.event:1 of -msgid "A decorator for listening to dispatched events from the gateway." +#: interactions.client.bot.Client.__register_events:1 of +msgid "Registers all raw gateway events to the known events." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:1 of +msgid "Compares an application command during the synchronization process." msgstr "" -#: interactions.client.Client.event of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.change_presence +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload interactions.client.bot.Client.remove +#: interactions.client.bot.Client.user_command of +msgid "Parameters" +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:3 of +msgid "The application command to compare." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:5 of +msgid "The \"pool\" or list of commands to compare from." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of msgid "Returns" msgstr "" -#: interactions.client.Client.event:4 of -msgid "typing.Callable[..., typing.Any]" +#: interactions.client.bot.Client.__compare_sync:7 of +msgid "Whether the command has changed or not." msgstr "" -#: interactions.client.Client.command:1 of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of +msgid "Return type" +msgstr "" + +#: interactions.client.bot.Client._ready:1 of +msgid "" +"Prepares the client with an internal \"ready\" check to ensure that all " +"conditions have been met in a chronological order:" +msgstr "" + +#: interactions.client.bot.Client._login:1 of +msgid "Makes a login with the Discord API." +msgstr "" + +#: interactions.client.bot.Client.wait_until_ready:1 of +msgid "Helper method that waits until the websocket is ready." +msgstr "" + +#: interactions.client.bot.Client.__sync:1 of +msgid "Synchronizes all commands to the API." +msgstr "" + +#: interactions.client.bot.Client.__sync:4 of +msgid "" +"This is an internal method. Do not call it unless you know what you are " +"doing!" +msgstr "" + +#: interactions.client.bot.Client.event:1 of +msgid "A decorator for listening to events dispatched from the Gateway." +msgstr "" + +#: interactions.client.bot.Client.event:4 of +msgid "The coroutine of the event." +msgstr "" + +#: interactions.client.bot.Client.event:6 of +msgid "" +"The name of the event. If not given, this defaults to the coroutine's " +"name." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:20 +#: interactions.client.bot.Client.command:63 +#: interactions.client.bot.Client.component:27 +#: interactions.client.bot.Client.event:8 +#: interactions.client.bot.Client.message_command:28 +#: interactions.client.bot.Client.modal:24 +#: interactions.client.bot.Client.user_command:28 of +msgid "A callable response." +msgstr "" + +#: interactions.client.bot.Client.change_presence:1 of +msgid "A method that changes the current client's presence on runtime." +msgstr "" + +#: interactions.client.bot.Client.change_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.client.bot.Client.change_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.client.bot.Client.__check_command:1 of +msgid "Checks if a command is valid." +msgstr "" + +#: interactions.client.bot.Client.command:1 of msgid "" "A decorator for registering an application command to the Discord API, as" " well as being able to listen for ``INTERACTION_CREATE`` dispatched " "gateway events." msgstr "" + +#: interactions.client.bot.Client.command:5 of +msgid "The structure of a chat-input command:" +msgstr "" + +#: interactions.client.bot.Client.command:13 of +msgid "" +"You are also able to establish it as a message or user command by simply " +"passing the ``type`` kwarg field into the decorator:" +msgstr "" + +#: interactions.client.bot.Client.command:22 +#: interactions.client.bot.Client.message_command:13 +#: interactions.client.bot.Client.user_command:13 of +msgid "" +"The ``scope`` kwarg field may also be used to designate the command in " +"question applicable to a guild or set of guilds." +msgstr "" + +#: interactions.client.bot.Client.command:25 of +msgid "" +"To properly utilise the ``default_member_permissions`` kwarg, it requires" +" OR'ing the permission values, similar to instantiating the client with " +"Intents. For example:" +msgstr "" + +#: interactions.client.bot.Client.command:34 of +msgid "Another example below for instance is an admin-only command:" +msgstr "" + +#: interactions.client.bot.Client.command:43 of +msgid "" +"If ``default_member_permissions`` is not given, this will default to " +"anyone that is able to use the command." +msgstr "" + +#: interactions.client.bot.Client.command:45 of +msgid "" +"The type of application command. Defaults to " +":meth:`interactions.enums.ApplicationCommandType.CHAT_INPUT` or ``1``." +msgstr "" + +#: interactions.client.bot.Client.command:47 of +msgid "" +"The name of the application command. This *is* required but kept optional" +" to follow kwarg rules." +msgstr "" + +#: interactions.client.bot.Client.command:49 of +msgid "" +"The description of the application command. This should be left blank if " +"you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:51 of +msgid "The \"scope\"/applicable guilds the application command applies to." +msgstr "" + +#: interactions.client.bot.Client.command:53 of +msgid "" +"The \"arguments\"/options of an application command. This should be left " +"blank if you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:55 +#: interactions.client.bot.Client.message_command:22 +#: interactions.client.bot.Client.user_command:22 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.bot.Client.command:57 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.bot.Client.command:59 +#: interactions.client.bot.Client.message_command:24 +#: interactions.client.bot.Client.user_command:24 of +msgid "" +"The permissions bit value of " +"``interactions.api.model.flags.Permissions``. If not given, defaults to " +":meth:`interactions.api.model.flags.Permissions.USE_APPLICATION_COMMANDS`" +" or ``2147483648``" +msgstr "" + +#: interactions.client.bot.Client.command:61 +#: interactions.client.bot.Client.message_command:26 +#: interactions.client.bot.Client.user_command:26 of +msgid "" +"The application permissions if executed in a Direct Message. Defaults to " +"``True``." +msgstr "" + +#: interactions.client.bot.Client.message_command:1 of +msgid "" +"A decorator for registering a message context menu to the Discord API, as" +" well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.message_command:5 of +msgid "The structure of a message context menu:" +msgstr "" + +#: interactions.client.bot.Client.message_command:16 +#: interactions.client.bot.Client.user_command:16 of +msgid "The name of the application command." +msgstr "" + +#: interactions.client.bot.Client.message_command:18 +#: interactions.client.bot.Client.user_command:18 of +msgid "" +"The \"scope\"/applicable guilds the application command applies to. " +"Defaults to ``None``." +msgstr "" + +#: interactions.client.bot.Client.message_command:20 +#: interactions.client.bot.Client.user_command:20 of +msgid "" +"The default permission of accessibility for the application command. " +"Defaults to ``True``." +msgstr "" + +#: interactions.client.bot.Client.user_command:1 of +msgid "" +"A decorator for registering a user context menu to the Discord API, as " +"well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.user_command:5 of +msgid "The structure of a user context menu:" +msgstr "" + +#: interactions.client.bot.Client.component:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving components." +msgstr "" + +#: interactions.client.bot.Client.component:4 of +msgid "The structure for a component callback:" +msgstr "" + +#: interactions.client.bot.Client.component:22 of +msgid "" +"The context of the component callback decorator inherits the same as of " +"the command decorator." +msgstr "" + +#: interactions.client.bot.Client.component:25 of +msgid "The component you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client._find_command:1 of +msgid "" +"Iterates over `commands` and returns an :class:`ApplicationCommand` if it" +" matches the name from `command`" +msgstr "" + +#: interactions.client.bot.Client._find_command:3 of +msgid "The name of the command to match" +msgstr "" + +#: interactions.client.bot.Client._find_command:5 of +msgid "An ApplicationCommand model" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving autocompletion fields." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:4 of +msgid "The structure for an autocomplete callback:" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:16 of +msgid "The command, command ID, or command name with the option." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:18 of +msgid "The name of the option to autocomplete." +msgstr "" + +#: interactions.client.bot.Client.modal:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving modals." +msgstr "" + +#: interactions.client.bot.Client.modal:4 of +msgid "The structure for a modal callback:" +msgstr "" + +#: interactions.client.bot.Client.modal:19 of +msgid "" +"The context of the modal callback decorator inherits the same as of the " +"component decorator." +msgstr "" + +#: interactions.client.bot.Client.modal:22 of +msgid "The modal or custom_id of modal you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client.load:1 of +msgid "" +"\"Loads\" an extension off of the current client by adding a new class " +"which is imported from the library." +msgstr "" + +#: interactions.client.bot.Client.load:4 +#: interactions.client.bot.Client.remove:3 of +msgid "The name of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:6 +#: interactions.client.bot.Client.remove:7 of +msgid "The package of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:8 +#: interactions.client.bot.Client.reload:14 of +msgid "Optional arguments to pass to the extension" +msgstr "" + +#: interactions.client.bot.Client.load:10 +#: interactions.client.bot.Client.reload:16 of +msgid "Optional keyword-only arguments to pass to the extension." +msgstr "" + +#: interactions.client.bot.Client.load:12 of +msgid "The loaded extension." +msgstr "" + +#: interactions.client.bot.Client.remove:1 of +msgid "Removes an extension out of the current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.remove:5 of +msgid "Whether to remove commands before reloading. Defaults to True." +msgstr "" + +#: interactions.client.bot.Client.reload:1 of +msgid "\"Reloads\" an extension off of current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.reload:4 of +msgid "" +"This will remove and re-add application commands, counting towards your " +"daily application command creation limit, as long as you have the " +"``remove_commands`` argument set to ``True``, what it is by default." +msgstr "" + +#: interactions.client.bot.Client.reload:8 of +msgid "The name of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:10 of +msgid "The package of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:12 of +msgid "Whether to remove commands before reloading. Defaults to True" +msgstr "" + +#: interactions.client.bot.Client.reload:18 of +msgid "The reloaded extension." +msgstr "" + +#: interactions.client.bot.Client.modify:1 of +msgid "Modify the bot user account settings." +msgstr "" + +#: interactions.client.bot.Client.modify:3 of +msgid "The new username of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:5 of +msgid "The new avatar of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:7 of +msgid "The modified User object" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:1 of +msgid "" +"This is an internal function that takes any gateway socket event and then" +" returns the data purely based off of what it does in the client " +"instantiation class." +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:5 of +msgid "The data that is returned" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:7 of +msgid "A dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:1 of +msgid "" +"This is an internal function that caches the channel creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:3 of +msgid "The channel object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:5 of +msgid "The channel as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:1 of +msgid "" +"This is an internal function that caches the message creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:3 of +msgid "The message object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:5 of +msgid "The message as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:1 of +msgid "This is an internal function that caches the guild creates on ready." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:3 of +msgid "The guild object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:5 of +msgid "The guild as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Extension:1 of +msgid "" +"A class that allows you to represent \"extensions\" of your code, or " +"essentially cogs that can be ran independent of the root file in an " +"object-oriented structure." +msgstr "" + +#: interactions.client.bot.Extension:5 of +msgid "The structure of an extension:" +msgstr "" + +#: interactions.client.decor.command:1 of +msgid "" +"A wrapper designed to interpret the client-facing API for how a command " +"is to be created and used." +msgstr "" + +#: interactions.client.decor.command:4 of +msgid "A list of command payloads." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/components.mo b/docs/locale/de/LC_MESSAGES/components.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/components.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/components.po b/docs/locale/de/LC_MESSAGES/components.po deleted file mode 100644 index 93031b801..000000000 --- a/docs/locale/de/LC_MESSAGES/components.po +++ /dev/null @@ -1,192 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../components.rst:2 -msgid "How to use components" -msgstr "" - -#: ../../components.rst:5 -msgid "" -"So you've seen the new fancy buttons and want to give them a try, but " -"dont know where to start. No problem!" -msgstr "" - -#: ../../components.rst:7 -msgid "" -"First lets cover the basics. Discord messages can have *components*, such" -" as buttons, dropdowns etc. These components sit in whats called an " -"\"action row\". An action row can hold 5 components at a time. Your " -"message can have 5 action rows, so thats a total of 25 components!" -msgstr "" - -#: ../../components.rst:10 -msgid "Sending some components" -msgstr "" - -#: ../../components.rst:12 -msgid "This will work in both slash commands, and discord.py commands" -msgstr "" - -#: ../../components.rst:14 -msgid "" -"First we need to create some buttons, lets put them in a list for now. " -"We'll use :meth:`create_button() `" -" to create a green button" -msgstr "" - -#: ../../components.rst:28 -msgid "" -"So we have a button, but where do we use it. Let's create an action row " -"with :func:`create_actionrow() ` " -"and put our buttons in it" -msgstr "" - -#: ../../components.rst:35 -msgid "" -"Fantastic, we now have an action row with a green button in it, now lets " -"get it sent in discord" -msgstr "" - -#: ../../components.rst:42 -msgid "And to bring it all together, you could use this:" -msgstr "" - -#: ../../components.rst:54 -msgid "" -"Now if you've followed along, you have a green button in discord! But " -"theres a problem, whenever you click it you see that the ``interaction " -"failed``. Why is that? Well, in Discord, clicking buttons and using slash" -" commands are called ``interactions``, and Discord doesn't know if we've " -"received them or not unless we tell Discord. So how do we do that?" -msgstr "" - -#: ../../components.rst:58 -msgid "Responding to interactions" -msgstr "" - -#: ../../components.rst:60 -msgid "" -"When responding, you have 3 choices in how you handle interactions. You " -"can either wait for them in the command itself, or listen for them in a " -"global event handler (similar to :func:`on_slash_command_error`), or " -"register async function as component callback." -msgstr "" - -#: ../../components.rst:63 -msgid "Wait_for" -msgstr "" - -#: ../../components.rst:65 -msgid "" -"Lets go through the most common method first, responding in the command " -"itself. We simply need to :func:`wait_for` the event, just like you do " -"for reactions. For this we're going to use :func:`wait_for_component() " -"`, and we're going to only wait " -"for events from the action row we just sent. This method will return a " -":class:`ComponentContext ` object" -" that we can use to respond. For this example, we'll just edit the " -"original message (:meth:`edit_origin() " -"`, uses same logic as" -" :func:`edit()`)" -msgstr "" - -#: ../../components.rst:77 -msgid "" -"It's worth being aware that if you handle the event in the command " -"itself, it will not persist reboots. As such when you restart the bot, " -"the interaction will fail" -msgstr "" - -#: ../../components.rst:80 -msgid "Global event handler" -msgstr "" - -#: ../../components.rst:82 -msgid "" -"Next we'll go over the alternative, a global event handler. This works " -"just the same as :func:`on_slash_command_error` or `on_ready`. But note " -"that this code will be triggered on any components interaction." -msgstr "" - -#: ../../components.rst:92 -msgid "Component callbacks" -msgstr "" - -#: ../../components.rst:94 -msgid "" -"There is one more method - making a function that'll be component " -"callback - triggered when components in a specified message or specific " -"``custom_id`` are used. Let's register our callback function via " -"decorator :meth:`component_callback() " -"`, in similar ways " -"to slash commands." -msgstr "" - -#: ../../components.rst:103 -msgid "" -"In this example, :func:`hello` will be triggered when you receive " -"interaction event from a component with a `custom_id` set to `\"hello\"`." -" Just like slash commands, the callback's `custom_id` defaults to the " -"function name. You can also register such callbacks in cogs using " -":func:`cog_component() ` Additionally, component " -"callbacks can be dynamically added, removed or edited - see " -":class:`SlashCommand `" -msgstr "" - -#: ../../components.rst:108 -msgid "But [writer], I dont want to edit the message" -msgstr "" - -#: ../../components.rst:110 -msgid "" -"Well lucky for you, you don't have to. You can either respond silently, " -"with a thinking animation, or send a whole new message. Take a look here:" -" :class:`ComponentContext `" -msgstr "" - -#: ../../components.rst:113 -msgid "How do I know which button was pressed?" -msgstr "" - -#: ../../components.rst:115 -msgid "" -"Each button gets a ``custom_id`` (which is always a string), this is a " -"unique identifier of which button is being pressed. You can specify what " -"the ID is when you define your button, if you don't; a random one will be" -" generated. When handling the event, simply check the custom_id, and " -"handle accordingly." -msgstr "" - -#: ../../components.rst:118 -msgid "What about selects / Dropdowns?" -msgstr "" - -#: ../../components.rst:120 -msgid "" -"Yep we support those too. You use them much the same as buttons. You can " -"only have 1 select per action row, but each select can have up to 25 " -"options in it!" -msgstr "" - -#: ../../components.rst:144 -msgid "" -"Additionally, you can pass ``description`` as a keyword-argument for " -"``create_select_option()`` if you so wish." -msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/context.po b/docs/locale/de/LC_MESSAGES/context.po new file mode 100644 index 000000000..9e1dfbc1e --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/context.po @@ -0,0 +1,320 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../context.rst:4 +msgid "Event Context" +msgstr "" + +#: interactions.client.context._Context:1 of +msgid "" +"The base class of \"context\" for dispatched event data from the gateway." +" The premise of having this class is so that the user-facing API is able " +"to allow developers to easily access information presented from any event" +" in a \"contextualized\" sense." +msgstr "" + +#: interactions.client.context.CommandContext +#: interactions.client.context._Context of +msgid "Variables" +msgstr "" + +#: interactions.client.context._Context:7 of +msgid "The message data model." +msgstr "" + +#: interactions.client.context._Context:8 of +msgid "The member data model." +msgstr "" + +#: interactions.client.context._Context:9 of +msgid "The user data model." +msgstr "" + +#: interactions.client.context._Context:10 of +msgid "The channel data model." +msgstr "" + +#: interactions.client.context._Context:11 of +msgid "The guild data model." +msgstr "" + +#: interactions.client.context._Context.get_channel:1 of +msgid "This gets the channel the context was invoked in." +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Returns" +msgstr "" + +#: interactions.client.context._Context.get_channel:3 of +msgid "The channel as object" +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Return type" +msgstr "" + +#: interactions.client.context._Context.get_guild:1 of +msgid "This gets the guild the context was invoked in." +msgstr "" + +#: interactions.client.context._Context.get_guild:3 of +msgid "The guild as object" +msgstr "" + +#: interactions.client.context.CommandContext.send:1 +#: interactions.client.context.ComponentContext.send:1 +#: interactions.client.context._Context.send:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update +#: interactions.client.context.CommandContext.defer +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.defer +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.popup +#: interactions.client.context._Context.send of +msgid "Parameters" +msgstr "" + +#: interactions.client.context.CommandContext.send:4 +#: interactions.client.context.ComponentContext.send:4 +#: interactions.client.context._Context.send:4 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.client.context.CommandContext.send:6 +#: interactions.client.context.ComponentContext.send:6 +#: interactions.client.context._Context.send:6 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:8 +#: interactions.client.context.ComponentContext.send:8 +#: interactions.client.context._Context.send:8 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:10 +#: interactions.client.context.ComponentContext.send:10 +#: interactions.client.context._Context.send:10 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.client.context.CommandContext.send:12 +#: interactions.client.context.ComponentContext.send:12 +#: interactions.client.context._Context.send:12 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:14 +#: interactions.client.context.ComponentContext.send:14 +#: interactions.client.context._Context.send:14 of +msgid "Whether the response is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:16 +#: interactions.client.context.ComponentContext.send:16 +#: interactions.client.context._Context.send:16 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.client.context.CommandContext.edit:1 +#: interactions.client.context.ComponentContext.edit:1 +#: interactions.client.context._Context.edit:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response. This inherits the arguments of the Context " +"``.send()`` method." +msgstr "" + +#: interactions.client.context.CommandContext.edit:5 +#: interactions.client.context.ComponentContext.edit:5 +#: interactions.client.context._Context.edit:5 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.client.context._Context.popup:1 of +msgid "This \"pops up\" a modal to present information back to the user." +msgstr "" + +#: interactions.client.context._Context.popup:4 of +msgid "The components you wish to show." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:1 of +msgid "" +"Update an object with new attributes. All data will be converted, and any" +" extra attributes will be put in _extras" +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:4 of +msgid "The dictionary to update from" +msgstr "" + +#: interactions.client.context.CommandContext:1 of +msgid "" +"A derivation of :class:`interactions.context.Context` designed " +"specifically for application command data." +msgstr "" + +#: interactions.client.context.CommandContext:5 of +msgid "" +"The ``guild`` attribute of the base context is not accessible for any " +"interaction-related events since the current Discord API schema does not " +"return this as a value, but instead ``guild_id``. You will need to " +"manually fetch for this data for the time being." +msgstr "" + +#: interactions.client.context.CommandContext:11 of +msgid "" +"You can fetch with ``client.get_guild(guild_id)`` which will return a " +"JSON dictionary, which you can then use ``interactions.Guild(**data)`` " +"for an object or continue with a dictionary for your own purposes." +msgstr "" + +#: interactions.client.context.CommandContext:16 of +msgid "the HTTP client" +msgstr "" + +#: interactions.client.context.CommandContext:17 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:18 of +msgid "The application ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:19 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.context.CommandContext:20 of +msgid "The application command data." +msgstr "" + +#: interactions.client.context.CommandContext:21 of +msgid "The target selected if this interaction is invoked as a context menu." +msgstr "" + +#: interactions.client.context.CommandContext:22 of +msgid "The token of the interaction response." +msgstr "" + +#: interactions.client.context.CommandContext:23 of +msgid "The ID of the current guild." +msgstr "" + +#: interactions.client.context.CommandContext:24 of +msgid "The ID of the current channel." +msgstr "" + +#: interactions.client.context.CommandContext:25 of +msgid "Whether an original response was made or not." +msgstr "" + +#: interactions.client.context.CommandContext:26 of +msgid "Whether the response was deferred or not." +msgstr "" + +#: interactions.client.context.CommandContext:27 of +msgid "The selected language of the user invoking the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:28 of +msgid "The guild's preferred language, if invoked in a guild." +msgstr "" + +#: interactions.client.context.CommandContext.defer:1 of +msgid "" +"This \"defers\" an interaction response, allowing up to a 15-minute delay" +" between invocation and responding." +msgstr "" + +#: interactions.client.context.CommandContext.defer:4 +#: interactions.client.context.ComponentContext.defer:4 of +msgid "Whether the deferred state is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.delete:1 of +msgid "" +"This deletes the interaction response of a message sent by the " +"contextually derived information from this class." +msgstr "" + +#: interactions.client.context.CommandContext.delete:5 of +msgid "Doing this will proceed in the context message no longer being present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:1 of +msgid "" +"This \"populates\" the list of choices that the client-end user will be " +"able to select from in the autocomplete field." +msgstr "" + +#: interactions.client.context.CommandContext.populate:5 of +msgid "" +"Only a maximum of ``25`` choices may be presented within an autocomplete " +"option." +msgstr "" + +#: interactions.client.context.CommandContext.populate:8 of +msgid "The choices you wish to present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:10 of +msgid "The list of choices you've given." +msgstr "" + +#: interactions.client.context.ComponentContext:1 of +msgid "" +"A derivation of :class:`interactions.context.CommandContext` designed " +"specifically for component data." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:1 of +msgid "" +"This \"defers\" a component response, allowing up to a 15-minute delay " +"between invocation and responding." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:6 of +msgid "Whether you want to edit the original message or send a followup message" +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/enums.mo b/docs/locale/de/LC_MESSAGES/enums.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/enums.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/enums.po b/docs/locale/de/LC_MESSAGES/enums.po index 1add6393c..33035829d 100644 --- a/docs/locale/de/LC_MESSAGES/enums.po +++ b/docs/locale/de/LC_MESSAGES/enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,87 +22,140 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.enums.ApplicationCommandType:1 of +#: interactions.client.enums.ApplicationCommandType:1 of msgid "An enumerable object representing the types of application commands." msgstr "" -#: interactions.enums.OptionType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a slash" -" command's option(s)." +#: interactions.client.enums.ApplicationCommandType +#: interactions.client.enums.ButtonStyle +#: interactions.client.enums.ComponentType +#: interactions.client.enums.InteractionCallbackType +#: interactions.client.enums.InteractionType +#: interactions.client.enums.OptionType +#: interactions.client.enums.PermissionType +#: interactions.client.enums.TextStyleType of +msgid "Variables" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:3 +#: interactions.client.enums.ButtonStyle:3 +#: interactions.client.enums.ComponentType:3 +#: interactions.client.enums.InteractionCallbackType:3 +#: interactions.client.enums.InteractionType:3 +#: interactions.client.enums.OptionType:3 +#: interactions.client.enums.PermissionType:3 +#: interactions.client.enums.TextStyleType:3 of +msgid "1" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:4 +#: interactions.client.enums.ButtonStyle:4 +#: interactions.client.enums.ComponentType:4 +#: interactions.client.enums.InteractionType:4 +#: interactions.client.enums.OptionType:4 +#: interactions.client.enums.PermissionType:4 +#: interactions.client.enums.TextStyleType:4 of +msgid "2" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:5 +#: interactions.client.enums.ButtonStyle:5 +#: interactions.client.enums.ComponentType:5 +#: interactions.client.enums.InteractionType:5 +#: interactions.client.enums.OptionType:5 +#: interactions.client.enums.PermissionType:5 of +msgid "3" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:6 +#: interactions.client.enums.ButtonStyle:6 +#: interactions.client.enums.ComponentType:6 +#: interactions.client.enums.InteractionCallbackType:4 +#: interactions.client.enums.InteractionType:6 +#: interactions.client.enums.OptionType:6 of +msgid "4" +msgstr "" + +#: interactions.client.enums.InteractionType:1 of +msgid "An enumerable object representing the types of interactions." msgstr "" -#: interactions.enums.OptionType:5 of +#: interactions.client.enums.ButtonStyle:7 +#: interactions.client.enums.InteractionCallbackType:5 +#: interactions.client.enums.InteractionType:7 +#: interactions.client.enums.OptionType:7 of +msgid "5" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:1 of msgid "" -"Equivalent of `ApplicationCommandOptionType " -"`_ in the " -"Discord API." +"An enumerable object representing the callback types of interaction " +"responses." +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:6 +#: interactions.client.enums.OptionType:8 of +msgid "6" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:7 +#: interactions.client.enums.OptionType:9 of +msgid "7" msgstr "" -#: interactions.enums.OptionType.from_type:1 of -msgid "Get a specific enumerable from a type or object." +#: interactions.client.enums.InteractionCallbackType:8 +#: interactions.client.enums.OptionType:10 of +msgid "8" msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Parameters" +#: interactions.client.enums.InteractionCallbackType:9 +#: interactions.client.enums.OptionType:11 of +msgid "9" msgstr "" -#: interactions.enums.OptionType.from_type:3 of -msgid "The type or object to get an enumerable integer for." +#: interactions.client.enums.OptionType:1 of +msgid "" +"An enumerable object representing the types of an application command " +"option." msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Returns" +#: interactions.client.enums.OptionType:12 of +msgid "10" msgstr "" -#: interactions.enums.OptionType.from_type:5 of -msgid "enum.IntEnum." +#: interactions.client.enums.OptionType:13 of +msgid "11" msgstr "" -#: interactions.enums.PermissionType:1 of +#: interactions.client.enums.PermissionType:1 of msgid "" "Enumerable object of literal integers holding equivocal values of a slash" " command's permission(s)." msgstr "" -#: interactions.enums.PermissionType:4 of -msgid "" -"Equivalent of `ApplicationCommandPermissionType " -"`_ in the Discord API." +#: interactions.client.enums.ComponentType:1 of +msgid "An enumerable object representing the types of a component." msgstr "" -#: interactions.enums.PermissionType.from_type:1 of -msgid "" -"Get a specific enumerable from a type or object. :param _type: The type " -"or object to get an enumerable integer for. :type _type: type :return: " -"enum.IntEnum." +#: interactions.client.enums.ButtonStyle:1 of +msgid "An enumerable object representing the styles of button components." msgstr "" -#: interactions.enums.ComponentType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"component(s) type." +#: interactions.client.enums.TextStyleType:1 of +msgid "An enumerable object representing the styles of text inputs." msgstr "" -#: interactions.enums.ComponentType:4 of -msgid "" -"Equivalent of `Component Types " -"`_ in the Discord API." +#: interactions.client.enums.Locale:1 of +msgid "An enumerable object representing Discord locales." msgstr "" -#: interactions.enums.ButtonType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"button(s) type." +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." msgstr "" -#: interactions.enums.ButtonType:4 of +#: enum.Enum._generate_next_value_:3 of msgid "" -"Equivalent of `Button Styles " -"`_ in the Discord API." +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/ext.base.po b/docs/locale/de/LC_MESSAGES/ext.base.po new file mode 100644 index 000000000..b0275dd49 --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/ext.base.po @@ -0,0 +1,150 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.base.rst:4 +msgid "Core Model" +msgstr "" + +#: interactions.ext.base.Base:1 of +msgid "A class representing the base structure of a 3rd party." +msgstr "" + +#: interactions.ext.base.Base of +msgid "Variables" +msgstr "" + +#: interactions.ext.base.Base:3 of +msgid "The version of the library." +msgstr "" + +#: interactions.ext.base.Base:4 of +msgid "The name of the library." +msgstr "" + +#: interactions.ext.base.Base:5 of +msgid "The description of the library." +msgstr "" + +#: interactions.ext.base.Base:6 of +msgid "The long description of the library." +msgstr "" + +#: interactions.ext.base.Base:7 of +msgid "The repository link or the library." +msgstr "" + +#: interactions.ext.base.Base:8 of +msgid "The packages of the library." +msgstr "" + +#: interactions.ext.base.Base:9 of +msgid "The modules in the library required." +msgstr "" + +#: interactions.ext.base.Base:10 of +msgid "The objects running under the service." +msgstr "" + +#: interactions.ext.base.Base._check_service:1 of +msgid "Checks whether the service already exists within the list or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service of +msgid "Parameters" +msgstr "" + +#: interactions.ext.base.Base._check_service:3 of +msgid "The name of the service to check." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Returns" +msgstr "" + +#: interactions.ext.base.Base._check_service:5 of +msgid "Whether the service exists or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Return type" +msgstr "" + +#: interactions.ext.base.Base.add_service:1 of +msgid "" +"Adds a service to the 3rd party for ease of accessibility in calling. The" +" code theory behind this is to simplify the way you handle and manage the" +" calling of other objects, as well as accessing their information." +msgstr "" + +#: interactions.ext.base.Base.add_service:5 of +msgid "The object to add as a service." +msgstr "" + +#: interactions.ext.base.Base.add_service:7 of +msgid "The name of the object to map under." +msgstr "" + +#: interactions.ext.base.Base.add_service:9 of +msgid "The mapped relation between the object and name." +msgstr "" + +#: interactions.ext.base.Base.remove_service:1 of +msgid "" +"Removes a service from the 3rd party in the event that it is no longer " +"needed to be referred to for data." +msgstr "" + +#: interactions.ext.base.Base.remove_service:4 of +msgid "The name of the service to remove." +msgstr "" + +#: interactions.ext.base.Base.remove_service:6 of +msgid "If the service has been removed or not." +msgstr "" + +#: interactions.ext.base.Base.remove_service of +msgid "Raises" +msgstr "" + +#: interactions.ext.base.Base.remove_service:8 of +msgid "An unknown service in the base." +msgstr "" + +#: interactions.ext.base.Base.services:1 of +msgid "" +"Returns a view on all of the services currently stored under the 3rd " +"party." +msgstr "" + +#: interactions.ext.base.Base.services:3 of +msgid "A dictionary of objects sorted by their name." +msgstr "" + +#: interactions.ext.base.build:1 of +msgid "Builds the base 3rd party the same way as ``setup`` from ``setuptools``." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/ext.converter.po b/docs/locale/de/LC_MESSAGES/ext.converter.po new file mode 100644 index 000000000..8f0df6d4b --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/ext.converter.po @@ -0,0 +1,114 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.converter.rst:4 +msgid "Converter Model" +msgstr "" + +#: interactions.ext.converter.Converter:1 of +msgid "" +"A class representing the \"conversion\" or consistent mapping between two" +" objects' attributes." +msgstr "" + +#: interactions.ext.converter.Converter of +msgid "Variables" +msgstr "" + +#: interactions.ext.converter.Converter:4 of +msgid "The first object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter:5 of +msgid "The second object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:1 of +msgid "Maps the attributes between the models for conversion reference." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Returns" +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:3 of +msgid "A dictionary of attributes mapped." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Return type" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:1 of +msgid "Gets a mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr of +msgid "Parameters" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:3 of +msgid "The attribute to get." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:5 of +msgid "The mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:1 of +msgid "Gets a list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:3 of +msgid "The list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.ref:1 of +msgid "Gets the \"referenced\" model, or first." +msgstr "" + +#: interactions.ext.converter.Converter.ref:3 of +msgid "The referenced model." +msgstr "" + +#: interactions.ext.converter.Converter.difference:1 of +msgid "Gets a list of keys and values that the models don't share in common." +msgstr "" + +#: interactions.ext.converter.Converter.difference:3 +#: interactions.ext.converter.Converter.missing:3 of +msgid "A list of dictionaries" +msgstr "" + +#: interactions.ext.converter.Converter.missing:1 of +msgid "" +"Gets a list of keys and values missing from the \"referenced\" or first " +"model." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/ext.error.po b/docs/locale/de/LC_MESSAGES/ext.error.po new file mode 100644 index 000000000..763b1799e --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/ext.error.po @@ -0,0 +1,84 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.error.rst:4 +msgid "Error Exceptions" +msgstr "" + +#: interactions.ext.error.ErrorType:1 of +msgid "An enumerable object representing the type of error responses raised." +msgstr "" + +#: interactions.ext.error.ErrorType of +msgid "Variables" +msgstr "" + +#: interactions.ext.error.ErrorType:3 of +msgid "" +"You cannot have more than one alphanumeric identifier, or identifier with" +" a missing value." +msgstr "" + +#: interactions.ext.error.ErrorType:4 of +msgid "You cannot have a missing numerical value." +msgstr "" + +#: interactions.ext.error.ErrorType:5 of +msgid "" +"A version can only have one main author. The rest of the authors must be " +"co-authors." +msgstr "" + +#: interactions.ext.error.ErrorType:6 of +msgid "The service specified does not exist." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.error.IncorrectAlphanumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"alphanumeric formatting." +msgstr "" + +#: interactions.ext.error.MissingNumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"numerical formatting." +msgstr "" + +#: interactions.ext.error.TooManyAuthors:1 of +msgid "" +"An exception raised whenever a ``VersionAuthor`` object have too many " +"\"main\" authors." +msgstr "" + +#: interactions.ext.error.UnknownService:1 of +msgid "An exception raised whenever a ``Base`` object cannot find a service." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/ext.gettingstarted.po b/docs/locale/de/LC_MESSAGES/ext.gettingstarted.po new file mode 100644 index 000000000..1c21e3eb3 --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/ext.gettingstarted.po @@ -0,0 +1,225 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.gettingstarted.rst:2 +msgid "Getting started." +msgstr "" + +#: ../../ext.gettingstarted.rst:5 +msgid "Developing a 3rd party." +msgstr "" + +#: ../../ext.gettingstarted.rst:7 +msgid "" +"Getting started with making a 3rd party library is pretty hard. Most of " +"the time, you'll find yourself often checking the source code and " +"directly making changes to the library. We want to make a change to that," +" and additionally, make it easier for developers to find creativity in " +"the simplicity of our overengineered product." +msgstr "" + +#: ../../ext.gettingstarted.rst:14 +msgid "" +"If you're not familiar with the source code of the library, you should " +"probably read the documentation first." +msgstr "" + +#: ../../ext.gettingstarted.rst:17 +msgid "" +"Basing your 3rd party libraries off of our ``unstable`` branch is a bad " +"practice as this is regarded as our development branch. Breaking changes " +"may become common, and as a result pose a risk in affecting your 3rd " +"party. For this reason, we recommend you use the latest PyPI release or " +"``stable`` branch." +msgstr "" + +#: ../../ext.gettingstarted.rst:24 +msgid "Installing" +msgstr "" + +#: ../../ext.gettingstarted.rst:26 +msgid "" +"Installing the external framework is a rather trivial process. You do not" +" need to run any special installation on the library, as this comes built" +" into our main core. However, you will need to install the dependencies " +"involved with the library." +msgstr "" + +#: ../../ext.gettingstarted.rst:31 +msgid "" +"If you do not already have this library installed, you can do with this " +"line below:" +msgstr "" + +#: ../../ext.gettingstarted.rst:39 +msgid "Creating the base." +msgstr "" + +#: ../../ext.gettingstarted.rst:41 +msgid "" +"For every official 3rd party library of interactions.py, we have a " +"\"core\" for it, otherwise known as the base. This base is what we use to" +" allow developers to easily setup their project onto PyPI and build, as " +"well as storing additional information that bot developers can read off " +"of for their bots." +msgstr "" + +#: ../../ext.gettingstarted.rst:46 +msgid "This code shows a basic example for creating the base of a 3rd party:" +msgstr "" + +#: ../../ext.gettingstarted.rst:71 +msgid "" +"This configures the base of the library in a rather simple manner: you " +"give the name and description of the 3rd party, as well as its own " +"official version and link for reference. This is all that is required to " +"build the library. The rest of the field that can be filled in are " +"optional. You can look at the :ref:`Base class ` for" +" more information." +msgstr "" + +#: ../../ext.gettingstarted.rst:78 +msgid "Defining a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:80 +msgid "" +"As you may have noticed in the ``Base`` class, we have a ``Version`` " +"class that helps define the version of the 3rd party. This is required to" +" be written in our class for numerous reasons:" +msgstr "" + +#: ../../ext.gettingstarted.rst:83 +msgid "To help enforce consistency in the formatting of 3rd party versions." +msgstr "" + +#: ../../ext.gettingstarted.rst:84 +msgid "To allow for easy version comparison." +msgstr "" + +#: ../../ext.gettingstarted.rst:85 +msgid "Forced semantic versioning." +msgstr "" + +#: ../../ext.gettingstarted.rst:87 +msgid "" +"This class is our most advanced and complicated one due to the abundant " +"nature in emphasising a proper versioning system. We have a few options " +"for versioning, and we have a few rules to follow." +msgstr "" + +#: ../../ext.gettingstarted.rst:90 +msgid "" +"Major, minor and patch versions **must** be declared as either their " +"respective key-word arguments, or under the ``version`` kwarg." +msgstr "" + +#: ../../ext.gettingstarted.rst:91 +msgid "" +"The version should not be author-less. Every library has an author behind" +" a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:92 +msgid "" +"The version should not be a pre-release. Pre-releases are not supported " +"by the official PyPI. To release as alpha or beta, use the " +"``extend_version()`` method." +msgstr "" + +#: ../../ext.gettingstarted.rst:93 +msgid "" +"A version cannot contain more than 1 main author. If you have multiple " +"authors, you should label them as co-authors instead." +msgstr "" + +#: ../../ext.gettingstarted.rst:94 +msgid "An alphanumeric version can only contain one instance of its own." +msgstr "" + +#: ../../ext.gettingstarted.rst:96 +msgid "" +"With these rules out of the way, let's look at a simple implementation of" +" the ``Version`` class alongside its brother, ``VersionAuthor`` for " +"adding authors of a version:" +msgstr "" + +#: ../../ext.gettingstarted.rst:120 +msgid "" +"This code example can also show you the ways of retreiving information " +"from a version. As seen here, this is a highly versatile class. These " +"following are the shown methods and their purposes:" +msgstr "" + +#: ../../ext.gettingstarted.rst:124 +msgid "The ``version`` attribute is the version string." +msgstr "" + +#: ../../ext.gettingstarted.rst:125 +msgid "The ``major`` attribute is the major version number, e.g. \"x.0.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:126 +msgid "The ``minor`` attribute is the minor version number, e.g. \"0.x.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:127 +msgid "The ``patch`` attribute is the patch version number, e.g. \"0.0.x\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:128 +msgid "" +"The ``authors`` property method is a list of authors, regardless of if " +"one is a co-author or not." +msgstr "" + +#: ../../ext.gettingstarted.rst:129 +msgid "" +"The ``is_alphanumeric`` property method is a boolean that indicates if " +"the version is alphanumeric." +msgstr "" + +#: ../../ext.gettingstarted.rst:132 +msgid "Converting models from one to another." +msgstr "" + +#: ../../ext.gettingstarted.rst:134 +msgid "" +"The term \"conversion\" is a gross exaggeration of what we're actually " +"doing here. The problem that we've found with bot developers cross-" +"referencing from different libraries is that their data models are simply" +" different in design and structure. In order to combat against this, we " +"have decided to create a conversion tool that will allow us to convert " +"between models. This tool also allows for better comparison that will " +"save the average developer many lines of code from having to be written. " +"This is a basic example of how we \"convert\" these models:" +msgstr "" + +#: ../../ext.gettingstarted.rst:162 +msgid "What about errors?" +msgstr "" + +#: ../../ext.gettingstarted.rst:164 +msgid "" +"Don't worry---we've got you covered there. Each of our tools will raise " +"special error exceptions that you can listen to. Since this is a pretty " +"self-explanitory subject, we recommend :ref:`reading the documentation " +"` on this." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/ext.po b/docs/locale/de/LC_MESSAGES/ext.po new file mode 100644 index 000000000..ee17491a5 --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/ext.po @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.rst:19 +msgid "Tools:" +msgstr "" + +#: ../../ext.rst:4 +msgid "External Framework" +msgstr "" + +#: ../../ext.rst:6 +msgid "" +"Are you trying to build your own 3rd party library, but you don't want to" +" monkey-patch your own solutions into the current existing library " +"codebase? Are you wanting to avoid having to modify the architecture of " +"the library to specifically suit you or others needs? Well, now we have " +"something to introduce to you: ``interactions.ext``. The officially given" +" software development kit (SDK) tools suite made by developers; for " +"developers." +msgstr "" + +#: ../../ext.rst:13 +msgid "How does the framework... work?" +msgstr "" + +#: ../../ext.rst:15 +msgid "" +"Great question! We're glad you asked. The framework is a set of tools " +"that are designed to make your life easier. There are a few tools that we" +" provide out of the box, but you can also create some of your own. We'll " +"be covering each one of these tools in great detail." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/ext.version.po b/docs/locale/de/LC_MESSAGES/ext.version.po new file mode 100644 index 000000000..7ad8f183b --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/ext.version.po @@ -0,0 +1,182 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.version.rst:4 +msgid "Versioning Models" +msgstr "" + +#: interactions.ext.version.VersionAuthor:1 of +msgid "A class representing the author involved in a version." +msgstr "" + +#: interactions.ext.version.Version interactions.ext.version.VersionAuthor of +msgid "Variables" +msgstr "" + +#: interactions.ext.version.VersionAuthor:3 of +msgid "The hashed representation of the class." +msgstr "" + +#: interactions.ext.version.VersionAuthor:4 of +msgid "Whether this is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:5 of +msgid "Whether the author is active or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:6 of +msgid "The email of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor:7 of +msgid "The name of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor.is_co_author:1 of +msgid "Returns whether the author is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAlphanumericType:1 of +msgid "An enumeration." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.version.Version:1 of +msgid "A class representing how a version is structured for a 3rd party library." +msgstr "" + +#: interactions.ext.version.Version:4 of +msgid "" +"This class respects the design and application of Semantic Versioning " +"2.0.0, (SemVer) a widely accepted standardisation of version control for " +"modules and projects." +msgstr "" + +#: interactions.ext.version.Version:8 of +msgid "The major version." +msgstr "" + +#: interactions.ext.version.Version:9 of +msgid "The minor version." +msgstr "" + +#: interactions.ext.version.Version:10 of +msgid "The patch version." +msgstr "" + +#: interactions.ext.version.Version:11 of +msgid "The authors tied to the version release." +msgstr "" + +#: interactions.ext.version.Version:12 of +msgid "The representation of the version." +msgstr "" + +#: interactions.ext.version.Version:13 of +msgid "The alphanumeric typing of the version." +msgstr "" + +#: interactions.ext.version.Version.major:1 of +msgid "Returns the major version." +msgstr "" + +#: interactions.ext.version.Version.minor:1 of +msgid "Returns the minor version." +msgstr "" + +#: interactions.ext.version.Version.patch:1 of +msgid "Returns the patch version." +msgstr "" + +#: interactions.ext.version.Version.author:1 of +msgid "" +"Returns the author of the version. If multiple authors exist, it will " +"choose the only one that is not a co-author." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Returns" +msgstr "" + +#: interactions.ext.version.Version.author:4 of +msgid "The author of the version, if one exists." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Return type" +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.extend_version of +msgid "Raises" +msgstr "" + +#: interactions.ext.version.Version.author:6 of +msgid "Too many main authors were found." +msgstr "" + +#: interactions.ext.version.Version.authors:1 of +msgid "Returns the list of authors under the version." +msgstr "" + +#: interactions.ext.version.Version.authors:3 of +msgid "The authors of the version, if any exist." +msgstr "" + +#: interactions.ext.version.Version.is_alphanumeric:1 of +msgid "Returns whether the version is alphanumeric or not." +msgstr "" + +#: interactions.ext.version.Version.extend_version:1 of +msgid "Allows the version to be extended upon with an alphanumeric format." +msgstr "" + +#: interactions.ext.version.Version.extend_version of +msgid "Parameters" +msgstr "" + +#: interactions.ext.version.Version.extend_version:3 of +msgid "" +"Key-word arguments to be supplied as ``alpha``, ``beta`` or ``rc`` " +"respectively." +msgstr "" + +#: interactions.ext.version.Version.extend_version:5 of +msgid "The new version with the alphanumeric." +msgstr "" + +#: interactions.ext.version.Version.extend_version:7 of +msgid "The alphanumeric version was incorrectly formatted." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/faq.mo b/docs/locale/de/LC_MESSAGES/faq.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/faq.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/faq.po b/docs/locale/de/LC_MESSAGES/faq.po index aa58e9a37..be61d009d 100644 --- a/docs/locale/de/LC_MESSAGES/faq.po +++ b/docs/locale/de/LC_MESSAGES/faq.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,28 +30,21 @@ msgstr "" #: ../../faq.rst:8 msgid "" -"This page is maintained by the Helpers of the Discord server, and updated" -" by the library developer at their discretion. For any comments, feedback" -" or concerns please consider joining our server and bringing it up in our" -" support channels." +"This page is maintained by the Helpers of the Discord server, and " +"developers at their discretion. For any comments, feedback or concerns " +"please consider joining our server and bringing it up in our support " +"channels." msgstr "" -#: ../../faq.rst:15 -msgid "" -"This FAQ list currently reflects v4.0 as of the time of this writing, all" -" other versions are considered deprecated. Because of this, there will " -"not be any answers for questions regarding v3.0 and below." -msgstr "" - -#: ../../faq.rst:20 +#: ../../faq.rst:14 msgid "discord.py is dead! Will this library die too?" msgstr "" -#: ../../faq.rst:21 ../../faq.rst:31 +#: ../../faq.rst:15 ../../faq.rst:25 msgid "The short answer is: **no**." msgstr "" -#: ../../faq.rst:23 +#: ../../faq.rst:17 msgid "" "The decision to become a standalone library that is now an API wrapper " "for the Discord API was made before Danny posted his gist on GitHub about" @@ -59,24 +52,24 @@ msgid "" "the library developer regarding this:" msgstr "" -#: ../../faq.rst:30 +#: ../../faq.rst:24 msgid "Are you going to/will/consider fork(ing) discord.py?" msgstr "" -#: ../../faq.rst:33 +#: ../../faq.rst:27 msgid "" "The long answer is a list of numerous reasons as to why this decision was" " made:" msgstr "" -#: ../../faq.rst:35 +#: ../../faq.rst:29 msgid "" "There are/will be numerous forks out there for discord.py, and because of" " that, we cannot safely guarantee our ability to help users out who may " "be using their own form of modified code." msgstr "" -#: ../../faq.rst:36 +#: ../../faq.rst:30 msgid "" "The original purpose of this library was to act as an extension of " "discord.py, but due to the issue of constantly having to monkeypatch " @@ -85,7 +78,7 @@ msgid "" "not change anything from our issue of avoiding this." msgstr "" -#: ../../faq.rst:37 +#: ../../faq.rst:31 msgid "" "The goal of this library is to solely implement support and integrate the" " use of interactions from the Discord API. Making this library unique in " @@ -93,7 +86,7 @@ msgid "" "standards at the time." msgstr "" -#: ../../faq.rst:38 +#: ../../faq.rst:32 msgid "" "The message intent will inevitably be forced as a privileged intent in " "April 2022. The practicality of trying to support message commands will " @@ -102,7 +95,7 @@ msgid "" "reason for applying for this privileged intent." msgstr "" -#: ../../faq.rst:39 +#: ../../faq.rst:33 msgid "" "Forking discord.py would be a massive change to our current codebase, " "throwing away all of the effort we've put into it so far, and basically " @@ -112,39 +105,51 @@ msgid "" " this is pointless." msgstr "" -#: ../../faq.rst:42 +#: ../../faq.rst:36 msgid "Will discord.py be able to work with this library?" msgstr "" -#: ../../faq.rst:43 +#: ../../faq.rst:37 msgid "The short answer is: **yes.**" msgstr "" -#: ../../faq.rst:45 +#: ../../faq.rst:39 msgid "" "However, the term \"work\" is loosely structured here. Imagine it like " "taping a hole in the wall instead of repairing the wall. We're " "essentially \"plastering\" support for discord.py instead of doing the " "surgery on its internal organs to make it work well with our library. As " -"it currently stands, **discord-interactions and discord.py** are API " -"wrappers. You will be able to run code *alongside* one another, and you " -"will be able to plug in some classes, but the data conversion **must be " -"exact.**" +"it currently stands, **interactions.py and discord.py** are API wrappers." +" You will be able to run code *alongside* one another, and you will be " +"able to plug in some classes, but the data conversion **must be exact.**" msgstr "" -#: ../../faq.rst:50 +#: ../../faq.rst:44 msgid "What does that mean? Well, we'll show you:" msgstr "" -#: ../../faq.rst:74 +#: ../../faq.rst:73 msgid "" "Both of these variables ``interactions`` and ``dpy`` will be able to run " "in the same established environment, and additionally will both function " -"properly as their respective libraries intend them to. What about the " -"models, though? That's a simple answer:" +"properly as their respective libraries intend them to. This " +"implementation uses asyncio.gather to execute both starts simultaneously " +"as asyncio tasks, and runs them under one singular loop." msgstr "" -#: ../../faq.rst:90 +#: ../../faq.rst:77 +msgid "" +"Compared to traditional startup commands, ``interactions.ready()`` and " +"``dpy.start()`` is used instead of the typical ``interactions.start()`` " +"and ``dpy.run()`` methods because of synchronous/async functions. " +"``asyncio.gather()`` works with coroutines, hence the transition." +msgstr "" + +#: ../../faq.rst:81 +msgid "What about the models, though? That's a simple answer:" +msgstr "" + +#: ../../faq.rst:96 msgid "" "Both of these will be able to both run and give their proper value. It is" " *very* important to note here, though, that you **must** be returning " @@ -153,22 +158,76 @@ msgid "" "that is going on here." msgstr "" -#: ../../faq.rst:95 +#: ../../faq.rst:101 +msgid "Where should we go with discord.py being gone?" +msgstr "" + +#: ../../faq.rst:102 +msgid "" +"The most *biased* answer would be to, of course, *use interactions.py.* " +"We already offer a lot of the integral API wrapper aspects as discord.py " +"does, however, we only specialize in interactions. Which means things " +"such as these won't be supported officially by us (but might be available" +" as 3rd parties):" +msgstr "" + +#: ../../faq.rst:106 +msgid "Cooldowns" +msgstr "" + +#: ../../faq.rst:107 +msgid "Message commands" +msgstr "" + +#: ../../faq.rst:108 +msgid "Voice clients" +msgstr "" + +#: ../../faq.rst:110 +msgid "" +"There are other libraries of course though. As a general rule of thumb, " +"if you're looking to do mainly slash commands and that tidbit then we " +"highly recommend using our library, especially as **discord-components** " +"merges as of version 4.0. But if you want something way more open and " +"versatile, then we recommend these sources:" +msgstr "" + +#: ../../faq.rst:114 +msgid "`Pycord`_ (the most actively maintained)." +msgstr "" + +#: ../../faq.rst:115 +msgid "`NAFF`_ (high level, \"hackable\" API wrapper with ease of modification)." +msgstr "" + +#: ../../faq.rst:116 +msgid "`nextcord`_ (more abstract and fast approach to the Discord API)." +msgstr "" + +#: ../../faq.rst:118 +msgid "" +"It's personally recommended from the library developer to seek these " +"paths instead of sticking to an older version of a library, e.g. " +"discord.py 1.7.3 or 2.0.0a as they can eventually become deprecated with " +"more pending changes to the API by Discord engineers." +msgstr "" + +#: ../../faq.rst:122 msgid "Why are you not supporting cooldowns?" msgstr "" -#: ../../faq.rst:96 +#: ../../faq.rst:123 msgid "" "Cooldowns aren't really an actual feature of the Discord API itself, but " "rather more of a convienent feature implemented in discord.py in order to" " avoid spamming of commands." msgstr "" -#: ../../faq.rst:99 +#: ../../faq.rst:126 msgid "**What if people spam slash/sub commands?**" msgstr "" -#: ../../faq.rst:101 +#: ../../faq.rst:128 msgid "" "That's the neat part: it's really hard to do that, and most of the time, " "they won't. Unless they copy the exact string that was used when you open" @@ -181,11 +240,11 @@ msgid "" "library." msgstr "" -#: ../../faq.rst:108 +#: ../../faq.rst:135 msgid "Will we not be able to create message commands?" msgstr "" -#: ../../faq.rst:109 +#: ../../faq.rst:136 msgid "" "This is a tricky question to really answer. If you want the *technical* " "answer: you can definitely create them with our library, however, you'll " @@ -197,16 +256,51 @@ msgid "" "handler framework before in their entire life." msgstr "" -#: ../../faq.rst:118 +#: ../../faq.rst:144 +msgid "" +"I'm getting \"``AttributeError: HTTPClient not found!``\" when I try to " +"execute helper methods!" +msgstr "" + +#: ../../faq.rst:145 +msgid "Probably you are doing something like this:" +msgstr "" + +#: ../../faq.rst:152 +msgid "" +"And the error occurs in the line where you try to send something. You can" +" fix this easy by adding one argument:" +msgstr "" + +#: ../../faq.rst:159 +msgid "" +"You have to add this extra argument for every object you instantiate by " +"yourself if you want to use it's methods" +msgstr "" + +#: ../../faq.rst:163 +msgid "" +"Context and Messages don't have the ``Channel`` and ``Guild`` attributes!" +" Why?" +msgstr "" + +#: ../../faq.rst:164 +msgid "" +"At the moment the Discord API does *not* include them into their " +"responses. You can get those object via the ``get_channel()`` and " +"``get_guild()`` methods of the Context and Message model." +msgstr "" + +#: ../../faq.rst:169 msgid "My question is not answered on here!" msgstr "" -#: ../../faq.rst:119 +#: ../../faq.rst:170 msgid "" "Please join our Discord server for any further support regarding our " "library and/or any integration code depending on it." msgstr "" -#: ../../faq.rst:121 +#: ../../faq.rst:172 msgid "Invite Link: https://discord.gg/KkgMBVuEkx" msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/gettingstarted.mo b/docs/locale/de/LC_MESSAGES/gettingstarted.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/gettingstarted.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/gettingstarted.po b/docs/locale/de/LC_MESSAGES/gettingstarted.po deleted file mode 100644 index 68d69eec9..000000000 --- a/docs/locale/de/LC_MESSAGES/gettingstarted.po +++ /dev/null @@ -1,646 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../gettingstarted.rst:2 -msgid "Getting Started" -msgstr "" - -#: ../../gettingstarted.rst:5 -msgid "Where do we start?" -msgstr "" - -#: ../../gettingstarted.rst:7 -msgid "" -"Before we begin getting started on everything else, it is recommended to " -"check out the `quickstart`_ page first to get a basic grip on making " -"slash commands for your bot." -msgstr "" - -#: ../../gettingstarted.rst:12 -msgid "Making a slash command." -msgstr "" - -#: ../../gettingstarted.rst:15 -msgid "The basics." -msgstr "" - -#: ../../gettingstarted.rst:17 -msgid "" -"First, let's explain by how commands are parsed through the Discord Bot " -"API." -msgstr "" - -#: ../../gettingstarted.rst:19 -msgid "" -"As you may know, Discord relies a lot on the interaction of HTTP Requests" -" and JSON tables. As is with the case here, commands are the exact same " -"way with having JSON tables to structure the design of it for Discord to " -"understand. We can apply this information likewise with how slash " -"commands are to be designed in the Python code. Below attached is from " -"the *Discord Developer Portal* on Slash Commands for showing how they are" -" designed." -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Field**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Type**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Description**" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -msgid "name" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:31 -#: ../../gettingstarted.rst:79 ../../gettingstarted.rst:81 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -#: ../../gettingstarted.rst:413 ../../gettingstarted.rst:415 -#: ../../gettingstarted.rst:417 ../../gettingstarted.rst:419 -msgid "string" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -msgid "1-32 character name matching ``^[\\w-]{1,32}$``." -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "description" -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "1-100 character description." -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "options?" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "array of `ApplicationCommandOption`_" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "" -"if the option is a subcommand or subcommand group type, this nested " -"options will be the parameters." -msgstr "" - -#: ../../gettingstarted.rst:36 -msgid "" -"This table shows us the way that Discord handles the structure of " -"commands for slash commands through their Bot API. For visualization " -"purposes, we'll quickly make a JSON example (although we won't be using " -"it) in order to explain how this works:" -msgstr "" - -#: ../../gettingstarted.rst:48 -msgid "" -"Now that we have a basic understanding of how the JSON table works, we " -"can take this knowledge and convert it into a decorator method for the " -"Python code as shown below:" -msgstr "" - -#: ../../gettingstarted.rst:59 -msgid "" -"Now that we've gone over how Discord handles the declaration of slash " -"commands through their Bot API, let's go over what some of the other " -"things mean within the *logical* part of our code, the command function:" -msgstr "" - -#: ../../gettingstarted.rst:65 -msgid "Giving some options for variety." -msgstr "" - -#: ../../gettingstarted.rst:67 -msgid "" -"The next thing that we will begin to talk about is the implementation of " -"options, otherwise well-known as \"arguments\" in discord.py commands." -msgstr "" - -#: ../../gettingstarted.rst:70 -msgid "" -"The JSON structure of options are designed up to be similar to the same " -"premise of how a slash command is declared. Below is the given table of " -"how an option JSON would appear as:" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:245 -#: ../../gettingstarted.rst:333 -msgid "type" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:243 -#: ../../gettingstarted.rst:245 ../../gettingstarted.rst:333 -msgid "int" -msgstr "" - -#: ../../gettingstarted.rst:77 -msgid "value of `ApplicationCommandOptionType`_." -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "default?" -msgstr "" - -#: ../../gettingstarted.rst:83 ../../gettingstarted.rst:85 -msgid "bool" -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "" -"the first required option for the user to complete--only one option can " -"be default." -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "required?" -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "if the parameter is required or optional--default ``false``." -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices?" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "array of `ApplicationCommandOptionChoice`_" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices for ``string`` and ``int`` types for the user to pick from." -msgstr "" - -#: ../../gettingstarted.rst:92 -msgid "" -"Now we have an idea of how options are declared. With this in mind, let's" -" quickly make a JSON example in order to visualize this concept even " -"further:" -msgstr "" - -#: ../../gettingstarted.rst:110 -msgid "" -"While the table in the basics mentions an array in particular called " -"``ApplicationCommandOptionType``, there isn't that much of an explanation" -" on how this works. Let's put this into better laymen terms on what this " -"means with a table below showing all of these values:" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Name**" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Value**" -msgstr "" - -#: ../../gettingstarted.rst:117 -msgid "SUB_COMMAND" -msgstr "" - -#: ../../gettingstarted.rst:117 ../../gettingstarted.rst:257 -#: ../../gettingstarted.rst:352 -msgid "1" -msgstr "" - -#: ../../gettingstarted.rst:119 -msgid "SUB_COMMAND_GROUP" -msgstr "" - -#: ../../gettingstarted.rst:119 ../../gettingstarted.rst:259 -#: ../../gettingstarted.rst:354 -msgid "2" -msgstr "" - -#: ../../gettingstarted.rst:121 -msgid "STRING" -msgstr "" - -#: ../../gettingstarted.rst:121 ../../gettingstarted.rst:356 -msgid "3" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "INTEGER" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "4" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "BOOLEAN" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "5" -msgstr "" - -#: ../../gettingstarted.rst:127 ../../gettingstarted.rst:354 -msgid "USER" -msgstr "" - -#: ../../gettingstarted.rst:127 -msgid "6" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "CHANNEL" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "7" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "ROLE" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "8" -msgstr "" - -#: ../../gettingstarted.rst:134 -msgid "" -"The purpose of having the ``ApplicationCommandOptionType`` value passed " -"into our option JSON structure is so that we can help the Discord UI " -"understand what kind of value we're inputting here. For instance, if " -"we're wanting to put in a string response, we'll pass the ID 3 so that " -"the UI of Discord chat bar knows to format it visually this way. If we're" -" looking for a user, then we'll pass ID 6 so that it presents us with a " -"list of users in our server instead, making it easier on our lives." -msgstr "" - -#: ../../gettingstarted.rst:140 -msgid "" -"This is not to be confused, however, with formatting the response type " -"itself. This is merely a method so that the API wrapper can help us with " -"passing the correct type or instance variable with the arguments of the " -"command function's code." -msgstr "" - -#: ../../gettingstarted.rst:144 -msgid "" -"Now, we can finally visualize this by coding an example of this being " -"used in the Python code shown below." -msgstr "" - -#: ../../gettingstarted.rst:163 -msgid "" -"Additionally, we could also declare the type of our command's option " -"through this method shown here:" -msgstr "" - -#: ../../gettingstarted.rst:174 -msgid "More in the option? Give them a choice." -msgstr "" - -#: ../../gettingstarted.rst:176 -msgid "" -"Alas, there is also a way to give even more information to options with " -"Discord's Slash Commands: a choice. Not like something that you're given " -"at birth of when you become of legal age as an adult, we're not here to " -"give you *that* kind of life advice, but the choice of what value you " -"want your option to rather pass. Below is a table that shows the JSON " -"structure of how choices are represented for an option:" -msgstr "" - -#: ../../gettingstarted.rst:185 -msgid "1-32 character choice name." -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "string or int" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value of the choice, up to 100 characters if string." -msgstr "" - -#: ../../gettingstarted.rst:190 -msgid "" -"This time, only 2 fields are able to be passed for this. Below is a JSON " -"example of how this would be designed:" -msgstr "" - -#: ../../gettingstarted.rst:200 -msgid "" -"To make it really simple, the ``name`` field is only to be used for how " -"you want the choice to be presented through Discord's UI. It's the " -"\"appearance\" of how you want your choice shown, not the actual returned" -" value of it. Hence, this is why ``value`` is the second field passed for" -" that, which can be either in the form of a string or integer. Below is " -"an implementation of this design in the Python code:" -msgstr "" - -#: ../../gettingstarted.rst:233 -msgid "Want to restrict access? Setup permissions!" -msgstr "" - -#: ../../gettingstarted.rst:235 -msgid "" -"Slash commands also support the ability to set permissions to allow only " -"certain roles and/or users to run a slash command. Permissions can be " -"applied to both global and guild based commands. They are defined per " -"guild, per top-level command (the base command for subcommands), and each" -" guild can have multiple permissions. Here is the table that shows the " -"JSON structure of how permissions are represented:" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "id" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "" -"Snowflake value of type specified. Represents the target to apply " -"permissions on." -msgstr "" - -#: ../../gettingstarted.rst:245 -msgid "An `ApplicationCommandPermissionType`_." -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "permission" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "boolean" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "``True`` to allow, ``False`` to disallow." -msgstr "" - -#: ../../gettingstarted.rst:250 -msgid "" -"How the type parameter works is very simple. Discord has many ids to " -"represent different things. As you can set permissions to apply for User " -"or Role, `ApplicationCommandPermissionType`_ is used. It's a number and " -"following table shows the supported id types for permissions:" -msgstr "" - -#: ../../gettingstarted.rst:257 -msgid "Role" -msgstr "" - -#: ../../gettingstarted.rst:259 -msgid "User" -msgstr "" - -#: ../../gettingstarted.rst:262 -msgid "" -"This is an example of how a single permission will look when represented " -"as a json object:" -msgstr "" - -#: ../../gettingstarted.rst:272 -msgid "" -"Now, let take a look at an example. The slash command decorator has a " -"permissions parameter where it takes in a dictionary. The key being the " -"guild id to apply permissions on, and value being the list of permissions" -" to apply. For each permission, we can use the handy " -"``create_permission`` method to build the permission json explained " -"above." -msgstr "" - -#: ../../gettingstarted.rst:277 -msgid "" -"In this case, we are setting 2 permissions for a guild with an id of " -"``12345678``. Firstly, we are allowing role with id ``99999999`` and " -"disallowing user with id ``88888888`` from running the slash command." -msgstr "" - -#: ../../gettingstarted.rst:296 -msgid "" -"Alternatively, you can use the ``@slash.permission`` decorator to define " -"your guild permissions for the command as show in the following example:" -msgstr "" - -#: ../../gettingstarted.rst:315 -msgid "But what about buttons?" -msgstr "" - -#: ../../gettingstarted.rst:316 -msgid "" -"This library supports components (buttons, actionrows, selects, etc.). " -"Take a look here: `components`_." -msgstr "" - -#: ../../gettingstarted.rst:319 -msgid "Making a message/menu command." -msgstr "" - -#: ../../gettingstarted.rst:320 -msgid "" -"Lucky for you, this library has recently added support for context menus!" -" Let's take a look into how they're designed." -msgstr "" - -#: ../../gettingstarted.rst:322 -msgid "" -"Please note that the current limit for context menus with the Discord API" -" is **5.**" -msgstr "" - -#: ../../gettingstarted.rst:324 -msgid "" -"A menu command (context menu) is an easy way for bot developers to " -"program optionless and choiceless commands into their bot which can be " -"easily accessible by right clicking on a user and/or message present. " -"Below is a table of the supported keys and values:" -msgstr "" - -#: ../../gettingstarted.rst:331 -msgid "The name of the context menu command." -msgstr "" - -#: ../../gettingstarted.rst:333 -msgid "An `ApplicationCommandType`_." -msgstr "" - -#: ../../gettingstarted.rst:336 -msgid "" -"The following table below represents how it would be shown as a JSON " -"object:" -msgstr "" - -#: ../../gettingstarted.rst:345 -msgid "" -"The following table explains more about the ``type`` parameter being " -"passed, which there are three of: ``CHAT_INPUT``, ``USER`` and " -"``MESSAGE``. By default, the type will always be the first. This is " -"because it is a registered type that is used to process slash commands, " -"and should not be used for when you are declaring context menu commands " -"in your bot's code at all:" -msgstr "" - -#: ../../gettingstarted.rst:352 -msgid "CHAT_INPUT" -msgstr "" - -#: ../../gettingstarted.rst:356 -msgid "MESSAGE" -msgstr "" - -#: ../../gettingstarted.rst:359 -msgid "" -"Unlike ``manage_commands`` and ``manage_components``, you will have to " -"use a decorator for now to register them:" -msgstr "" - -#: ../../gettingstarted.rst:375 -msgid "" -"The ``@slash.context_menu`` decorator takes in the context type as given " -"(to either appear when you right-click on a user or when you right-click " -"on a message) as well as the name of the command, and any guild IDs if " -"given if you would like to make it applicable to only a guild. **We only " -"accept connected names** for the time being, although context menus will " -"have the ability to have spaces in their name in the future when " -"development further progresses." -msgstr "" - -#: ../../gettingstarted.rst:379 -msgid "" -"You are able to also use the ``@cog_ext.cog_context_menu`` path which " -"will require an import from ``cog_ext.py`` respectively, however, it is " -"worth nothing that the ``target`` kwarg for the decorator **must** be " -"brought to the very end." -msgstr "" - -#: ../../gettingstarted.rst:383 -msgid "Can I use components with context menus?" -msgstr "" - -#: ../../gettingstarted.rst:384 -msgid "" -"Of course! However, you will need to add in some additional code in order" -" for both of the separate contexts to work seamlessly. Below is the given" -" code of what will need to be changed:" -msgstr "" - -#: ../../gettingstarted.rst:399 -msgid "Hey, what about component/[X] listening?" -msgstr "" - -#: ../../gettingstarted.rst:400 -msgid "" -"The decision has been made that this will not be implemented because of " -"two reasons: context menus currently have no ability to hold any options " -"or choices, so listening for any responses would be currently pointless. " -"Additionally, component listening is already a built-in feature that does" -" not require further customized and new decorators for explicitly context" -" menus, as they're more universal." -msgstr "" - -#: ../../gettingstarted.rst:405 -msgid "Nested commands as subcommands." -msgstr "" - -#: ../../gettingstarted.rst:406 -msgid "" -"Before you get into learning how to create a subcommand, please be sure " -"to read up on the documentation above given for how slash commands are " -"made." -msgstr "" - -#: ../../gettingstarted.rst:408 -msgid "" -"Subcommands are way to \"nest\" your slash commands under one (or more) " -"given names, as either a \"base\" name or a \"grouping\" of an existing " -"base. When this is said, it will initially appear very confusing. Let's " -"use the table shown below as a way to introduce the new fields/properties" -" that can be applied for a slash command to become a subcommand:" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "base" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "The name of the subcommand \"base.\"" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "subcommand_group" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "The name for the group of commands under the \"base.\" Field is optional." -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "base_description" -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "" -"The description when the base is active in the UX chat bar. Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "subcommand_group_description" -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "" -"The name for the group of commands under the \"base.\" Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:423 -msgid "Handling my errors." -msgstr "" - -#: ../../gettingstarted.rst:425 -msgid "" -"Thankfully, we try to make a majority of our error handling very simple. " -"If you would like to learn more about how to handle your errors, please " -"refer to our `errors`_ page. If you are looking for listener events, then" -" check our `listeners`_ page instead." -msgstr "" - -#: ../../gettingstarted.rst:428 -msgid "" -"As a side-note, as of version 3.0, message/menu commands (context menus) " -"are handled under the ``on_slash_command_error`` event." -msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/index.mo b/docs/locale/de/LC_MESSAGES/index.mo deleted file mode 100644 index da5299793..000000000 Binary files a/docs/locale/de/LC_MESSAGES/index.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/index.po b/docs/locale/de/LC_MESSAGES/index.po index 9ed9055f4..62d4c17de 100644 --- a/docs/locale/de/LC_MESSAGES/index.po +++ b/docs/locale/de/LC_MESSAGES/index.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,114 +18,243 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../index.rst:38 +#: ../../index.rst:47 msgid "Pages:" msgstr "" #: ../../index.rst:4 -msgid "discord-interactions" +msgid "interactions.py" msgstr "" #: ../../index.rst:5 msgid "" -"No more hassle with trying to get interactions to work with your Python " -"Discord bot -- **discord-interactions** is now here." +"Ever since December 2019, this open-source project has become the " +"culmination of dedication and research towards figuring out the best way " +"to bring **interactions from Discord to you:** we are an easy, simple, " +"scalable and modular library for Discord interactions." +msgstr "" + +#: ../../index.rst:7 +msgid "" +"Tired of using numerous module dependencies for slash commands and " +"buttons?" msgstr "" -"Kein Ärger mehr, Interaktionen mit Ihrem Python Discord Bot " -"zum Laufen zu bringen -- **discord-interactions** ist jetzt da." #: ../../index.rst:8 +msgid "Looking for a compatible library that implements all interactions?" +msgstr "" + +#: ../../index.rst:9 +msgid "Itching to get your hands on slash commands, but in a simple manner?" +msgstr "" + +#: ../../index.rst:11 msgid "" -"**discord-interactions** is a simple API wrapper for Discord " -"interactions. We're not here to replace discord.py or any other fork, but" -" we are here to be the very best Python Discord library there is that " -"implements interactions very well. This is what our library is all about." +"Look no more! The goal of this library is to make all three of these " +"questions go from possibilites to trivial matters." msgstr "" -"**discord-interactions** ist ein einfacher API-Wrapper für Discord " -"Interaktionen. Wir sind nicht hier, um discord.py oder einen anderen Fork zu ersetzen, aber" -"Wir sind hier, um die beste Python Discord-Bibliothek zu sein, die es gibt" -"Implementiert Interaktionen sehr gut. Darum geht es in unserer Bibliothek." #: ../../index.rst:14 -msgid "What are we good for?" -msgstr "Wofür sind wir gut?" +msgid "What can we do?" +msgstr "" #: ../../index.rst:15 -msgid "We offer a **lot** of benefits with using our library:" -msgstr "Wir bieten **viele** Vorteile bei der Nutzung unserer Bibliothek:" +msgid "" +"Our library---inside and out, offers numerous benefits and presents " +"itself as a worthy module in your bot's dependencies:" +msgstr "" #: ../../index.rst:17 -msgid "Modern pythonic design that is scalable and modular." -msgstr "Modernes Python-Design, das skalierbar und modular ist." - -#: ../../index.rst:18 -msgid "Asynchronous coroutines and multi-threading capabilities." -msgstr "Asynchrone Coroutinen und Multithreading-Fähigkeiten." +msgid "The base features of our library, built with our API include:" +msgstr "" #: ../../index.rst:19 -msgid "Optimal class object reference with little overhead." -msgstr "Optimale Klassenobjektreferenz mit geringem Overhead." +msgid "" +"**Dynamic object data generation**: all event data dispatched from the " +"Gateway is dynamically transformed and generated into two-way " +"serializable JSON objects." +msgstr "" #: ../../index.rst:20 -msgid "Easily accessible codebase source." +msgid "" +"**Sane rate limiting**: our HTTP client implements pre-emptive rate limit" +" avoidance, so your bot is guaranteed to never hit HTTP ``429``." msgstr "" #: ../../index.rst:21 -msgid "Stable/unstable branches for managing module stability when importing." +msgid "" +"**On-demand cache**: every HTTP request and Gateway event made is cached " +"when needed, so you never have to save information yourself." +msgstr "" + +#: ../../index.rst:22 +msgid "" +"**Simplified data models**: every object presented is accessible as " +"either a raw dictionary/``application/json`` or list of recursive " +"attributes." msgstr "" #: ../../index.rst:24 -msgid "What does that mean?" +msgid "Some more unique features that are exclusive to our interactions include:" msgstr "" -#: ../../index.rst:25 -msgid "Basically, we're good and bad for these things:" +#: ../../index.rst:26 +msgid "" +"**Event-triggered callbacks**: whether a component, application command " +"or interaction response, you'll never need to worry about bridging " +"responses." msgstr "" #: ../../index.rst:27 -msgid "✔️ Working with application commands." +msgid "" +"**Dual-way decorator logic**: a decorator can act as both a constructor " +"for an interaction, as well as a callback." msgstr "" #: ../../index.rst:28 -msgid "✔️ Handling contextual data cached from all channels." +msgid "" +"**API-strict naming**: no more confusion with the naming approach of many" +" libraries; we follow the naming style of interactions from the " +"officially curated Discord Developers documentation." msgstr "" #: ../../index.rst:29 -msgid "✔️ General/basic assignment of guild properties to members." +msgid "" +"**Extensive framework structure**: build your own tools and technologies " +"for our library to develop and integrate community creations." msgstr "" -#: ../../index.rst:30 -msgid "✔️ Responsive callbacks for buttons and select menus." +#: ../../index.rst:32 +msgid "What do we not offer?" msgstr "" -#: ../../index.rst:31 -msgid "✔️ Voice client capabilities." +#: ../../index.rst:33 +msgid "" +"While we certainly offer a lot of benefits, we unfortunately have our own" +" downsides:" msgstr "" -#: ../../index.rst:32 -msgid "❌ Cooldowns/bucket types." +#: ../../index.rst:36 +msgid "" +"This list is subject to change as time goes on: some of these items may " +"be added to the core of the library in the future." msgstr "" -#: ../../index.rst:35 +#: ../../index.rst:40 +msgid "No native cooldown decorator/method." +msgstr "" + +#: ../../index.rst:41 +msgid "Lack of automatic sharding and voice clients." +msgstr "" + +#: ../../index.rst:44 msgid "Where do I start?" msgstr "" -#: ../../index.rst:36 -msgid "Please look at our pages below to find out where to go further." +#: ../../index.rst:45 +msgid "Please look at our pages below to find out where to go." msgstr "" -#: ../../index.rst:47 +#: ../../index.rst:57 +msgid "How can I contribute?" +msgstr "" + +#: ../../index.rst:58 +msgid "" +"Please read up on our `contribution requirements`_ for the project. This " +"open-source project also enforces the `MIT License`_." +msgstr "" + +#: ../../index.rst:60 +msgid "This open-source project utilizes the following workflows for development:" +msgstr "" + +#: ../../index.rst:62 +msgid "" +"**pre-commit** ``2.16.0``: the architecture uses this before every commit" +" to format and check for severity/QOL-breaking changes." +msgstr "" + +#: ../../index.rst:64 +msgid "**black** ``21.11b1``" +msgstr "" + +#: ../../index.rst:65 +msgid "**flake8** ``3.9.2``" +msgstr "" + +#: ../../index.rst:66 +msgid "**isort** ``5.9.3``" +msgstr "" + +#: ../../index.rst:68 +msgid "" +"**Sphinx** ``4.1.2``: all of our documentation is powered off of " +"autogenerated documentation of the Sphinx engine." +msgstr "" + +#: ../../index.rst:69 +msgid "" +"**colorama** ``0.4.4``: our internal logger uses a customized coloring " +"formatter to make looking for specific conditions easier when running " +"tests." +msgstr "" + +#: ../../index.rst:70 +msgid "" +"**Conventional Commits** ``1.0.0``: every commit that we make to our " +"branches use the official specification of CC 1.0.0 to make git graphs " +"easier when improving and refining communication between code reviews, " +"Pull Requests and commits." +msgstr "" + +#: ../../index.rst:73 +msgid "When can I start?" +msgstr "" + +#: ../../index.rst:74 +msgid "" +"We also have some extra ground rules about making any specific " +"contributions involving:" +msgstr "" + +#: ../../index.rst:76 +msgid "" +"We do not accept abstraction-based requests. (e.g. ``colour`` for " +"``color``)" +msgstr "" + +#: ../../index.rst:77 +msgid "A request has to be approved by at least one developer." +msgstr "" + +#: ../../index.rst:78 +msgid "" +"You must be willing to change/adhere to reviews from participants **where" +" necessary.**" +msgstr "" + +#: ../../index.rst:81 +msgid "I think I'm all ready!" +msgstr "" + +#: ../../index.rst:82 +msgid "Feel free to begin making `Pull Requests`_ and `Issues`_ on our GitHub!" +msgstr "" + +#: ../../index.rst:85 msgid "Advanced Search" msgstr "" -#: ../../index.rst:49 +#: ../../index.rst:87 msgid ":ref:`genindex`" msgstr "" -#: ../../index.rst:50 +#: ../../index.rst:88 msgid ":ref:`modindex`" msgstr "" -#: ../../index.rst:51 +#: ../../index.rst:89 msgid ":ref:`search`" msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/migration.po b/docs/locale/de/LC_MESSAGES/migration.po new file mode 100644 index 000000000..d07c11207 --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/migration.po @@ -0,0 +1,101 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../migration.rst:2 +msgid "Migration" +msgstr "" + +#: ../../migration.rst:4 +msgid "" +"This page aims to serve as a guide towards helping users understand any " +"breaking or otherwise important design choices made between versions to " +"guide towards easy migration between one another." +msgstr "" + +#: ../../migration.rst:8 +msgid "4.0.1 → 4.0.2" +msgstr "" + +#: ../../migration.rst:10 +msgid "" +"The biggest major change between these two versions is the way " +"``HTTPClient`` and modelled API schema objects are used. In ``4.0.2``, a " +"new ``_client`` attribute is added in model objects in order to use " +"helper methods. This will not be needed if you're working with dispatched" +" events from the Gateway, however, manually generating your own model " +"object for use will need it appended as a key-word argument. The example " +"below shows this change:" +msgstr "" + +#: ../../migration.rst:25 +msgid "" +"This change was added in favor for being able to use endpoints in an " +"abstracted state." +msgstr "" + +#: ../../migration.rst:28 +msgid "4.0.2 → 4.1.0" +msgstr "" + +#: ../../migration.rst:30 +msgid "" +"``4.1.0`` introduces numerous breaking changes that affect the bot " +"developers' ability to work with mainly modifying the way our Gateway " +"processes information, as well as supplying a ``reason`` argument to " +"``HTTPClient``-based methods." +msgstr "" + +#: ../../migration.rst:33 +msgid "" +"In this version, you are no longer required to give a ``reason`` for " +"every HTTP request. You can instead send it as an optional, which will " +"work to keep any existing modifications of our codebase from breaking." +msgstr "" + +#: ../../migration.rst:36 +msgid "" +"Additionally, modifying the way information is dispatched from the " +"Gateway must be done like this now:" +msgstr "" + +#: ../../migration.rst:49 +msgid "" +"We recommend that working in correspondence with this, you should be " +"making use of our ``interactions.ext`` SDK framework." +msgstr "" + +#: ../../migration.rst:51 +msgid "" +"A slight, yet another breaking change we made was dundering numerous " +"attributes in our internal models. You will now need to refer to the " +"client's HTTP object as ``_http`` instead of ``http``. In order to view " +"the full list of these, we highly encourage you to view the documentation" +" readily available." +msgstr "" + +#: ../../migration.rst:55 +msgid "" +"The last, and most major change is the introduction of the " +"``MESSAGE_CONTENT`` privileged intent in the library. Because of " +"``4.1.0`` using version 10 of the Discord API, this intent is now " +"required for reading all message content. In order to make sure your bot " +"works still, you will need to enable this intent in your bot's developer " +"portal and add the intent to your current intents when connecting:" +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/models.command.mo b/docs/locale/de/LC_MESSAGES/models.command.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/models.command.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/models.command.po b/docs/locale/de/LC_MESSAGES/models.command.po index e7707bfba..063440091 100644 --- a/docs/locale/de/LC_MESSAGES/models.command.po +++ b/docs/locale/de/LC_MESSAGES/models.command.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,122 +22,195 @@ msgstr "" msgid "Application Command Models" msgstr "" -#: interactions.models.command.Choice:1 of -msgid "A class object repesenting the choice of an option." +#: interactions.client.models.command.Choice:1 of +msgid "A class object representing the choice of an option." msgstr "" -#: interactions.models.command.Choice:4 of +#: interactions.client.models.command.Choice:4 of msgid "" "``value`` allows ``float`` as a passable value type, whereas it's " "supposed to be ``double``." msgstr "" -#: interactions.models.command.ApplicationCommand -#: interactions.models.command.Choice interactions.models.command.Option -#: interactions.models.command.Permission of +#: interactions.client.models.command.Choice:7 of +msgid "The structure for a choice: ::" +msgstr "" + +#: interactions.client.models.command.ApplicationCommand +#: interactions.client.models.command.Choice +#: interactions.client.models.command.Option +#: interactions.client.models.command.Permission of msgid "Variables" msgstr "" -#: interactions.models.command.Choice:7 of +#: interactions.client.models.command.Choice:11 of msgid "The name of the choice." msgstr "" -#: interactions.models.command.Choice:8 of +#: interactions.client.models.command.Choice:12 of msgid "The returned value of the choice." msgstr "" -#: interactions.models.command.Option:1 of +#: interactions.client.models.command.Choice:13 +#: interactions.client.models.command.Option:32 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.models.command.Option:1 of msgid "A class object representing the option of an application command." msgstr "" -#: interactions.models.command.Option:4 of +#: interactions.client.models.command.Option:4 of msgid "``options`` is only present for when a subcommand has been established." msgstr "" -#: interactions.models.command.Option:7 of +#: interactions.client.models.command.Option:7 of +msgid "" +"``min_values`` and ``max_values`` are useful primarily for integer based " +"options." +msgstr "" + +#: interactions.client.models.command.Option:10 of +msgid "The structure for an option: ::" +msgstr "" + +#: interactions.client.models.command.Option:20 of msgid "The type of option." msgstr "" -#: interactions.models.command.Option:8 of +#: interactions.client.models.command.Option:21 of msgid "The name of the option." msgstr "" -#: interactions.models.command.Option:9 of +#: interactions.client.models.command.Option:22 of msgid "The description of the option." msgstr "" -#: interactions.models.command.Option:10 of +#: interactions.client.models.command.Option:23 of msgid "Whether the option is currently being autocompleted or not." msgstr "" -#: interactions.models.command.Option:11 of +#: interactions.client.models.command.Option:24 of msgid "Whether the option has to be filled out." msgstr "" -#: interactions.models.command.Option:12 of +#: interactions.client.models.command.Option:25 of msgid "The value that's currently typed out, if autocompleting." msgstr "" -#: interactions.models.command.Option:13 of +#: interactions.client.models.command.Option:26 of msgid "The list of choices to select from." msgstr "" -#: interactions.models.command.Option:14 of +#: interactions.client.models.command.Option:27 of msgid "The list of subcommand options included." msgstr "" -#: interactions.models.command.Option:15 of +#: interactions.client.models.command.Option:28 of msgid "Restrictive shown channel types, if given." msgstr "" -#: interactions.models.command.Permission:1 of +#: interactions.client.models.command.Option:29 of +msgid "The minimum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:30 of +msgid "The maximum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:31 of +msgid "A status denoting whether this option is an autocomplete option." +msgstr "" + +#: interactions.client.models.command.Option:33 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.models.command.Permission:1 of msgid "A class object representing the permission of an application command." msgstr "" -#: interactions.models.command.Permission:3 of +#: interactions.client.models.command.Permission:3 of +msgid "The structure for a permission: ::" +msgstr "" + +#: interactions.client.models.command.Permission:10 of msgid "The ID of the permission." msgstr "" -#: interactions.models.command.Permission:4 of +#: interactions.client.models.command.Permission:11 of msgid "The type of permission." msgstr "" -#: interactions.models.command.Permission:5 of +#: interactions.client.models.command.Permission:12 of msgid "The permission state. ``True`` for allow, ``False`` for disallow." msgstr "" -#: interactions.models.command.ApplicationCommand:1 of +#: interactions.client.models.command.ApplicationCommand:1 of msgid "A class object representing all types of commands." msgstr "" -#: interactions.models.command.ApplicationCommand:3 of +#: interactions.client.models.command.ApplicationCommand:4 of +msgid "" +"This object is inferred upon whenever the client is caching information " +"about commands from an HTTP request and/or the Gateway. Do not use this " +"object for declaring commands." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:8 of msgid "The ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:4 of +#: interactions.client.models.command.ApplicationCommand:9 of msgid "The application command type." msgstr "" -#: interactions.models.command.ApplicationCommand:5 of +#: interactions.client.models.command.ApplicationCommand:10 of msgid "The general application ID of the command itself." msgstr "" -#: interactions.models.command.ApplicationCommand:6 of +#: interactions.client.models.command.ApplicationCommand:11 of msgid "The guild ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:7 of +#: interactions.client.models.command.ApplicationCommand:12 of msgid "The name of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:8 of +#: interactions.client.models.command.ApplicationCommand:13 of msgid "The description of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:9 of +#: interactions.client.models.command.ApplicationCommand:14 of msgid "The \"options\"/arguments of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:10 of +#: interactions.client.models.command.ApplicationCommand:15 of msgid "The default permission accessibility state of the application command." msgstr "" + +#: interactions.client.models.command.ApplicationCommand:16 of +msgid "The Application Command version autoincrement identifier." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:17 of +msgid "The default member permission state of the application command." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:18 of +msgid "The application permissions if executed in a Direct Message." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:19 of +msgid "The localisation dictionary for the application command name, if any." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:20 of +msgid "" +"The localisation dictionary for the application command description, if " +"any." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/models.component.mo b/docs/locale/de/LC_MESSAGES/models.component.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/models.component.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/models.component.po b/docs/locale/de/LC_MESSAGES/models.component.po index 8e89bd571..97de1c249 100644 --- a/docs/locale/de/LC_MESSAGES/models.component.po +++ b/docs/locale/de/LC_MESSAGES/models.component.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,150 +22,290 @@ msgstr "" msgid "Component Models" msgstr "" -#: interactions.models.component.SelectOption:1 of -msgid "A class object representing the select option of a select menu." +#: interactions.client.models.component.SelectOption:1 of +msgid "" +"A class object representing the select option of a select menu. The " +"structure for a select option: ::" msgstr "" -#: interactions.models.component.Button interactions.models.component.Component -#: interactions.models.component.SelectMenu -#: interactions.models.component.SelectOption of +#: interactions.client.models.component.ActionRow +#: interactions.client.models.component.Button +#: interactions.client.models.component.Component +#: interactions.client.models.component.Modal +#: interactions.client.models.component.SelectMenu +#: interactions.client.models.component.SelectOption +#: interactions.client.models.component.TextInput of msgid "Variables" msgstr "" -#: interactions.models.component.SelectOption:3 of +#: interactions.client.models.component.SelectOption:8 of msgid "The label of the select option." msgstr "" -#: interactions.models.component.SelectOption:4 of +#: interactions.client.models.component.SelectOption:9 of msgid "The returned value of the select option." msgstr "" -#: interactions.models.component.SelectOption:5 of +#: interactions.client.models.component.SelectOption:10 of msgid "The description of the select option." msgstr "" -#: interactions.models.component.SelectOption:6 of +#: interactions.client.models.component.SelectOption:11 of msgid "The emoji used alongside the label of the select option." msgstr "" -#: interactions.models.component.SelectOption:7 of +#: interactions.client.models.component.SelectOption:12 of msgid "Whether the select option is the default for the select menu." msgstr "" -#: interactions.models.component.SelectMenu:1 of -msgid "A class object representing the select menu of a component." +#: interactions.client.models.component.SelectMenu:1 of +msgid "" +"A class object representing the select menu of a component. The structure" +" for a select menu: ::" msgstr "" -#: interactions.models.component.SelectMenu:3 of -msgid "The type of select menu." +#: interactions.client.models.component.SelectMenu:8 of +msgid "The type of select menu. Always defaults to ``3``." msgstr "" -#: interactions.models.component.SelectMenu:4 of +#: interactions.client.models.component.SelectMenu:9 of msgid "The customized \"ID\" of the select menu." msgstr "" -#: interactions.models.component.SelectMenu:5 of +#: interactions.client.models.component.SelectMenu:10 of msgid "The list of select options in the select menu." msgstr "" -#: interactions.models.component.SelectMenu:6 of +#: interactions.client.models.component.SelectMenu:11 of msgid "The placeholder of the select menu." msgstr "" -#: interactions.models.component.Component:16 -#: interactions.models.component.SelectMenu:7 of +#: interactions.client.models.component.Component:19 +#: interactions.client.models.component.SelectMenu:12 of msgid "The minimum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.Component:17 -#: interactions.models.component.SelectMenu:8 of +#: interactions.client.models.component.Component:20 +#: interactions.client.models.component.SelectMenu:13 of msgid "The maximum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.SelectMenu:9 of +#: interactions.client.models.component.SelectMenu:14 of msgid "Whether the select menu is unable to be used." msgstr "" -#: interactions.models.component.Button:1 of -msgid "A class object representing the button of a component." +#: interactions.client.models.component.Button:1 of +msgid "" +"A class object representing the button of a component. The structure for " +"a button: ::" msgstr "" -#: interactions.models.component.Button:3 of -msgid "The type of button." +#: interactions.client.models.component.Button:8 of +msgid "The type of button. Always defaults to ``2``." msgstr "" -#: interactions.models.component.Button:4 of +#: interactions.client.models.component.Button:9 of msgid "The style of the button." msgstr "" -#: interactions.models.component.Button:5 of +#: interactions.client.models.component.Button:10 of msgid "The label of the button." msgstr "" -#: interactions.models.component.Button:6 of -msgid "The emoji used alongside the laebl of the button." +#: interactions.client.models.component.Button:11 of +msgid "The emoji used alongside the label of the button." msgstr "" -#: interactions.models.component.Button:7 of +#: interactions.client.models.component.Button:12 of msgid "The customized \"ID\" of the button." msgstr "" -#: interactions.models.component.Button:8 of +#: interactions.client.models.component.Button:13 of msgid "The URL route/path of the button." msgstr "" -#: interactions.models.component.Button:9 of +#: interactions.client.models.component.Button:14 of msgid "Whether the button is unable to be used." msgstr "" -#: interactions.models.component.Component:1 of +#: interactions.client.models.component.Component:1 of msgid "" -"A class object representing the componeent in an interaction " +"A class object representing the component in an interaction " "response/followup." msgstr "" -#: interactions.models.component.Component:4 of +#: interactions.client.models.component.Component:4 of msgid "" "``components`` is only applicable if an ActionRow is supported, otherwise" " ActionRow-less will be opted. ``list`` is in reference to the class." msgstr "" -#: interactions.models.component.Component:7 of +#: interactions.client.models.component.Component:7 of +msgid "" +"This object class is only inferred upon when the gateway is processing " +"back information involving a component. Do not use this object for " +"sending." +msgstr "" + +#: interactions.client.models.component.Component:10 of msgid "The type of component." msgstr "" -#: interactions.models.component.Component:8 of +#: interactions.client.models.component.Component:11 of msgid "The customized \"ID\" of the component." msgstr "" -#: interactions.models.component.Component:9 of +#: interactions.client.models.component.Component:12 of msgid "Whether the component is unable to be used." msgstr "" -#: interactions.models.component.Component:10 of +#: interactions.client.models.component.Component:13 of msgid "The style of the component." msgstr "" -#: interactions.models.component.Component:11 of +#: interactions.client.models.component.Component:14 of msgid "The label of the component." msgstr "" -#: interactions.models.component.Component:12 of +#: interactions.client.models.component.Component:15 of msgid "The emoji used alongside the label of the component." msgstr "" -#: interactions.models.component.Component:13 of +#: interactions.client.models.component.Component:16 of msgid "The URl route/path of the component." msgstr "" -#: interactions.models.component.Component:14 of +#: interactions.client.models.component.Component:17 of msgid "The \"choices\"/options of the component." msgstr "" -#: interactions.models.component.Component:15 of +#: interactions.client.models.component.Component:18 of msgid "The placeholder text/value of the component." msgstr "" -#: interactions.models.component.Component:18 of +#: interactions.client.models.component.Component:21 of msgid "A list of components nested in the component." msgstr "" + +#: interactions.client.models.component.Component:22 of +msgid "The minimum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:23 of +msgid "The maximum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:24 of +msgid "Whether this component is required to be filled." +msgstr "" + +#: interactions.client.models.component.Component:25 of +msgid "The pre-filled value of the component." +msgstr "" + +#: interactions.client.models.component.TextInput:1 of +msgid "" +"A class object representing the text input of a modal. The structure for " +"a text input: ::" +msgstr "" + +#: interactions.client.models.component.TextInput:10 of +msgid "The type of input. Always defaults to ``4``." +msgstr "" + +#: interactions.client.models.component.TextInput:11 of +msgid "The style of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:12 of +msgid "The custom Id of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:13 of +msgid "The label of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:14 of +msgid "The pre-filled value of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:15 of +msgid "Whether the input is required or not." +msgstr "" + +#: interactions.client.models.component.TextInput:16 of +msgid "The placeholder of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:17 of +msgid "The minimum length of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:18 of +msgid "The maximum length of the input." +msgstr "" + +#: interactions.client.models.component.Modal:1 of +msgid "A class object representing a modal." +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid "The structure for a modal: ::" +msgstr "" + +#: interactions.client.models.component.Modal:6 of +msgid "interactions.Modal(" +msgstr "" + +#: interactions.client.models.component.Modal:5 of +msgid "" +"title=\"Application Form\", custom_id=\"mod_app_form\", " +"components=[interactions.TextInput(...)]," +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid ")" +msgstr "" + +#: interactions.client.models.component.Modal:10 of +msgid "The custom ID of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:11 of +msgid "The title of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:12 of +msgid "The components of the modal." +msgstr "" + +#: interactions.client.models.component.ActionRow:1 of +msgid "" +"A class object representing the action row for interaction responses " +"holding components." +msgstr "" + +#: interactions.client.models.component.ActionRow:4 of +msgid "" +"A message cannot have more than 5 ActionRow's supported. An ActionRow may" +" also support only 1 text input component only." +msgstr "" + +#: interactions.client.models.component.ActionRow:13 of +msgid "The structure for an action row: ::" +msgstr "" + +#: interactions.client.models.component.ActionRow:9 of +msgid "" +"# \"...\" represents a component object. # Method 1: " +"interactions.ActionRow(...) # Method 2: " +"interactions.ActionRow(components=[...])" +msgstr "" + +#: interactions.client.models.component.ActionRow:15 of +msgid "The type of component. Always defaults to ``1``." +msgstr "" + +#: interactions.client.models.component.ActionRow:16 of +msgid "A list of components the ActionRow has, if any." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/models.misc.po b/docs/locale/de/LC_MESSAGES/models.misc.po new file mode 100644 index 000000000..f5d1bb814 --- /dev/null +++ b/docs/locale/de/LC_MESSAGES/models.misc.po @@ -0,0 +1,145 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../models.misc.rst:4 +msgid "Miscellaneous Models" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:1 of +msgid "A class representing the resolved information of an interaction data." +msgstr "" + +#: interactions.client.models.misc.Interaction +#: interactions.client.models.misc.InteractionData +#: interactions.client.models.misc.InteractionResolvedData of +msgid "Variables" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:3 of +msgid "The resolved users data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:4 of +msgid "The resolved members data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:5 of +msgid "The resolved roles data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:6 of +msgid "The resolved channels data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:7 of +msgid "The resolved messages data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:8 of +msgid "The resolved attachments data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:1 of +msgid "A class object representing the data of an interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:3 of +msgid "The ID of the interaction data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:4 of +msgid "The name of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:5 of +msgid "The type of command from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:6 of +msgid "The resolved version of the data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:7 of +msgid "The options of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:8 of +msgid "The custom ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:9 of +msgid "The type of component from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:10 of +msgid "The values of the selected options in the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:11 of +msgid "The targeted ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:1 of +msgid "A class object representing an interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:3 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:4 of +msgid "The application's ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:5 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:6 of +msgid "The data of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:7 of +msgid "The guild ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:8 of +msgid "The channel ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:9 of +msgid "The member who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:10 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:11 of +msgid "The token of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:12 of +msgid "The version of the interaction as an autoincrement identifier." +msgstr "" + +#: interactions.client.models.misc.Interaction:13 of +msgid "The message of the interaction." +msgstr "" diff --git a/docs/locale/de/LC_MESSAGES/models.mo b/docs/locale/de/LC_MESSAGES/models.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/models.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/models.po b/docs/locale/de/LC_MESSAGES/models.po index fb08d7dd7..a322bcb50 100644 --- a/docs/locale/de/LC_MESSAGES/models.po +++ b/docs/locale/de/LC_MESSAGES/models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/de/LC_MESSAGES/quickstart.mo b/docs/locale/de/LC_MESSAGES/quickstart.mo deleted file mode 100644 index a50dcaf64..000000000 Binary files a/docs/locale/de/LC_MESSAGES/quickstart.mo and /dev/null differ diff --git a/docs/locale/de/LC_MESSAGES/quickstart.po b/docs/locale/de/LC_MESSAGES/quickstart.po index d3be63677..eff5b5f5a 100644 --- a/docs/locale/de/LC_MESSAGES/quickstart.po +++ b/docs/locale/de/LC_MESSAGES/quickstart.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,48 +22,134 @@ msgstr "" msgid "Quickstart" msgstr "" -#: ../../quickstart.rst:4 -msgid "" -"Looking into trying to get started with our library? Well, you've come to" -" the right page then!" +#: ../../quickstart.rst:5 +msgid "Installing" msgstr "" -#: ../../quickstart.rst:8 +#: ../../quickstart.rst:7 msgid "" -"This quickstart guide is extremely rough and contains experimental code. " -"Do not follow us strictly until v4.0 is released! Everything is subject " -"to change in here due to the development of the API wrapper continuously " -"being reflected." +"**discord-interactions** is a :ref:`Python library ` for the Discord Application Programming Interface. (API) A" +" library in Python has to be installed through the `pip` file. Run this " +"in your terminal/command line in order to install our library:" +msgstr "" + +#: ../../quickstart.rst:11 +msgid "``pip install -U discord-py-interactions``" msgstr "" #: ../../quickstart.rst:14 -msgid "Installing" +msgid "Creating a Bot" msgstr "" #: ../../quickstart.rst:16 msgid "" -"**discord-interactions** is a Python library for the Discord Artificial " -"Programming Interface. (API) A library in Python has to be installed " -"through the `pip` file. Run this in your terminal/command line in order " -"to install our library:" +"Before you can run your Bot, you have to create it first. If you did it " +"already, make sure you :ref:`invited ` your Bot properly." +msgstr "" + +#: ../../quickstart.rst:18 +msgid "" +"In order to create your Bot, you need to create an application first. Go " +"to the `discord applications page`_ for that. After you logged in, you " +"will see this at the top:" +msgstr "" + +#: ../../quickstart.rst:23 +msgid "" +"Click the ``New Application`` button, enter a name and then click " +"``create``." +msgstr "" + +#: ../../quickstart.rst:25 +msgid "The name you choose is going to be your Bots name." +msgstr "" + +#: ../../quickstart.rst:27 +msgid "You will be redirected to a new page. On the left you will see this:" +msgstr "" + +#: ../../quickstart.rst:31 +msgid "" +"Click on ``Bot``. You again will be redirected to another page, looking " +"like this:" +msgstr "" + +#: ../../quickstart.rst:35 +msgid "Click on ``Add Bot`` and then on ``Yes, do it!``." +msgstr "" + +#: ../../quickstart.rst:37 +msgid "And that's it! You created your Bot!" +msgstr "" + +#: ../../quickstart.rst:40 +msgid "" +"You will see a field called ``TOKEN``. This is the access token, used to " +"run your bot. You will need this later to start your Bot." +msgstr "" + +#: ../../quickstart.rst:43 +msgid "" +"**Do NOT give this to other persons! They can get full control over your " +"Bot with your token and execute what they want!**" +msgstr "" + +#: ../../quickstart.rst:45 +msgid "" +"If you revealed your token, you should **immediately** go to your Bots " +"application page and click the ``Regenerate`` Button under your token. " +"This will delete the old token, so your bot can't be run with it anymore." +msgstr "" + +#: ../../quickstart.rst:49 +msgid "Invite the Bot to your guild" +msgstr "" + +#: ../../quickstart.rst:50 +msgid "" +"Now you have a Bot, but you can't create commands because it isn't in any" +" guilds. So, let's invite it to your guild!" +msgstr "" + +#: ../../quickstart.rst:54 +msgid "Click on ``OAuth2``, then on ``URL Generator``." +msgstr "" + +#: ../../quickstart.rst:56 +msgid "" +"You have to enable the ``bot`` and ``application.commands`` scope, to " +"allow your bot to create slash commands." msgstr "" -#: ../../quickstart.rst:20 -msgid "``pip install -U discord-interactions``" +#: ../../quickstart.rst:60 +msgid "" +"After setting that up, a ``BOT PERMISSIONS`` field will appear. You can " +"choose permissions you want to have your bot there." msgstr "" -#: ../../quickstart.rst:22 +#: ../../quickstart.rst:62 msgid "" -"If you're unable to run it through your terminal/command line, you need " -"to make sure that it's accessible as an Environment Path. Search more on " -"Google for how to do this." +"When you are done with choosing the permissions, go to the bottom of the " +"page, copy the the url and open it in a new window." msgstr "" -#: ../../quickstart.rst:26 -msgid "Minimal Bot" +#: ../../quickstart.rst:64 +msgid "" +"You will be prompted to a new page. Select your guild, click " +"``Authorise`` and your Bot should show up in your guild." msgstr "" -#: ../../quickstart.rst:28 +#: ../../quickstart.rst:66 +msgid "Now you can go on with running your bot and creating your first commands!" +msgstr "" + +#: ../../quickstart.rst:71 +msgid "Running the Bot and creating commands" +msgstr "" + +#: ../../quickstart.rst:73 msgid "" "Bots can be a little confusing to create. That's why we've decided to try" " and make the process as streamlined as humanly possible, in order for it" @@ -73,58 +159,299 @@ msgid "" "first before this, as a Discord bot is not exactly beginner-friendly." msgstr "" -#: ../../quickstart.rst:34 -msgid "This code block below shows a simple bot being created:" +#: ../../quickstart.rst:81 +msgid "First, let's run the bot:" msgstr "" -#: ../../quickstart.rst:52 -msgid "" -"There's quite a lot of things that are going on here, so let's break it " -"down step-by-step:" +#: ../../quickstart.rst:92 +msgid "And that's it! Your bot should now turn online in discord!" msgstr "" -#: ../../quickstart.rst:54 +#: ../../quickstart.rst:94 +msgid "Let's take a look now at what is happening here:" +msgstr "" + +#: ../../quickstart.rst:96 msgid "" "``import interactions`` -- This is the import line. If this returns a " -"``ModuleNotFoundError``, please look at our `Installing`_ section here." +"``ModuleNotFoundError``, please look at our section on how to " +":ref:`install ` here." msgstr "" -#: ../../quickstart.rst:55 +#: ../../quickstart.rst:97 msgid "" -"``bot = interactions.Client(token=\"...\")`` -- This is the ``bot`` " -"variable that defines our bot. This basically instantiates the `Client`_ " -"class, which requires a ``token`` keyword-argument to be passed. In order" -" to get a token, please look at the image given below." +"``bot = interactions.Client(token=\"your_secret_bot_token\")`` -- This is" +" the ``bot`` variable that defines our bot. This basically instantiates " +"the :ref:`application client `, which requires a " +"``token`` keyword-argument to be passed. You have to put in your " +"(previously mentioned) secret token here." msgstr "" -#: ../../quickstart.rst:56 +#: ../../quickstart.rst:98 msgid "" -"``@bot.application_command()`` -- This is something known as a " -"*decorator* in Python. This decorator is in charge and responsible of " -"making sure that the Discord API is told about the slash/sub command that" -" you wish to create, and sends an HTTP request correspondingly. Any " -"changes to the information contained in this decorator will be " -"synchronously updated with the API automatically for you." +"``bot.start()`` -- Finally, this is what tells our library to turn your " +"bot from offline to online." msgstr "" -#: ../../quickstart.rst:57 +#: ../../quickstart.rst:102 +msgid "Now, let's create our first slash command:" +msgstr "" + +#: ../../quickstart.rst:120 +msgid "Now, let's look what the new parts of the code are doing:" +msgstr "" + +#: ../../quickstart.rst:122 msgid "" -"``await ctx.send(\"Hello world!\")`` -- This is what lets us send a " -"\"message\", or otherwise known as an interaction response back to the " -"Discord API for us. ``ctx`` is abbreviated as the \"context\" of the " -"command, so numerous fields and attributes such as channels, guilds; and " -"etc. are able to be inputted." +"``@bot.command()`` -- This is something known as a *decorator* in Python." +" This decorator is in charge and responsible of making sure that the " +"Discord API is told about the slash/sub command that you wish to create, " +"and sends an HTTP request correspondingly. Any changes to the information" +" contained in this decorator will be synchronously updated with the API " +"automatically for you. The ``scope`` field shown here is optional, which " +"represents a guild command if you wish to have a command appear in only " +"specific servers that bot is in. This can be a guild object or the ID." msgstr "" -#: ../../quickstart.rst:58 +#: ../../quickstart.rst:123 +msgid "``name`` -- This is the name of your command." +msgstr "" + +#: ../../quickstart.rst:124 +msgid "``description`` -- This is the description of your command." +msgstr "" + +#: ../../quickstart.rst:125 msgid "" -"``bot.start()`` -- Finally, this is what tells our library to turn your " -"bot from offline to online." +"``async def my_first_command(ctx: interactions.CommandContext):`` -- This" +" here is called our \"command coroutine,\" or what our library internally" +" calls upon each time it recognizes an interaction event from the Discord" +" API that affiliates with the data we've put into the decorator above it." +" Please note that ``ctx`` is an abbreviation for :ref:`context " +"`." msgstr "" -#: ../../quickstart.rst:62 +#: ../../quickstart.rst:126 +msgid "" +"``await ctx.send(\"Hi there!\")`` -- This sends the response to your " +"command." +msgstr "" + +#: ../../quickstart.rst:128 +msgid "``name`` and ``description`` are required." +msgstr "" + +#: ../../quickstart.rst:131 +msgid "Difference between global and guild slash commands:" +msgstr "" + +#: ../../quickstart.rst:133 +msgid "" +"guild slash commands are instantly available in the guild with the given " +"id. In order to copy your guild ID you have to enable the developer mode " +"in discord and then right-click on the guild. This is also shown in the " +"pictures beyond." +msgstr "" + +#: ../../quickstart.rst:134 +msgid "" +"global commands are created by *not* including the ``scope`` argument " +"into the ``@bot.command`` decorator. They will appear in all guilds your " +"Bot is in. This process can take up to one hour to be completed on all " +"guilds." +msgstr "" + +#: ../../quickstart.rst:141 +msgid "Next, let's create an Option" +msgstr "" + +#: ../../quickstart.rst:143 +msgid "" +":ref:`Options ` are extra " +"arguments of a command, filled in by the user executing the command." +msgstr "" + +#: ../../quickstart.rst:171 +msgid "The limit for options per command is 25." +msgstr "" + +#: ../../quickstart.rst:174 +msgid "Nested commands: subcommands" +msgstr "" + +#: ../../quickstart.rst:218 +msgid "You can add a SUB_COMMAND_GROUP in between the base and command." +msgstr "" + +#: ../../quickstart.rst:222 +msgid "Special type of commands: Context menus" +msgstr "" + +#: ../../quickstart.rst:224 +msgid "" +"While, granted that application commands are way more intuitive and " +"easier to work with as both a bot developer and user from a UX approach, " +"some may not want to always type the same command over and over again to " +"repeat a repetitive task. Introducing: **context menus.** Also known as " +"\"user\" and \"message\" respectively, this simple switch in command " +"structure allows you to quickly empower your bot with the ability to make" +" right-click actions with menial effort." +msgstr "" + +#: ../../quickstart.rst:230 +msgid "" +"In order to create a menu-based command, all you need to do is simply add" +" this one line into your ``@command`` decorator:" +msgstr "" + +#: ../../quickstart.rst:245 +msgid "" +"The structure of a menu command differs significantly from that of a " +"regular one:" +msgstr "" + +#: ../../quickstart.rst:247 +msgid "You cannot have any options or choices." +msgstr "" + +#: ../../quickstart.rst:248 +msgid "You cannot have a description." +msgstr "" + +#: ../../quickstart.rst:249 +msgid "The ``name`` filter follows a different regex pattern." +msgstr "" + +#: ../../quickstart.rst:252 +msgid "Creating and sending Components" +msgstr "" + +#: ../../quickstart.rst:254 +msgid "" +"Being able to run your own commands is very useful for a lot of " +"automation-related purposes as a bot developer, however, we also have " +"something that we're able to introduce for both the developer and a user " +"to use that will be the \"sprinkles\" on top of a cupcake, so-to-speak: " +"components." +msgstr "" + +#: ../../quickstart.rst:259 +msgid "" +"Components are ways of being able to select pre-defined data, or define " +"your own. They're very simple but quite powerful when put into practice " +"This code block below shows a simplified implementation of a component:" +msgstr "" + +#: ../../quickstart.rst:285 +msgid "" +"This is a design that we ended up choosing to simplify responding to " +"buttons when someone presses on one, and to allow bot developers to plug " +"in *which* button they want a response to. No more ``wait_for_component``" +" and ``wait_for`` functions with huge if-else chains; this removes " +"redundancy in your code and overall eases into the practice of " +"modularity." +msgstr "" + +#: ../../quickstart.rst:292 +msgid "What kinds of components are there?" +msgstr "" + +#: ../../quickstart.rst:294 +msgid "" +"As a bot developer, this may be fairly important for you to want to know." +" Different components provide difference user experiences, interactions " +"and results. Currently you can choose between three components that " +"Discord provides: a ``Button``, ``SelectMenu`` and ``TextInput``. You're " +"able to `find these component types`_ here." +msgstr "" + +#: ../../quickstart.rst:301 +msgid "How do I send components in a row?" +msgstr "" + +#: ../../quickstart.rst:303 +msgid "" +"You are also able to organize these components into rows, which are " +"defined as ``ActionRow``'s. It is worth noting that you can have only a " +"maximum of 5 per message that you send. This code block below shows how:" +msgstr "" + +#: ../../quickstart.rst:330 +msgid "" +"By default, the ``components`` keyword-argument field in the context " +"sending method will always support ``ActionRow``-less sending: you only " +"need to declare rows whenever you need or want to. This field will also " +"support raw arrays and tables, if you so wish to choose to not use our " +"class objects instead." +msgstr "" + +#: ../../quickstart.rst:336 +msgid "" +"You cannot use ``TextInput`` with the above shown method. Look :ref:`here" +" ` how to create and send them." +msgstr "" + +#: ../../quickstart.rst:341 +msgid "Creating a TextInput" +msgstr "" + +#: ../../quickstart.rst:342 +msgid "You want to get a Text from a user? You can use ``TextInput`` for that." +msgstr "" + +#: ../../quickstart.rst:354 +msgid "" +"But how to send it? You can't use ``ctx.send`` for it. Take a look at " +":ref:`Modals ` for that." +msgstr "" + +#: ../../quickstart.rst:358 +msgid "Modals" +msgstr "" + +#: ../../quickstart.rst:359 +msgid "" +"Modals are a new way to interact with a user. Currently only a " +"``TextInput`` component is supported. You can have up to five " +"``TextInput`` in a Modal." +msgstr "" + +#: ../../quickstart.rst:372 +msgid "with the ``TextInput`` example from above we get:" +msgstr "" + +#: ../../quickstart.rst:377 +msgid "Responding to a Modal interaction" +msgstr "" + +#: ../../quickstart.rst:385 +msgid "" +"You can respond to a modal the same way as you would respond to a normal " +"``chat-input`` command, except your function has an extra argument for " +"the text what was put into the modal." +msgstr "" + +#: ../../quickstart.rst:388 +msgid "Adding v2 Permissions" +msgstr "" + +#: ../../quickstart.rst:390 +msgid "" +"v2 permissions consist of the ``default_member_permissions`` and " +"``dm_permission`` keyword arguments. Similar to adding privileged " +"intents, you add permissions (like admin-only, ``BAN_MEMBERS``-only, " +"etc.) as follows:" +msgstr "" + +#: ../../quickstart.rst:429 +msgid "" +"Adding guild-only commands is easier as the only thing it takes is a " +"boolean. Here's an example of a guild-only command:" +msgstr "" + +#: ../../quickstart.rst:448 msgid "" -"And it's really as simple as that! If you would like to learn more about " -"what our library offers, or see more examples of our code, please be sure" -" to check out our `coding examples`_ page on our docs!" +"Likewise, setting ``dm_permission`` to ``True`` makes it usable in DMs. " +"Just to note that this argument's mainly used for global commands. Guild " +"commands with this argument will have no effect." msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.cache.po b/docs/locale/fr/LC_MESSAGES/api.cache.po index f32d51085..43abb1314 100644 --- a/docs/locale/fr/LC_MESSAGES/api.cache.po +++ b/docs/locale/fr/LC_MESSAGES/api.cache.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,7 +31,7 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.cache.Item:3 of +#: interactions.api.cache.Item:3 interactions.api.cache.Storage.get:3 of msgid "The ID of the item." msgstr "" @@ -55,22 +55,8 @@ msgstr "" msgid "Adds a new item to the storage." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Parameters" msgstr "" @@ -78,27 +64,46 @@ msgstr "" msgid "The item to add." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Returns" msgstr "" #: interactions.api.cache.Storage.add:5 of -msgid "typing.List[interactions.api.cache.Item]" +msgid "The new storage." +msgstr "" + +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of +msgid "Return type" +msgstr "" + +#: interactions.api.cache.Storage.get:1 of +msgid "Gets an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.get:5 of +msgid "The item from the storage if any." +msgstr "" + +#: interactions.api.cache.Storage.update:1 of +msgid "Updates an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.update:3 of +msgid "The item to update." +msgstr "" + +#: interactions.api.cache.Storage.update:4 of +msgid "The updated item, if stored." +msgstr "" + +#: interactions.api.cache.Storage.view:1 of +msgid "Views all items from storage." +msgstr "" + +#: interactions.api.cache.Storage.view:3 of +msgid ":return The items stored. :rtype: List[dict]" msgstr "" #: interactions.api.cache.Cache:1 of @@ -138,169 +143,3 @@ msgstr "" #: interactions.api.cache.Cache:12 of msgid "The cached interactions upon interaction." msgstr "" - -#: interactions.api.cache.Cache.add_dm:1 of -msgid "Adds a DM to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_dm:3 of -msgid "The Direct Message to add." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:5 -#: interactions.api.cache.Cache.add_dm:5 -#: interactions.api.cache.Cache.add_guild:5 -#: interactions.api.cache.Cache.add_interaction:7 -#: interactions.api.cache.Cache.add_member:5 -#: interactions.api.cache.Cache.add_message:5 -#: interactions.api.cache.Cache.add_role:5 -#: interactions.api.cache.Cache.add_self_guild:5 -#: interactions.api.cache.Cache.add_user:5 -#: interactions.api.cache.Cache.get_channel:7 -#: interactions.api.cache.Cache.get_dm:5 -#: interactions.api.cache.Cache.get_guild:5 -#: interactions.api.cache.Cache.get_interaction:5 -#: interactions.api.cache.Cache.get_member:7 -#: interactions.api.cache.Cache.get_message:9 -#: interactions.api.cache.Cache.get_role:9 -#: interactions.api.cache.Cache.get_self_guild:5 -#: interactions.api.cache.Cache.get_user:5 of -msgid "interactions.api.cache.Item" -msgstr "" - -#: interactions.api.cache.Cache.get_dm:1 of -msgid "Gets a DM from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_dm:3 of -msgid "The ID of the Direct Message." -msgstr "" - -#: interactions.api.cache.Cache.add_self_guild:1 of -msgid "Adds a combed guild from the gateway to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:3 -#: interactions.api.cache.Cache.add_self_guild:3 of -msgid "The guild to add." -msgstr "" - -#: interactions.api.cache.Cache.get_self_guild:1 of -msgid "Gets a combed guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:3 -#: interactions.api.cache.Cache.get_guild:3 -#: interactions.api.cache.Cache.get_member:3 -#: interactions.api.cache.Cache.get_message:3 -#: interactions.api.cache.Cache.get_role:3 -#: interactions.api.cache.Cache.get_self_guild:3 of -msgid "The ID of the guild." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:1 of -msgid "Adds a guild after the ready event to the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_guild:1 of -msgid "Gets a new guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:1 of -msgid "Adds a channel to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:3 of -msgid "The channel to add." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:1 of -msgid "Gets a channel from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:5 -#: interactions.api.cache.Cache.get_message:5 of -msgid "The ID of the channel." -msgstr "" - -#: interactions.api.cache.Cache.add_role:1 of -msgid "Adds a role to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_role:3 of -msgid "The role to add." -msgstr "" - -#: interactions.api.cache.Cache.get_role:1 of -msgid "Gets a role from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_member:5 -#: interactions.api.cache.Cache.get_role:5 of -msgid "The ID of the member." -msgstr "" - -#: interactions.api.cache.Cache.get_role:7 of -msgid "The ID of the role." -msgstr "" - -#: interactions.api.cache.Cache.add_member:1 of -msgid "Adds a member to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_member:3 of -msgid "The member to add." -msgstr "" - -#: interactions.api.cache.Cache.get_member:1 of -msgid "Gets a member from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:1 of -msgid "Adds a message to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:3 of -msgid "The message to add." -msgstr "" - -#: interactions.api.cache.Cache.get_message:1 of -msgid "Gets a message from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_message:7 of -msgid "The ID of the message." -msgstr "" - -#: interactions.api.cache.Cache.add_user:1 of -msgid "Adds a user to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_user:3 of -msgid "The user to add." -msgstr "" - -#: interactions.api.cache.Cache.get_user:1 of -msgid "Gets a user from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_user:3 of -msgid "The ID of the user." -msgstr "" - -#: interactions.api.cache.Cache.get_interaction:1 of -msgid "Gets an application command/interaction from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:3 -#: interactions.api.cache.Cache.get_interaction:3 of -msgid "The application ID of the command." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:1 of -msgid "Adds an application command/interaction to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:5 of -msgid "The application command to add." -msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.dispatch.po b/docs/locale/fr/LC_MESSAGES/api.dispatch.po index 1b084411b..b6707ea02 100644 --- a/docs/locale/fr/LC_MESSAGES/api.dispatch.po +++ b/docs/locale/fr/LC_MESSAGES/api.dispatch.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -59,16 +59,6 @@ msgstr "" msgid "Keyword-only arguments of the coroutine." msgstr "" -#: interactions.api.dispatch.Listener.dispatch -#: interactions.api.dispatch.Listener.register of -msgid "Returns" -msgstr "" - -#: interactions.api.dispatch.Listener.dispatch:9 -#: interactions.api.dispatch.Listener.register:9 of -msgid "None" -msgstr "" - #: interactions.api.dispatch.Listener.register:1 of msgid "" "Registers a given coroutine as an event to be listened to. If the name of" @@ -83,3 +73,7 @@ msgstr "" #: interactions.api.dispatch.Listener.register:7 of msgid "The coroutine to register as an event." msgstr "" + +#: interactions.api.dispatch.Listener.register:9 of +msgid "The name to associate the coroutine with. Defaults to None." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.enums.po b/docs/locale/fr/LC_MESSAGES/api.enums.po index 284356c95..e77ec4bbc 100644 --- a/docs/locale/fr/LC_MESSAGES/api.enums.po +++ b/docs/locale/fr/LC_MESSAGES/api.enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,25 +22,6 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.api.enums.DefaultErrorType:1 of -msgid "" -"An enumerable object for the default errors that occur with interaction " -"creation." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:4 of -msgid "" -"This is a port from v3's errors, which basically delegate errors to a " -"unique error code. This enum's purpose is to help remember error codes. " -"Importing this class is not required." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:7 of -msgid "" -"i.e. : raise InteractionException(1) == raise " -"InteractionException(REQUEST_FAILURE)" -msgstr "" - #: interactions.api.enums.OpCodeType:1 of msgid "" "An enumerable object for the Gateway's OPCODE result state. This is " @@ -53,35 +34,3 @@ msgid "" "`_ in the Discord API." msgstr "" - -#: interactions.api.enums.WSCloseCodeType:1 of -msgid "" -"An enumerable object for the Gateway's closing connection codes. This is " -"representative of the Gateway responses generated by the WebSocket." -msgstr "" - -#: interactions.api.enums.WSCloseCodeType:5 of -msgid "" -"Equivalent of `Gateway Close Event Codes " -"`_ in the Discord API." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:1 of -msgid "An enumerable object for the HTTP response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:4 of -msgid "This enumerable does not list the documented \"5xx\", as it may vary." -msgstr "" - -#: interactions.api.enums.JSONResponseType:1 of -msgid "An enumerable object for the JSON error response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.JSONResponseType:4 of -msgid "" -"Equivalent of `JSON Error Codes " -"`_ in the Discord API." -msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.error.po b/docs/locale/fr/LC_MESSAGES/api.error.po index 4dcbb1a1a..85101f5e4 100644 --- a/docs/locale/fr/LC_MESSAGES/api.error.po +++ b/docs/locale/fr/LC_MESSAGES/api.error.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -47,7 +47,7 @@ msgstr "" #: interactions.api.error.HTTPException:3 #: interactions.api.error.InteractionException:8 #: interactions.api.error.JSONException:3 of -msgid "The built in formatter." +msgid "The built-in formatter." msgstr "" #: interactions.api.error.GatewayException:4 diff --git a/docs/locale/fr/LC_MESSAGES/api.gateway.po b/docs/locale/fr/LC_MESSAGES/api.gateway.po index c2adf73a2..c64b34dd0 100644 --- a/docs/locale/fr/LC_MESSAGES/api.gateway.po +++ b/docs/locale/fr/LC_MESSAGES/api.gateway.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,125 +22,276 @@ msgstr "" msgid "Gateway" msgstr "" -#: interactions.api.gateway.Heartbeat:1 of -msgid "A class representing a consistent heartbeat connection with the gateway." +#: interactions.api.gateway:1 of +msgid "interactions.api.gateway" msgstr "" -#: interactions.api.gateway.Heartbeat interactions.api.gateway.WebSocket of +#: interactions.api.gateway:3 of +msgid "This section of the library maintains and handles all of the Gateway work." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:1 of +msgid "" +"A class representing the client's connection to the Gateway via. " +"WebSocket." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient of msgid "Variables" msgstr "" -#: interactions.api.gateway.Heartbeat:3 of -msgid "The WebSocket class to infer on." +#: interactions.api.gateway.client.WebSocketClient:3 of +msgid "The asynchronous event loop." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:4 of +msgid "The built-in event dispatcher." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:5 of +msgid "The user-facing HTTP client." msgstr "" -#: interactions.api.gateway.Heartbeat:4 of -msgid "The heartbeat interval determined by the gateway." +#: interactions.api.gateway.client.WebSocketClient:6 of +msgid "The WebSocket data of the connection." msgstr "" -#: interactions.api.gateway.Heartbeat:5 of -msgid "The multi-threading event." +#: interactions.api.gateway.client.WebSocketClient:7 of +msgid "Whether the connection has been closed or not." msgstr "" -#: interactions.api.gateway.Heartbeat.run:1 of -msgid "Starts the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:8 of +msgid "The connection options made during connection." msgstr "" -#: interactions.api.gateway.Heartbeat.stop:1 of -msgid "Stops the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:9 of +msgid "The gateway intents used for connection." msgstr "" -#: interactions.api.gateway.WebSocket:1 of -msgid "A class representing a websocket connection with the gateway." +#: interactions.api.gateway.client.WebSocketClient:10 of +msgid "The contents of the application returned when ready." msgstr "" -#: interactions.api.gateway.WebSocket:3 of -msgid "An instance of :class:`interactions.api.models.Intents`." +#: interactions.api.gateway.client.WebSocketClient:11 of +msgid "The context state of a \"heartbeat\" made to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket:4 of -msgid "The coroutine event loop established on." +#: interactions.api.gateway.client.WebSocketClient:12 of +msgid "The shards used during connection." msgstr "" -#: interactions.api.gateway.WebSocket:5 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.api.gateway.client.WebSocketClient:13 of +msgid "The presence used in connection." msgstr "" -#: interactions.api.gateway.WebSocket:6 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.api.gateway.client.WebSocketClient:14 of +msgid "The ready state of the client as an ``asyncio.Event``." msgstr "" -#: interactions.api.gateway.WebSocket:7 of -msgid "The current client session." +#: interactions.api.gateway.client.WebSocketClient:15 of +msgid "The closing task for ending connections." msgstr "" -#: interactions.api.gateway.WebSocket:8 of -msgid "The current ID of the gateway session." +#: interactions.api.gateway.client.WebSocketClient:16 of +msgid "The ID of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:9 of -msgid "The current sequence of the gateway connection." +#: interactions.api.gateway.client.WebSocketClient:17 of +msgid "The sequence identifier of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:10 of -msgid "An instance of :class:`interactions.api.gateway.Heartbeat`." +#: interactions.api.gateway.client.WebSocketClient:18 of +msgid "" +"The latest time of the last send_packet function call since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:11 of -msgid "The current connection state." +#: interactions.api.gateway.client.WebSocketClient:19 of +msgid "" +"The latest time of the last ``HEARTBEAT_ACK`` event since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:12 of -msgid "The internal HTTP client used to connect to the gateway." +#: interactions.api.gateway.client.WebSocketClient:20 of +msgid "The latency of the connection, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket.recv:1 of -msgid "Receives packets sent from the gateway." +#: interactions.api.gateway.client.WebSocketClient._manage_heartbeat:1 of +msgid "Manages the heartbeat loop." msgstr "" -#: interactions.api.gateway.WebSocket.connect:1 of -msgid "Establishes a connection to the gateway." +#: interactions.api.gateway.client.WebSocketClient.__restart:1 of +msgid "Restart the client's connection and heartbeat with the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of +#: interactions.api.gateway.client.WebSocketClient._establish_connection:1 of +msgid "Establishes a client connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__identify +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context +#: interactions.api.gateway.client.WebSocketClient._dispatch_event +#: interactions.api.gateway.client.WebSocketClient._establish_connection +#: interactions.api.gateway.client.WebSocketClient._handle_connection +#: interactions.api.gateway.client.WebSocketClient._send_packet +#: interactions.api.gateway.client.WebSocketClient._update_presence of msgid "Parameters" msgstr "" -#: interactions.api.gateway.WebSocket.connect:3 of -msgid "The token to use for identifying." +#: interactions.api.gateway.client.WebSocketClient._establish_connection:3 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:5 of +msgid "The shards to establish a connection with. Defaults to ``None``." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of -msgid "Returns" +#: interactions.api.gateway.client.WebSocketClient._establish_connection:5 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:7 of +msgid "The presence to carry with. Defaults to ``None``." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:1 of +msgid "Handles the client's connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:3 of +msgid "The packet stream to handle." msgstr "" -#: interactions.api.gateway.WebSocket.connect:5 -#: interactions.api.gateway.WebSocket.handle:7 of -msgid "None" +#: interactions.api.gateway.client.WebSocketClient.wait_until_ready:1 of +msgid "Waits for the client to become ready according to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:1 of -msgid "Handles the dispatched event data from a gateway event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:1 of +msgid "Dispatches an event from the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:3 of +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:3 of msgid "The name of the event." msgstr "" -#: interactions.api.gateway.WebSocket.handle:5 of -msgid "The data of the event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:5 of +msgid "The data for the event." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:1 of +msgid "" +"Takes raw data given back from the Gateway and gives \"context\" based " +"off of what it is." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:4 of +msgid "The data from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Returns" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:6 of +msgid "The context object." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Return type" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:1 of +msgid "" +"Checks if an application command schema has sub commands needed for " +"argument collection." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:4 of +msgid "The data structure of the option." msgstr "" -#: interactions.api.gateway.WebSocket.identify:1 of +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:6 of +msgid "The context to refer subcommands from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:8 of +msgid "A dictionary of the collected options, if any." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:1 of +msgid "Looks up the type of option respective to the existing option types." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:4 of +msgid "The context to refer types from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:6 of +msgid "The option type." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:8 of +msgid "The option type context." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:1 of +msgid "Receives a stream of packets sent from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:3 of +msgid "The packet stream." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:1 of +msgid "Sends a packet to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:3 of +msgid "The data to send to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:1 of msgid "Sends an ``IDENTIFY`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.resume:1 of +#: interactions.api.gateway.client.WebSocketClient.__identify:3 of +msgid "The shard ID to identify under." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:5 +#: interactions.api.gateway.client.WebSocketClient._update_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__resume:1 of msgid "Sends a ``RESUME`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.heartbeat:1 of +#: interactions.api.gateway.client.WebSocketClient.__heartbeat:1 of msgid "Sends a ``HEARTBEAT`` packet to the gateway." msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.shard:1 of +msgid "Returns the current shard" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.presence:1 of +msgid "Returns the current presence." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:1 of +msgid "Sends an ``UPDATE_PRESENCE`` packet to the gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.api.gateway.heartbeat._Heartbeat:1 of +msgid "An internal class representing the heartbeat in a WebSocket connection." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.http.po b/docs/locale/fr/LC_MESSAGES/api.http.po index c550cad31..b637802cb 100644 --- a/docs/locale/fr/LC_MESSAGES/api.http.po +++ b/docs/locale/fr/LC_MESSAGES/api.http.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,1742 +19,2431 @@ msgstr "" "Generated-By: Babel 2.9.1\n" #: ../../api.http.rst:4 -msgid "HTTP Client" +msgid "HTTP" msgstr "" -#: interactions.api.http.Route:1 of +#: interactions.api.http.route.Route:1 of msgid "A class representing how an HTTP route is structured." msgstr "" -#: interactions.api.http.Padlock interactions.api.http.Request -#: interactions.api.http.Route of +#: interactions.api.http.client.HTTPClient +#: interactions.api.http.limiter.Limiter interactions.api.http.request._Request +#: interactions.api.http.route.Route of msgid "Variables" msgstr "" -#: interactions.api.http.Route:3 of +#: interactions.api.http.route.Route:3 of msgid "The HTTP route path." msgstr "" -#: interactions.api.http.Route:4 of +#: interactions.api.http.route.Route:4 of msgid "The HTTP method." msgstr "" -#: interactions.api.http.Route:5 of +#: interactions.api.http.route.Route:5 of msgid "The URL path." msgstr "" -#: interactions.api.http.Route:6 of +#: interactions.api.http.route.Route:6 of msgid "The channel ID from the bucket if given." msgstr "" -#: interactions.api.http.Route:7 of +#: interactions.api.http.route.Route:7 of msgid "The guild ID from the bucket if given." msgstr "" -#: interactions.api.http.Route.bucket:1 of -msgid "Returns the route's bucket." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_webhooks -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_webhook -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.Request.request interactions.api.http.Route.bucket of +#: interactions.api.http.route.Route.get_bucket:1 of +msgid "" +"Returns the route's bucket. If shared_bucket is None, returns the path " +"with major parameters. Otherwise, it relies on Discord's given bucket." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.delete_channel +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.channel.ChannelRequest.trigger_typing +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_ban +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_kick +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild +#: interactions.api.http.guild.GuildRequest.delete_guild_integration +#: interactions.api.http.guild.GuildRequest.delete_guild_role +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state +#: interactions.api.http.guild.GuildRequest.remove_guild_ban +#: interactions.api.http.guild.GuildRequest.remove_guild_member +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest._post_followup +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response +#: interactions.api.http.interaction.InteractionRequest.delete_application_command +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.add_member_role +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.member.MemberRequest.remove_member_role +#: interactions.api.http.member.MemberRequest.search_guild_members +#: interactions.api.http.message.MessageRequest.create_message +#: interactions.api.http.message.MessageRequest.delete_message +#: interactions.api.http.message.MessageRequest.delete_messages +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.pin_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.message.MessageRequest.unpin_message +#: interactions.api.http.reaction.ReactionRequest.create_reaction +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.join_thread +#: interactions.api.http.thread.ThreadRequest.leave_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message +#: interactions.api.http.webhook.WebhookRequest.delete_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of +msgid "Parameters" +msgstr "" + +#: interactions.api.http.route.Route.get_bucket:4 of +msgid "The bucket that Discord provides, if available." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.client.HTTPClient.get_bot_gateway +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_self +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of msgid "Returns" msgstr "" -#: interactions.api.http.Route.bucket:3 of -msgid "str" +#: interactions.api.http.route.Route.get_bucket:7 of +msgid "The route bucket." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket of +msgid "Return type" +msgstr "" + +#: interactions.api.http.route.Route.endpoint:1 of +msgid "Returns the route's endpoint." msgstr "" -#: interactions.api.http.Padlock:1 of -msgid "A class representing ratelimited sessions as a \"locked\" event." +#: interactions.api.http.route.Route.endpoint:3 of +msgid "The route endpoint." msgstr "" -#: interactions.api.http.Padlock:3 of -msgid "The lock coroutine event." +#: interactions.api.http.limiter.Limiter:1 of +msgid "A class representing a limitation for an HTTP request." msgstr "" -#: interactions.api.http.Padlock:4 of -msgid "Whether the lock should stay open or not." +#: interactions.api.http.limiter.Limiter:3 of +msgid "The \"lock\" or controller of the request." msgstr "" -#: interactions.api.http.Padlock.click:1 of -msgid "Re-closes the lock after the instiantiation and invocation ends." +#: interactions.api.http.limiter.Limiter:4 of +msgid "The remaining time before the request can be ran." msgstr "" -#: interactions.api.http.Request:1 of +#: interactions.api.http.request._Request:1 of msgid "A class representing how HTTP requests are sent/read." msgstr "" -#: interactions.api.http.Request:3 of +#: interactions.api.http.request._Request:3 of msgid "The current application token." msgstr "" -#: interactions.api.http.Request:4 of +#: interactions.api.http.request._Request:4 of msgid "The current coroutine event loop." msgstr "" -#: interactions.api.http.Request:5 of -msgid "The current ratelimits from the Discord API." +#: interactions.api.http.request._Request:5 of +msgid "The current per-route rate limiters from the API." +msgstr "" + +#: interactions.api.http.request._Request:6 of +msgid "The current endpoint to shared_bucket cache from the API." msgstr "" -#: interactions.api.http.Request:6 of +#: interactions.api.http.request._Request:7 of msgid "The current headers for an HTTP request." msgstr "" -#: interactions.api.http.Request:7 of +#: interactions.api.http.request._Request:8 of msgid "The current session for making requests." msgstr "" -#: interactions.api.http.Request:8 of -msgid "The ratelimit lock event." +#: interactions.api.http.request._Request:9 of +msgid "The global rate limiter." msgstr "" -#: interactions.api.http.Request.check_session:1 of +#: interactions.api.http.request._Request._check_session:1 of msgid "Ensures that we have a valid connection session." msgstr "" -#: interactions.api.http.Request.request:1 of -msgid "Sends a request to the Discord API." +#: interactions.api.http.request._Request._check_lock:1 of +msgid "Checks the global lock for its current state." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.add_member_role -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_kick -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_interaction_response -#: interactions.api.http.HTTPClient.create_message -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_application_command -#: interactions.api.http.HTTPClient.delete_channel -#: interactions.api.http.HTTPClient.delete_channel_permission -#: interactions.api.http.HTTPClient.delete_guild -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.delete_stage_instance -#: interactions.api.http.HTTPClient.delete_webhook_message -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_channel_permission -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_current_user_voice_state -#: interactions.api.http.HTTPClient.modify_guild -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_user_voice_state -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.remove_all_reactions -#: interactions.api.http.HTTPClient.remove_member_role -#: interactions.api.http.HTTPClient.remove_user_reaction -#: interactions.api.http.HTTPClient.search_guild_members -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.HTTPClient.trigger_typing -#: interactions.api.http.Request.request of -msgid "Parameters" +#: interactions.api.http.request._Request.request:1 of +msgid "Sends a request to the Discord API." msgstr "" -#: interactions.api.http.Request.request:3 of +#: interactions.api.http.request._Request.request:3 of msgid "The HTTP route to request." msgstr "" -#: interactions.api.http.Request.request:5 of +#: interactions.api.http.request._Request.request:5 of msgid "Optional keyword-only arguments to pass as information in the request." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:4 -#: interactions.api.http.Request.request:7 of -msgid "None" +#: interactions.api.http.request._Request.request:7 of +msgid "The contents of the request if any." msgstr "" -#: interactions.api.http.Request.close:1 of +#: interactions.api.http.request._Request.close:1 of msgid "Closes the current session." msgstr "" -#: interactions.api.http.HTTPClient:1 of -msgid "" -"A WIP class that represents the http Client that handles all major " -"endpoints to Discord API." +#: interactions.api.http.client.HTTPClient:1 of +msgid "The user-facing client of the Web API for individual endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:3 of +msgid "The token of the application." msgstr "" -#: interactions.api.http.HTTPClient.get_gateway:1 of +#: interactions.api.http.client.HTTPClient:4 of +msgid "The requesting interface for endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:5 of +msgid "The referenced cache." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_gateway:1 of msgid "" "This calls the Gateway endpoint and returns a v9 gateway link with JSON " "encoding." msgstr "" -#: interactions.api.http.HTTPClient.get_bot_gateway:1 of -msgid "" -"This calls the BOT Gateway endpoint. :return: A tuple denoting (shard, " -"gateway_url), url from API v9 and JSON encoding" +#: interactions.api.http.client.HTTPClient.get_bot_gateway:1 of +msgid "This calls the BOT Gateway endpoint." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_bot_gateway:3 of +msgid "A tuple denoting (shard, gateway_url), url from API v9 and JSON encoding" msgstr "" -#: interactions.api.http.HTTPClient.login:1 of +#: interactions.api.http.client.HTTPClient.login:1 of msgid "" "This 'logins' to the gateway, which makes it available to use any other " "endpoint." msgstr "" -#: interactions.api.http.HTTPClient.logout:1 of +#: interactions.api.http.client.HTTPClient.logout:1 of msgid "This 'log outs' the session." msgstr "" -#: interactions.api.http.HTTPClient.get_current_bot_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_bot_information:1 of msgid "Returns the bot user application object without flags." msgstr "" -#: interactions.api.http.HTTPClient.get_current_authorisation_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_authorisation_information:1 +#: of msgid "Returns info about the current authorization of the bot user" msgstr "" -#: interactions.api.http.HTTPClient.get_voice_regions:1 of +#: interactions.api.http.channel.ChannelRequest.get_channel:1 of msgid "" -"Gets a list from the API a list of voice regions. :return: An array of " -"Voice Region objects." +"Gets a channel by ID. If the channel is a thread, it also includes thread" +" members (and other thread attributes)." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:6 +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.get_channel:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:6 +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:3 +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.modify_channel:3 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.move_channel:4 +#: interactions.api.http.channel.ChannelRequest.trigger_typing:6 +#: interactions.api.http.message.MessageRequest.pin_message:3 +#: interactions.api.http.message.MessageRequest.unpin_message:3 +#: interactions.api.http.webhook.WebhookRequest.create_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:3 of +msgid "Channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_self:1 of -msgid "An alias to `get_user`, but only gets the current bot user." +#: interactions.api.http.channel.ChannelRequest.get_channel:4 of +msgid "Dictionary of the channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_self:3 of -msgid "" -":return A partial User object of the current bot user in the form of a " -"dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:1 of +msgid "Deletes a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_user:1 of -msgid "" -"Gets a user object for a given user ID. :param user_id: A user snowflake " -"ID. If omitted, this defaults to the current bot user. :return A partial " -"User object in the form of a dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:3 of +msgid "Channel ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_self:1 of -msgid "Modify the bot user account settings. :param payload: The data to send." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:1 of +msgid "Get messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:1 of -msgid "Changes a nickname of the current bot user in a guild." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:4 of +msgid "around, before, and after arguments are mutually exclusive." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:3 of -msgid "Guild snowflake ID." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:7 of +msgid "How many messages to get. Defaults to 50, the max is 100." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:4 of -msgid "The new nickname, if any." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:8 of +msgid "Get messages around this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:5 of -msgid "Nothing needed to be yielded." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:9 of +msgid "Get messages before this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.create_dm:1 of -msgid "" -"Creates a new DM channel with a user. :param recipient_id: User snowflake" -" ID. :return: Returns a dictionary representing a DM Channel object." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:10 of +msgid "Get messages after this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.send_message:1 of -msgid "" -"A higher level implementation of :meth:`create_message()` that handles " -"the payload dict internally. Does not integrate components into the " -"function, and is a port from v3.0.0" +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:11 of +msgid "An array of Message objects." msgstr "" -#: interactions.api.http.HTTPClient.create_message:1 of -msgid "Send a message to the specified channel." +#: interactions.api.http.channel.ChannelRequest.create_channel:1 of +msgid "Creates a channel within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_message:3 of -msgid "Dictionary contents of a message. (i.e. message payload)" +#: interactions.api.http.channel.ChannelRequest.create_channel:4 of +msgid "This does not handle payload in this method. Tread carefully." msgstr "" -#: interactions.api.http.HTTPClient.create_message:4 -#: interactions.api.http.HTTPClient.edit_message:3 of -msgid "Channel snowflake ID." +#: interactions.api.http.channel.ChannelRequest.create_channel:6 +#: interactions.api.http.channel.ChannelRequest.move_channel:3 +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:3 +#: interactions.api.http.guild.GuildRequest.add_guild_member:3 +#: interactions.api.http.guild.GuildRequest.create_guild_role:3 +#: interactions.api.http.guild.GuildRequest.create_guild_template:3 +#: interactions.api.http.guild.GuildRequest.delete_guild:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_role:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_template:3 +#: interactions.api.http.guild.GuildRequest.get_guild_bans:6 +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:3 +#: interactions.api.http.guild.GuildRequest.get_guild_invites:3 +#: interactions.api.http.guild.GuildRequest.get_guild_preview:3 +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:3 +#: interactions.api.http.guild.GuildRequest.get_guild_templates:3 +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:6 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:3 +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.modify_guild:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:3 +#: interactions.api.http.guild.GuildRequest.sync_guild_template:3 +#: interactions.api.http.member.MemberRequest.get_member:3 +#: interactions.api.http.member.MemberRequest.modify_member:5 +#: interactions.api.http.member.MemberRequest.search_guild_members:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:3 +#: of +msgid "Guild ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.create_message of -msgid "return dict" +#: interactions.api.http.channel.ChannelRequest.create_channel:7 of +msgid "Payload data." msgstr "" -#: interactions.api.http.HTTPClient.create_message:5 of -msgid "Dictionary representing a message (?)" +#: interactions.api.http.channel.ChannelRequest.create_channel:8 of +msgid "Reason to show in audit log, if needed." msgstr "" -#: interactions.api.http.HTTPClient.get_message:1 of -msgid "" -"Get a specific message in the channel. :param channel_id: the channel " -"this message belongs to :param message_id: the id of the message :return:" -" message if it exists." +#: interactions.api.http.channel.ChannelRequest.create_channel:9 of +msgid "Channel object as dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_message:1 of -msgid "" -"Deletes a message from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param reason: " -"Optional reason to show up in the audit log. Defaults to `None`." +#: interactions.api.http.channel.ChannelRequest.move_channel:1 of +msgid "Moves a channel to a new position." msgstr "" -#: interactions.api.http.HTTPClient.delete_messages:1 of +#: interactions.api.http.channel.ChannelRequest.move_channel:5 of +msgid "The new channel position." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:6 of +msgid "The category parent ID, if needed." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:7 of msgid "" -"Deletes messages from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_ids: An array of message snowflake IDs. " -":param reason: Optional reason to show up in the audit log. Defaults to " -"`None`." +"Sync permissions with the parent associated with parent_id. Defaults to " +"False." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:1 of -msgid "Edits a message that already exists." +#: interactions.api.http.channel.ChannelRequest.move_channel:8 of +msgid "Reason to display to the audit log, if any." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:4 of -msgid "Message snowflake ID." +#: interactions.api.http.channel.ChannelRequest.move_channel:9 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:7 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:7 of +msgid "?" msgstr "" -#: interactions.api.http.HTTPClient.edit_message:5 of -msgid "Any new data that needs to be changed." +#: interactions.api.http.channel.ChannelRequest.modify_channel:1 of +msgid "Update a channel's settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:7 of -msgid "A message object with edited attributes." +#: interactions.api.http.channel.ChannelRequest.modify_channel:4 of +msgid "Data representing updated settings." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:5 of +msgid "Reason, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:6 of +msgid "Channel with updated attributes, if successful." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:1 of +msgid "Get the invites for the channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:4 of +msgid "List of invite objects" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:1 of +msgid "Creates an invite for the given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:4 of +msgid "This method does not handle payload. It just sends it." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:7 of +msgid "Data representing the payload/invite attributes." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:8 of +msgid "Reason to show in the audit log, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:9 of +msgid "An invite object." msgstr "" -#: interactions.api.http.HTTPClient.pin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:1 of msgid "" -"Pin a message to a channel. :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"Edits the channel's permission overwrites for a user or role in a given " +"channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:4 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:4 of +msgid "The ID of the overridden object." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:5 of +msgid "the bitwise value of all allowed permissions" msgstr "" -#: interactions.api.http.HTTPClient.unpin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:6 of +msgid "the bitwise value of all disallowed permissions" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:7 of +msgid "0 for a role or 1 for a member" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:5 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:8 of +msgid "Reason to display in the Audit Log, if given." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:1 of +msgid "Deletes a channel permission overwrite for a user or role in a channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:1 of +msgid "Posts \"... is typing\" in a given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:4 of msgid "" -"Unpin a message to a channel :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"By default, this lib doesn't use this endpoint, however, this is listed " +"for third-party implementation." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:1 of +msgid "Get all pinned messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:1 of +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:4 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:1 of +msgid "Create a new stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:4 of +msgid "The topic of the stage instance. Limited to 1-120 characters." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:5 of +msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:6 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:4 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:6 of +msgid "The reason for the creating the stage instance, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:7 of +msgid "The new stage instance" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:1 of +msgid "Get the stage instance associated with a given channel, if it exists." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:4 of +msgid "A stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:1 of +msgid "Update the fields of a given stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:4 of msgid "" -"Publishes (API calls it crossposts) a message in a News channel to any " -"that is followed by." +"The new topic of the stage instance, if given. Limited to 1-120 " +"characters." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:3 of -msgid "Channel the message is in" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:5 of +msgid "The new privacy_level of the stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:4 of -msgid "The id of the message to publish" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:7 of +msgid "The updated stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:5 of -msgid "message object" +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:1 of +msgid "Delete a stage instance." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:1 of +msgid "Gets all emojis from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:4 of +msgid "A list of emojis." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:1 of +msgid "Gets an emote from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:4 of +msgid "Emoji ID snowflake." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:5 of +msgid "Emoji object" msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:1 of +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:1 of +msgid "Creates an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:4 of +msgid "Emoji parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:6 of +msgid "Optionally, give a reason." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:6 of +msgid "An emoji object with the included parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:1 of +msgid "Modifies an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:4 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:4 of +msgid "Emoji ID snowflake" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:5 of +msgid "Emoji parameters with updated attributes" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:7 of +msgid "An emoji object with updated attributes." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:1 of +msgid "Deletes an emoji." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_self_guilds:1 of msgid "Gets all guild objects associated with the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:3 of +#: interactions.api.http.guild.GuildRequest.get_self_guilds:3 of msgid ":return a list of partial guild objects the current bot user is a part of." msgstr "" -#: interactions.api.http.HTTPClient.get_guild:1 of -msgid "" -"Requests an individual guild from the API. :param guild_id: The guild " -"snowflake ID associated. :return: The guild object associated, if any." +#: interactions.api.http.guild.GuildRequest.get_guild:1 of +msgid "Requests an individual guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_preview:1 of -msgid "" -"Get a guild's preview. :param guild_id: Guild ID snowflake. :return: " -"Guild Preview object associated with the snowflake" +#: interactions.api.http.guild.GuildRequest.get_guild:3 +#: interactions.api.http.guild.GuildRequest.leave_guild:3 of +msgid "The guild snowflake ID associated." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:1 of -msgid "Modifies a guild's attributes." +#: interactions.api.http.guild.GuildRequest.get_guild:4 of +msgid "The guild object associated, if any." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 -#: interactions.api.http.HTTPClient.create_channel_invite:4 -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 -#: interactions.api.http.HTTPClient.get_channel_messages:4 -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid ".. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_preview:1 of +msgid "Get a guild's preview." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid "" -"This only sends the payload. You will have to check it when a higher-" -"level function calls this." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member:3 -#: interactions.api.http.HTTPClient.create_channel:6 -#: interactions.api.http.HTTPClient.create_guild_template:3 -#: interactions.api.http.HTTPClient.delete_guild:3 -#: interactions.api.http.HTTPClient.delete_guild_template:3 -#: interactions.api.http.HTTPClient.get_all_emoji:3 -#: interactions.api.http.HTTPClient.get_guild_templates:3 -#: interactions.api.http.HTTPClient.get_guild_widget_image:5 -#: interactions.api.http.HTTPClient.get_guild_widget_settings:3 -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:3 -#: interactions.api.http.HTTPClient.modify_guild:6 -#: interactions.api.http.HTTPClient.modify_guild_template:3 -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:3 -#: interactions.api.http.HTTPClient.modify_guild_widget:3 -#: interactions.api.http.HTTPClient.modify_member:5 -#: interactions.api.http.HTTPClient.modify_user_voice_state:3 -#: interactions.api.http.HTTPClient.move_channel:3 -#: interactions.api.http.HTTPClient.search_guild_members:3 -#: interactions.api.http.HTTPClient.sync_guild_template:3 of -msgid "Guild ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_preview:4 of +msgid "Guild Preview object associated with the snowflake" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild:1 of +msgid "Modifies a guild's attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild:4 of msgid "The parameters to change." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:8 of +#: interactions.api.http.guild.GuildRequest.modify_guild:5 of msgid "Reason to send to the audit log, if given." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild:6 of +msgid "The modified guild object as a dictionary" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.leave_guild:1 of msgid "Leaves a guild." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:3 of -msgid "The guild snowflake ID associated." +#: interactions.api.http.guild.GuildRequest.leave_guild:4 of +msgid "None" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild:1 of msgid "Deletes a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget:1 of -msgid "" -"Returns the widget for the guild. :param guild_id: Guild ID snowflake. " -":return: Guild Widget contents as a dict: {\"enabled\":bool, " -"\"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget:1 of +msgid "Returns the widget for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_widget:4 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:4 of +msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:1 of msgid "Get guild widget settings." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:4 of -msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:1 of +msgid "Get an url representing a png image widget for the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of -msgid "Get a url representing a png image widget for the guild. .. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:4 of +msgid "" +"See _ for list of styles." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:7 of msgid "The style of widget required, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:7 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:8 of msgid "A url pointing to this image" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:1 of msgid "Modify a guild widget." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:4 of msgid "Payload containing new widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:5 of msgid "Updated widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_invites:1 of -msgid "" -"Retrieves a list of invite objects with their own metadata. :param " -"guild_id: Guild ID snowflake. :return: A list of invite objects" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:1 of +msgid "Retrieves a list of invite objects with their own metadata." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_welcome_screen:1 of -msgid "" -"Retrieves from the API a welcome screen associated with the guild :param " -"guild_id: Guild ID snowflake. :return: Welcome Screen object" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:4 of +msgid "A list of invite objects" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:1 of +msgid "Retrieves from the API a welcome screen associated with the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:4 of +msgid "Welcome Screen object" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:1 of msgid "Modify the guild's welcome screen." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:4 of msgid "Whether the welcome screen is enabled or not." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:5 of msgid "" "The new channels (by their ID) linked in the welcome screen and their " "display options" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:6 of msgid "The new server description to show in the welcome screen" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:7 of msgid "Updated Welcome screen object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_integrations:1 of -msgid "" -"Gets a list of integration objects associated with the Guild from the " -"API. :param guild_id: Guild ID snowflake. :return: An array of " -"integration objects" +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:1 of +msgid "Gets a list of integration objects associated with the Guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_integration:1 of -msgid "" -"Deletes an integration from the guild. :param guild_id: Guild ID " -"snowflake. :param integration_id: Integration ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:4 of +msgid "An array of integration objects" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:1 of +msgid "Deletes an integration from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:4 of +msgid "Integration ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:1 +#: of msgid "Update the current user voice state." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:5 of msgid "Voice channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:5 +#: of msgid "Toggle the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:6 +#: of msgid "Sets the user's request to speak, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:1 of msgid "Modify the voice state of a user." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:4 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:4 +#: interactions.api.http.guild.GuildRequest.get_user_ban:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:4 of msgid "User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:6 of msgid "Toggles the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:1 of -msgid "Create a a new guild based on a template." +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:1 +#: of +msgid "Create a new guild based on a template." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:4 +#: of msgid "This endpoint can only be used by bots in less than 10 guilds." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:6 +#: of msgid "The code of the template to use." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:7 +#: of msgid "The name of the guild (2-100 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:8 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:8 +#: of msgid "Guild icon URI, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:9 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:9 +#: of msgid "The newly created guild object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:1 of msgid "Returns an array of guild templates." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:4 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:4 of msgid "An array of guild templates" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:1 of msgid "Create a guild template for the guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:5 of msgid "The name of the template" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:5 of msgid "The description of the template, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:6 of msgid "The created guild template" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:1 of msgid "Sync the template to the guild's current state." msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:4 of msgid "The code for the template to sync" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:5 of msgid "The updated guild template." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:1 of msgid "Modify a guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:4 of msgid "Template ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:6 of msgid "The description of the template" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:7 of msgid "The updated guild template" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:1 of msgid "Delete the guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:5 of msgid "The deleted template object" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:1 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:1 of msgid "Requests from the API to get all channels in the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:3 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:3 of msgid "Guild Snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:4 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:4 of msgid "A list of channels." msgstr "" -#: interactions.api.http.HTTPClient.get_all_roles:1 of -msgid "" -"Gets all roles from a Guild. :param guild_id: Guild ID snowflake :return:" -" An array of Role objects." +#: interactions.api.http.guild.GuildRequest.get_all_roles:1 of +msgid "Gets all roles from a Guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_role:1 of -msgid "" -"Create a new role for the guild. :param guild_id: Guild ID snowflake. " -":param data: A dict containing metadata for the role. :param reason: The " -"reason for this action, if given. :return: Role object" +#: interactions.api.http.guild.GuildRequest.create_guild_ban:3 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:3 +#: interactions.api.http.guild.GuildRequest.get_all_roles:3 +#: interactions.api.http.guild.GuildRequest.get_user_ban:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:3 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:8 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:4 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:4 +#: interactions.api.http.member.MemberRequest.get_list_of_members:3 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:3 of +msgid "Guild ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role_position:1 of -msgid "" -"Modify the position of a role in the guild. :param guild_id: Guild ID " -"snowflake. :param role_id: Role ID snowflake. :param position: The new " -"position of the associated role. :param reason: The reason for this " -"action, if given. :return: List of guild roles with updated hierarchy." +#: interactions.api.http.guild.GuildRequest.get_all_roles:4 of +msgid "An array of Role objects as dictionaries." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role:1 of -msgid "" -"Modify a given role for the guild. :param guild_id: Guild ID snowflake. " -":param role_id: Role ID snowflake. :param data: A dict containing updated" -" metadata for the role. :param reason: The reason for this action, if " -"given. :return: Updated role object." +#: interactions.api.http.guild.GuildRequest.create_guild_role:1 of +msgid "Create a new role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:4 of +msgid "A dict containing metadata for the role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:5 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:6 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:5 of +msgid "The reason for this action, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:6 of +msgid "Role object" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_role:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:1 of +msgid "Modify the position of a role in the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:4 of msgid "" -"Delete a guild role. :param guild_id: Guild ID snowflake. :param role_id:" -" Role ID snowflake. :param reason: The reason for this action, if any." +"A list of dicts containing the role IDs and new positions for all the " +"roles to be moved." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:1 of -msgid "Kicks a person from the guild." +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:6 of +msgid "List of guild roles with updated hierarchy." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.create_guild_kick:3 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_list_of_members:3 of -msgid "Guild ID snowflake" +#: interactions.api.http.guild.GuildRequest.modify_guild_role:1 of +msgid "Modify a given role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:4 of +msgid "Role ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role:5 of +msgid "A dict containing updated metadata for the role." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role:7 of +msgid "Updated role object." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:1 of +msgid "Delete a guild role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:5 of +msgid "The reason for this action, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_kick:1 of +msgid "Kicks a person from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:4 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:4 of msgid "User ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_kick:5 of msgid "Optional Reason argument." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_ban:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_ban:1 of msgid "" "Bans a person from the guild, and optionally deletes previous messages " -"sent by them. :param guild_id: Guild ID snowflake :param user_id: User ID" -" snowflake :param delete_message_days: Number of days to delete messages," -" from 0 to 7. Defaults to 0 :param reason: Optional reason to ban." +"sent by them." msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_ban:1 of -msgid "" -"Unbans someone using the API. :param guild_id: Guild ID snowflake :param " -"user_id: User ID snowflake :param reason: Optional reason to unban." +#: interactions.api.http.guild.GuildRequest.create_guild_ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:6 of +msgid "Optional reason to ban." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:1 of +msgid "Unbans someone using the API." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:5 of +msgid "Optional reason to unban." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_bans:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:4 of msgid "" -"Gets a list of banned users. :param guild_id: Guild ID snowflake. " -":return: A list of banned users." +"If both ``before`` and ``after`` are provided, only ``before`` is " +"respected." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:7 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:8 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:9 of +msgid "Consider only users after the given User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_user_ban:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:10 of +msgid "A list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:1 of msgid "" "Gets an object pertaining to the user, if it exists. Returns a 404 if it " -"doesn't. :param guild_id: Guild ID snowflake :param user_id: User ID " -"snowflake. :return: Ban object if it exists." +"doesn't." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:5 of +msgid "Ban object if it exists." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:1 of msgid "" "A low level method of adding a user to a guild with pre-defined " "attributes." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:5 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:5 of msgid "User access token." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:6 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:6 of msgid "User's nickname on join." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:7 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:7 of msgid "An array of roles that the user is assigned." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:8 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:8 of msgid "Whether the user is mute in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:9 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:9 of msgid "Whether the user is deafened in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:10 of -msgid "Guild member object (?)" +#: interactions.api.http.guild.GuildRequest.add_guild_member:10 of +msgid "Guild member object as dictionary" msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:1 of msgid "" "A low level method of removing a member from a guild. This is different " -"from banning them. :param guild_id: Guild ID snowflake. :param user_id: " -"User ID snowflake. :param reason: Reason to send to audit log, if any." +"from banning them." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_prune_count:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:5 of +msgid "Reason to send to audit log, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:1 of msgid "" "Retrieves a dict from an API that results in how many members would be " -"pruned given the amount of days. :param guild_id: Guild ID snowflake. " -":param days: Number of days to count. Defaults to ``7``. :param " -"include_roles: Role IDs to include, if given. :return: A dict denoting " -"`{\"pruned\": int}`" +"pruned given the amount of days." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:4 of +msgid "Number of days to count. Defaults to ``7``." msgstr "" -#: interactions.api.http.HTTPClient.get_member:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:5 of +msgid "Role IDs to include, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:6 of +msgid "A dict denoting `{\"pruned\": int}`" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_auditlog:1 of msgid "" -"Uses the API to fetch a member from a guild. :param guild_id: Guild ID " -"snowflake. :param member_id: Member ID snowflake. :return: A member " -"object, if any." +"Returns an audit log object for the guild. Requires the 'VIEW_AUDIT_LOG' " +"permission. :param guild_id: Guild ID snowflake. :param user_id: User ID " +"snowflake. filter the log for actions made by a user. :param action_type:" +" the type ID of audit log event. :param before: filter the log before a " +"certain entry id. :param limit: how many entries are returned (default " +"50, minimum 1, maximum 100)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:1 +#: of +msgid "Get all application commands from an application." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:7 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:3 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:6 +#: of +msgid "Application ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:4 +#: of +msgid "Guild to get commands from, if specified. Defaults to global (None)" msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:1 of +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:5 +#: of +msgid "" +"Whether to include full localization dictionaries (name_localizations and" +" description_localizations) in the returned objects, instead of the " +"name_localized and description_localized fields. Default false." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:6 +#: of +msgid "A list of Application commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:1 +#: of +msgid "Registers to the Discord API an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:4 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:7 +#: of +msgid "The dictionary that contains the command (name, description, etc)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:5 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:8 +#: of +msgid "Guild ID snowflake to put them in, if applicable." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:6 +#: of +msgid "An application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:1 +#: of +msgid "" +"Overwrites application command(s) from a scope to the new, updated " +"commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:4 +#: of +msgid "" +"This applies to all forms of application commands (slash and context " +"menus)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:9 +#: of +msgid "An array of application command objects." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:1 +#: of +msgid "Edits an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:4 +#: of +msgid "Application ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:4 +#: of +msgid "A dictionary containing updated attributes" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:5 +#: of +msgid "The application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:6 +#: of +msgid "Guild ID snowflake, if given. Defaults to None/global." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:7 +#: of +msgid "The updated application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:1 +#: of +msgid "Deletes an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:4 +#: of +msgid "Application command ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:5 +#: of +msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:1 +#: of +msgid "Edits permissions for an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:4 +#: of +msgid "" +"This requires authenticating with the Bearer token. Likewise, if this " +"function is used in a bot process with a bot token, this will fail." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:9 +#: of +msgid "Application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:10 +#: of +msgid "Permission data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:11 +#: of +msgid "Returns an updated Application Guild permission object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from a specific Guild application" +" command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:5 +#: of +msgid "Application Command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:6 +#: of +msgid "a Guild Application Command permissions object" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from all Application commands at " +"that Guild." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:5 +#: of +msgid "An array of Guild Application Command permissions" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:1 +#: of +msgid "Posts initial response to an interaction, but you need to add the token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:3 +#: of +msgid "Token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:5 +#: interactions.api.http.user.UserRequest.modify_self:3 of +msgid "The data to send." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:1 +#: of +msgid "Gets an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:3 +#: of +msgid "token" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:6 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:5 +#: of +msgid "" +"Message ID snowflake. Defaults to `@original` which represents the " +"initial response msg." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:6 +#: of +msgid "Message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:1 +#: of +msgid "" +"Edits an existing interaction message, but token needs to be manually " +"called." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:3 +#: of +msgid "A dictionary containing the new response." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:5 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:4 +#: of +msgid "the token of the interaction" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:7 +#: of +msgid "Updated message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:1 +#: of +msgid "Deletes an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:1 of +msgid "Send a followup to an interaction." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:3 of +msgid "the payload to send" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:4 of +msgid "the id of the application" +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:1 of +msgid "Uses the API to fetch a member from a guild." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:4 +#: interactions.api.http.member.MemberRequest.modify_member:4 of +msgid "Member ID snowflake." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:5 of +msgid "A member object, if any." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_list_of_members:1 of msgid "Lists the members of a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:4 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:4 of msgid "How many members to get from the API. Max is 1000. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:5 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:5 of msgid "Get Member IDs after this snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:6 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:6 of msgid "An array of Member objects." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:1 of +#: interactions.api.http.member.MemberRequest.search_guild_members:1 of msgid "" -"Search a guild for members who's username or nickname starts with " +"Search a guild for members whose username or nickname starts with " "provided string." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:4 of +#: interactions.api.http.member.MemberRequest.search_guild_members:4 of msgid "The string to search for" msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:5 of +#: interactions.api.http.member.MemberRequest.search_guild_members:5 of msgid "The number of members to return. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:1 of +#: interactions.api.http.member.MemberRequest.add_member_role:1 of msgid "Adds a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:3 -#: interactions.api.http.HTTPClient.remove_member_role:3 of +#: interactions.api.http.member.MemberRequest.add_member_role:3 +#: interactions.api.http.member.MemberRequest.remove_member_role:3 of msgid "The ID of the guild" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:4 -#: interactions.api.http.HTTPClient.remove_member_role:4 of +#: interactions.api.http.member.MemberRequest.add_member_role:4 +#: interactions.api.http.member.MemberRequest.remove_member_role:4 of msgid "The ID of the user" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:5 -#: interactions.api.http.HTTPClient.remove_member_role:5 of +#: interactions.api.http.member.MemberRequest.add_member_role:5 +#: interactions.api.http.member.MemberRequest.remove_member_role:5 of msgid "The ID of the role to add" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:6 -#: interactions.api.http.HTTPClient.remove_member_role:6 of +#: interactions.api.http.member.MemberRequest.add_member_role:6 +#: interactions.api.http.member.MemberRequest.modify_member:7 +#: interactions.api.http.member.MemberRequest.remove_member_role:6 of msgid "The reason for this action. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.remove_member_role:1 of +#: interactions.api.http.member.MemberRequest.remove_member_role:1 of msgid "Removes a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:1 of +#: interactions.api.http.member.MemberRequest.modify_member:1 of msgid "" "Edits a member. This can nick them, change their roles, mute/deafen (and " -"its contrary), and moving them across channels and/or disconnect them" -msgstr "" - -#: interactions.api.http.HTTPClient.modify_member:4 of -msgid "Member ID snowflake." +"its contrary), and moving them across channels and/or disconnect them." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:6 of +#: interactions.api.http.member.MemberRequest.modify_member:6 of msgid "Payload representing parameters (nick, roles, mute, deaf, channel_id)" msgstr "" -#: interactions.api.http.HTTPClient.modify_member:7 of -msgid "? (modified voice state? not sure)" +#: interactions.api.http.member.MemberRequest.modify_member:8 of +msgid "Modified member object." msgstr "" -#: interactions.api.http.HTTPClient.get_channel:1 of +#: interactions.api.http.message.MessageRequest.send_message:1 of msgid "" -"Gets a channel by ID. If the channel is a thread, it also includes thread" -" members (and other thread attributes) :param channel_id: Channel ID " -"snowflake. :return: Channel object." +"A higher level implementation of :meth:`create_message()` that handles " +"the payload dict internally. Does not integrate components into the " +"function, and is a port from v3.0.0" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:1 of +msgid "Send a message to the specified channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:3 of +msgid "Dictionary contents of a message. (i.e. message payload)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:4 +#: interactions.api.http.message.MessageRequest.delete_message:3 +#: interactions.api.http.message.MessageRequest.delete_messages:3 +#: interactions.api.http.message.MessageRequest.edit_message:3 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:3 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:3 of +msgid "Channel snowflake ID." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:5 +#: interactions.api.http.message.MessageRequest.edit_message:6 of +msgid "An optional list of files to send attached to the message." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message of +msgid "return dict" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:6 of +msgid "Dictionary representing a message (?)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:1 of +msgid "Get a specific message in the channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:3 of +msgid "the channel this message belongs to" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:4 of +msgid "the id of the message" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:5 of +msgid "message if it exists." +msgstr "" + +#: interactions.api.http.message.MessageRequest.delete_message:1 of +msgid "Deletes a message from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:1 of -msgid "Deletes a channel." +#: interactions.api.http.message.MessageRequest.delete_message:4 +#: interactions.api.http.message.MessageRequest.edit_message:4 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:4 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:4 of +msgid "Message snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:3 of -msgid "Channel ID snowflake" +#: interactions.api.http.message.MessageRequest.delete_message:5 +#: interactions.api.http.message.MessageRequest.delete_messages:5 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:1 of -msgid "Get messages from a channel." +#: interactions.api.http.message.MessageRequest.delete_messages:1 of +msgid "Deletes messages from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:4 of -msgid "around, before, and after arguments are mutually exclusive." +#: interactions.api.http.message.MessageRequest.delete_messages:4 of +msgid "An array of message snowflake IDs." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:6 -#: interactions.api.http.HTTPClient.create_stage_instance:3 -#: interactions.api.http.HTTPClient.delete_channel_permission:3 -#: interactions.api.http.HTTPClient.delete_stage_instance:3 -#: interactions.api.http.HTTPClient.edit_channel_permission:3 -#: interactions.api.http.HTTPClient.get_channel_messages:6 -#: interactions.api.http.HTTPClient.get_stage_instance:3 -#: interactions.api.http.HTTPClient.modify_stage_instance:3 -#: interactions.api.http.HTTPClient.move_channel:4 -#: interactions.api.http.HTTPClient.trigger_typing:5 of -msgid "Channel ID snowflake." +#: interactions.api.http.message.MessageRequest.edit_message:1 of +msgid "Edits a message that already exists." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:7 of -msgid "How many messages to get. Defaults to 50, the max is 100." +#: interactions.api.http.message.MessageRequest.edit_message:5 of +msgid "Any new data that needs to be changed." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:8 of -msgid "Get messages around this snowflake ID." +#: interactions.api.http.message.MessageRequest.edit_message:8 of +msgid "A message object with edited attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:9 of -msgid "Get messages before this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:1 of +msgid "Pin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:10 of -msgid "Get messages after this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:4 +#: interactions.api.http.message.MessageRequest.unpin_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:5 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:5 of +msgid "Message ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:11 of -msgid "An array of Message objects." +#: interactions.api.http.message.MessageRequest.unpin_message:1 of +msgid "Unpin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:1 of -msgid "Creates a channel within a guild." +#: interactions.api.http.message.MessageRequest.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in a News channel to any " +"that is followed by." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 of -msgid "This does not handle payload in this method. Tread carefully." +#: interactions.api.http.message.MessageRequest.publish_message:3 of +msgid "Channel the message is in" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:7 of -msgid "Payload data." +#: interactions.api.http.message.MessageRequest.publish_message:4 of +msgid "The id of the message to publish" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:8 of -msgid "Reason to show in audit log, if needed." +#: interactions.api.http.message.MessageRequest.publish_message:5 of +msgid "message object" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:9 of -msgid "Channel object." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:1 of +msgid "Create a reaction for a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:1 of -msgid "Moves a channel to a new position." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:5 of +msgid "The emoji to use (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:5 of -msgid "The new channel position." +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:1 of +msgid "Remove bot user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:6 of -msgid "The category parent ID, if needed." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:5 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:5 of +msgid "The emoji to remove (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:7 of -msgid "" -"Sync permissions with the parent associated with parent_id. Defaults to " -"False." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:1 of +msgid "Remove user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:8 of -msgid "Reason to display to the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:3 of +msgid "The channel this is taking place in" msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:7 -#: interactions.api.http.HTTPClient.execute_slack_webhook:7 -#: interactions.api.http.HTTPClient.move_channel:9 of -msgid "?" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:4 of +msgid "The message to remove the reaction on." msgstr "" -#: interactions.api.http.HTTPClient.modify_channel:1 of -msgid "" -"Update a channel's settings. :param channel_id: Channel ID snowflake. " -":param data: Data representing updated settings. :param reason: Reason, " -"if any. :return: Channel with updated attributes, if successful." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:5 of +msgid "The emoji to remove. (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.get_channel_invites:1 of -msgid "" -"Get the invites for the channel. :param channel_id: Channel ID snowflake." -" :return: List of invite objects" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:6 of +msgid "The user to remove reaction of." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:1 of -msgid "Creates an invite for the given channel." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:1 of +msgid "Remove all reactions from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:4 of -msgid "This method does not handle payload. It just sends it." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:3 of +msgid "The channel this is taking place in." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:7 of -msgid "Data representing the payload/invite attributes." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:4 of +msgid "The message to clear reactions from." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:8 of -msgid "Reason to show in the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:1 +#: of +msgid "Remove all reactions of a certain emoji from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:9 of -msgid "An invite object." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:1 of +msgid "Gets the users who reacted to the emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_invite:1 of -msgid "" -"Delete an invite. :param invite_code: The code of the invite to delete " -":param reason: Reason to show in the audit log, if any. :return: The " -"deleted invite object" +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:5 of +msgid "The emoji to get (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:1 of -msgid "" -"Edits the channel's permission overwrites for a user or role in a given " -"channel." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:6 of +msgid "A list of users who sent that emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:4 -#: interactions.api.http.HTTPClient.edit_channel_permission:4 of -msgid "The ID of the overridden object." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:1 +#: of +msgid "Creates a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:5 of -msgid "the bitwise value of all allowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:5 +#: of +msgid "" +"The dictionary containing the parameters and values to edit the " +"associated event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:6 of -msgid "the bitwise value of all disallowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:5 +#: of +msgid "A dictionary containing the new guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:7 of -msgid "0 for a role or 1 for a member" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:1 +#: of +msgid "Gets a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:5 -#: interactions.api.http.HTTPClient.edit_channel_permission:8 of -msgid "Reason to display in the Audit Log, if given." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:4 +#: of +msgid "Guild Scheduled Event ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:1 of -msgid "Deletes a channel permission overwrite for a user or role in a channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:5 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:4 +#: of +msgid "" +"A boolean to include number of users subscribed to the associated event, " +"if given." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:1 of -msgid "Posts \"... is typing\" in a given channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:6 +#: of +msgid "A dictionary containing the guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:4 -#: interactions.api.http.HTTPClient.trigger_typing:3 of -msgid "..note:" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:1 +#: of +msgid "Gets all guild scheduled events in a guild." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:4 of +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:5 +#: of msgid "" -"By default, this lib doesn't use this endpoint, however, this is listed " -"for third-party implementation." +"A List of a dictionary containing the guild scheduled event objects on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.get_pinned_messages:1 of -msgid "" -"Get all pinned messages from a channel. :param channel_id: Channel ID " -"snowflake. :return: A list of pinned message objects." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:1 +#: of +msgid "Modifies a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:1 of -msgid "Create a new stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:6 +#: of +msgid "" +"A dictionary containing the updated guild scheduled event object on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:4 of -msgid "The topic of the stage instance. Limited to 1-120 characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:1 +#: of +msgid "Deletes a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:5 of -msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:5 +#: of +msgid "Nothing on success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:6 -#: interactions.api.http.HTTPClient.delete_stage_instance:4 -#: interactions.api.http.HTTPClient.modify_stage_instance:6 of -msgid "The reason for the creating the stage instance, if any." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:1 +#: of +msgid "Get the registered users of a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:7 of -msgid "The new stage instance" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:4 +#: of +msgid "Guild Scheduled Event snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:1 of -msgid "Get the stage instance associated with a given channel, if it exists." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:5 +#: of +msgid "Limit of how many users to pull from the event. Defaults to 100." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:4 of -msgid "A stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:6 +#: of +msgid "Include guild member data if it exists. Defaults to False." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:1 of -msgid "Update the fields of a given stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:7 +#: of +msgid "Considers only users before given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:4 of -msgid "" -"The new topic of the stage instance, if given. Limited to 1-120 " -"characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:8 +#: of +msgid "Considers only users after given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:5 of -msgid "The new privacy_level of the stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:9 +#: of +msgid "Returns a list of guild scheduled event user objects on success." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:7 of -msgid "The updated stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:1 of +msgid "Get a specific sticker." msgstr "" -#: interactions.api.http.HTTPClient.delete_stage_instance:1 of -msgid "Delete a stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:3 of +msgid "The id of the sticker" msgstr "" -#: interactions.api.http.HTTPClient.join_thread:1 of -msgid "Have the bot user join a thread. :param thread_id: The thread to join." +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.get_sticker:4 of +msgid "Sticker or None" msgstr "" -#: interactions.api.http.HTTPClient.leave_thread:1 of -msgid "Have the bot user leave a thread. :param thread_id: The thread to leave." +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:1 of +msgid "Gets the list of sticker packs available to Nitro subscribers." msgstr "" -#: interactions.api.http.HTTPClient.add_member_to_thread:1 of -msgid "" -"Add another user to a thread. :param thread_id: The ID of the thread " -":param user_id: The ID of the user to add" +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:3 of +msgid "List of sticker packs" msgstr "" -#: interactions.api.http.HTTPClient.remove_member_from_thread:1 of -msgid "" -"Remove another user from a thread. :param thread_id: The ID of the thread" -" :param user_id: The ID of the user to remove" +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:1 of +msgid "Get the stickers for a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_thread_members:1 of -msgid "" -"Get a list of members in the thread. :param thread_id: the id of the " -"thread :return: a list of member objects" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:3 of +msgid "The guild to get stickers from" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:1 of -msgid "Get a list of archived public threads in a given channel." +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:4 of +msgid "List of Stickers or None" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:3 of -msgid "The channel to get threads from" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:1 of +msgid "Get a sticker from a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:4 of -msgid "Optional limit of threads to" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:4 of +msgid "The sticker to get from the guild" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:5 of -msgid "Get threads before this Thread snowflake ID" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:1 of +msgid "" +"Create a new sticker for the guild. Requires the " +"MANAGE_EMOJIS_AND_STICKERS permission." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:6 of -msgid "a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:3 of +msgid "the payload to send." msgstr "" -#: interactions.api.http.HTTPClient.list_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel. :param channel_id: " -"The channel to get threads from :param limit: Optional limit of threads " -"to :param before: Get threads before this Thread snowflake ID :return: a " -"list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:4 of +msgid "The guild to create sticker at." msgstr "" -#: interactions.api.http.HTTPClient.list_joined_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel that the bot has " -"joined. :param channel_id: The channel to get threads from :param limit: " -"Optional limit of threads to :param before: Get threads before this " -"snowflake ID :return: a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:6 of +msgid "The reason for this action." msgstr "" -#: interactions.api.http.HTTPClient.list_active_threads:1 of -msgid "" -"List active threads within a guild. :param guild_id: the guild id to get " -"threads from :return: A list of active threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:6 of +msgid "The new sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:1 of +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:1 of msgid "" -"From a given channel, create a Thread with an optional message to start " -"with.." +"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:3 of -msgid "The ID of the channel to create this thread in" +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:4 of +msgid "The guild of the target sticker." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:4 of -msgid "The name of the thread" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:5 of +msgid "The sticker to modify." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:5 of -msgid "" -"duration in minutes to automatically archive the thread after recent " -"activity, can be set to: 60, 1440, 4320, 10080" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:7 of +msgid "The updated sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:7 of +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:1 of msgid "" -"The type of thread, defaults to public. ignored if creating thread from a" -" message" +"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:8 of -msgid "Boolean to display if the Thread is open to join or private." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:4 of +msgid "The sticker to delete." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:9 of -msgid "An optional message to create a thread from." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:6 of +msgid "Returns 204 No Content on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:10 of -msgid "An optional reason for the audit log" +#: interactions.api.http.thread.ThreadRequest.join_thread:1 of +msgid "Have the bot user join a thread." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:11 of -msgid "The created thread" +#: interactions.api.http.thread.ThreadRequest.join_thread:3 of +msgid "The thread to join." msgstr "" -#: interactions.api.http.HTTPClient.create_reaction:1 of -msgid "" -"Create a reaction for a message. :param channel_id: Channel snowflake ID." -" :param message_id: Message snowflake ID. :param emoji: The emoji to use " -"(format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:1 of +msgid "Have the bot user leave a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_self_reaction:1 of -msgid "" -"Remove bot user's reaction from a message. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:3 of +msgid "The thread to leave." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:1 of -msgid "Remove user's reaction from a message" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:1 of +msgid "Add another user to a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:3 of -msgid "The channel this is taking place in" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:3 +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:3 +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:3 of +msgid "The ID of the thread" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:4 of -msgid "The message to remove the reaction on." +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:4 of +msgid "The ID of the user to add" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:5 of -msgid "The emoji to remove. (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:1 of +msgid "Remove another user from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:6 of -msgid "The user to remove reaction of." +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:4 of +msgid "The ID of the user to remove" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:1 of -msgid "Remove all reactions from a message." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:1 of +msgid "Get a member from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:3 of -msgid "The channel this is taking place in." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:4 of +msgid "The ID of the user to find" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:4 of -msgid "The message to clear reactions from." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:5 of +msgid "A thread member object, if they're in the thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions_of_emoji:1 of -msgid "" -"Remove all reactions of a certain emoji from a message. :param " -"channel_id: Channel snowflake ID. :param message_id: Message snowflake " -"ID. :param emoji: The emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:1 of +msgid "Get a list of members in the thread." msgstr "" -#: interactions.api.http.HTTPClient.get_reactions_of_emoji:1 of -msgid "" -"Gets the users who reacted to the emoji. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to get (format: `name:id`) :return A list of users who sent that " -"emoji." +#: interactions.api.http.thread.ThreadRequest.list_thread_members:3 of +msgid "the id of the thread" msgstr "" -#: interactions.api.http.HTTPClient.get_sticker:1 of -msgid "" -"Get a specific sticker. :param sticker_id: The id of the sticker :return:" -" Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:4 of +msgid "a list of thread member objects" msgstr "" -#: interactions.api.http.HTTPClient.list_nitro_sticker_packs:1 of -msgid "" -"Gets the list of sticker packs available to Nitro subscribers. :return: " -"List of sticker packs" +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:1 of +msgid "Get a list of archived public threads in a given channel." msgstr "" -#: interactions.api.http.HTTPClient.list_guild_stickers:1 of -msgid "" -"Get the stickers for a guild. :param guild_id: The guild to get stickers " -"from :return: List of Stickers or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:3 of +msgid "The channel to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_sticker:1 of -msgid "" -"Get a sticker from a guild. :param guild_id: The guild to get stickers " -"from :param sticker_id: The sticker to get from the guild :return: " -"Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:4 of +msgid "Optional limit of threads to" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_sticker:1 of -msgid "" -"Create a new sticker for the guild. Requires the " -"MANAGE_EMOJIS_AND_STICKERS permission. :param payload: the payload to " -"send. :param guild_id: The guild to create sticker at. :param reason: The" -" reason for this action. :return: The new sticker data on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:5 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:5 of +msgid "Get threads before this Thread snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_sticker:1 of -msgid "" -"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param payload: the payload to send. :param guild_id: The " -"guild of the target sticker. :param sticker_id: The sticker to modify. " -":param reason: The reason for this action. :return: The updated sticker " -"data on success." +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:6 of +msgid "a list of threads" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_sticker:1 of -msgid "" -"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param guild_id: The guild of the target sticker. :param " -"sticker_id: The sticker to delete. :param reason: The reason for this " -"action. :return: Returns 204 No Content on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:1 +#: of +msgid "Get a list of archived private threads in a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:1 +#: of msgid "" -"Get all application commands from an application :param application_id: " -"Application ID snowflake :param guild_id: Guild to get commands from, if " -"specified. Defaults to global (None) :return: A list of Application " -"commands." -msgstr "" - -#: interactions.api.http.HTTPClient.create_application_command:1 of -msgid "Registers to the Discord API an application command." +"Get a list of archived private threads in a channel that the bot has " +"joined." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.create_application_command:3 -#: interactions.api.http.HTTPClient.create_interaction_response:6 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_application_command_permissions:3 -#: interactions.api.http.HTTPClient.overwrite_application_command:6 of -msgid "Application ID snowflake" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:5 +#: of +msgid "Get threads before this snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:7 of -msgid "The dictionary that contains the command (name, description, etc)" +#: interactions.api.http.thread.ThreadRequest.list_active_threads:1 of +msgid "List active threads within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:5 -#: interactions.api.http.HTTPClient.overwrite_application_command:8 of -msgid "Guild ID snowflake to put them in, if applicable." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:3 of +msgid "the guild id to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:6 of -msgid "An application command object." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:4 of +msgid "A list of active threads" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.create_thread:1 of msgid "" -"Overwrites application command(s) from a scope to the new, updated " -"commands." +"From a given channel, create a Thread with an optional message to start " +"with.." msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:4 of -msgid "" -"This applies to all forms of application commands (slash and context " -"menus)" +#: interactions.api.http.thread.ThreadRequest.create_thread:3 of +msgid "The ID of the channel to create this thread in" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:9 of -msgid "An array of application command objects." +#: interactions.api.http.thread.ThreadRequest.create_thread:4 of +msgid "The name of the thread" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:1 of -msgid "Edits an application command." +#: interactions.api.http.thread.ThreadRequest.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:3 -#: interactions.api.http.HTTPClient.edit_application_command:3 of -msgid "Application ID snowflake." +#: interactions.api.http.thread.ThreadRequest.create_thread:7 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:4 of -msgid "A dictionary containing updated attributes" +#: interactions.api.http.thread.ThreadRequest.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:5 of -msgid "The application command ID snowflake" +#: interactions.api.http.thread.ThreadRequest.create_thread:9 of +msgid "An optional message to create a thread from." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:6 of -msgid "Guild ID snowflake, if given. Defaults to None/global." +#: interactions.api.http.thread.ThreadRequest.create_thread:10 of +msgid "An optional reason for the audit log" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:7 of -msgid "The updated application command object." +#: interactions.api.http.thread.ThreadRequest.create_thread:11 of +msgid "The created thread" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:1 of -msgid "Deletes an application command." +#: interactions.api.http.user.UserRequest.get_self:1 of +msgid "An alias to `get_user`, but only gets the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:4 of -msgid "Application command ID snowflake." +#: interactions.api.http.user.UserRequest.get_self:3 of +msgid "A partial User object of the current bot user in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:5 of -msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +#: interactions.api.http.user.UserRequest.get_user:1 of +msgid "Gets a user object for a given user ID." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:1 of -msgid "Edits permissions for an application command" +#: interactions.api.http.user.UserRequest.get_user:3 of +msgid "A user snowflake ID. If omitted, this defaults to the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:5 of -msgid "Application command ID snowflake" +#: interactions.api.http.user.UserRequest.get_user:4 of +msgid "A partial User object in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:6 of -msgid "Permission data." +#: interactions.api.http.user.UserRequest.modify_self:1 of +msgid "Modify the bot user account settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:7 of -msgid "Returns an updated Application Guild permission object." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:1 of +msgid "Changes a nickname of the current bot user in a guild." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:1 -#: of -msgid "Edits permissions for all Application Commands in a guild." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:3 of +msgid "Guild snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:5 -#: of -msgid "An array of permission dictionaries." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:4 of +msgid "The new nickname, if any." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:6 -#: of -msgid "An updated array of application array permissions." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:5 of +msgid "Nothing needed to be yielded." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:1 of -msgid "" -"Gets, from the Discord API, permissions from a specific Guild application" -" command." +#: interactions.api.http.user.UserRequest.create_dm:1 of +msgid "Creates a new DM channel with a user." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:5 of -msgid "Application Command ID snowflake" +#: interactions.api.http.user.UserRequest.create_dm:3 of +msgid "User snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:6 of -msgid "a Guild Application Command permissions object" +#: interactions.api.http.user.UserRequest.create_dm:4 of +msgid "Returns a dictionary representing a DM Channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:1 -#: of -msgid "" -"Gets, from the Discord API, permissions from all Application commands at " -"that Guild." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:1 of +msgid "Create a new webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:5 -#: of -msgid "An array of Guild Application Command permissions" +#: interactions.api.http.webhook.WebhookRequest.create_webhook:4 of +msgid "Name of the webhook (1-80 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:1 of -msgid "Posts initial response to an interaction." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:5 of +msgid "The image for the default webhook avatar, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 of -msgid "Internally handles token for you." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:7 of +msgid "Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:7 of -msgid "The data to send." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:1 of +msgid "Return a list of channel webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.get_original_interaction_response:1 of -msgid "" -"Gets an existing interaction message. :param application_id: Application " -"ID snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Message " -"data." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:4 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:4 of +msgid "List of webhook objects" msgstr "" -#: interactions.api.http.HTTPClient.edit_interaction_response:1 of -msgid "" -"Edits an existing interaction message. :param data: A dictionary " -"containing the new response. :param application_id: Application ID " -"snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Updated " -"message data." +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:1 of +msgid "Return a list of guild webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:1 of -msgid "" -"Create a new webhook. :param channel_id: Channel ID snowflake. :param " -"name: Name of the webhook (1-80 characters) :param avatar: The image for " -"the default webhook avatar, if given." +#: interactions.api.http.webhook.WebhookRequest.get_webhook:1 of +msgid "Return the new webhook object for the given id." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:6 of -msgid ":return Webhook object" +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:3 of +msgid "Webhook ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_webhooks:1 of -msgid "" -"Return a list of channel webhook objects. :param channel_id: Channel ID " -"snowflake. :return:List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:4 of +msgid "Webhook Token, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:1 of -msgid "" -"Return a list of guild webhook objects. :param guild_id: Guild ID " -"snowflake" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:6 of +msgid ":return:Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:4 of -msgid "List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:1 of +msgid "Modify a webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:1 of -msgid "" -"Return the new webhook object for the given id. :param webhook_id: " -"Webhook ID snowflake. :param webhook_token: Webhook Token, if given." +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:3 of +msgid "Webhook ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:5 of -msgid ":return:Webhook object" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:4 of +msgid "The payload for the webhook" msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:1 of -msgid "" -"Modify a webhook. :param webhook_id: Webhook ID snowflake :param name: " -"the default name of the webhook :param avatar: image for the default " -"webhook avatar :param channel_id: Channel ID snowflake of new destination" -" :param webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:5 of +msgid "The token for the webhook, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:7 of msgid "Modified webhook object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook:1 of -msgid "" -"Delete a webhook :param webhook_id: Webhook ID snowflake. :param " -"webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:1 of +msgid "Delete a webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:1 of msgid "Sends a message as a webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:3 -#: interactions.api.http.HTTPClient.edit_webhook_message:3 -#: interactions.api.http.HTTPClient.execute_github_webhook:3 -#: interactions.api.http.HTTPClient.execute_slack_webhook:3 -#: interactions.api.http.HTTPClient.execute_webhook:3 -#: interactions.api.http.HTTPClient.get_webhook_message:3 of -msgid "Webhook ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.execute_github_webhook:4 -#: interactions.api.http.HTTPClient.execute_slack_webhook:4 -#: interactions.api.http.HTTPClient.execute_webhook:4 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:4 of msgid "The token for the webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:5 -#: interactions.api.http.HTTPClient.execute_slack_webhook:5 -#: interactions.api.http.HTTPClient.execute_webhook:5 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:5 of msgid "Payload consisting of the message." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:6 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:6 of +msgid "The files to upload to the message." +msgstr "" + +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:7 of msgid "" "A bool that signifies waiting for server confirmation of a send before " "responding." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:7 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:8 of msgid "Optional, sends a message to the specified thread." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:9 of msgid "The message sent, if wait=True, else None." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:1 of msgid "Sends a message to a Slack-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:1 of msgid "Sends a message to a Github-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:1 of msgid "Retrieves a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:4 -#: interactions.api.http.HTTPClient.edit_webhook_message:4 -#: interactions.api.http.HTTPClient.get_webhook_message:4 of +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:4 of msgid "Webhook token." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:5 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:5 of msgid "Message ID snowflake," msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:6 of msgid "A Message object." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:1 of msgid "Edits a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:5 -#: interactions.api.http.HTTPClient.edit_webhook_message:5 of -msgid "Message ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.edit_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:6 of msgid "A payload consisting of new message attributes." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:7 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:7 of msgid "An updated message object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:1 of msgid "Deletes a message object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_emoji:1 of -msgid "Gets all emojis from a guild." -msgstr "" - -#: interactions.api.http.HTTPClient.get_all_emoji:4 of -msgid "A list of emojis." -msgstr "" - -#: interactions.api.http.HTTPClient.get_guild_emoji:1 of -msgid "" -"Gets an emote from a guild. :param guild_id: Guild ID snowflake. :param " -"emoji_id: Emoji ID snowflake. :return: Emoji object" -msgstr "" - -#: interactions.api.http.HTTPClient.create_guild_emoji:1 of -msgid "" -"Creates an emoji. :param guild_id: Guild ID snowflake. :param data: Emoji" -" parameters. :param reason: Optionally, give a reason. :return: An emoji " -"object with the included parameters." -msgstr "" - -#: interactions.api.http.HTTPClient.modify_guild_emoji:1 of -msgid "" -"Modifies an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param data: Emoji parameters with updated attributes " -":param reason: Optionally, give a reason. :return: An emoji object with " -"updated attributes." -msgstr "" - -#: interactions.api.http.HTTPClient.delete_guild_emoji:1 of -msgid "" -"Deletes an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param reason: Optionally, give a reason." +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:1 +#: of +msgid "Deletes the original message object sent." msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.channel.po b/docs/locale/fr/LC_MESSAGES/api.models.channel.po index e4af3b294..529af7d9d 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.channel.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.channel.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,24 +26,24 @@ msgstr "" msgid "An enumerable object representing the type of channels." msgstr "" -#: interactions.api.models.channel.ChannelType:3 of -msgid ".. note::" +#: interactions.api.models.channel.Thread:1 of +msgid "An object representing a thread." msgstr "" -#: interactions.api.models.channel.ChannelType:4 of +#: interactions.api.models.channel.Thread:4 of msgid "" -"While all of them are listed, not all of them will be used at this " -"library's scope." +"This is a derivation of the base Channel, since a thread can be its own " +"event." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:1 of -msgid "A class object representing the metadata of a thread." +#: interactions.api.models.channel.Channel:1 of +msgid "A class object representing all types of channels." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:4 of +#: interactions.api.models.channel.Channel:4 of msgid "" -"``invitable`` will only show if the thread can have an invited created " -"with the current cached permissions." +"The purpose of this model is to be used as a base class, and is never " +"needed to be used directly." msgstr "" #: interactions.api.models.channel.Channel @@ -52,62 +52,6 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.channel.ThreadMetadata:7 of -msgid "The current thread accessibility state." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:8 of -msgid "The auto-archive time." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:9 of -msgid "The timestamp that the thread will be/has been closed at." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:10 of -msgid "The current message state of the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:11 of -msgid "The ability to invite users to the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:1 of -msgid "A class object representing a member in a thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:4 of -msgid "" -"``id`` only shows if there are active intents involved with the member in" -" the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:7 of -msgid "The \"ID\" or intents of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:8 of -msgid "The user ID of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:9 of -msgid "The timestamp of when the member joined the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:10 of -msgid "The bitshift flags for the member in the thread." -msgstr "" - -#: interactions.api.models.channel.Channel:1 of -msgid "A class object representing all types of channels." -msgstr "" - -#: interactions.api.models.channel.Channel:4 of -msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." -msgstr "" - #: interactions.api.models.channel.Channel:7 of msgid "The (snowflake) ID of the channel." msgstr "" @@ -214,20 +158,564 @@ msgstr "" msgid "The permissions of the channel." msgstr "" -#: interactions.api.models.channel.TextChannel:1 of +#: interactions.api.models.channel.Channel.mention:1 of +msgid "Returns a string that allows you to mention the given channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Returns" +msgstr "" + +#: interactions.api.models.channel.Channel.mention:3 of +msgid "The string of the mentioned channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Return type" +msgstr "" + +#: interactions.api.models.channel.Channel.send:1 of +msgid "Sends a message in the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_invite +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.pin_message +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit +#: interactions.api.models.channel.Channel.unpin_message of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.channel.Channel.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.channel.Channel.send:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.channel.Channel.send:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.channel.Channel.send:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.channel.Channel.delete:1 of +msgid "Deletes the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:1 of +msgid "Edits the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:6 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:8 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:10 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:12 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:14 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:16 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:18 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:20 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:24 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:26 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:3 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:28 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:30 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:32 of +msgid "The modified channel as new object" +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:1 of +msgid "Sets the name of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:3 of +msgid "The new name of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.lock:5 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:5 +#: interactions.api.models.channel.Channel.set_bitrate:5 +#: interactions.api.models.channel.Channel.set_name:5 +#: interactions.api.models.channel.Channel.set_nsfw:5 +#: interactions.api.models.channel.Channel.set_parent_id:5 +#: interactions.api.models.channel.Channel.set_position:5 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:5 +#: interactions.api.models.channel.Channel.set_topic:5 +#: interactions.api.models.channel.Channel.set_user_limit:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:7 +#: interactions.api.models.channel.Channel.lock:7 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:7 +#: interactions.api.models.channel.Channel.set_bitrate:7 +#: interactions.api.models.channel.Channel.set_name:7 +#: interactions.api.models.channel.Channel.set_nsfw:7 +#: interactions.api.models.channel.Channel.set_parent_id:7 +#: interactions.api.models.channel.Channel.set_position:7 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:7 +#: interactions.api.models.channel.Channel.set_topic:7 +#: interactions.api.models.channel.Channel.set_user_limit:7 of +msgid "The edited channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:1 of +msgid "Sets the topic of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:3 of +msgid "The new topic of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:1 of +msgid "Sets the bitrate of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:3 of +msgid "The new bitrate of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:1 of +msgid "Sets the user_limit of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:3 of +msgid "The new user limit of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:1 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:1 of +msgid "Sets the position of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:3 of +msgid "The new rate_limit_per_user of the channel (0-21600)" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:3 of +msgid "The new position of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:1 of +msgid "Sets the parent_id of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:3 of +msgid "The new parent_id of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:1 of +msgid "Sets the nsfw-flag of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:3 of +msgid "The new nsfw-flag of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:1 of +msgid "Sets the archived state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.archive:3 of +msgid "Whether the Thread is archived, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:5 of +msgid "The reason of the archiving" +msgstr "" + +#: interactions.api.models.channel.Channel.set_auto_archive_duration:1 of +msgid "Sets the time after the thread is automatically archived." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:1 of +msgid "Sets the locked state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:3 of +msgid "Whether the Thread is locked, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:1 of +msgid "This adds a member to the channel, if the channel is a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:3 of +msgid "The id of the member to add to the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:1 of +msgid "Pins a message to the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:3 of +msgid "The id of the message to pin" +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:1 of +msgid "Unpins a message from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:3 of +msgid "The id of the message to unpin" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in the channel to any that " +"is followed by." +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:3 of +msgid "The id of the message to publish" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:5 of +msgid "The message published" +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:1 of +msgid "Get all pinned messages from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:3 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:1 of +msgid "Gets a message sent in that channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:3 of +msgid "The message as object" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:1 of +msgid "" +"Purges a given amount of messages from a channel. You can specify a check" +" function to exclude specific messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:3 of +msgid "" +"Calling this method can lead to rate-limits when purging higher amounts " +"of messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:11 of +msgid "The amount of messages to delete" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:13 of +msgid "" +"The function used to check if a message should be deleted. The message is" +" only deleted if the check returns `True`" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:15 of +msgid "An id of a message to purge only messages before that message" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:17 of +msgid "" +"Whether to bulk delete the messages (you cannot delete messages older " +"than 14 days, default) or to delete every message seperately" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:18 of +msgid "Optional[bool]" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:19 of +msgid "The reason of the deletes" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:21 of +msgid "A list of the deleted messages" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:1 of +msgid "Creates a thread in the Channel." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:8 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:10 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:12 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:14 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:16 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:1 of +msgid "Creates an invite for the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:3 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for text channels." +"Duration of invite in seconds before expiry, or 0 for never. between 0 " +"and 604800 (7 days). Default 86400 (24h)" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:5 of +msgid "Max number of uses or 0 for unlimited. between 0 and 100. Default 0" msgstr "" -#: interactions.api.models.channel.DMChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:7 of +msgid "Whether this invite only grants temporary membership. Default False" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:9 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for DM channels." +"If true, don't try to reuse a similar invite (useful for creating many " +"unique one time use invites). Default False" msgstr "" -#: interactions.api.models.channel.ThreadChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:11 of +msgid "The type of target for this voice channel invite" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:13 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for thread channels." +"The id of the user whose stream to display for this invite, required if " +"target_type is STREAM, the user must be streaming in the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:15 of +msgid "" +"The id of the embedded application to open for this invite, required if " +"target_type is EMBEDDED_APPLICATION, the application must have the " +"EMBEDDED flag" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:17 of +msgid "The reason for the creation of the invite" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:1 of +msgid "Gets messages from the channel's history." +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:3 of +msgid "The amount of messages to get. Default 100" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:5 of +msgid "A list of messages" +msgstr "" + +#: interactions.api.models.channel.Channel.get_webhooks:1 of +msgid "Gets a list of webhooks of that channel" +msgstr "" + +#: interactions.api.models.channel.ThreadMember:1 of +msgid "A class object representing a member in a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:4 of +msgid "" +"``id`` only shows if there are active intents involved with the member in" +" the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:7 of +msgid "The \"ID\" or intents of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:8 of +msgid "The user ID of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:9 of +msgid "The timestamp of when the member joined the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:10 of +msgid "The bitshift flags for the member in the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:11 of +msgid "Whether the member is muted or not." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:1 of +msgid "A class object representing the metadata of a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:4 of +msgid "" +"``invitable`` will only show if the thread can have an invited created " +"with the current cached permissions." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:7 of +msgid "The current thread accessibility state." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:8 of +msgid "The auto-archive time." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:9 of +msgid "The timestamp that the thread will be/has been closed at." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:10 of +msgid "The current message state of the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:11 of +msgid "The ability to invite users to the thread." msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.flags.po b/docs/locale/fr/LC_MESSAGES/api.models.flags.po new file mode 100644 index 000000000..6b44fd0d5 --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/api.models.flags.po @@ -0,0 +1,64 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.flags.rst:4 +msgid "Flag Bitshift Models" +msgstr "" + +#: interactions.api.models.flags.Intents:1 of +msgid "" +"An integer flag bitshift object representing flags respective for each " +"gateway intent type." +msgstr "" + +#: interactions.api.models.flags.AppFlags:1 of +msgid "" +"An integer flag bitshift object representing the different application " +"flags given by Discord." +msgstr "" + +#: interactions.api.models.flags.StatusType:1 of +msgid "" +"An enumerable object representing Discord status icons that a user may " +"have." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.api.models.flags.UserFlags:1 of +msgid "" +"An integer flag bitshift object representing the different user flags " +"given by Discord." +msgstr "" + +#: interactions.api.models.flags.Permissions:1 of +msgid "" +"An integer flag bitshift object representing the different member " +"permissions given by Discord." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.guild.po b/docs/locale/fr/LC_MESSAGES/api.models.guild.po index f2c1dd57a..795f3c96e 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.guild.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.guild.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,68 +22,166 @@ msgstr "" msgid "Guild Models" msgstr "" -#: interactions.api.models.guild.GuildFeature:1 of -msgid "" -"An enumerable string-formatted class representing all of the features a " -"guild can have." +#: interactions.api.models.guild.VerificationLevel:1 of +msgid "An enumerable object representing the verification level of a guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:1 of -msgid "A class object representing a welcome channel on the welcome screen." +#: interactions.api.models.guild.EntityType:1 of +msgid "An enumerable object representing the type of event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:4 of +#: interactions.api.models.guild.DefaultMessageNotificationLevel:1 of msgid "" -"``emoji_id`` and ``emoji_name`` are given values respectively if the " -"welcome channel uses an emoji." +"An enumerable object representing the default message notification level " +"of a guild." +msgstr "" + +#: interactions.api.models.guild.EventMetadata:1 of +msgid "A class object representing the metadata of an event entity." msgstr "" +#: interactions.api.models.guild.EventMetadata #: interactions.api.models.guild.Guild #: interactions.api.models.guild.GuildPreview +#: interactions.api.models.guild.GuildTemplate +#: interactions.api.models.guild.Integration +#: interactions.api.models.guild.Invite +#: interactions.api.models.guild.ScheduledEvents #: interactions.api.models.guild.StageInstance +#: interactions.api.models.guild.UnavailableGuild #: interactions.api.models.guild.WelcomeChannels #: interactions.api.models.guild.WelcomeScreen of msgid "Variables" msgstr "" -#: interactions.api.models.guild.WelcomeChannels:7 of -msgid "The ID of the welcome channel." +#: interactions.api.models.guild.EventMetadata:3 of +msgid "The location of the event, if any." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:8 of -msgid "The description of the welcome channel." +#: interactions.api.models.guild.EventStatus:1 of +msgid "An enumerable object representing the status of an event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:9 of -msgid "The ID of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:1 of +msgid "An object representing the snapshot of an existing guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:10 of -msgid "The name of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:3 of +msgid "The code of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:1 of -msgid "A class object representing the welcome screen shown for community guilds." +#: interactions.api.models.guild.GuildTemplate:4 of +msgid "The name of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:4 of -msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +#: interactions.api.models.guild.GuildTemplate:5 of +msgid "The description of the guild template, if given." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:6 of -msgid "We assume it's for the welcome screen topic." +#: interactions.api.models.guild.GuildTemplate:6 of +msgid "The amount of uses on the template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:8 of -msgid "The description of the welcome sceen." +#: interactions.api.models.guild.GuildTemplate:7 of +msgid "User ID of the creator of this template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:9 of -msgid "A list of welcome channels of the welcome screen." +#: interactions.api.models.guild.GuildTemplate:8 of +msgid "The User object of the creator of this template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:9 of +msgid "The time when this template was created." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:10 of +msgid "The time when this template was updated." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:11 of +msgid "The Guild ID that the template sourced from." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:12 of +msgid "A partial Guild object from the sourced template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:13 of +msgid "A status that denotes if the changes are unsynced." +msgstr "" + +#: interactions.api.models.guild.Integration:1 of +msgid "A class object representing an integration in a guild." +msgstr "" + +#: interactions.api.models.guild.Integration:3 of +msgid "The ID of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:4 of +msgid "The name of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:5 of +msgid "The type of integration." +msgstr "" + +#: interactions.api.models.guild.Integration:6 of +msgid "Whether the integration is enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:7 of +msgid "Whether the integration is syncing or not." +msgstr "" + +#: interactions.api.models.guild.Integration:8 of +msgid "The role ID that the integration uses for \"subscribed\" users." +msgstr "" + +#: interactions.api.models.guild.Integration:9 of +msgid "Whether emoticons should be enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:10 of +msgid "The expiration behavior of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:11 of +msgid "" +"The \"grace period\" of the integration when expired -- how long it can " +"still be used." +msgstr "" + +#: interactions.api.models.guild.Integration:12 of +msgid "The user of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:13 of +msgid "The account of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:14 of +msgid "The time that the integration was last synced." +msgstr "" + +#: interactions.api.models.guild.Integration:15 of +msgid "The current subscriber count of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:16 of +msgid "Whether the integration was revoked for use or not." +msgstr "" + +#: interactions.api.models.guild.Integration:17 of +msgid "The application used for the integration." +msgstr "" + +#: interactions.api.models.guild.InviteTargetType:1 of +msgid "An enumerable object representing the different invite target types" msgstr "" #: interactions.api.models.guild.StageInstance:1 of -msgid "A class object representing an instace of a stage channel in a guild." +msgid "A class object representing an instance of a stage channel in a guild." msgstr "" #: interactions.api.models.guild.StageInstance:3 of @@ -110,6 +208,154 @@ msgstr "" msgid "Whether the stage can be seen from the stage discovery." msgstr "" +#: interactions.api.models.guild.UnavailableGuild:1 of +msgid "A class object representing how a guild that is unavailable." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:4 of +msgid "" +"This object only seems to show up during the connection process of the " +"client to the Gateway when the ``READY`` event is dispatched. This event " +"will pass fields with ``guilds`` where this becomes present." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:9 of +msgid "The ID of the unavailable guild." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:10 of +msgid "Whether the guild is unavailable or not." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:1 of +msgid "A class object representing a welcome channel on the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:4 of +msgid "" +"``emoji_id`` and ``emoji_name`` are given values respectively if the " +"welcome channel uses an emoji." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:7 of +msgid "The ID of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:8 of +msgid "The description of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:9 of +msgid "The ID of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:10 of +msgid "The name of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.ExplicitContentFilterLevel:1 of +msgid "" +"An enumerable object representing the explicit content filter level of a " +"guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:1 of +msgid "A class object representing the scheduled events of a guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:19 +#: interactions.api.models.guild.ScheduledEvents:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:1 of +msgid "A class object representing the welcome screen shown for community guilds." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:4 of +msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:6 of +msgid "We assume it's for the welcome screen topic." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:8 of +msgid "The description of the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:9 of +msgid "A list of welcome channels of the welcome screen." +msgstr "" + #: interactions.api.models.guild.Guild:1 of msgid "A class object representing how a guild is registered." msgstr "" @@ -122,17 +368,17 @@ msgid "" msgstr "" #: interactions.api.models.guild.Guild:8 -#: interactions.api.models.guild.GuildPreview:6 of +#: interactions.api.models.guild.GuildPreview:3 of msgid "The ID of the guild." msgstr "" #: interactions.api.models.guild.Guild:9 -#: interactions.api.models.guild.GuildPreview:7 of +#: interactions.api.models.guild.GuildPreview:4 of msgid "The name of the guild." msgstr "" #: interactions.api.models.guild.Guild:10 -#: interactions.api.models.guild.GuildPreview:8 of +#: interactions.api.models.guild.GuildPreview:5 of msgid "The icon of the guild." msgstr "" @@ -141,12 +387,12 @@ msgid "The hashed version of the icon of the guild." msgstr "" #: interactions.api.models.guild.Guild:12 -#: interactions.api.models.guild.GuildPreview:9 of +#: interactions.api.models.guild.GuildPreview:6 of msgid "The invite splash banner of the guild." msgstr "" #: interactions.api.models.guild.Guild:13 -#: interactions.api.models.guild.GuildPreview:10 of +#: interactions.api.models.guild.GuildPreview:7 of msgid "The discovery splash banner of the guild." msgstr "" @@ -199,12 +445,12 @@ msgid "The list of roles in the guild." msgstr "" #: interactions.api.models.guild.Guild:26 -#: interactions.api.models.guild.GuildPreview:11 of +#: interactions.api.models.guild.GuildPreview:8 of msgid "The list of emojis from the guild." msgstr "" #: interactions.api.models.guild.Guild:27 -#: interactions.api.models.guild.GuildPreview:12 of +#: interactions.api.models.guild.GuildPreview:9 of msgid "The list of features of the guild." msgstr "" @@ -241,96 +487,1250 @@ msgid "The amount of members in the guild." msgstr "" #: interactions.api.models.guild.Guild:36 of -msgid "The list of presences in the guild." +msgid "The members in the guild." msgstr "" #: interactions.api.models.guild.Guild:37 of -msgid "The maximum amount of presences allowed in the guild." +msgid "The channels in the guild." msgstr "" #: interactions.api.models.guild.Guild:38 of -msgid "The maximum amount of members allowed in the guild." +msgid "All known threads in the guild." msgstr "" #: interactions.api.models.guild.Guild:39 of +msgid "The list of presences in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:40 of +msgid "The maximum amount of presences allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:41 of +msgid "The maximum amount of members allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:42 of msgid "The vanity URL of the guild." msgstr "" -#: interactions.api.models.guild.Guild:40 -#: interactions.api.models.guild.GuildPreview:15 of +#: interactions.api.models.guild.Guild:43 +#: interactions.api.models.guild.GuildPreview:12 of msgid "The description of the guild." msgstr "" -#: interactions.api.models.guild.Guild:41 of +#: interactions.api.models.guild.Guild:44 of msgid "The banner of the guild." msgstr "" -#: interactions.api.models.guild.Guild:42 of +#: interactions.api.models.guild.Guild:45 of msgid "The server boost level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:43 of +#: interactions.api.models.guild.Guild:46 of msgid "The amount of server boosters in the guild." msgstr "" -#: interactions.api.models.guild.Guild:44 of +#: interactions.api.models.guild.Guild:47 of msgid "The \"preferred\" local region of the guild." msgstr "" -#: interactions.api.models.guild.Guild:45 of +#: interactions.api.models.guild.Guild:48 of msgid "The channel ID for community updates of the guild." msgstr "" -#: interactions.api.models.guild.Guild:46 of +#: interactions.api.models.guild.Guild:49 of msgid "" "The maximum amount of video streaming members in a channel allowed in a " "guild." msgstr "" -#: interactions.api.models.guild.Guild:47 -#: interactions.api.models.guild.GuildPreview:13 of +#: interactions.api.models.guild.Guild:50 +#: interactions.api.models.guild.GuildPreview:10 of msgid "The approximate amount of members in the guild." msgstr "" -#: interactions.api.models.guild.Guild:48 -#: interactions.api.models.guild.GuildPreview:14 of +#: interactions.api.models.guild.Guild:51 +#: interactions.api.models.guild.GuildPreview:11 of msgid "The approximate amount of presences in the guild." msgstr "" -#: interactions.api.models.guild.Guild:49 of +#: interactions.api.models.guild.Guild:52 of msgid "The welcome screen of the guild." msgstr "" -#: interactions.api.models.guild.Guild:50 of +#: interactions.api.models.guild.Guild:53 of msgid "The NSFW safety filter level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:51 of +#: interactions.api.models.guild.Guild:54 of msgid "The stage instance of the guild." msgstr "" -#: interactions.api.models.guild.Guild:52 of +#: interactions.api.models.guild.Guild:55 of msgid "The list of stickers from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:1 of -msgid "A model representing the preview of a guild." +#: interactions.api.models.guild.Guild:56 of +msgid "Whether the guild has the boost progress bar enabled." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of -msgid ".. note::" +#: interactions.api.models.guild.Guild.ban:1 of +msgid "Bans a member from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of +#: interactions.api.models.guild.Guild.add_member_role +#: interactions.api.models.guild.Guild.ban +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_emoji +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.delete_channel +#: interactions.api.models.guild.Guild.delete_emoji +#: interactions.api.models.guild.Guild.delete_role +#: interactions.api.models.guild.Guild.delete_scheduled_event +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.kick +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.remove_ban +#: interactions.api.models.guild.Guild.remove_member_role +#: interactions.api.models.guild.Guild.search_members +#: interactions.api.models.guild.Guild.set_afk_channel +#: interactions.api.models.guild.Guild.set_afk_timeout +#: interactions.api.models.guild.Guild.set_banner +#: interactions.api.models.guild.Guild.set_default_message_notifications +#: interactions.api.models.guild.Guild.set_description +#: interactions.api.models.guild.Guild.set_discovery_splash +#: interactions.api.models.guild.Guild.set_explicit_content_filter +#: interactions.api.models.guild.Guild.set_icon +#: interactions.api.models.guild.Guild.set_name +#: interactions.api.models.guild.Guild.set_preferred_locale +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled +#: interactions.api.models.guild.Guild.set_public_updates_channel +#: interactions.api.models.guild.Guild.set_rules_channel +#: interactions.api.models.guild.Guild.set_splash +#: interactions.api.models.guild.Guild.set_system_channel +#: interactions.api.models.guild.Guild.set_verification_level of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:3 of +msgid "The id of the member to ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:1 of +msgid "Removes the ban of a user." +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:3 of +msgid "The id of the user to remove the ban from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:5 of +msgid "The reason for the removal of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:1 of +msgid "Kicks a member from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.kick:3 of +msgid "The id of the member to kick" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:4 of msgid "" -"This refers to the documentation `here " -"_`" +":type role Union[Role, int] :param member_id: The id of the member to add" +" the roles to :type member_id: int :param reason?: The reason why the " +"roles are added :type reason: Optional[str]" msgstr "" -#: interactions.api.models.guild.Invite:1 of -msgid "The invite object." +#: interactions.api.models.guild.Guild.remove_member_role:1 of +msgid "This method removes a or multiple role(s) from a member." msgstr "" -#: interactions.api.models.guild.GuildTemplate:1 of -msgid "An object representing the snapshot of an existing guild." +#: interactions.api.models.guild.Guild.remove_member_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:5 of +msgid "The id of the member to remove the roles from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:1 of +msgid "Creates a new role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:3 of +msgid "The name of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:5 of +msgid "RGB color value as integer, default ``0``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:7 of +msgid "Bitwise value of the enabled/disabled permissions" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:9 of +msgid "" +"Whether the role should be displayed separately in the sidebar, default " +"``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:11 of +msgid "The role's icon image (if the guild has the ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:13 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:15 of +msgid "Whether the role should be mentionable, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:17 of +msgid "The reason why the role is created, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Returns" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:19 of +msgid "The created Role" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Return type" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:1 of +msgid "" +"Searches for the member with specified id in the guild and returns the " +"member as member object." +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:3 of +msgid "The id of the member to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:5 of +msgid "The member searched for" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:1 of +msgid "Deletes a channel from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:3 of +msgid "The id of the channel to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:1 of +msgid "Deletes a role from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:3 of +msgid "The id of the role to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:5 +#: interactions.api.models.guild.Guild.delete_role:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:1 of +msgid "Edits a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:3 of +msgid "The id of the role to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:9 of +msgid "" +"Bitwise value of the enabled/disabled permissions, defaults to the " +"current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:1 of +msgid "Creates a thread in the specified channel." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:5 of +msgid "The id of the channel to create the thread in" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:7 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:10 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:12 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:14 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:16 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:18 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:1 of +msgid "Creates a channel in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:3 of +msgid "The name of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:5 of +msgid "The type of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:7 of +msgid "The topic of that channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:9 of +msgid "(voice channel only) The bitrate (in bits) of the voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:11 of +msgid "(voice channel only) Maximum amount of users in the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:13 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:15 of +msgid "Sorting position of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:17 of +msgid "The id of the parent category for a channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:19 +#: interactions.api.models.guild.Guild.modify_channel:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:21 of +msgid "Whether the channel is nsfw or not, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:23 of +msgid "The reason for the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:25 of +msgid "The created channel" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:1 of +msgid "Clones a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:3 of +msgid "The id of the channel to clone" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:5 of +msgid "The cloned channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:1 of +msgid "Edits a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:6 of +msgid "The id of the channel to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:8 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:10 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:12 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:14 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:16 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:18 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:20 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:24 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:26 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:28 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:30 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:32 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:34 of +msgid "The modified channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:1 of +msgid "Modifies a member of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:3 of +msgid "The id of the member to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:19 of +msgid "The modified member" +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:1 of +msgid "Get the guild's preview." +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:3 of +msgid "the guild preview as object" +msgstr "" + +#: interactions.api.models.guild.Guild.leave:1 of +msgid "Removes the bot from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:1 of +msgid "Modifies the current guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:3 +#: interactions.api.models.guild.Guild.set_afk_channel:3 +#: interactions.api.models.guild.Guild.set_name:3 of +msgid "The new name of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:5 of +msgid "The verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:7 of +msgid "The default message notification level for members" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:9 of +msgid "The explicit content filter level for media content" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:11 of +msgid "The id for the afk voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:13 of +msgid "Afk timeout in seconds" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:15 of +msgid "" +"1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when" +" the server has the ANIMATED_ICON feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:17 of +msgid "" +"The id of the user to transfer the guild ownership to. You must be the " +"owner to perform this" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:19 of +msgid "" +"16:9 png/jpeg image for the guild splash (when the server has the " +"INVITE_SPLASH feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:21 of +msgid "" +"16:9 png/jpeg image for the guild discovery splash (when the server has " +"the DISCOVERABLE feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:23 of +msgid "" +"16:9 png/jpeg image for the guild banner (when the server has the BANNER " +"feature; can be animated gif when the server has the ANIMATED_BANNER " +"feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:25 of +msgid "" +"The id of the channel where guild notices such as welcome messages and " +"boost events are posted" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:27 of +msgid "Whether to suppress member join notifications in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:29 of +msgid "" +"Whether to suppress server boost notifications in the system channel or " +"not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:31 of +msgid "Whether to suppress server setup tips in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:33 of +msgid "" +"Whether to hide member join sticker reply buttons in the system channel " +"or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:35 of +msgid "The id of the channel where guilds display rules and/or guidelines" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:37 of +msgid "" +"The id of the channel where admins and moderators of community guilds " +"receive notices from Discord" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:39 of +msgid "" +"The preferred locale of a community guild used in server discovery and " +"notices from Discord; defaults to \"en-US\"" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:41 of +msgid "The description for the guild, if the guild is discoverable" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:43 of +msgid "Whether the guild's boost progress bar is enabled" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:45 +#: interactions.api.models.guild.Guild.modify_role_position:7 +#: interactions.api.models.guild.Guild.modify_role_positions:5 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:47 of +msgid "The modified guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_name:1 of +msgid "Sets the name of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:5 +#: interactions.api.models.guild.Guild.set_afk_timeout:5 +#: interactions.api.models.guild.Guild.set_banner:5 +#: interactions.api.models.guild.Guild.set_default_message_notifications:5 +#: interactions.api.models.guild.Guild.set_description:5 +#: interactions.api.models.guild.Guild.set_discovery_splash:5 +#: interactions.api.models.guild.Guild.set_explicit_content_filter:5 +#: interactions.api.models.guild.Guild.set_icon:5 +#: interactions.api.models.guild.Guild.set_name:5 +#: interactions.api.models.guild.Guild.set_preferred_locale:5 +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:5 +#: interactions.api.models.guild.Guild.set_public_updates_channel:5 +#: interactions.api.models.guild.Guild.set_rules_channel:5 +#: interactions.api.models.guild.Guild.set_splash:5 +#: interactions.api.models.guild.Guild.set_system_channel:5 +#: interactions.api.models.guild.Guild.set_verification_level:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:1 of +msgid "Sets the verification level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:3 of +msgid "The new verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:1 of +msgid "Sets the default message notifications level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:3 of +msgid "The new default message notification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:1 of +msgid "Sets the explicit content filter level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:3 of +msgid "The new explicit content filter level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:1 of +msgid "Sets the afk channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:1 of +msgid "Sets the afk timeout of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:3 of +msgid "The new afk timeout of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:1 of +msgid "Sets the system channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:3 of +msgid "The new system channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:1 of +msgid "Sets the rules channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:3 of +msgid "The new rules channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:1 of +msgid "Sets the public updates channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:3 of +msgid "The new public updates channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:1 of +msgid "Sets the preferred locale of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:3 of +msgid "The new preferredlocale of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:1 of +msgid "Sets the description of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:3 of +msgid "The new description of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:1 of +msgid "Sets the visibility of the premium progress bar of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:3 of +msgid "Whether the bar is enabled or not" +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:1 of +msgid "Sets the icon of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:3 of +msgid "The new icon of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:1 of +msgid "Sets the splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:3 of +msgid "The new splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:1 of +msgid "Sets the discovery_splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:3 of +msgid "The new discovery_splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:1 of +msgid "Sets the banner of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:3 of +msgid "The new banner of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:1 of +msgid "creates a scheduled event for the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:3 +#: interactions.api.models.guild.Guild.modify_scheduled_event:5 of +msgid "The name of the event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:5 +#: interactions.api.models.guild.Guild.modify_scheduled_event:7 of +msgid "The entity type of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:7 +#: interactions.api.models.guild.Guild.modify_scheduled_event:9 of +msgid "The time to schedule the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:9 +#: interactions.api.models.guild.Guild.modify_scheduled_event:11 of +msgid "The time when the scheduled event is scheduled to end" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:11 +#: interactions.api.models.guild.Guild.modify_scheduled_event:13 of +msgid "The entity metadata of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:13 +#: interactions.api.models.guild.Guild.modify_scheduled_event:15 of +msgid "The channel id of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:15 +#: interactions.api.models.guild.Guild.modify_scheduled_event:17 of +msgid "The description of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:17 +#: interactions.api.models.guild.Guild.modify_scheduled_event:21 of +msgid "The cover image of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:19 of +msgid "The created event" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:1 of +msgid "Edits a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:3 of +msgid "The id of the event to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:23 of +msgid "The modified event" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:1 of +msgid "Deletes a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:3 of +msgid "The id of the event to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:1 of +msgid "Gets all channels of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:3 of +msgid "The channels of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:1 of +msgid "Gets all roles of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:3 of +msgid "The roles of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:1 of +msgid "Gets a role of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:3 of +msgid "The id of the role to get" +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:5 of +msgid "The role as object" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:3 of +msgid "The id of the role to modify the position of" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:9 +#: interactions.api.models.guild.Guild.modify_role_positions:7 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:1 of +msgid "Modifies the positions of multiple roles in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:3 of +msgid "A list of dicts containing roles (id) and their new positions (position)" +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:3 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:5 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:7 of +msgid "Consider only users after the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:3 +#: interactions.api.models.guild.Guild.get_bans:9 of +msgid "List of banned users with reasons" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:1 of +msgid "Gets all bans of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:1 of +msgid "Gets an emoji of the guild and returns it." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:3 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:5 of +msgid "The specified Emoji, if found" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:1 of +msgid "Gets all emojis of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:3 of +msgid "All emojis of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:1 of +msgid "Creates an Emoji in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:3 of +msgid "The image of the emoji." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:5 of +msgid "The name of the emoji. If not specified, the filename will be used" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:7 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:9 of +msgid "The reason of the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:1 of +msgid "Deletes an emoji of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:3 of +msgid "The emoji or the id of the emoji to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:1 of +msgid "Lists the members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:3 of +msgid "How many members to get from the API. Max is 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:5 of +msgid "Get only Members after this member." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:7 of +msgid "A list of members" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:1 of +msgid "" +"Search the guild for members whose username or nickname starts with " +"provided string." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:3 of +msgid "The string to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:5 of +msgid "The number of members to return." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:7 of +msgid "A list of matching members" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:1 of +msgid "Gets all members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:3 of +msgid "Calling this method can lead to rate-limits in larger guilds." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:5 of +msgid "Returns a list of all members of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.icon_url:1 of +msgid "" +"Returns the URL of the guild's icon. :return: URL of the guild's icon " +"(None will be returned if no icon is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.banner_url:1 of +msgid "" +"Returns the URL of the guild's banner. :return: URL of the guild's banner" +" (None will be returned if no banner is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.splash_url:1 of +msgid "" +"Returns the URL of the guild's invite splash banner. :return: URL of the " +"guild's invite splash banner (None will be returned if no banner is set) " +":rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.discovery_splash_url:1 of +msgid "" +"Returns the URL of the guild's discovery splash banner. :return: URL of " +"the guild's discovery splash banner (None will be returned if no banner " +"is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.GuildPreview:1 of +msgid "A class object representing the preview of a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:1 of +msgid "The invite object." +msgstr "" + +#: interactions.api.models.guild.Invite:3 of +msgid "The amount of uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:4 of +msgid "The amount of maximum uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:5 of +msgid "The maximum age of this invite, in seconds." +msgstr "" + +#: interactions.api.models.guild.Invite:6 of +msgid "A detection of whether this invite only grants temporary membership." +msgstr "" + +#: interactions.api.models.guild.Invite:7 of +msgid "The time when this invite was created." +msgstr "" + +#: interactions.api.models.guild.Invite:8 of +msgid "The time when this invite will expire." +msgstr "" + +#: interactions.api.models.guild.Invite:9 of +msgid "The type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:10 of +msgid "The user who created this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:11 of +msgid "The code of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:12 of +msgid "The guild ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:13 of +msgid "The channel ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:14 of +msgid "The type of the target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:15 of +msgid "The target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:16 of +msgid "The target type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:17 of +msgid "The guild of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:18 of +msgid "The channel of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:19 of +msgid "The approximate amount of total members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:20 of +msgid "The aprpoximate amount of online members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:21 of +msgid "A scheduled guild event object included in the invite." +msgstr "" + +#: interactions.api.models.guild.Invite.delete:1 of +msgid "Deletes the invite" msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.gw.po b/docs/locale/fr/LC_MESSAGES/api.models.gw.po new file mode 100644 index 000000000..ffa9c1972 --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/api.models.gw.po @@ -0,0 +1,678 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.gw.rst:4 +msgid "Gateway-specific Event Models" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:1 of +msgid "" +"A class object representing the gateway event " +"``APPLICATION_COMMAND_PERMISSIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:3 of +msgid "" +"This is undocumented by the Discord API, so these attribute docs may or " +"may not be finalised." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions +#: interactions.api.models.gw.ChannelPins +#: interactions.api.models.gw.EmbeddedActivity +#: interactions.api.models.gw.GuildBan interactions.api.models.gw.GuildEmojis +#: interactions.api.models.gw.GuildIntegrations +#: interactions.api.models.gw.GuildJoinRequest +#: interactions.api.models.gw.GuildMember +#: interactions.api.models.gw.GuildMembers interactions.api.models.gw.GuildRole +#: interactions.api.models.gw.GuildScheduledEvent +#: interactions.api.models.gw.GuildScheduledEventUser +#: interactions.api.models.gw.GuildStickers +#: interactions.api.models.gw.Integration +#: interactions.api.models.gw.MessageReaction +#: interactions.api.models.gw.Presence +#: interactions.api.models.gw.ReactionRemove +#: interactions.api.models.gw.ThreadList +#: interactions.api.models.gw.ThreadMembers interactions.api.models.gw.Webhooks +#: of +msgid "Variables" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:5 of +msgid "The application ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:6 of +msgid "The guild ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:7 of +msgid "The ID of the command associated with the event. (?)" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:8 of +msgid "The updated permissions of the associated command/event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:1 of +msgid "A class object representing the event ``EMBEDDED_ACTIVITY_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:4 +#: interactions.api.models.gw.GuildJoinRequest:4 of +msgid "This is entirely undocumented by the API." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:6 of +msgid "The list of users of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:3 +#: interactions.api.models.gw.EmbeddedActivity:7 +#: interactions.api.models.gw.GuildBan:3 +#: interactions.api.models.gw.GuildEmojis:3 +#: interactions.api.models.gw.GuildIntegrations:3 +#: interactions.api.models.gw.GuildJoinRequest:7 +#: interactions.api.models.gw.GuildMember:3 +#: interactions.api.models.gw.GuildMembers:3 +#: interactions.api.models.gw.GuildRole:3 +#: interactions.api.models.gw.GuildStickers:3 +#: interactions.api.models.gw.Integration:23 +#: interactions.api.models.gw.MessageReaction:6 +#: interactions.api.models.gw.Presence:4 +#: interactions.api.models.gw.ReactionRemove:10 +#: interactions.api.models.gw.ThreadList:3 +#: interactions.api.models.gw.ThreadMembers:4 of +msgid "The guild ID of the event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:8 of +msgid "The embedded presence activity of the associated event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:4 +#: interactions.api.models.gw.EmbeddedActivity:9 +#: interactions.api.models.gw.MessageReaction:4 +#: interactions.api.models.gw.ReactionRemove:8 of +msgid "The channel ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:1 of +msgid "" +"A class object representing the gateway events ``INTEGRATION_CREATE``, " +"``INTEGRATION_UPDATE`` and ``INTEGRATION_DELETE``." +msgstr "" + +#: interactions.api.models.gw.Integration:4 of +msgid "" +"The documentation of this event is the same as " +":class:`interactions.api.models.guild.Guild`. The only key missing " +"attribute is ``guild_id``. Likewise, the documentation below reflects " +"this." +msgstr "" + +#: interactions.api.models.gw.Integration:8 +#: interactions.api.models.gw.ThreadMembers:3 of +msgid "The ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:9 of +msgid "The name of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:10 of +msgid "The type of integration in the event." +msgstr "" + +#: interactions.api.models.gw.Integration:11 of +msgid "Whether the integration of the event is enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:12 of +msgid "Whether the integration of the event is syncing or not." +msgstr "" + +#: interactions.api.models.gw.Integration:13 of +msgid "" +"The role ID that the integration in the event uses for \"subscribed\" " +"users." +msgstr "" + +#: interactions.api.models.gw.Integration:14 of +msgid "Whether emoticons of the integration's event should be enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:15 of +msgid "The expiration behavior of the integration of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:16 of +msgid "" +"The \"grace period\" of the integration of the event when expired -- how " +"long it can still be used." +msgstr "" + +#: interactions.api.models.gw.GuildBan:4 +#: interactions.api.models.gw.GuildMember:5 +#: interactions.api.models.gw.Integration:17 +#: interactions.api.models.gw.Presence:3 of +msgid "The user of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:18 of +msgid "The account of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:19 of +msgid "The time that the integration of the event was last synced." +msgstr "" + +#: interactions.api.models.gw.Integration:20 of +msgid "The current subscriber count of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:21 of +msgid "Whether the integration of the event was revoked for use or not." +msgstr "" + +#: interactions.api.models.gw.Integration:22 of +msgid "The application used for the integration of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:1 of +msgid "A class object representing the gateway event ``CHANNEL_PINS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:5 of +msgid "The time that the event took place." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:1 of +msgid "A class object representing the gateway event ``THREAD_MEMBERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:5 of +msgid "The member count of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:6 of +msgid "The added members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:7 of +msgid "The removed IDs of members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:1 of +msgid "A class object representing the gateway event ``THREAD_LIST_SYNC``." +msgstr "" + +#: interactions.api.models.gw.ThreadList:4 of +msgid "The channel IDs of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:5 of +msgid "The threads of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:6 of +msgid "The members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:1 of +msgid "" +"A class object representing the gateway events " +"``MESSAGE_REACTION_REMOVE``, ``MESSAGE_REACTION_REMOVE_ALL`` and " +"``MESSAGE_REACTION_REMOVE_EMOJI``." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:4 of +msgid "" +"This class inherits the already existing attributes of " +":class:`interactions.api.models.gw.Reaction`. The main missing attribute " +"is ``member``." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:6 +#: interactions.api.models.gw.MessageReaction:3 +#: interactions.api.models.gw.ReactionRemove:7 of +msgid "The user ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:5 +#: interactions.api.models.gw.ReactionRemove:9 of +msgid "The message ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:8 +#: interactions.api.models.gw.ReactionRemove:11 of +msgid "The emoji of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:1 of +msgid "A class object representing the gateway event ``MESSAGE_REACTION_ADD``." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:7 of +msgid "The member of the event." +msgstr "" + +#: interactions.api.models.gw.GuildIntegrations:1 of +msgid "" +"A class object representing the gateway event " +"``GUILD_INTEGRATIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildBan:1 of +msgid "A class object representing the gateway event ``GUILD_BAN_ADD``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:1 of +msgid "A class object representing the gateway event ``WEBHOOKS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:3 of +msgid "The channel ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.Webhooks:4 of +msgid "The guild ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:1 of +msgid "A class object representing the gateway event ``GUILD_MEMBERS_CHUNK``." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:4 of +msgid "The members of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:5 of +msgid "The current chunk index of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:6 of +msgid "The total chunk count of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:7 of +msgid "A list of not found members in the event if an invalid request was made." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:8 of +msgid "A list of presences in the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:9 of +msgid "The \"nonce\" of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:1 of +msgid "" +"A class object representing the gateway events ``GUILD_MEMBER_ADD``, " +"``GUILD_MEMBER_UPDATE`` and ``GUILD_MEMBER_REMOVE``." +msgstr "" + +#: interactions.api.models.gw.GuildMember:4 of +msgid "The roles of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:6 of +msgid "The nickname of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:7 of +msgid "The avatar URL of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:8 of +msgid "The time that the user of the event joined at." +msgstr "" + +#: interactions.api.models.gw.GuildMember:9 of +msgid "The time that the user of the event has since had \"premium.\"" +msgstr "" + +#: interactions.api.models.gw.GuildMember:10 of +msgid "Whether the member of the event is deafened or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:11 of +msgid "Whether the member of the event is muted or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:12 of +msgid "" +"Whether the member of the event is still pending -- pass membership " +"screening -- or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role +#: interactions.api.models.gw.GuildMember.add_to_thread +#: interactions.api.models.gw.GuildMember.ban +#: interactions.api.models.gw.GuildMember.kick +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.remove_role +#: interactions.api.models.gw.GuildMember.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:3 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:3 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:5 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:5 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:3 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:5 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:7 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:9 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:11 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:13 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:15 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:17 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.gw.GuildStickers:1 of +msgid "A class object representing the gateway event ``GUILD_STICKERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildStickers:4 of +msgid "The stickers of the event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_SCHEDULED_EVENT_USER_ADD`` and " +"``GUILD_SCHEDULED_EVENT_USER_REMOVE``" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:3 of +msgid "The ID of the guild scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:4 of +msgid "The ID of the guild associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:5 of +msgid "The ID of the user associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:1 of +msgid "" +"A class object representing gateway events " +"``GUILD_SCHEDULED_EVENT_CREATE``, ``GUILD_SCHEDULED_EVENT_UPDATE``, " +"``GUILD_SCHEDULED_EVENT_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.gw.Presence:1 of +msgid "A class object representing the gateway event ``PRESENCE_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Presence:5 of +msgid "The status of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:6 of +msgid "The activities of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:7 of +msgid "The client status across platforms in the event." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_JOIN_REQUEST_CREATE``, ``GUILD_JOIN_REQUEST_UPDATE``, and " +"``GUILD_JOIN_REQUEST_DELETE``" +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:1 of +msgid "A class object representing the gateway event ``GUILD_EMOJIS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:4 of +msgid "The emojis of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:1 of +msgid "" +"A class object representing the gateway events ``GUILD_ROLE_CREATE``, " +"``GUILD_ROLE_UPDATE`` and ``GUILD_ROLE_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildRole:4 of +msgid "The role of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:5 of +msgid "The role ID of the event." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.intents.po b/docs/locale/fr/LC_MESSAGES/api.models.intents.po deleted file mode 100644 index 0c9461d6f..000000000 --- a/docs/locale/fr/LC_MESSAGES/api.models.intents.po +++ /dev/null @@ -1,36 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.intents.rst:4 -msgid "Intents Models" -msgstr "" - -#: interactions.api.models.intents.Intents:1 of -msgid "" -"A class objct representing the bitshift flags respective for each intents" -" type." -msgstr "" - -#: interactions.api.models.intents.Intents:4 of -msgid "" -"Equivalent of `Gateway Intents " -"`_ in" -" the Discord API." -msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.member.po b/docs/locale/fr/LC_MESSAGES/api.models.member.po index 8c045b1b5..d616587fa 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.member.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.member.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,20 +23,10 @@ msgid "Member Models" msgstr "" #: interactions.api.models.member.Member:1 of -msgid "A class object representing the member of a guild." +msgid "A class object representing the user of a guild, known as a \"member.\"" msgstr "" #: interactions.api.models.member.Member:4 of -msgid "Also known as the guild member class object. (or partial)" -msgstr "" - -#: interactions.api.models.member.Member:6 of -msgid "" -"The methodology, instead of regular d.py conventions is to do member.user" -" to get the pure User object, instead of d.py's option of merging." -msgstr "" - -#: interactions.api.models.member.Member:10 of msgid "" "``pending`` and ``permissions`` only apply for members retroactively " "requiring to verify rules via. membership screening or lack permissions " @@ -47,38 +37,246 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.member.Member:14 of +#: interactions.api.models.member.Member:8 of msgid "The user of the guild." msgstr "" -#: interactions.api.models.member.Member:15 of +#: interactions.api.models.member.Member:9 of msgid "The nickname of the member." msgstr "" -#: interactions.api.models.member.Member:16 of +#: interactions.api.models.member.Member:10 of +msgid "The hash containing the user's guild avatar, if applicable." +msgstr "" + +#: interactions.api.models.member.Member:11 of msgid "The list of roles of the member." msgstr "" -#: interactions.api.models.member.Member:17 of +#: interactions.api.models.member.Member:12 of msgid "The timestamp the member joined the guild at." msgstr "" -#: interactions.api.models.member.Member:18 of +#: interactions.api.models.member.Member:13 of msgid "The timestamp the member has been a server booster since." msgstr "" -#: interactions.api.models.member.Member:19 of +#: interactions.api.models.member.Member:14 of msgid "Whether the member is deafened." msgstr "" -#: interactions.api.models.member.Member:20 of +#: interactions.api.models.member.Member:15 of msgid "Whether the member is muted." msgstr "" -#: interactions.api.models.member.Member:21 of +#: interactions.api.models.member.Member:16 of msgid "Whether the member is pending to pass membership screening." msgstr "" -#: interactions.api.models.member.Member:22 of +#: interactions.api.models.member.Member:17 of msgid "Whether the member has permissions." msgstr "" + +#: interactions.api.models.member.Member:18 of +msgid "How long until they're unmuted, if any." +msgstr "" + +#: interactions.api.models.member.Member.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.member.Member.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.member.Member.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.member.Member.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.member.Member.name:1 of +msgid "Returns the string of either the user's nickname or username." +msgstr "" + +#: interactions.api.models.member.Member.name:3 of +msgid "The name of the member" +msgstr "" + +#: interactions.api.models.member.Member.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.add_role +#: interactions.api.models.member.Member.add_to_thread +#: interactions.api.models.member.Member.ban +#: interactions.api.models.member.Member.kick +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.remove_role +#: interactions.api.models.member.Member.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.member.Member.ban:3 of +msgid "The id of the guild to ban the member from" +msgstr "" + +#: interactions.api.models.member.Member.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.member.Member.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.member.Member.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.kick:3 of +msgid "The id of the guild to kick the member from" +msgstr "" + +#: interactions.api.models.member.Member.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.member.Member.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.member.Member.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.add_role:5 of +msgid "The id of the guild to add the roles to the member" +msgstr "" + +#: interactions.api.models.member.Member.add_role:7 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.member.Member.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:5 of +msgid "The id of the guild to remove the roles of the member" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.member.Member.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.member.Member.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.member.Member.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.member.Member.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.member.Member.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.member.Member.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.member.Member.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.member.Member.modify:3 of +msgid "The id of the guild to modify the member on" +msgstr "" + +#: interactions.api.models.member.Member.modify:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.member.Member.modify:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.member.Member.modify:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.member.Member.modify:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.member.Member.modify:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.member.Member.modify:19 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.member.Member.get_avatar_url:1 of +msgid "" +"Returns the URL of the member's avatar for the specified guild. :param " +"guild_id: The id of the guild to get the member's avatar from :type " +"guild_id: int :return: URL of the members's avatar (None will be returned" +" if no avatar is set) :rtype: str" +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.message.po b/docs/locale/fr/LC_MESSAGES/api.models.message.po index a831f2985..1f8521cd0 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.message.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.message.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,33 +26,36 @@ msgstr "" msgid "An enumerable object representing the types of messages." msgstr "" -#: interactions.api.models.message.MessageType:3 of -msgid ".. note::" -msgstr "" - -#: interactions.api.models.message.MessageType:4 of -msgid "" -"While all of them are listed, not all of them would be used at this lib's" -" scope." -msgstr "" - #: interactions.api.models.message.MessageActivity:1 of msgid "A class object representing the activity state of a message." msgstr "" #: interactions.api.models.message.MessageActivity:4 of -msgid "``party_id`` is ambigious -- Discord poorly documented this. :)" +msgid "``party_id`` is ambiguous -- Discord poorly documented this. :)" msgstr "" #: interactions.api.models.message.MessageActivity:6 of msgid "" -"We assume it's for game rich presence invites? i.e. : Phasmophobia, Call " -"of Duty" +"We assume it's for game rich presence invites? i.e. : Phasmophobia and " +"Call of Duty." msgstr "" #: interactions.api.models.message.Attachment +#: interactions.api.models.message.ChannelMention +#: interactions.api.models.message.Embed +#: interactions.api.models.message.EmbedAuthor +#: interactions.api.models.message.EmbedField +#: interactions.api.models.message.EmbedFooter +#: interactions.api.models.message.EmbedImageStruct +#: interactions.api.models.message.EmbedProvider +#: interactions.api.models.message.Emoji +#: interactions.api.models.message.Message #: interactions.api.models.message.MessageActivity -#: interactions.api.models.message.MessageReference of +#: interactions.api.models.message.MessageInteraction +#: interactions.api.models.message.MessageReference +#: interactions.api.models.message.PartialSticker +#: interactions.api.models.message.ReactionObject +#: interactions.api.models.message.Sticker of msgid "Variables" msgstr "" @@ -70,8 +73,8 @@ msgstr "" #: interactions.api.models.message.MessageReference:4 of msgid "" -"All of the class instances are optionals because a message can entirely " -"never be referenced." +"All of the attributes in this class are optionals because a message can " +"potentially never be referenced." msgstr "" #: interactions.api.models.message.MessageReference:7 of @@ -97,60 +100,919 @@ msgstr "" #: interactions.api.models.message.Attachment:4 of msgid "" "``height`` and ``width`` have values based off of ``content_type``, which" -" requires it to be a media file with viewabiltiy as a photo, animated " +" requires it to be a media file with viewabiltity as a photo, animated " "photo, GIF and/or video." msgstr "" #: interactions.api.models.message.Attachment:8 of +msgid "" +"If `ephemeral` is given, the attachments will automatically be removed " +"after a set period of time. In the case of regular messages, they're " +"available as long as the message associated with the attachment exists." +msgstr "" + +#: interactions.api.models.message.Attachment:11 of msgid "The ID of the attachment." msgstr "" -#: interactions.api.models.message.Attachment:9 of +#: interactions.api.models.message.Attachment:12 of msgid "The name of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:10 of +#: interactions.api.models.message.Attachment:13 of +msgid "The description of the file." +msgstr "" + +#: interactions.api.models.message.Attachment:14 of msgid "The type of attachment file." msgstr "" -#: interactions.api.models.message.Attachment:11 of +#: interactions.api.models.message.Attachment:15 of msgid "The size of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:12 of +#: interactions.api.models.message.Attachment:16 of msgid "The CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:13 of +#: interactions.api.models.message.Attachment:17 of msgid "The proxied/cached CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:14 of +#: interactions.api.models.message.Attachment:18 of msgid "The height of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:15 of +#: interactions.api.models.message.Attachment:19 of msgid "The width of the attachment file." msgstr "" -#: interactions.api.models.message.Message:1 of -msgid "The big Message model." +#: interactions.api.models.message.Attachment:20 of +msgid "Whether the attachment is ephemeral." msgstr "" -#: interactions.api.models.message.Message:3 of +#: interactions.api.models.message.MessageInteraction:1 of +msgid "" +"A class object that resembles the interaction used to generate the " +"associated message." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:4 of +msgid "ID of the interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:5 of +msgid "Type of interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:6 of +msgid "Name of the application command." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:7 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.api.models.message.ChannelMention:1 of +msgid "A class object that resembles the mention of a channel in a guild." +msgstr "" + +#: interactions.api.models.message.ChannelMention:4 of +msgid "The ID of the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:5 of +msgid "The ID of the guild that contains the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:6 of +msgid "The channel type." +msgstr "" + +#: interactions.api.models.message.ChannelMention:7 of +msgid "The name of the channel." +msgstr "" + +#: interactions.api.models.message.Emoji:1 of +msgid "A class objecting representing an emoji." +msgstr "" + +#: interactions.api.models.message.Emoji:3 of +msgid "Emoji id" +msgstr "" + +#: interactions.api.models.message.Emoji:4 of +msgid "Emoji name." +msgstr "" + +#: interactions.api.models.message.Emoji:5 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:6 of +msgid "User that created this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:7 of +msgid "Status denoting of this emoji must be wrapped in colons" +msgstr "" + +#: interactions.api.models.message.Emoji:8 of +msgid "Status denoting if this emoji is managed (by an integration)" +msgstr "" + +#: interactions.api.models.message.Emoji:9 of +msgid "Status denoting if this emoji is animated" +msgstr "" + +#: interactions.api.models.message.Emoji:10 of msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." +"Status denoting if this emoji can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Emoji.get:1 of +msgid "Gets an emoji." +msgstr "" + +#: interactions.api.models.message.Embed.add_field +#: interactions.api.models.message.Embed.insert_field_at +#: interactions.api.models.message.Embed.remove_field +#: interactions.api.models.message.Embed.set_author +#: interactions.api.models.message.Embed.set_field_at +#: interactions.api.models.message.Embed.set_footer +#: interactions.api.models.message.Embed.set_image +#: interactions.api.models.message.Embed.set_thumbnail +#: interactions.api.models.message.Embed.set_video +#: interactions.api.models.message.Emoji.delete +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Message.create_reaction +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.delete +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.remove_all_reactions_of +#: interactions.api.models.message.Message.remove_own_reaction_of +#: interactions.api.models.message.Message.remove_reaction_from +#: interactions.api.models.message.Message.reply of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.message.Emoji.get:3 of +msgid "The id of the guild of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:5 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:7 +#: interactions.api.models.message.Emoji.get_all_of_guild:5 of +msgid "The HTTPClient of your bot. Equals to ``bot._http``" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.message.Emoji.get:9 of +msgid "The Emoji as object" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_channel +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.get_guild +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Return type" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:1 of +msgid "Gets all emoji of a guild." +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:3 of +msgid "The id of the guild to get the emojis of" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:7 of +msgid "The Emoji as list" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:1 of +msgid "Deletes the emoji." +msgstr "" + +#: interactions.api.models.message.Emoji.delete:3 of +msgid "The guild id to delete the emoji from" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.message.Emoji.url:1 of +msgid "Returns the emoji's URL." +msgstr "" + +#: interactions.api.models.message.Emoji.url:3 of +msgid "URL of the emoji" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:1 of +msgid "A class object representing the structure of an image in an embed." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:3 of +msgid "The structure of an embed image:" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:13 of +msgid "Source URL of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:14 of +msgid "Proxied url of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:15 of +msgid "Height of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:16 of +msgid "Width of the object." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:1 of +msgid "A class object representing the provider of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:3 of +msgid "Name of provider" +msgstr "" + +#: interactions.api.models.message.EmbedProvider:4 of +msgid "URL of provider" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:1 of +msgid "A class object representing the author of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:3 of +msgid "The structure of an embed author:" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:11 of +msgid "Name of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:12 of +msgid "URL of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:13 of +msgid "URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:14 of +msgid "Proxied URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:1 of +msgid "A class object representing the footer of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedFooter:3 of +msgid "The structure of an embed footer:" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:11 of +msgid "Footer text" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:12 of +msgid "URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:13 of +msgid "Proxied URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedField:1 of +msgid "A class object representing the field of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedField:3 of +msgid "The structure of an embed field:" +msgstr "" + +#: interactions.api.models.message.EmbedField:13 of +msgid "Name of the field." +msgstr "" + +#: interactions.api.models.message.EmbedField:14 of +msgid "Value of the field" +msgstr "" + +#: interactions.api.models.message.EmbedField:15 of +msgid "A status denoting if the field should be displayed inline." +msgstr "" + +#: interactions.api.models.message.Embed:1 of +msgid "A class object representing an embed." +msgstr "" + +#: interactions.api.models.message.Embed:4 of +msgid "" +"The example provided below is for a very basic implementation of an " +"embed. Embeds are more unique than what is being shown." +msgstr "" + +#: interactions.api.models.message.Embed:8 of +msgid "The structure for an embed:" +msgstr "" + +#: interactions.api.models.message.Embed:17 of +msgid "Title of embed" +msgstr "" + +#: interactions.api.models.message.Embed:18 of +msgid "" +"Embed type, relevant by CDN file connected. This is only important to " +"rendering." +msgstr "" + +#: interactions.api.models.message.Embed:19 of +msgid "Embed description" +msgstr "" + +#: interactions.api.models.message.Embed:20 of +msgid "URL of embed" +msgstr "" + +#: interactions.api.models.message.Embed:21 of +msgid "Timestamp of embed content" +msgstr "" + +#: interactions.api.models.message.Embed:22 of +msgid "Color code of embed" +msgstr "" + +#: interactions.api.models.message.Embed:23 of +msgid "Footer information" +msgstr "" + +#: interactions.api.models.message.Embed:24 of +msgid "Image information" +msgstr "" + +#: interactions.api.models.message.Embed:25 of +msgid "Thumbnail information" +msgstr "" + +#: interactions.api.models.message.Embed:26 of +msgid "Video information" +msgstr "" + +#: interactions.api.models.message.Embed:27 of +msgid "Provider information" +msgstr "" + +#: interactions.api.models.message.Embed:28 of +msgid "Author information" +msgstr "" + +#: interactions.api.models.message.Embed:29 of +msgid "A list of fields denoting field information" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:1 of +msgid "Adds a field to the embed" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:3 +#: interactions.api.models.message.Embed.insert_field_at:5 +#: interactions.api.models.message.Embed.set_field_at:5 of +msgid "The name of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:5 +#: interactions.api.models.message.Embed.insert_field_at:7 +#: interactions.api.models.message.Embed.set_field_at:7 of +msgid "The value of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:7 +#: interactions.api.models.message.Embed.insert_field_at:9 +#: interactions.api.models.message.Embed.set_field_at:9 of +msgid "if the field is in the same line as the previous one" +msgstr "" + +#: interactions.api.models.message.Embed.clear_fields:1 of +msgid "Clears all the fields of the embed" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:1 of +msgid "Inserts a field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:3 +#: interactions.api.models.message.Embed.remove_field:3 +#: interactions.api.models.message.Embed.set_field_at:3 of +msgid "The new field's index" +msgstr "" + +#: interactions.api.models.message.Embed.set_field_at:1 of +msgid "Overwrites the field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_field:1 of +msgid "Remove field at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_author:1 of +msgid "Removes the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:1 of +msgid "Sets the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:3 of +msgid "The name of the author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:5 of +msgid "Url of author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:7 of +msgid "Url of author icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:9 of +msgid "A proxied url of author icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:1 of +msgid "Sets the embed's footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:3 of +msgid "The text of the footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:5 of +msgid "Url of footer icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:7 of +msgid "A proxied url of footer icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:1 of +msgid "Sets the embed's image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:3 of +msgid "Url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:5 of +msgid "A proxied url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:7 of +msgid "The image's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:9 of +msgid "The image's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:1 of +msgid "Sets the embed's video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:3 of +msgid "Url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:5 of +msgid "A proxied url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:7 of +msgid "The video's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:9 of +msgid "The video's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:1 of +msgid "Sets the embed's thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:3 of +msgid "Url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:5 of +msgid "A proxied url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:7 of +msgid "The thumbnail's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:9 of +msgid "The thumbnail's width" msgstr "" #: interactions.api.models.message.PartialSticker:1 of msgid "Partial object for a Sticker." msgstr "" +#: interactions.api.models.message.PartialSticker:3 +#: interactions.api.models.message.Sticker:3 of +msgid "ID of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:4 +#: interactions.api.models.message.Sticker:5 of +msgid "Name of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:5 +#: interactions.api.models.message.Sticker:10 of +msgid "Type of sticker format" +msgstr "" + #: interactions.api.models.message.Sticker:1 of -msgid "The full Sticker object." +msgid "A class object representing a full sticker apart from a partial." msgstr "" -#: interactions.api.models.message.EmbedImageStruct:1 of -msgid "This is the internal structure denoted for thumbnails, images or videos" +#: interactions.api.models.message.Sticker:4 of +msgid "ID of the pack the sticker is from." +msgstr "" + +#: interactions.api.models.message.Sticker:6 of +msgid "Description of the sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:7 of +msgid "Autocomplete/suggestion tags for the sticker (max 200 characters)" +msgstr "" + +#: interactions.api.models.message.Sticker:8 of +msgid "Previously a sticker asset hash, now an empty string." +msgstr "" + +#: interactions.api.models.message.Sticker:9 of +msgid "Type of sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:11 of +msgid "" +"Status denoting if this sticker can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Sticker:12 of +msgid "Guild ID that owns the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:13 of +msgid "The user that uploaded the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:14 of +msgid "The standard sticker's sort order within its pack" +msgstr "" + +#: interactions.api.models.message.ReactionObject:1 of +msgid "The reaction object." +msgstr "" + +#: interactions.api.models.message.ReactionObject:3 of +msgid "The amount of times this emoji has been used to react" +msgstr "" + +#: interactions.api.models.message.ReactionObject:4 of +msgid "A status denoting if the current user reacted using this emoji" +msgstr "" + +#: interactions.api.models.message.ReactionObject:5 of +msgid "Emoji information" +msgstr "" + +#: interactions.api.models.message.Message:1 of +msgid "A class object representing a message." +msgstr "" + +#: interactions.api.models.message.Message:3 of +msgid "ID of the message." +msgstr "" + +#: interactions.api.models.message.Message:4 of +msgid "ID of the channel the message was sent in" +msgstr "" + +#: interactions.api.models.message.Message:5 of +msgid "ID of the guild the message was sent in, if it exists." +msgstr "" + +#: interactions.api.models.message.Message:6 of +msgid "The author of the message." +msgstr "" + +#: interactions.api.models.message.Message:7 of +msgid "The member object associated with the author, if any." +msgstr "" + +#: interactions.api.models.message.Message:8 of +msgid "Message contents." +msgstr "" + +#: interactions.api.models.message.Message:9 of +msgid "Timestamp denoting when the message was sent." +msgstr "" + +#: interactions.api.models.message.Message:10 of +msgid "Timestamp denoting when the message was edited, if any." +msgstr "" + +#: interactions.api.models.message.Message:11 of +msgid "Status dictating if this was a TTS message or not." +msgstr "" + +#: interactions.api.models.message.Message:12 of +msgid "Status dictating of this message mentions everyone" +msgstr "" + +#: interactions.api.models.message.Message:13 of +msgid "Array of user objects with an additional partial member field." +msgstr "" + +#: interactions.api.models.message.Message:14 of +msgid "Array of roles mentioned in this message" +msgstr "" + +#: interactions.api.models.message.Message:15 of +msgid "Channels mentioned in this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:16 of +msgid "An array of attachments" +msgstr "" + +#: interactions.api.models.message.Message:17 of +msgid "An array of embeds" +msgstr "" + +#: interactions.api.models.message.Message:18 of +msgid "Reactions to the message." +msgstr "" + +#: interactions.api.models.message.Message:19 of +msgid "Used for message validation" +msgstr "" + +#: interactions.api.models.message.Message:20 of +msgid "Whether this message is pinned." +msgstr "" + +#: interactions.api.models.message.Message:21 of +msgid "Webhook ID if the message is generated by a webhook." +msgstr "" + +#: interactions.api.models.message.Message:22 of +msgid "Type of message" +msgstr "" + +#: interactions.api.models.message.Message:23 of +msgid "Message activity object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:24 of +msgid "Application object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:25 of +msgid "" +"Data showing the source of a message (crosspost, channel follow, add, " +"pin, or replied message)" +msgstr "" + +#: interactions.api.models.message.Message:26 of +msgid "The allowed mentions of roles attached in the message." +msgstr "" + +#: interactions.api.models.message.Message:27 of +msgid "Message flags" +msgstr "" + +#: interactions.api.models.message.Message:28 of +msgid "Message interaction object, if the message is sent by an interaction." +msgstr "" + +#: interactions.api.models.message.Message:29 of +msgid "" +"The thread that started from this message, if any, with a thread member " +"object embedded." +msgstr "" + +#: interactions.api.models.message.Message:30 of +msgid "Components associated with this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:31 of +msgid "An array of message sticker item objects, if sent with them." +msgstr "" + +#: interactions.api.models.message.Message:32 of +msgid "Array of sticker objects sent with the message if any. Deprecated." +msgstr "" + +#: interactions.api.models.message.Message.get_channel:1 of +msgid "Gets the channel where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.get_guild:1 of +msgid "Gets the guild where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.delete:1 of +msgid "Deletes the message." +msgstr "" + +#: interactions.api.models.message.Message.delete:3 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." +msgstr "" + +#: interactions.api.models.message.Message.edit:1 of +msgid "This method edits a message. Only available for messages sent by the bot." +msgstr "" + +#: interactions.api.models.message.Message.edit:3 +#: interactions.api.models.message.Message.reply:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.message.Message.edit:5 +#: interactions.api.models.message.Message.reply:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.message.Message.edit:7 +#: interactions.api.models.message.Message.reply:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:9 +#: interactions.api.models.message.Message.reply:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:11 +#: interactions.api.models.message.Message.reply:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.message.Message.edit:13 of +msgid "" +"A component, or list of components for the message. If `[]` the " +"components will be removed" +msgstr "" + +#: interactions.api.models.message.Message.edit:15 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.api.models.message.Message.reply:1 of +msgid "Sends a new message replying to the old." +msgstr "" + +#: interactions.api.models.message.Message.reply:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.message.Message.reply:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.message.Message.pin:1 of +msgid "Pins the message to its channel" +msgstr "" + +#: interactions.api.models.message.Message.unpin:1 of +msgid "Unpins the message from its channel" +msgstr "" + +#: interactions.api.models.message.Message.publish:1 of +msgid "" +"Publishes (API calls it crossposts) the message in its channel to any " +"that is followed by." +msgstr "" + +#: interactions.api.models.message.Message.publish:3 of +msgid "message object" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:1 of +msgid "Creates a thread from the message." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:10 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:12 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:1 of +msgid "Adds a reaction to the message." +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:3 +#: interactions.api.models.message.Message.remove_all_reactions_of:3 +#: interactions.api.models.message.Message.remove_own_reaction_of:3 +#: interactions.api.models.message.Message.remove_reaction_from:3 of +msgid "The Emoji as object or formatted as `name:id`" +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions:1 of +msgid "Removes all reactions of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions_of:1 of +msgid "Removes all reactions of one emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_own_reaction_of:1 of +msgid "Removes the own reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:1 of +msgid "Removes another reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:5 of +msgid "The user or user_id to remove the reaction of" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:1 of +msgid "Gets a Message based from its url." +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:3 of +msgid "The full url of the message" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:5 of +msgid "The HTTPClient of your bot. Set ` _client=botvar._http``" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:7 of +msgid "The message the URL points to" +msgstr "" + +#: interactions.api.models.message.Message.url:1 of +msgid "Returns the URL of the message." +msgstr "" + +#: interactions.api.models.message.Message.url:3 of +msgid "The URL of said message" msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.misc.po b/docs/locale/fr/LC_MESSAGES/api.models.misc.po index 03b58e8a2..4c66ffbe1 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.misc.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.misc.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,6 +22,179 @@ msgstr "" msgid "Miscellanous Models" msgstr "" +#: interactions.api.models.misc.Snowflake:1 of +msgid "The Snowflake object." +msgstr "" + +#: interactions.api.models.misc.Snowflake:3 of +msgid "" +"This snowflake object will have features closely related to the API " +"schema. In turn, compared to regular d.py's treated snowflakes, these " +"will be treated as strings." +msgstr "" + +#: interactions.api.models.misc.Snowflake:8 of +msgid "(Basically, snowflakes will be treated as if they were from d.py 0.16.12)" +msgstr "" + +#: interactions.api.models.misc.Snowflake:11 of +msgid "" +"You can still provide integers to them, to ensure ease of use of " +"transition and/or if discord API for some odd reason will switch to " +"integer." +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:1 of +msgid "" +"This is the 'Increment' portion of the snowflake. This is incremented for" +" every ID generated on that process." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch +#: interactions.api.models.misc.Snowflake.increment +#: interactions.api.models.misc.Snowflake.timestamp of +msgid "Returns" +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:4 of +msgid "An integer denoting the increment." +msgstr "" + +#: interactions.api.models.misc.Snowflake.worker_id:1 of +msgid "" +"This is the Internal Worker ID of the snowflake. :return: An integer " +"denoting the internal worker ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.process_id:1 of +msgid "" +"This is the Internal Process ID of the snowflake. :return: An integer " +"denoting the internal process ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:1 of +msgid "This is the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:3 of +msgid "A float containing the seconds since Discord Epoch." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:1 of +msgid "The Datetime object variation of the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:3 of +msgid "The converted Datetime object from the Epoch. This respects UTC." +msgstr "" + +#: interactions.api.models.misc.Color:1 of +msgid "An object representing Discord branding colors." +msgstr "" + +#: interactions.api.models.misc.Color:4 of +msgid "" +"This object only intends to cover the branding colors and no others. The " +"main reason behind this is due to the current accepted standard of using " +"hex codes or other custom-defined colors." +msgstr "" + +#: interactions.api.models.misc.Color.blurple:1 of +msgid "Returns a hexadecimal value of the blurple color." +msgstr "" + +#: interactions.api.models.misc.Color.green:1 of +msgid "Returns a hexadecimal value of the green color." +msgstr "" + +#: interactions.api.models.misc.Color.yellow:1 of +msgid "Returns a hexadecimal value of the yellow color." +msgstr "" + +#: interactions.api.models.misc.Color.fuchsia:1 of +msgid "Returns a hexadecimal value of the fuchsia color." +msgstr "" + +#: interactions.api.models.misc.Color.red:1 of +msgid "Returns a hexadecimal value of the red color." +msgstr "" + +#: interactions.api.models.misc.Color.white:1 of +msgid "Returns a hexadecimal value of the white color." +msgstr "" + +#: interactions.api.models.misc.Color.black:1 of +msgid "Returns a hexadecimal value of the black color." +msgstr "" + +#: interactions.api.models.misc.ClientStatus:1 of +msgid "An object that symbolizes the status per client device per session." +msgstr "" + +#: interactions.api.models.misc.ClientStatus +#: interactions.api.models.misc.Overwrite of +msgid "Variables" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:3 of +msgid "User's status set for an active desktop application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:4 of +msgid "User's status set for an active mobile application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:5 of +msgid "User's status set for an active web application session" +msgstr "" + +#: interactions.api.models.misc.Image:1 of +msgid "This class object allows you to upload Images to the Discord API." +msgstr "" + +#: interactions.api.models.misc.Image:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'file' parameter." +msgstr "" + +#: interactions.api.models.misc.Image.filename:1 of +msgid "Returns the name of the file." +msgstr "" + +#: interactions.api.models.misc.File:1 of +msgid "A File object to be sent as an attachment along with a message." +msgstr "" + +#: interactions.api.models.misc.File:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'filename' parameter." +msgstr "" + +#: interactions.api.models.misc.File:7 of +msgid "If a description is not given the file's basename is used instead." +msgstr "" + #: interactions.api.models.misc.Overwrite:1 of -msgid "This is used for the PermissionOverride obj" +msgid "This is used for the PermissionOverride object." +msgstr "" + +#: interactions.api.models.misc.Overwrite:3 of +msgid "Role or User ID" +msgstr "" + +#: interactions.api.models.misc.Overwrite:4 of +msgid "Type that corresponds ot the ID; 0 for role and 1 for member." +msgstr "" + +#: interactions.api.models.misc.Overwrite:5 +#: interactions.api.models.misc.Overwrite:6 of +msgid "Permission bit set." +msgstr "" + +#: interactions.api.models.attrs_utils.MISSING:1 of +msgid "" +"A pseudosentinel based from an empty object. This does violate PEP, but, " +"I don't care." msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.po b/docs/locale/fr/LC_MESSAGES/api.models.po index b0046fbcf..764507670 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.presence.po b/docs/locale/fr/LC_MESSAGES/api.models.presence.po index 71ec432f3..cd9426f00 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.presence.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.presence.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,196 @@ msgstr "" #: ../../api.models.presence.rst:4 msgid "Presence Models" msgstr "" + +#: interactions.api.models.presence.PresenceParty:1 of +msgid "A class object representing the party data of a presence." +msgstr "" + +#: interactions.api.models.presence.ClientPresence +#: interactions.api.models.presence.PresenceActivity +#: interactions.api.models.presence.PresenceAssets +#: interactions.api.models.presence.PresenceButtons +#: interactions.api.models.presence.PresenceParty +#: interactions.api.models.presence.PresenceSecrets +#: interactions.api.models.presence.PresenceTimestamp of +msgid "Variables" +msgstr "" + +#: interactions.api.models.presence.PresenceParty:3 of +msgid "ID of the party." +msgstr "" + +#: interactions.api.models.presence.PresenceParty:4 of +msgid "An array denoting the party's current and max size" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:1 of +msgid "A class object representing the assets of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:3 of +msgid "ID for a large asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:4 of +msgid "Text associated with the large asset" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:5 of +msgid "ID for a small asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:6 of +msgid "Text associated with the small asset" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:1 of +msgid "A class object representing \"secret\" join information of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:3 of +msgid "Join secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:4 of +msgid "Spectate secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:5 of +msgid "Instanced match secret" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:1 of +msgid "A class object representing the timestamp data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:3 of +msgid "Unix time in ms when the activity started" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:4 of +msgid "Unix time in ms when the activity ended" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:1 of +msgid "A class object representing the current activity data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:4 of +msgid "" +"When using this model to instantiate alongside the client, if you provide" +" a type 1 ( or PresenceActivityType.STREAMING ), then the ``url`` " +"attribute is necessary." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:7 of +msgid "The activity name" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:8 of +msgid "The activity type" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:9 of +msgid "stream url (if type is 1)" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:10 of +msgid "Unix timestamp of when the activity was created to the User's session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:11 of +msgid "Unix timestamps for start and/or end of the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:12 of +msgid "Application ID for the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:13 of +msgid "What the player is currently doing" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:14 of +msgid "Current party status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:15 of +msgid "The emoji used for the custom status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:16 of +msgid "Info for the current players' party" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:17 of +msgid "Images for the presence and their associated hover texts" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:18 of +msgid "for RPC join/spectate" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:19 of +msgid "A status denoting if the activity is a game session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:20 of +msgid "activity flags" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:21 of +msgid "Custom buttons shown in the RPC." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:1 of +msgid "" +"This returns the JSON representing the ClientPresence sending via the " +"Gateway." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:4 of +msgid "" +"This is NOT used for standard presence activity reading by other users, " +"i.e. User activity reading. You can use the `_json` attribute instead." +msgstr "" + +#: interactions.api.models.presence.PresenceActivityType:1 of +msgid "A class object representing all supported Discord activity types." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:1 of +msgid "A class object representing the buttons of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:3 of +msgid "Text of the button" +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:4 of +msgid "URL of the button" +msgstr "" + +#: interactions.api.models.presence.ClientPresence:1 of +msgid "" +"An object that symbolizes the presence of the current client's session " +"upon creation." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:3 of +msgid "" +"Unix time in milliseconds of when the client went idle. None if it is not" +" idle." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:4 of +msgid "Array of activity objects." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:5 of +msgid "The client's new status." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:6 of +msgid "Whether the client is afk or not." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.role.po b/docs/locale/fr/LC_MESSAGES/api.models.role.po index 22011c993..9a3430734 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.role.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.role.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,177 @@ msgstr "" #: ../../api.models.role.rst:4 msgid "Role Models" msgstr "" + +#: interactions.api.models.role.Role:1 of +msgid "A class object representing a role." +msgstr "" + +#: interactions.api.models.role.Role interactions.api.models.role.RoleTags of +msgid "Variables" +msgstr "" + +#: interactions.api.models.role.Role:3 of +msgid "Role ID" +msgstr "" + +#: interactions.api.models.role.Role:4 of +msgid "Role name" +msgstr "" + +#: interactions.api.models.role.Role:5 of +msgid "Role color in integer representation" +msgstr "" + +#: interactions.api.models.role.Role:6 of +msgid "A status denoting if this role is hoisted" +msgstr "" + +#: interactions.api.models.role.Role:7 of +msgid "Role icon hash, if any." +msgstr "" + +#: interactions.api.models.role.Role:8 of +msgid "Role unicode emoji" +msgstr "" + +#: interactions.api.models.role.Role:9 of +msgid "Role position" +msgstr "" + +#: interactions.api.models.role.Role:10 of +msgid "Role permissions as a bit set" +msgstr "" + +#: interactions.api.models.role.Role:11 of +msgid "A status denoting if this role is managed by an integration" +msgstr "" + +#: interactions.api.models.role.Role:12 of +msgid "A status denoting if this role is mentionable" +msgstr "" + +#: interactions.api.models.role.Role:13 of +msgid "The tags this role has" +msgstr "" + +#: interactions.api.models.role.Role.mention:1 of +msgid "Returns a string that allows you to mention the given role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Returns" +msgstr "" + +#: interactions.api.models.role.Role.mention:3 of +msgid "The string of the mentioned role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Return type" +msgstr "" + +#: interactions.api.models.role.Role.delete:1 of +msgid "Deletes the role from the guild." +msgstr "" + +#: interactions.api.models.role.Role.delete +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.role.Role.delete:3 of +msgid "The id of the guild to delete the role from" +msgstr "" + +#: interactions.api.models.role.Role.delete:5 of +msgid "The reason for the deletion" +msgstr "" + +#: interactions.api.models.role.Role.modify:1 of +msgid "Edits the role in a guild." +msgstr "" + +#: interactions.api.models.role.Role.modify:3 of +msgid "The id of the guild to edit the role on" +msgstr "" + +#: interactions.api.models.role.Role.modify:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.role.Role.modify:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.role.Role.modify_position:3 of +msgid "The id of the guild to modify the role position on" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:7 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:9 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.role.RoleTags:1 of +msgid "A class object representing the tags of a role." +msgstr "" + +#: interactions.api.models.role.RoleTags:3 of +msgid "The id of the bot this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:4 of +msgid "The id of the integration this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:5 of +msgid "Whether if this is the guild's premium subscriber role" +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.team.po b/docs/locale/fr/LC_MESSAGES/api.models.team.po index 8595a1d03..c058f10df 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.team.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.team.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,160 @@ msgstr "" #: ../../api.models.team.rst:4 msgid "Team Models" msgstr "" + +#: interactions.api.models.team.Team:1 of +msgid "A class object representing a team." +msgstr "" + +#: interactions.api.models.team.Application interactions.api.models.team.Team +#: interactions.api.models.team.TeamMember of +msgid "Variables" +msgstr "" + +#: interactions.api.models.team.Team:3 of +msgid "The hash of the team's icon" +msgstr "" + +#: interactions.api.models.team.Team:4 of +msgid "The team's unique ID" +msgstr "" + +#: interactions.api.models.team.Team:5 of +msgid "The members of the team" +msgstr "" + +#: interactions.api.models.team.Team:6 of +msgid "The team name" +msgstr "" + +#: interactions.api.models.team.Team:7 of +msgid "The User ID of the current team owner" +msgstr "" + +#: interactions.api.models.team.TeamMember:1 of +msgid "A class object representing the member of a team." +msgstr "" + +#: interactions.api.models.team.TeamMember:4 of +msgid "" +"The membership state is either a 1 for invited, or 2 for accepted. At the" +" moment, permissions will always be [\"*\"]." +msgstr "" + +#: interactions.api.models.team.TeamMember:7 of +msgid "The user's membership state on the team" +msgstr "" + +#: interactions.api.models.team.TeamMember:8 of +msgid "Team Member permissions" +msgstr "" + +#: interactions.api.models.team.TeamMember:9 of +msgid "ID of the team that they're a member of." +msgstr "" + +#: interactions.api.models.team.TeamMember:10 of +msgid "The user object." +msgstr "" + +#: interactions.api.models.team.Application:1 of +msgid "A class object representing an application." +msgstr "" + +#: interactions.api.models.team.Application:4 of +msgid "``type`` and ``hook`` are currently undocumented in the API." +msgstr "" + +#: interactions.api.models.team.Application:6 of +msgid "Application ID" +msgstr "" + +#: interactions.api.models.team.Application:7 of +msgid "Application Name" +msgstr "" + +#: interactions.api.models.team.Application:8 of +msgid "Icon hash of the application" +msgstr "" + +#: interactions.api.models.team.Application:9 of +msgid "Application Description" +msgstr "" + +#: interactions.api.models.team.Application:10 of +msgid "An array of rpc origin urls, if RPC is used." +msgstr "" + +#: interactions.api.models.team.Application:11 of +msgid "A status denoting if anyone can invite the bot to guilds" +msgstr "" + +#: interactions.api.models.team.Application:12 of +msgid "" +"A status denoting whether full Oauth2 is required for the app's bot to " +"join a guild" +msgstr "" + +#: interactions.api.models.team.Application:13 of +msgid "URL of the app's Terms of Service" +msgstr "" + +#: interactions.api.models.team.Application:14 of +msgid "URL of the app's Privacy Policy" +msgstr "" + +#: interactions.api.models.team.Application:15 of +msgid "User object of the owner" +msgstr "" + +#: interactions.api.models.team.Application:16 of +msgid "Summary of the store page, if this application is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:17 of +msgid "" +"Hex encoded key for verification in interactions and/or the GameSDK's " +"GetTicket" +msgstr "" + +#: interactions.api.models.team.Application:18 of +msgid "A list of team members, if this app belongs to a team." +msgstr "" + +#: interactions.api.models.team.Application:19 of +msgid "Guild ID linked, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:20 of +msgid "Game SKU ID, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:21 of +msgid "" +"URL slug that links to the store page, if this app is a game sold on " +"Discord" +msgstr "" + +#: interactions.api.models.team.Application:22 of +msgid "The app's default rich presence invite cover image" +msgstr "" + +#: interactions.api.models.team.Application:23 of +msgid "The application's public flags" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:1 of +msgid "Returns the URL of the application's icon" +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:3 of +msgid "URL of the application's icon." +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Return type" +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.user.po b/docs/locale/fr/LC_MESSAGES/api.models.user.po index 35b554cf4..e9be179ff 100644 --- a/docs/locale/fr/LC_MESSAGES/api.models.user.po +++ b/docs/locale/fr/LC_MESSAGES/api.models.user.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,111 @@ msgstr "" #: ../../api.models.user.rst:4 msgid "User Models" msgstr "" + +#: interactions.api.models.user.User:1 of +msgid "A class object representing a user." +msgstr "" + +#: interactions.api.models.user.User of +msgid "Variables" +msgstr "" + +#: interactions.api.models.user.User:3 of +msgid "The User ID" +msgstr "" + +#: interactions.api.models.user.User:4 of +msgid "The Username associated (not necessarily unique across the platform)" +msgstr "" + +#: interactions.api.models.user.User:5 of +msgid "The User's 4-digit discord-tag (i.e.: XXXX)" +msgstr "" + +#: interactions.api.models.user.User:6 of +msgid "The user's avatar hash, if any" +msgstr "" + +#: interactions.api.models.user.User:7 of +msgid "A status denoting if the user is a bot" +msgstr "" + +#: interactions.api.models.user.User:8 of +msgid "A status denoting if the user is an Official Discord System user" +msgstr "" + +#: interactions.api.models.user.User:9 of +msgid "A status denoting if the user has 2fa on their account" +msgstr "" + +#: interactions.api.models.user.User:10 of +msgid "The user's banner hash, if any" +msgstr "" + +#: interactions.api.models.user.User:11 of +msgid "The user's banner color as a hex, if any" +msgstr "" + +#: interactions.api.models.user.User:12 of +msgid "The user's banner color as an integer represented of hex color codes" +msgstr "" + +#: interactions.api.models.user.User:13 of +msgid "The user's chosen language option" +msgstr "" + +#: interactions.api.models.user.User:14 of +msgid "Whether the email associated with this account has been verified" +msgstr "" + +#: interactions.api.models.user.User:15 of +msgid "The user's email, if any" +msgstr "" + +#: interactions.api.models.user.User:16 of +msgid "The user's flags" +msgstr "" + +#: interactions.api.models.user.User:17 of +msgid "The type of Nitro subscription the user has" +msgstr "" + +#: interactions.api.models.user.User:18 of +msgid "The user's public flags" +msgstr "" + +#: interactions.api.models.user.User.mention:1 of +msgid "Returns a string that allows you to mention the given user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Returns" +msgstr "" + +#: interactions.api.models.user.User.mention:3 of +msgid "The string of the mentioned user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Return type" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:1 of +msgid "Returns the URL of the user's avatar" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:3 of +msgid "URL of the user's avatar." +msgstr "" + +#: interactions.api.models.user.User.banner_url:1 of +msgid "Returns the URL of the user's banner." +msgstr "" + +#: interactions.api.models.user.User.banner_url:3 of +msgid "URL of the user's banner (None will be returned if no banner is set)" +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.voice.po b/docs/locale/fr/LC_MESSAGES/api.models.voice.po deleted file mode 100644 index 848f7dde8..000000000 --- a/docs/locale/fr/LC_MESSAGES/api.models.voice.po +++ /dev/null @@ -1,23 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.voice.rst:4 -msgid "Voice Models" -msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.models.webhook.po b/docs/locale/fr/LC_MESSAGES/api.models.webhook.po new file mode 100644 index 000000000..1df6f27fe --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/api.models.webhook.po @@ -0,0 +1,239 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.webhook.rst:4 +msgid "Webhook Models" +msgstr "" + +#: interactions.api.models.webhook.Webhook:1 of +msgid "A class object representing a Webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook of +msgid "Variables" +msgstr "" + +#: interactions.api.models.webhook.Webhook:3 of +msgid "the id of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:4 of +msgid "the type of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:5 of +msgid "the guild id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:6 of +msgid "the channel id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:7 of +msgid "" +"the user this webhook was created by (not returned when getting a webhook" +" with its token)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:8 of +msgid "the default name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:9 of +msgid "the default user avatar hash of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:10 of +msgid "the secure token of the webhook (returned for Incoming Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:11 of +msgid "the bot/OAuth2 application that created this webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:12 of +msgid "" +"the guild of the channel that this webhook is following (returned for " +"Channel Follower Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:13 of +msgid "" +"the channel that this webhook is following (returned for Channel Follower" +" Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:14 of +msgid "" +"the url used for executing the webhook (returned by the webhooks OAuth2 " +"flow)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:1 of +msgid "Creates a webhook in a channel." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:3 +#: interactions.api.models.webhook.Webhook.get:3 of +msgid "The HTTPClient of the bot, has to be set to `bot._http`." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:5 of +msgid "The ID of the channel to create the webhook in." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:7 of +msgid "The name of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:9 of +msgid "The avatar of the Webhook, if any." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Returns" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:11 of +msgid "The created webhook as object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Return type" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:1 of +msgid "Gets an existing webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:5 of +msgid "The ID of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:7 of +msgid "The token of the webhook, optional" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:9 of +msgid "The Webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:1 of +msgid "Modifies the current webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:3 of +msgid "The new name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:5 of +msgid "" +"The channel id of the webhook. If not provided, the webhook token will be" +" used for authentication" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:7 of +msgid "The new avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:9 of +msgid "The modified webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:1 of +msgid "Executes the webhook. All parameters to this function are optional." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:4 of +msgid "The ``components`` argument requires an application-owned webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:6 of +msgid "the message contents (up to 2000 characters)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:8 of +msgid "override the default username of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:10 of +msgid "override the default avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:12 of +msgid "true if this is a TTS message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:14 of +msgid "embedded ``rich`` content" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:16 of +msgid "allowed mentions for the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:18 of +msgid "the components to include with the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:20 of +msgid "The files to attach to the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:22 of +msgid "" +"Send a message to a specified thread within a webhook's channel. The " +"thread will automatically be unarchived" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:24 of +msgid "The sent message, if present" +msgstr "" + +#: interactions.api.models.webhook.Webhook.delete:1 of +msgid "Deletes the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:1 of +msgid "Returns the URL of the webhook's avatar." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:3 of +msgid "URL of the webhook's avatar" +msgstr "" + +#: interactions.api.models.webhook.WebhookType:1 of +msgid "An enumeration." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/api.po b/docs/locale/fr/LC_MESSAGES/api.po index b17ce38d1..cb74082a0 100644 --- a/docs/locale/fr/LC_MESSAGES/api.po +++ b/docs/locale/fr/LC_MESSAGES/api.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,19 +18,23 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../api.rst:17 +#: ../../api.rst:11 msgid "Client" msgstr "" -#: ../../api.rst:23 ../../api.rst:40 +#: ../../api.rst:17 +msgid "Frameworks/Commands" +msgstr "" + +#: ../../api.rst:24 ../../api.rst:41 msgid "Model/Design" msgstr "" -#: ../../api.rst:33 +#: ../../api.rst:34 msgid "Client Connections" msgstr "" -#: ../../api.rst:48 +#: ../../api.rst:49 msgid "Events" msgstr "" @@ -42,17 +46,10 @@ msgstr "" msgid "This page outlines the API wrapper of discord-interactions." msgstr "" -#: ../../api.rst:10 -msgid "" -"As of the time of this writing, version 4.0 of discord-interactions has " -"not yet been released, which this documentation currently reflects. The " -"documentation written here is subject to change and is not finalized." -msgstr "" - -#: ../../api.rst:15 +#: ../../api.rst:9 msgid "Interactions" msgstr "" -#: ../../api.rst:31 +#: ../../api.rst:32 msgid "Discord API" msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/client.po b/docs/locale/fr/LC_MESSAGES/client.po index b168d9798..8e2fd324c 100644 --- a/docs/locale/fr/LC_MESSAGES/client.po +++ b/docs/locale/fr/LC_MESSAGES/client.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,63 +22,575 @@ msgstr "" msgid "Bot Client" msgstr "" -#: interactions.client.Client:1 of +#: interactions.client.bot.Client:1 of msgid "" "A class representing the client connection to Discord's gateway and API " "via. WebSocket and HTTP." msgstr "" -#: interactions.client.Client of +#: interactions.client.bot.Client of msgid "Variables" msgstr "" -#: interactions.client.Client:3 of -msgid "The main overall asynchronous coroutine loop in effect." +#: interactions.client.bot.Client:3 of +msgid "The asynchronous event loop of the client." msgstr "" -#: interactions.client.Client:4 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.client.bot.Client:4 of +msgid "" +"The user-facing HTTP connection to the Web API, as its own separate " +"client." msgstr "" -#: interactions.client.Client:5 of -msgid "The application's intents as :class:`interactions.api.models.Intents`." +#: interactions.client.bot.Client:5 of +msgid "An object-orientation of a websocket server connection to the Gateway." msgstr "" -#: interactions.client.Client:6 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.client.bot.Client:6 of +msgid "The Gateway intents of the application. Defaults to ``Intents.DEFAULT``." msgstr "" -#: interactions.client.Client:7 of -msgid "An instance of :class:`interactions.api.gateway.WebSocket`." +#: interactions.client.bot.Client:7 of +msgid "The list of bucketed shards for the application's connection." msgstr "" -#: interactions.client.Client:8 of -msgid "The application token." +#: interactions.client.bot.Client:8 of +msgid "The RPC-like presence shown on an application once connected." msgstr "" -#: interactions.client.Client.login:1 of -msgid "Makes a login with the Discord API." +#: interactions.client.bot.Client:9 of +msgid "The token of the application used for authentication when connecting." +msgstr "" + +#: interactions.client.bot.Client:10 of +msgid "The \"extensions\" or cog equivalence registered to the main client." +msgstr "" + +#: interactions.client.bot.Client:11 of +msgid "The application representation of the client." +msgstr "" + +#: interactions.client.bot.Client.guilds:1 of +msgid "Returns a list of guilds the bot is in." msgstr "" -#: interactions.client.Client.start:1 of +#: interactions.client.bot.Client.latency:1 of +msgid "Returns the connection latency in milliseconds." +msgstr "" + +#: interactions.client.bot.Client.start:1 of msgid "Starts the client session." msgstr "" -#: interactions.client.Client.event:1 of -msgid "A decorator for listening to dispatched events from the gateway." +#: interactions.client.bot.Client.__register_events:1 of +msgid "Registers all raw gateway events to the known events." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:1 of +msgid "Compares an application command during the synchronization process." msgstr "" -#: interactions.client.Client.event of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.change_presence +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload interactions.client.bot.Client.remove +#: interactions.client.bot.Client.user_command of +msgid "Parameters" +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:3 of +msgid "The application command to compare." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:5 of +msgid "The \"pool\" or list of commands to compare from." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of msgid "Returns" msgstr "" -#: interactions.client.Client.event:4 of -msgid "typing.Callable[..., typing.Any]" +#: interactions.client.bot.Client.__compare_sync:7 of +msgid "Whether the command has changed or not." msgstr "" -#: interactions.client.Client.command:1 of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of +msgid "Return type" +msgstr "" + +#: interactions.client.bot.Client._ready:1 of +msgid "" +"Prepares the client with an internal \"ready\" check to ensure that all " +"conditions have been met in a chronological order:" +msgstr "" + +#: interactions.client.bot.Client._login:1 of +msgid "Makes a login with the Discord API." +msgstr "" + +#: interactions.client.bot.Client.wait_until_ready:1 of +msgid "Helper method that waits until the websocket is ready." +msgstr "" + +#: interactions.client.bot.Client.__sync:1 of +msgid "Synchronizes all commands to the API." +msgstr "" + +#: interactions.client.bot.Client.__sync:4 of +msgid "" +"This is an internal method. Do not call it unless you know what you are " +"doing!" +msgstr "" + +#: interactions.client.bot.Client.event:1 of +msgid "A decorator for listening to events dispatched from the Gateway." +msgstr "" + +#: interactions.client.bot.Client.event:4 of +msgid "The coroutine of the event." +msgstr "" + +#: interactions.client.bot.Client.event:6 of +msgid "" +"The name of the event. If not given, this defaults to the coroutine's " +"name." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:20 +#: interactions.client.bot.Client.command:63 +#: interactions.client.bot.Client.component:27 +#: interactions.client.bot.Client.event:8 +#: interactions.client.bot.Client.message_command:28 +#: interactions.client.bot.Client.modal:24 +#: interactions.client.bot.Client.user_command:28 of +msgid "A callable response." +msgstr "" + +#: interactions.client.bot.Client.change_presence:1 of +msgid "A method that changes the current client's presence on runtime." +msgstr "" + +#: interactions.client.bot.Client.change_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.client.bot.Client.change_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.client.bot.Client.__check_command:1 of +msgid "Checks if a command is valid." +msgstr "" + +#: interactions.client.bot.Client.command:1 of msgid "" "A decorator for registering an application command to the Discord API, as" " well as being able to listen for ``INTERACTION_CREATE`` dispatched " "gateway events." msgstr "" + +#: interactions.client.bot.Client.command:5 of +msgid "The structure of a chat-input command:" +msgstr "" + +#: interactions.client.bot.Client.command:13 of +msgid "" +"You are also able to establish it as a message or user command by simply " +"passing the ``type`` kwarg field into the decorator:" +msgstr "" + +#: interactions.client.bot.Client.command:22 +#: interactions.client.bot.Client.message_command:13 +#: interactions.client.bot.Client.user_command:13 of +msgid "" +"The ``scope`` kwarg field may also be used to designate the command in " +"question applicable to a guild or set of guilds." +msgstr "" + +#: interactions.client.bot.Client.command:25 of +msgid "" +"To properly utilise the ``default_member_permissions`` kwarg, it requires" +" OR'ing the permission values, similar to instantiating the client with " +"Intents. For example:" +msgstr "" + +#: interactions.client.bot.Client.command:34 of +msgid "Another example below for instance is an admin-only command:" +msgstr "" + +#: interactions.client.bot.Client.command:43 of +msgid "" +"If ``default_member_permissions`` is not given, this will default to " +"anyone that is able to use the command." +msgstr "" + +#: interactions.client.bot.Client.command:45 of +msgid "" +"The type of application command. Defaults to " +":meth:`interactions.enums.ApplicationCommandType.CHAT_INPUT` or ``1``." +msgstr "" + +#: interactions.client.bot.Client.command:47 of +msgid "" +"The name of the application command. This *is* required but kept optional" +" to follow kwarg rules." +msgstr "" + +#: interactions.client.bot.Client.command:49 of +msgid "" +"The description of the application command. This should be left blank if " +"you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:51 of +msgid "The \"scope\"/applicable guilds the application command applies to." +msgstr "" + +#: interactions.client.bot.Client.command:53 of +msgid "" +"The \"arguments\"/options of an application command. This should be left " +"blank if you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:55 +#: interactions.client.bot.Client.message_command:22 +#: interactions.client.bot.Client.user_command:22 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.bot.Client.command:57 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.bot.Client.command:59 +#: interactions.client.bot.Client.message_command:24 +#: interactions.client.bot.Client.user_command:24 of +msgid "" +"The permissions bit value of " +"``interactions.api.model.flags.Permissions``. If not given, defaults to " +":meth:`interactions.api.model.flags.Permissions.USE_APPLICATION_COMMANDS`" +" or ``2147483648``" +msgstr "" + +#: interactions.client.bot.Client.command:61 +#: interactions.client.bot.Client.message_command:26 +#: interactions.client.bot.Client.user_command:26 of +msgid "" +"The application permissions if executed in a Direct Message. Defaults to " +"``True``." +msgstr "" + +#: interactions.client.bot.Client.message_command:1 of +msgid "" +"A decorator for registering a message context menu to the Discord API, as" +" well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.message_command:5 of +msgid "The structure of a message context menu:" +msgstr "" + +#: interactions.client.bot.Client.message_command:16 +#: interactions.client.bot.Client.user_command:16 of +msgid "The name of the application command." +msgstr "" + +#: interactions.client.bot.Client.message_command:18 +#: interactions.client.bot.Client.user_command:18 of +msgid "" +"The \"scope\"/applicable guilds the application command applies to. " +"Defaults to ``None``." +msgstr "" + +#: interactions.client.bot.Client.message_command:20 +#: interactions.client.bot.Client.user_command:20 of +msgid "" +"The default permission of accessibility for the application command. " +"Defaults to ``True``." +msgstr "" + +#: interactions.client.bot.Client.user_command:1 of +msgid "" +"A decorator for registering a user context menu to the Discord API, as " +"well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.user_command:5 of +msgid "The structure of a user context menu:" +msgstr "" + +#: interactions.client.bot.Client.component:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving components." +msgstr "" + +#: interactions.client.bot.Client.component:4 of +msgid "The structure for a component callback:" +msgstr "" + +#: interactions.client.bot.Client.component:22 of +msgid "" +"The context of the component callback decorator inherits the same as of " +"the command decorator." +msgstr "" + +#: interactions.client.bot.Client.component:25 of +msgid "The component you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client._find_command:1 of +msgid "" +"Iterates over `commands` and returns an :class:`ApplicationCommand` if it" +" matches the name from `command`" +msgstr "" + +#: interactions.client.bot.Client._find_command:3 of +msgid "The name of the command to match" +msgstr "" + +#: interactions.client.bot.Client._find_command:5 of +msgid "An ApplicationCommand model" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving autocompletion fields." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:4 of +msgid "The structure for an autocomplete callback:" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:16 of +msgid "The command, command ID, or command name with the option." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:18 of +msgid "The name of the option to autocomplete." +msgstr "" + +#: interactions.client.bot.Client.modal:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving modals." +msgstr "" + +#: interactions.client.bot.Client.modal:4 of +msgid "The structure for a modal callback:" +msgstr "" + +#: interactions.client.bot.Client.modal:19 of +msgid "" +"The context of the modal callback decorator inherits the same as of the " +"component decorator." +msgstr "" + +#: interactions.client.bot.Client.modal:22 of +msgid "The modal or custom_id of modal you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client.load:1 of +msgid "" +"\"Loads\" an extension off of the current client by adding a new class " +"which is imported from the library." +msgstr "" + +#: interactions.client.bot.Client.load:4 +#: interactions.client.bot.Client.remove:3 of +msgid "The name of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:6 +#: interactions.client.bot.Client.remove:7 of +msgid "The package of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:8 +#: interactions.client.bot.Client.reload:14 of +msgid "Optional arguments to pass to the extension" +msgstr "" + +#: interactions.client.bot.Client.load:10 +#: interactions.client.bot.Client.reload:16 of +msgid "Optional keyword-only arguments to pass to the extension." +msgstr "" + +#: interactions.client.bot.Client.load:12 of +msgid "The loaded extension." +msgstr "" + +#: interactions.client.bot.Client.remove:1 of +msgid "Removes an extension out of the current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.remove:5 of +msgid "Whether to remove commands before reloading. Defaults to True." +msgstr "" + +#: interactions.client.bot.Client.reload:1 of +msgid "\"Reloads\" an extension off of current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.reload:4 of +msgid "" +"This will remove and re-add application commands, counting towards your " +"daily application command creation limit, as long as you have the " +"``remove_commands`` argument set to ``True``, what it is by default." +msgstr "" + +#: interactions.client.bot.Client.reload:8 of +msgid "The name of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:10 of +msgid "The package of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:12 of +msgid "Whether to remove commands before reloading. Defaults to True" +msgstr "" + +#: interactions.client.bot.Client.reload:18 of +msgid "The reloaded extension." +msgstr "" + +#: interactions.client.bot.Client.modify:1 of +msgid "Modify the bot user account settings." +msgstr "" + +#: interactions.client.bot.Client.modify:3 of +msgid "The new username of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:5 of +msgid "The new avatar of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:7 of +msgid "The modified User object" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:1 of +msgid "" +"This is an internal function that takes any gateway socket event and then" +" returns the data purely based off of what it does in the client " +"instantiation class." +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:5 of +msgid "The data that is returned" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:7 of +msgid "A dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:1 of +msgid "" +"This is an internal function that caches the channel creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:3 of +msgid "The channel object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:5 of +msgid "The channel as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:1 of +msgid "" +"This is an internal function that caches the message creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:3 of +msgid "The message object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:5 of +msgid "The message as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:1 of +msgid "This is an internal function that caches the guild creates on ready." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:3 of +msgid "The guild object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:5 of +msgid "The guild as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Extension:1 of +msgid "" +"A class that allows you to represent \"extensions\" of your code, or " +"essentially cogs that can be ran independent of the root file in an " +"object-oriented structure." +msgstr "" + +#: interactions.client.bot.Extension:5 of +msgid "The structure of an extension:" +msgstr "" + +#: interactions.client.decor.command:1 of +msgid "" +"A wrapper designed to interpret the client-facing API for how a command " +"is to be created and used." +msgstr "" + +#: interactions.client.decor.command:4 of +msgid "A list of command payloads." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/components.po b/docs/locale/fr/LC_MESSAGES/components.po deleted file mode 100644 index 93031b801..000000000 --- a/docs/locale/fr/LC_MESSAGES/components.po +++ /dev/null @@ -1,192 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../components.rst:2 -msgid "How to use components" -msgstr "" - -#: ../../components.rst:5 -msgid "" -"So you've seen the new fancy buttons and want to give them a try, but " -"dont know where to start. No problem!" -msgstr "" - -#: ../../components.rst:7 -msgid "" -"First lets cover the basics. Discord messages can have *components*, such" -" as buttons, dropdowns etc. These components sit in whats called an " -"\"action row\". An action row can hold 5 components at a time. Your " -"message can have 5 action rows, so thats a total of 25 components!" -msgstr "" - -#: ../../components.rst:10 -msgid "Sending some components" -msgstr "" - -#: ../../components.rst:12 -msgid "This will work in both slash commands, and discord.py commands" -msgstr "" - -#: ../../components.rst:14 -msgid "" -"First we need to create some buttons, lets put them in a list for now. " -"We'll use :meth:`create_button() `" -" to create a green button" -msgstr "" - -#: ../../components.rst:28 -msgid "" -"So we have a button, but where do we use it. Let's create an action row " -"with :func:`create_actionrow() ` " -"and put our buttons in it" -msgstr "" - -#: ../../components.rst:35 -msgid "" -"Fantastic, we now have an action row with a green button in it, now lets " -"get it sent in discord" -msgstr "" - -#: ../../components.rst:42 -msgid "And to bring it all together, you could use this:" -msgstr "" - -#: ../../components.rst:54 -msgid "" -"Now if you've followed along, you have a green button in discord! But " -"theres a problem, whenever you click it you see that the ``interaction " -"failed``. Why is that? Well, in Discord, clicking buttons and using slash" -" commands are called ``interactions``, and Discord doesn't know if we've " -"received them or not unless we tell Discord. So how do we do that?" -msgstr "" - -#: ../../components.rst:58 -msgid "Responding to interactions" -msgstr "" - -#: ../../components.rst:60 -msgid "" -"When responding, you have 3 choices in how you handle interactions. You " -"can either wait for them in the command itself, or listen for them in a " -"global event handler (similar to :func:`on_slash_command_error`), or " -"register async function as component callback." -msgstr "" - -#: ../../components.rst:63 -msgid "Wait_for" -msgstr "" - -#: ../../components.rst:65 -msgid "" -"Lets go through the most common method first, responding in the command " -"itself. We simply need to :func:`wait_for` the event, just like you do " -"for reactions. For this we're going to use :func:`wait_for_component() " -"`, and we're going to only wait " -"for events from the action row we just sent. This method will return a " -":class:`ComponentContext ` object" -" that we can use to respond. For this example, we'll just edit the " -"original message (:meth:`edit_origin() " -"`, uses same logic as" -" :func:`edit()`)" -msgstr "" - -#: ../../components.rst:77 -msgid "" -"It's worth being aware that if you handle the event in the command " -"itself, it will not persist reboots. As such when you restart the bot, " -"the interaction will fail" -msgstr "" - -#: ../../components.rst:80 -msgid "Global event handler" -msgstr "" - -#: ../../components.rst:82 -msgid "" -"Next we'll go over the alternative, a global event handler. This works " -"just the same as :func:`on_slash_command_error` or `on_ready`. But note " -"that this code will be triggered on any components interaction." -msgstr "" - -#: ../../components.rst:92 -msgid "Component callbacks" -msgstr "" - -#: ../../components.rst:94 -msgid "" -"There is one more method - making a function that'll be component " -"callback - triggered when components in a specified message or specific " -"``custom_id`` are used. Let's register our callback function via " -"decorator :meth:`component_callback() " -"`, in similar ways " -"to slash commands." -msgstr "" - -#: ../../components.rst:103 -msgid "" -"In this example, :func:`hello` will be triggered when you receive " -"interaction event from a component with a `custom_id` set to `\"hello\"`." -" Just like slash commands, the callback's `custom_id` defaults to the " -"function name. You can also register such callbacks in cogs using " -":func:`cog_component() ` Additionally, component " -"callbacks can be dynamically added, removed or edited - see " -":class:`SlashCommand `" -msgstr "" - -#: ../../components.rst:108 -msgid "But [writer], I dont want to edit the message" -msgstr "" - -#: ../../components.rst:110 -msgid "" -"Well lucky for you, you don't have to. You can either respond silently, " -"with a thinking animation, or send a whole new message. Take a look here:" -" :class:`ComponentContext `" -msgstr "" - -#: ../../components.rst:113 -msgid "How do I know which button was pressed?" -msgstr "" - -#: ../../components.rst:115 -msgid "" -"Each button gets a ``custom_id`` (which is always a string), this is a " -"unique identifier of which button is being pressed. You can specify what " -"the ID is when you define your button, if you don't; a random one will be" -" generated. When handling the event, simply check the custom_id, and " -"handle accordingly." -msgstr "" - -#: ../../components.rst:118 -msgid "What about selects / Dropdowns?" -msgstr "" - -#: ../../components.rst:120 -msgid "" -"Yep we support those too. You use them much the same as buttons. You can " -"only have 1 select per action row, but each select can have up to 25 " -"options in it!" -msgstr "" - -#: ../../components.rst:144 -msgid "" -"Additionally, you can pass ``description`` as a keyword-argument for " -"``create_select_option()`` if you so wish." -msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/context.po b/docs/locale/fr/LC_MESSAGES/context.po new file mode 100644 index 000000000..9e1dfbc1e --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/context.po @@ -0,0 +1,320 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../context.rst:4 +msgid "Event Context" +msgstr "" + +#: interactions.client.context._Context:1 of +msgid "" +"The base class of \"context\" for dispatched event data from the gateway." +" The premise of having this class is so that the user-facing API is able " +"to allow developers to easily access information presented from any event" +" in a \"contextualized\" sense." +msgstr "" + +#: interactions.client.context.CommandContext +#: interactions.client.context._Context of +msgid "Variables" +msgstr "" + +#: interactions.client.context._Context:7 of +msgid "The message data model." +msgstr "" + +#: interactions.client.context._Context:8 of +msgid "The member data model." +msgstr "" + +#: interactions.client.context._Context:9 of +msgid "The user data model." +msgstr "" + +#: interactions.client.context._Context:10 of +msgid "The channel data model." +msgstr "" + +#: interactions.client.context._Context:11 of +msgid "The guild data model." +msgstr "" + +#: interactions.client.context._Context.get_channel:1 of +msgid "This gets the channel the context was invoked in." +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Returns" +msgstr "" + +#: interactions.client.context._Context.get_channel:3 of +msgid "The channel as object" +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Return type" +msgstr "" + +#: interactions.client.context._Context.get_guild:1 of +msgid "This gets the guild the context was invoked in." +msgstr "" + +#: interactions.client.context._Context.get_guild:3 of +msgid "The guild as object" +msgstr "" + +#: interactions.client.context.CommandContext.send:1 +#: interactions.client.context.ComponentContext.send:1 +#: interactions.client.context._Context.send:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update +#: interactions.client.context.CommandContext.defer +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.defer +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.popup +#: interactions.client.context._Context.send of +msgid "Parameters" +msgstr "" + +#: interactions.client.context.CommandContext.send:4 +#: interactions.client.context.ComponentContext.send:4 +#: interactions.client.context._Context.send:4 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.client.context.CommandContext.send:6 +#: interactions.client.context.ComponentContext.send:6 +#: interactions.client.context._Context.send:6 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:8 +#: interactions.client.context.ComponentContext.send:8 +#: interactions.client.context._Context.send:8 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:10 +#: interactions.client.context.ComponentContext.send:10 +#: interactions.client.context._Context.send:10 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.client.context.CommandContext.send:12 +#: interactions.client.context.ComponentContext.send:12 +#: interactions.client.context._Context.send:12 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:14 +#: interactions.client.context.ComponentContext.send:14 +#: interactions.client.context._Context.send:14 of +msgid "Whether the response is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:16 +#: interactions.client.context.ComponentContext.send:16 +#: interactions.client.context._Context.send:16 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.client.context.CommandContext.edit:1 +#: interactions.client.context.ComponentContext.edit:1 +#: interactions.client.context._Context.edit:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response. This inherits the arguments of the Context " +"``.send()`` method." +msgstr "" + +#: interactions.client.context.CommandContext.edit:5 +#: interactions.client.context.ComponentContext.edit:5 +#: interactions.client.context._Context.edit:5 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.client.context._Context.popup:1 of +msgid "This \"pops up\" a modal to present information back to the user." +msgstr "" + +#: interactions.client.context._Context.popup:4 of +msgid "The components you wish to show." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:1 of +msgid "" +"Update an object with new attributes. All data will be converted, and any" +" extra attributes will be put in _extras" +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:4 of +msgid "The dictionary to update from" +msgstr "" + +#: interactions.client.context.CommandContext:1 of +msgid "" +"A derivation of :class:`interactions.context.Context` designed " +"specifically for application command data." +msgstr "" + +#: interactions.client.context.CommandContext:5 of +msgid "" +"The ``guild`` attribute of the base context is not accessible for any " +"interaction-related events since the current Discord API schema does not " +"return this as a value, but instead ``guild_id``. You will need to " +"manually fetch for this data for the time being." +msgstr "" + +#: interactions.client.context.CommandContext:11 of +msgid "" +"You can fetch with ``client.get_guild(guild_id)`` which will return a " +"JSON dictionary, which you can then use ``interactions.Guild(**data)`` " +"for an object or continue with a dictionary for your own purposes." +msgstr "" + +#: interactions.client.context.CommandContext:16 of +msgid "the HTTP client" +msgstr "" + +#: interactions.client.context.CommandContext:17 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:18 of +msgid "The application ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:19 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.context.CommandContext:20 of +msgid "The application command data." +msgstr "" + +#: interactions.client.context.CommandContext:21 of +msgid "The target selected if this interaction is invoked as a context menu." +msgstr "" + +#: interactions.client.context.CommandContext:22 of +msgid "The token of the interaction response." +msgstr "" + +#: interactions.client.context.CommandContext:23 of +msgid "The ID of the current guild." +msgstr "" + +#: interactions.client.context.CommandContext:24 of +msgid "The ID of the current channel." +msgstr "" + +#: interactions.client.context.CommandContext:25 of +msgid "Whether an original response was made or not." +msgstr "" + +#: interactions.client.context.CommandContext:26 of +msgid "Whether the response was deferred or not." +msgstr "" + +#: interactions.client.context.CommandContext:27 of +msgid "The selected language of the user invoking the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:28 of +msgid "The guild's preferred language, if invoked in a guild." +msgstr "" + +#: interactions.client.context.CommandContext.defer:1 of +msgid "" +"This \"defers\" an interaction response, allowing up to a 15-minute delay" +" between invocation and responding." +msgstr "" + +#: interactions.client.context.CommandContext.defer:4 +#: interactions.client.context.ComponentContext.defer:4 of +msgid "Whether the deferred state is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.delete:1 of +msgid "" +"This deletes the interaction response of a message sent by the " +"contextually derived information from this class." +msgstr "" + +#: interactions.client.context.CommandContext.delete:5 of +msgid "Doing this will proceed in the context message no longer being present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:1 of +msgid "" +"This \"populates\" the list of choices that the client-end user will be " +"able to select from in the autocomplete field." +msgstr "" + +#: interactions.client.context.CommandContext.populate:5 of +msgid "" +"Only a maximum of ``25`` choices may be presented within an autocomplete " +"option." +msgstr "" + +#: interactions.client.context.CommandContext.populate:8 of +msgid "The choices you wish to present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:10 of +msgid "The list of choices you've given." +msgstr "" + +#: interactions.client.context.ComponentContext:1 of +msgid "" +"A derivation of :class:`interactions.context.CommandContext` designed " +"specifically for component data." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:1 of +msgid "" +"This \"defers\" a component response, allowing up to a 15-minute delay " +"between invocation and responding." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:6 of +msgid "Whether you want to edit the original message or send a followup message" +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/enums.po b/docs/locale/fr/LC_MESSAGES/enums.po index 1add6393c..33035829d 100644 --- a/docs/locale/fr/LC_MESSAGES/enums.po +++ b/docs/locale/fr/LC_MESSAGES/enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,87 +22,140 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.enums.ApplicationCommandType:1 of +#: interactions.client.enums.ApplicationCommandType:1 of msgid "An enumerable object representing the types of application commands." msgstr "" -#: interactions.enums.OptionType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a slash" -" command's option(s)." +#: interactions.client.enums.ApplicationCommandType +#: interactions.client.enums.ButtonStyle +#: interactions.client.enums.ComponentType +#: interactions.client.enums.InteractionCallbackType +#: interactions.client.enums.InteractionType +#: interactions.client.enums.OptionType +#: interactions.client.enums.PermissionType +#: interactions.client.enums.TextStyleType of +msgid "Variables" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:3 +#: interactions.client.enums.ButtonStyle:3 +#: interactions.client.enums.ComponentType:3 +#: interactions.client.enums.InteractionCallbackType:3 +#: interactions.client.enums.InteractionType:3 +#: interactions.client.enums.OptionType:3 +#: interactions.client.enums.PermissionType:3 +#: interactions.client.enums.TextStyleType:3 of +msgid "1" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:4 +#: interactions.client.enums.ButtonStyle:4 +#: interactions.client.enums.ComponentType:4 +#: interactions.client.enums.InteractionType:4 +#: interactions.client.enums.OptionType:4 +#: interactions.client.enums.PermissionType:4 +#: interactions.client.enums.TextStyleType:4 of +msgid "2" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:5 +#: interactions.client.enums.ButtonStyle:5 +#: interactions.client.enums.ComponentType:5 +#: interactions.client.enums.InteractionType:5 +#: interactions.client.enums.OptionType:5 +#: interactions.client.enums.PermissionType:5 of +msgid "3" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:6 +#: interactions.client.enums.ButtonStyle:6 +#: interactions.client.enums.ComponentType:6 +#: interactions.client.enums.InteractionCallbackType:4 +#: interactions.client.enums.InteractionType:6 +#: interactions.client.enums.OptionType:6 of +msgid "4" +msgstr "" + +#: interactions.client.enums.InteractionType:1 of +msgid "An enumerable object representing the types of interactions." msgstr "" -#: interactions.enums.OptionType:5 of +#: interactions.client.enums.ButtonStyle:7 +#: interactions.client.enums.InteractionCallbackType:5 +#: interactions.client.enums.InteractionType:7 +#: interactions.client.enums.OptionType:7 of +msgid "5" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:1 of msgid "" -"Equivalent of `ApplicationCommandOptionType " -"`_ in the " -"Discord API." +"An enumerable object representing the callback types of interaction " +"responses." +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:6 +#: interactions.client.enums.OptionType:8 of +msgid "6" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:7 +#: interactions.client.enums.OptionType:9 of +msgid "7" msgstr "" -#: interactions.enums.OptionType.from_type:1 of -msgid "Get a specific enumerable from a type or object." +#: interactions.client.enums.InteractionCallbackType:8 +#: interactions.client.enums.OptionType:10 of +msgid "8" msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Parameters" +#: interactions.client.enums.InteractionCallbackType:9 +#: interactions.client.enums.OptionType:11 of +msgid "9" msgstr "" -#: interactions.enums.OptionType.from_type:3 of -msgid "The type or object to get an enumerable integer for." +#: interactions.client.enums.OptionType:1 of +msgid "" +"An enumerable object representing the types of an application command " +"option." msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Returns" +#: interactions.client.enums.OptionType:12 of +msgid "10" msgstr "" -#: interactions.enums.OptionType.from_type:5 of -msgid "enum.IntEnum." +#: interactions.client.enums.OptionType:13 of +msgid "11" msgstr "" -#: interactions.enums.PermissionType:1 of +#: interactions.client.enums.PermissionType:1 of msgid "" "Enumerable object of literal integers holding equivocal values of a slash" " command's permission(s)." msgstr "" -#: interactions.enums.PermissionType:4 of -msgid "" -"Equivalent of `ApplicationCommandPermissionType " -"`_ in the Discord API." +#: interactions.client.enums.ComponentType:1 of +msgid "An enumerable object representing the types of a component." msgstr "" -#: interactions.enums.PermissionType.from_type:1 of -msgid "" -"Get a specific enumerable from a type or object. :param _type: The type " -"or object to get an enumerable integer for. :type _type: type :return: " -"enum.IntEnum." +#: interactions.client.enums.ButtonStyle:1 of +msgid "An enumerable object representing the styles of button components." msgstr "" -#: interactions.enums.ComponentType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"component(s) type." +#: interactions.client.enums.TextStyleType:1 of +msgid "An enumerable object representing the styles of text inputs." msgstr "" -#: interactions.enums.ComponentType:4 of -msgid "" -"Equivalent of `Component Types " -"`_ in the Discord API." +#: interactions.client.enums.Locale:1 of +msgid "An enumerable object representing Discord locales." msgstr "" -#: interactions.enums.ButtonType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"button(s) type." +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." msgstr "" -#: interactions.enums.ButtonType:4 of +#: enum.Enum._generate_next_value_:3 of msgid "" -"Equivalent of `Button Styles " -"`_ in the Discord API." +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/ext.base.po b/docs/locale/fr/LC_MESSAGES/ext.base.po new file mode 100644 index 000000000..b0275dd49 --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/ext.base.po @@ -0,0 +1,150 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.base.rst:4 +msgid "Core Model" +msgstr "" + +#: interactions.ext.base.Base:1 of +msgid "A class representing the base structure of a 3rd party." +msgstr "" + +#: interactions.ext.base.Base of +msgid "Variables" +msgstr "" + +#: interactions.ext.base.Base:3 of +msgid "The version of the library." +msgstr "" + +#: interactions.ext.base.Base:4 of +msgid "The name of the library." +msgstr "" + +#: interactions.ext.base.Base:5 of +msgid "The description of the library." +msgstr "" + +#: interactions.ext.base.Base:6 of +msgid "The long description of the library." +msgstr "" + +#: interactions.ext.base.Base:7 of +msgid "The repository link or the library." +msgstr "" + +#: interactions.ext.base.Base:8 of +msgid "The packages of the library." +msgstr "" + +#: interactions.ext.base.Base:9 of +msgid "The modules in the library required." +msgstr "" + +#: interactions.ext.base.Base:10 of +msgid "The objects running under the service." +msgstr "" + +#: interactions.ext.base.Base._check_service:1 of +msgid "Checks whether the service already exists within the list or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service of +msgid "Parameters" +msgstr "" + +#: interactions.ext.base.Base._check_service:3 of +msgid "The name of the service to check." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Returns" +msgstr "" + +#: interactions.ext.base.Base._check_service:5 of +msgid "Whether the service exists or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Return type" +msgstr "" + +#: interactions.ext.base.Base.add_service:1 of +msgid "" +"Adds a service to the 3rd party for ease of accessibility in calling. The" +" code theory behind this is to simplify the way you handle and manage the" +" calling of other objects, as well as accessing their information." +msgstr "" + +#: interactions.ext.base.Base.add_service:5 of +msgid "The object to add as a service." +msgstr "" + +#: interactions.ext.base.Base.add_service:7 of +msgid "The name of the object to map under." +msgstr "" + +#: interactions.ext.base.Base.add_service:9 of +msgid "The mapped relation between the object and name." +msgstr "" + +#: interactions.ext.base.Base.remove_service:1 of +msgid "" +"Removes a service from the 3rd party in the event that it is no longer " +"needed to be referred to for data." +msgstr "" + +#: interactions.ext.base.Base.remove_service:4 of +msgid "The name of the service to remove." +msgstr "" + +#: interactions.ext.base.Base.remove_service:6 of +msgid "If the service has been removed or not." +msgstr "" + +#: interactions.ext.base.Base.remove_service of +msgid "Raises" +msgstr "" + +#: interactions.ext.base.Base.remove_service:8 of +msgid "An unknown service in the base." +msgstr "" + +#: interactions.ext.base.Base.services:1 of +msgid "" +"Returns a view on all of the services currently stored under the 3rd " +"party." +msgstr "" + +#: interactions.ext.base.Base.services:3 of +msgid "A dictionary of objects sorted by their name." +msgstr "" + +#: interactions.ext.base.build:1 of +msgid "Builds the base 3rd party the same way as ``setup`` from ``setuptools``." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/ext.converter.po b/docs/locale/fr/LC_MESSAGES/ext.converter.po new file mode 100644 index 000000000..8f0df6d4b --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/ext.converter.po @@ -0,0 +1,114 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.converter.rst:4 +msgid "Converter Model" +msgstr "" + +#: interactions.ext.converter.Converter:1 of +msgid "" +"A class representing the \"conversion\" or consistent mapping between two" +" objects' attributes." +msgstr "" + +#: interactions.ext.converter.Converter of +msgid "Variables" +msgstr "" + +#: interactions.ext.converter.Converter:4 of +msgid "The first object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter:5 of +msgid "The second object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:1 of +msgid "Maps the attributes between the models for conversion reference." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Returns" +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:3 of +msgid "A dictionary of attributes mapped." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Return type" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:1 of +msgid "Gets a mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr of +msgid "Parameters" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:3 of +msgid "The attribute to get." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:5 of +msgid "The mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:1 of +msgid "Gets a list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:3 of +msgid "The list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.ref:1 of +msgid "Gets the \"referenced\" model, or first." +msgstr "" + +#: interactions.ext.converter.Converter.ref:3 of +msgid "The referenced model." +msgstr "" + +#: interactions.ext.converter.Converter.difference:1 of +msgid "Gets a list of keys and values that the models don't share in common." +msgstr "" + +#: interactions.ext.converter.Converter.difference:3 +#: interactions.ext.converter.Converter.missing:3 of +msgid "A list of dictionaries" +msgstr "" + +#: interactions.ext.converter.Converter.missing:1 of +msgid "" +"Gets a list of keys and values missing from the \"referenced\" or first " +"model." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/ext.error.po b/docs/locale/fr/LC_MESSAGES/ext.error.po new file mode 100644 index 000000000..763b1799e --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/ext.error.po @@ -0,0 +1,84 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.error.rst:4 +msgid "Error Exceptions" +msgstr "" + +#: interactions.ext.error.ErrorType:1 of +msgid "An enumerable object representing the type of error responses raised." +msgstr "" + +#: interactions.ext.error.ErrorType of +msgid "Variables" +msgstr "" + +#: interactions.ext.error.ErrorType:3 of +msgid "" +"You cannot have more than one alphanumeric identifier, or identifier with" +" a missing value." +msgstr "" + +#: interactions.ext.error.ErrorType:4 of +msgid "You cannot have a missing numerical value." +msgstr "" + +#: interactions.ext.error.ErrorType:5 of +msgid "" +"A version can only have one main author. The rest of the authors must be " +"co-authors." +msgstr "" + +#: interactions.ext.error.ErrorType:6 of +msgid "The service specified does not exist." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.error.IncorrectAlphanumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"alphanumeric formatting." +msgstr "" + +#: interactions.ext.error.MissingNumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"numerical formatting." +msgstr "" + +#: interactions.ext.error.TooManyAuthors:1 of +msgid "" +"An exception raised whenever a ``VersionAuthor`` object have too many " +"\"main\" authors." +msgstr "" + +#: interactions.ext.error.UnknownService:1 of +msgid "An exception raised whenever a ``Base`` object cannot find a service." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/ext.gettingstarted.po b/docs/locale/fr/LC_MESSAGES/ext.gettingstarted.po new file mode 100644 index 000000000..1c21e3eb3 --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/ext.gettingstarted.po @@ -0,0 +1,225 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.gettingstarted.rst:2 +msgid "Getting started." +msgstr "" + +#: ../../ext.gettingstarted.rst:5 +msgid "Developing a 3rd party." +msgstr "" + +#: ../../ext.gettingstarted.rst:7 +msgid "" +"Getting started with making a 3rd party library is pretty hard. Most of " +"the time, you'll find yourself often checking the source code and " +"directly making changes to the library. We want to make a change to that," +" and additionally, make it easier for developers to find creativity in " +"the simplicity of our overengineered product." +msgstr "" + +#: ../../ext.gettingstarted.rst:14 +msgid "" +"If you're not familiar with the source code of the library, you should " +"probably read the documentation first." +msgstr "" + +#: ../../ext.gettingstarted.rst:17 +msgid "" +"Basing your 3rd party libraries off of our ``unstable`` branch is a bad " +"practice as this is regarded as our development branch. Breaking changes " +"may become common, and as a result pose a risk in affecting your 3rd " +"party. For this reason, we recommend you use the latest PyPI release or " +"``stable`` branch." +msgstr "" + +#: ../../ext.gettingstarted.rst:24 +msgid "Installing" +msgstr "" + +#: ../../ext.gettingstarted.rst:26 +msgid "" +"Installing the external framework is a rather trivial process. You do not" +" need to run any special installation on the library, as this comes built" +" into our main core. However, you will need to install the dependencies " +"involved with the library." +msgstr "" + +#: ../../ext.gettingstarted.rst:31 +msgid "" +"If you do not already have this library installed, you can do with this " +"line below:" +msgstr "" + +#: ../../ext.gettingstarted.rst:39 +msgid "Creating the base." +msgstr "" + +#: ../../ext.gettingstarted.rst:41 +msgid "" +"For every official 3rd party library of interactions.py, we have a " +"\"core\" for it, otherwise known as the base. This base is what we use to" +" allow developers to easily setup their project onto PyPI and build, as " +"well as storing additional information that bot developers can read off " +"of for their bots." +msgstr "" + +#: ../../ext.gettingstarted.rst:46 +msgid "This code shows a basic example for creating the base of a 3rd party:" +msgstr "" + +#: ../../ext.gettingstarted.rst:71 +msgid "" +"This configures the base of the library in a rather simple manner: you " +"give the name and description of the 3rd party, as well as its own " +"official version and link for reference. This is all that is required to " +"build the library. The rest of the field that can be filled in are " +"optional. You can look at the :ref:`Base class ` for" +" more information." +msgstr "" + +#: ../../ext.gettingstarted.rst:78 +msgid "Defining a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:80 +msgid "" +"As you may have noticed in the ``Base`` class, we have a ``Version`` " +"class that helps define the version of the 3rd party. This is required to" +" be written in our class for numerous reasons:" +msgstr "" + +#: ../../ext.gettingstarted.rst:83 +msgid "To help enforce consistency in the formatting of 3rd party versions." +msgstr "" + +#: ../../ext.gettingstarted.rst:84 +msgid "To allow for easy version comparison." +msgstr "" + +#: ../../ext.gettingstarted.rst:85 +msgid "Forced semantic versioning." +msgstr "" + +#: ../../ext.gettingstarted.rst:87 +msgid "" +"This class is our most advanced and complicated one due to the abundant " +"nature in emphasising a proper versioning system. We have a few options " +"for versioning, and we have a few rules to follow." +msgstr "" + +#: ../../ext.gettingstarted.rst:90 +msgid "" +"Major, minor and patch versions **must** be declared as either their " +"respective key-word arguments, or under the ``version`` kwarg." +msgstr "" + +#: ../../ext.gettingstarted.rst:91 +msgid "" +"The version should not be author-less. Every library has an author behind" +" a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:92 +msgid "" +"The version should not be a pre-release. Pre-releases are not supported " +"by the official PyPI. To release as alpha or beta, use the " +"``extend_version()`` method." +msgstr "" + +#: ../../ext.gettingstarted.rst:93 +msgid "" +"A version cannot contain more than 1 main author. If you have multiple " +"authors, you should label them as co-authors instead." +msgstr "" + +#: ../../ext.gettingstarted.rst:94 +msgid "An alphanumeric version can only contain one instance of its own." +msgstr "" + +#: ../../ext.gettingstarted.rst:96 +msgid "" +"With these rules out of the way, let's look at a simple implementation of" +" the ``Version`` class alongside its brother, ``VersionAuthor`` for " +"adding authors of a version:" +msgstr "" + +#: ../../ext.gettingstarted.rst:120 +msgid "" +"This code example can also show you the ways of retreiving information " +"from a version. As seen here, this is a highly versatile class. These " +"following are the shown methods and their purposes:" +msgstr "" + +#: ../../ext.gettingstarted.rst:124 +msgid "The ``version`` attribute is the version string." +msgstr "" + +#: ../../ext.gettingstarted.rst:125 +msgid "The ``major`` attribute is the major version number, e.g. \"x.0.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:126 +msgid "The ``minor`` attribute is the minor version number, e.g. \"0.x.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:127 +msgid "The ``patch`` attribute is the patch version number, e.g. \"0.0.x\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:128 +msgid "" +"The ``authors`` property method is a list of authors, regardless of if " +"one is a co-author or not." +msgstr "" + +#: ../../ext.gettingstarted.rst:129 +msgid "" +"The ``is_alphanumeric`` property method is a boolean that indicates if " +"the version is alphanumeric." +msgstr "" + +#: ../../ext.gettingstarted.rst:132 +msgid "Converting models from one to another." +msgstr "" + +#: ../../ext.gettingstarted.rst:134 +msgid "" +"The term \"conversion\" is a gross exaggeration of what we're actually " +"doing here. The problem that we've found with bot developers cross-" +"referencing from different libraries is that their data models are simply" +" different in design and structure. In order to combat against this, we " +"have decided to create a conversion tool that will allow us to convert " +"between models. This tool also allows for better comparison that will " +"save the average developer many lines of code from having to be written. " +"This is a basic example of how we \"convert\" these models:" +msgstr "" + +#: ../../ext.gettingstarted.rst:162 +msgid "What about errors?" +msgstr "" + +#: ../../ext.gettingstarted.rst:164 +msgid "" +"Don't worry---we've got you covered there. Each of our tools will raise " +"special error exceptions that you can listen to. Since this is a pretty " +"self-explanitory subject, we recommend :ref:`reading the documentation " +"` on this." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/ext.po b/docs/locale/fr/LC_MESSAGES/ext.po new file mode 100644 index 000000000..ee17491a5 --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/ext.po @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.rst:19 +msgid "Tools:" +msgstr "" + +#: ../../ext.rst:4 +msgid "External Framework" +msgstr "" + +#: ../../ext.rst:6 +msgid "" +"Are you trying to build your own 3rd party library, but you don't want to" +" monkey-patch your own solutions into the current existing library " +"codebase? Are you wanting to avoid having to modify the architecture of " +"the library to specifically suit you or others needs? Well, now we have " +"something to introduce to you: ``interactions.ext``. The officially given" +" software development kit (SDK) tools suite made by developers; for " +"developers." +msgstr "" + +#: ../../ext.rst:13 +msgid "How does the framework... work?" +msgstr "" + +#: ../../ext.rst:15 +msgid "" +"Great question! We're glad you asked. The framework is a set of tools " +"that are designed to make your life easier. There are a few tools that we" +" provide out of the box, but you can also create some of your own. We'll " +"be covering each one of these tools in great detail." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/ext.version.po b/docs/locale/fr/LC_MESSAGES/ext.version.po new file mode 100644 index 000000000..7ad8f183b --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/ext.version.po @@ -0,0 +1,182 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.version.rst:4 +msgid "Versioning Models" +msgstr "" + +#: interactions.ext.version.VersionAuthor:1 of +msgid "A class representing the author involved in a version." +msgstr "" + +#: interactions.ext.version.Version interactions.ext.version.VersionAuthor of +msgid "Variables" +msgstr "" + +#: interactions.ext.version.VersionAuthor:3 of +msgid "The hashed representation of the class." +msgstr "" + +#: interactions.ext.version.VersionAuthor:4 of +msgid "Whether this is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:5 of +msgid "Whether the author is active or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:6 of +msgid "The email of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor:7 of +msgid "The name of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor.is_co_author:1 of +msgid "Returns whether the author is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAlphanumericType:1 of +msgid "An enumeration." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.version.Version:1 of +msgid "A class representing how a version is structured for a 3rd party library." +msgstr "" + +#: interactions.ext.version.Version:4 of +msgid "" +"This class respects the design and application of Semantic Versioning " +"2.0.0, (SemVer) a widely accepted standardisation of version control for " +"modules and projects." +msgstr "" + +#: interactions.ext.version.Version:8 of +msgid "The major version." +msgstr "" + +#: interactions.ext.version.Version:9 of +msgid "The minor version." +msgstr "" + +#: interactions.ext.version.Version:10 of +msgid "The patch version." +msgstr "" + +#: interactions.ext.version.Version:11 of +msgid "The authors tied to the version release." +msgstr "" + +#: interactions.ext.version.Version:12 of +msgid "The representation of the version." +msgstr "" + +#: interactions.ext.version.Version:13 of +msgid "The alphanumeric typing of the version." +msgstr "" + +#: interactions.ext.version.Version.major:1 of +msgid "Returns the major version." +msgstr "" + +#: interactions.ext.version.Version.minor:1 of +msgid "Returns the minor version." +msgstr "" + +#: interactions.ext.version.Version.patch:1 of +msgid "Returns the patch version." +msgstr "" + +#: interactions.ext.version.Version.author:1 of +msgid "" +"Returns the author of the version. If multiple authors exist, it will " +"choose the only one that is not a co-author." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Returns" +msgstr "" + +#: interactions.ext.version.Version.author:4 of +msgid "The author of the version, if one exists." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Return type" +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.extend_version of +msgid "Raises" +msgstr "" + +#: interactions.ext.version.Version.author:6 of +msgid "Too many main authors were found." +msgstr "" + +#: interactions.ext.version.Version.authors:1 of +msgid "Returns the list of authors under the version." +msgstr "" + +#: interactions.ext.version.Version.authors:3 of +msgid "The authors of the version, if any exist." +msgstr "" + +#: interactions.ext.version.Version.is_alphanumeric:1 of +msgid "Returns whether the version is alphanumeric or not." +msgstr "" + +#: interactions.ext.version.Version.extend_version:1 of +msgid "Allows the version to be extended upon with an alphanumeric format." +msgstr "" + +#: interactions.ext.version.Version.extend_version of +msgid "Parameters" +msgstr "" + +#: interactions.ext.version.Version.extend_version:3 of +msgid "" +"Key-word arguments to be supplied as ``alpha``, ``beta`` or ``rc`` " +"respectively." +msgstr "" + +#: interactions.ext.version.Version.extend_version:5 of +msgid "The new version with the alphanumeric." +msgstr "" + +#: interactions.ext.version.Version.extend_version:7 of +msgid "The alphanumeric version was incorrectly formatted." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/faq.po b/docs/locale/fr/LC_MESSAGES/faq.po index aa58e9a37..be61d009d 100644 --- a/docs/locale/fr/LC_MESSAGES/faq.po +++ b/docs/locale/fr/LC_MESSAGES/faq.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,28 +30,21 @@ msgstr "" #: ../../faq.rst:8 msgid "" -"This page is maintained by the Helpers of the Discord server, and updated" -" by the library developer at their discretion. For any comments, feedback" -" or concerns please consider joining our server and bringing it up in our" -" support channels." +"This page is maintained by the Helpers of the Discord server, and " +"developers at their discretion. For any comments, feedback or concerns " +"please consider joining our server and bringing it up in our support " +"channels." msgstr "" -#: ../../faq.rst:15 -msgid "" -"This FAQ list currently reflects v4.0 as of the time of this writing, all" -" other versions are considered deprecated. Because of this, there will " -"not be any answers for questions regarding v3.0 and below." -msgstr "" - -#: ../../faq.rst:20 +#: ../../faq.rst:14 msgid "discord.py is dead! Will this library die too?" msgstr "" -#: ../../faq.rst:21 ../../faq.rst:31 +#: ../../faq.rst:15 ../../faq.rst:25 msgid "The short answer is: **no**." msgstr "" -#: ../../faq.rst:23 +#: ../../faq.rst:17 msgid "" "The decision to become a standalone library that is now an API wrapper " "for the Discord API was made before Danny posted his gist on GitHub about" @@ -59,24 +52,24 @@ msgid "" "the library developer regarding this:" msgstr "" -#: ../../faq.rst:30 +#: ../../faq.rst:24 msgid "Are you going to/will/consider fork(ing) discord.py?" msgstr "" -#: ../../faq.rst:33 +#: ../../faq.rst:27 msgid "" "The long answer is a list of numerous reasons as to why this decision was" " made:" msgstr "" -#: ../../faq.rst:35 +#: ../../faq.rst:29 msgid "" "There are/will be numerous forks out there for discord.py, and because of" " that, we cannot safely guarantee our ability to help users out who may " "be using their own form of modified code." msgstr "" -#: ../../faq.rst:36 +#: ../../faq.rst:30 msgid "" "The original purpose of this library was to act as an extension of " "discord.py, but due to the issue of constantly having to monkeypatch " @@ -85,7 +78,7 @@ msgid "" "not change anything from our issue of avoiding this." msgstr "" -#: ../../faq.rst:37 +#: ../../faq.rst:31 msgid "" "The goal of this library is to solely implement support and integrate the" " use of interactions from the Discord API. Making this library unique in " @@ -93,7 +86,7 @@ msgid "" "standards at the time." msgstr "" -#: ../../faq.rst:38 +#: ../../faq.rst:32 msgid "" "The message intent will inevitably be forced as a privileged intent in " "April 2022. The practicality of trying to support message commands will " @@ -102,7 +95,7 @@ msgid "" "reason for applying for this privileged intent." msgstr "" -#: ../../faq.rst:39 +#: ../../faq.rst:33 msgid "" "Forking discord.py would be a massive change to our current codebase, " "throwing away all of the effort we've put into it so far, and basically " @@ -112,39 +105,51 @@ msgid "" " this is pointless." msgstr "" -#: ../../faq.rst:42 +#: ../../faq.rst:36 msgid "Will discord.py be able to work with this library?" msgstr "" -#: ../../faq.rst:43 +#: ../../faq.rst:37 msgid "The short answer is: **yes.**" msgstr "" -#: ../../faq.rst:45 +#: ../../faq.rst:39 msgid "" "However, the term \"work\" is loosely structured here. Imagine it like " "taping a hole in the wall instead of repairing the wall. We're " "essentially \"plastering\" support for discord.py instead of doing the " "surgery on its internal organs to make it work well with our library. As " -"it currently stands, **discord-interactions and discord.py** are API " -"wrappers. You will be able to run code *alongside* one another, and you " -"will be able to plug in some classes, but the data conversion **must be " -"exact.**" +"it currently stands, **interactions.py and discord.py** are API wrappers." +" You will be able to run code *alongside* one another, and you will be " +"able to plug in some classes, but the data conversion **must be exact.**" msgstr "" -#: ../../faq.rst:50 +#: ../../faq.rst:44 msgid "What does that mean? Well, we'll show you:" msgstr "" -#: ../../faq.rst:74 +#: ../../faq.rst:73 msgid "" "Both of these variables ``interactions`` and ``dpy`` will be able to run " "in the same established environment, and additionally will both function " -"properly as their respective libraries intend them to. What about the " -"models, though? That's a simple answer:" +"properly as their respective libraries intend them to. This " +"implementation uses asyncio.gather to execute both starts simultaneously " +"as asyncio tasks, and runs them under one singular loop." msgstr "" -#: ../../faq.rst:90 +#: ../../faq.rst:77 +msgid "" +"Compared to traditional startup commands, ``interactions.ready()`` and " +"``dpy.start()`` is used instead of the typical ``interactions.start()`` " +"and ``dpy.run()`` methods because of synchronous/async functions. " +"``asyncio.gather()`` works with coroutines, hence the transition." +msgstr "" + +#: ../../faq.rst:81 +msgid "What about the models, though? That's a simple answer:" +msgstr "" + +#: ../../faq.rst:96 msgid "" "Both of these will be able to both run and give their proper value. It is" " *very* important to note here, though, that you **must** be returning " @@ -153,22 +158,76 @@ msgid "" "that is going on here." msgstr "" -#: ../../faq.rst:95 +#: ../../faq.rst:101 +msgid "Where should we go with discord.py being gone?" +msgstr "" + +#: ../../faq.rst:102 +msgid "" +"The most *biased* answer would be to, of course, *use interactions.py.* " +"We already offer a lot of the integral API wrapper aspects as discord.py " +"does, however, we only specialize in interactions. Which means things " +"such as these won't be supported officially by us (but might be available" +" as 3rd parties):" +msgstr "" + +#: ../../faq.rst:106 +msgid "Cooldowns" +msgstr "" + +#: ../../faq.rst:107 +msgid "Message commands" +msgstr "" + +#: ../../faq.rst:108 +msgid "Voice clients" +msgstr "" + +#: ../../faq.rst:110 +msgid "" +"There are other libraries of course though. As a general rule of thumb, " +"if you're looking to do mainly slash commands and that tidbit then we " +"highly recommend using our library, especially as **discord-components** " +"merges as of version 4.0. But if you want something way more open and " +"versatile, then we recommend these sources:" +msgstr "" + +#: ../../faq.rst:114 +msgid "`Pycord`_ (the most actively maintained)." +msgstr "" + +#: ../../faq.rst:115 +msgid "`NAFF`_ (high level, \"hackable\" API wrapper with ease of modification)." +msgstr "" + +#: ../../faq.rst:116 +msgid "`nextcord`_ (more abstract and fast approach to the Discord API)." +msgstr "" + +#: ../../faq.rst:118 +msgid "" +"It's personally recommended from the library developer to seek these " +"paths instead of sticking to an older version of a library, e.g. " +"discord.py 1.7.3 or 2.0.0a as they can eventually become deprecated with " +"more pending changes to the API by Discord engineers." +msgstr "" + +#: ../../faq.rst:122 msgid "Why are you not supporting cooldowns?" msgstr "" -#: ../../faq.rst:96 +#: ../../faq.rst:123 msgid "" "Cooldowns aren't really an actual feature of the Discord API itself, but " "rather more of a convienent feature implemented in discord.py in order to" " avoid spamming of commands." msgstr "" -#: ../../faq.rst:99 +#: ../../faq.rst:126 msgid "**What if people spam slash/sub commands?**" msgstr "" -#: ../../faq.rst:101 +#: ../../faq.rst:128 msgid "" "That's the neat part: it's really hard to do that, and most of the time, " "they won't. Unless they copy the exact string that was used when you open" @@ -181,11 +240,11 @@ msgid "" "library." msgstr "" -#: ../../faq.rst:108 +#: ../../faq.rst:135 msgid "Will we not be able to create message commands?" msgstr "" -#: ../../faq.rst:109 +#: ../../faq.rst:136 msgid "" "This is a tricky question to really answer. If you want the *technical* " "answer: you can definitely create them with our library, however, you'll " @@ -197,16 +256,51 @@ msgid "" "handler framework before in their entire life." msgstr "" -#: ../../faq.rst:118 +#: ../../faq.rst:144 +msgid "" +"I'm getting \"``AttributeError: HTTPClient not found!``\" when I try to " +"execute helper methods!" +msgstr "" + +#: ../../faq.rst:145 +msgid "Probably you are doing something like this:" +msgstr "" + +#: ../../faq.rst:152 +msgid "" +"And the error occurs in the line where you try to send something. You can" +" fix this easy by adding one argument:" +msgstr "" + +#: ../../faq.rst:159 +msgid "" +"You have to add this extra argument for every object you instantiate by " +"yourself if you want to use it's methods" +msgstr "" + +#: ../../faq.rst:163 +msgid "" +"Context and Messages don't have the ``Channel`` and ``Guild`` attributes!" +" Why?" +msgstr "" + +#: ../../faq.rst:164 +msgid "" +"At the moment the Discord API does *not* include them into their " +"responses. You can get those object via the ``get_channel()`` and " +"``get_guild()`` methods of the Context and Message model." +msgstr "" + +#: ../../faq.rst:169 msgid "My question is not answered on here!" msgstr "" -#: ../../faq.rst:119 +#: ../../faq.rst:170 msgid "" "Please join our Discord server for any further support regarding our " "library and/or any integration code depending on it." msgstr "" -#: ../../faq.rst:121 +#: ../../faq.rst:172 msgid "Invite Link: https://discord.gg/KkgMBVuEkx" msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/gettingstarted.po b/docs/locale/fr/LC_MESSAGES/gettingstarted.po deleted file mode 100644 index 68d69eec9..000000000 --- a/docs/locale/fr/LC_MESSAGES/gettingstarted.po +++ /dev/null @@ -1,646 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../gettingstarted.rst:2 -msgid "Getting Started" -msgstr "" - -#: ../../gettingstarted.rst:5 -msgid "Where do we start?" -msgstr "" - -#: ../../gettingstarted.rst:7 -msgid "" -"Before we begin getting started on everything else, it is recommended to " -"check out the `quickstart`_ page first to get a basic grip on making " -"slash commands for your bot." -msgstr "" - -#: ../../gettingstarted.rst:12 -msgid "Making a slash command." -msgstr "" - -#: ../../gettingstarted.rst:15 -msgid "The basics." -msgstr "" - -#: ../../gettingstarted.rst:17 -msgid "" -"First, let's explain by how commands are parsed through the Discord Bot " -"API." -msgstr "" - -#: ../../gettingstarted.rst:19 -msgid "" -"As you may know, Discord relies a lot on the interaction of HTTP Requests" -" and JSON tables. As is with the case here, commands are the exact same " -"way with having JSON tables to structure the design of it for Discord to " -"understand. We can apply this information likewise with how slash " -"commands are to be designed in the Python code. Below attached is from " -"the *Discord Developer Portal* on Slash Commands for showing how they are" -" designed." -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Field**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Type**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Description**" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -msgid "name" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:31 -#: ../../gettingstarted.rst:79 ../../gettingstarted.rst:81 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -#: ../../gettingstarted.rst:413 ../../gettingstarted.rst:415 -#: ../../gettingstarted.rst:417 ../../gettingstarted.rst:419 -msgid "string" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -msgid "1-32 character name matching ``^[\\w-]{1,32}$``." -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "description" -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "1-100 character description." -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "options?" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "array of `ApplicationCommandOption`_" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "" -"if the option is a subcommand or subcommand group type, this nested " -"options will be the parameters." -msgstr "" - -#: ../../gettingstarted.rst:36 -msgid "" -"This table shows us the way that Discord handles the structure of " -"commands for slash commands through their Bot API. For visualization " -"purposes, we'll quickly make a JSON example (although we won't be using " -"it) in order to explain how this works:" -msgstr "" - -#: ../../gettingstarted.rst:48 -msgid "" -"Now that we have a basic understanding of how the JSON table works, we " -"can take this knowledge and convert it into a decorator method for the " -"Python code as shown below:" -msgstr "" - -#: ../../gettingstarted.rst:59 -msgid "" -"Now that we've gone over how Discord handles the declaration of slash " -"commands through their Bot API, let's go over what some of the other " -"things mean within the *logical* part of our code, the command function:" -msgstr "" - -#: ../../gettingstarted.rst:65 -msgid "Giving some options for variety." -msgstr "" - -#: ../../gettingstarted.rst:67 -msgid "" -"The next thing that we will begin to talk about is the implementation of " -"options, otherwise well-known as \"arguments\" in discord.py commands." -msgstr "" - -#: ../../gettingstarted.rst:70 -msgid "" -"The JSON structure of options are designed up to be similar to the same " -"premise of how a slash command is declared. Below is the given table of " -"how an option JSON would appear as:" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:245 -#: ../../gettingstarted.rst:333 -msgid "type" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:243 -#: ../../gettingstarted.rst:245 ../../gettingstarted.rst:333 -msgid "int" -msgstr "" - -#: ../../gettingstarted.rst:77 -msgid "value of `ApplicationCommandOptionType`_." -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "default?" -msgstr "" - -#: ../../gettingstarted.rst:83 ../../gettingstarted.rst:85 -msgid "bool" -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "" -"the first required option for the user to complete--only one option can " -"be default." -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "required?" -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "if the parameter is required or optional--default ``false``." -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices?" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "array of `ApplicationCommandOptionChoice`_" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices for ``string`` and ``int`` types for the user to pick from." -msgstr "" - -#: ../../gettingstarted.rst:92 -msgid "" -"Now we have an idea of how options are declared. With this in mind, let's" -" quickly make a JSON example in order to visualize this concept even " -"further:" -msgstr "" - -#: ../../gettingstarted.rst:110 -msgid "" -"While the table in the basics mentions an array in particular called " -"``ApplicationCommandOptionType``, there isn't that much of an explanation" -" on how this works. Let's put this into better laymen terms on what this " -"means with a table below showing all of these values:" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Name**" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Value**" -msgstr "" - -#: ../../gettingstarted.rst:117 -msgid "SUB_COMMAND" -msgstr "" - -#: ../../gettingstarted.rst:117 ../../gettingstarted.rst:257 -#: ../../gettingstarted.rst:352 -msgid "1" -msgstr "" - -#: ../../gettingstarted.rst:119 -msgid "SUB_COMMAND_GROUP" -msgstr "" - -#: ../../gettingstarted.rst:119 ../../gettingstarted.rst:259 -#: ../../gettingstarted.rst:354 -msgid "2" -msgstr "" - -#: ../../gettingstarted.rst:121 -msgid "STRING" -msgstr "" - -#: ../../gettingstarted.rst:121 ../../gettingstarted.rst:356 -msgid "3" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "INTEGER" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "4" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "BOOLEAN" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "5" -msgstr "" - -#: ../../gettingstarted.rst:127 ../../gettingstarted.rst:354 -msgid "USER" -msgstr "" - -#: ../../gettingstarted.rst:127 -msgid "6" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "CHANNEL" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "7" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "ROLE" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "8" -msgstr "" - -#: ../../gettingstarted.rst:134 -msgid "" -"The purpose of having the ``ApplicationCommandOptionType`` value passed " -"into our option JSON structure is so that we can help the Discord UI " -"understand what kind of value we're inputting here. For instance, if " -"we're wanting to put in a string response, we'll pass the ID 3 so that " -"the UI of Discord chat bar knows to format it visually this way. If we're" -" looking for a user, then we'll pass ID 6 so that it presents us with a " -"list of users in our server instead, making it easier on our lives." -msgstr "" - -#: ../../gettingstarted.rst:140 -msgid "" -"This is not to be confused, however, with formatting the response type " -"itself. This is merely a method so that the API wrapper can help us with " -"passing the correct type or instance variable with the arguments of the " -"command function's code." -msgstr "" - -#: ../../gettingstarted.rst:144 -msgid "" -"Now, we can finally visualize this by coding an example of this being " -"used in the Python code shown below." -msgstr "" - -#: ../../gettingstarted.rst:163 -msgid "" -"Additionally, we could also declare the type of our command's option " -"through this method shown here:" -msgstr "" - -#: ../../gettingstarted.rst:174 -msgid "More in the option? Give them a choice." -msgstr "" - -#: ../../gettingstarted.rst:176 -msgid "" -"Alas, there is also a way to give even more information to options with " -"Discord's Slash Commands: a choice. Not like something that you're given " -"at birth of when you become of legal age as an adult, we're not here to " -"give you *that* kind of life advice, but the choice of what value you " -"want your option to rather pass. Below is a table that shows the JSON " -"structure of how choices are represented for an option:" -msgstr "" - -#: ../../gettingstarted.rst:185 -msgid "1-32 character choice name." -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "string or int" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value of the choice, up to 100 characters if string." -msgstr "" - -#: ../../gettingstarted.rst:190 -msgid "" -"This time, only 2 fields are able to be passed for this. Below is a JSON " -"example of how this would be designed:" -msgstr "" - -#: ../../gettingstarted.rst:200 -msgid "" -"To make it really simple, the ``name`` field is only to be used for how " -"you want the choice to be presented through Discord's UI. It's the " -"\"appearance\" of how you want your choice shown, not the actual returned" -" value of it. Hence, this is why ``value`` is the second field passed for" -" that, which can be either in the form of a string or integer. Below is " -"an implementation of this design in the Python code:" -msgstr "" - -#: ../../gettingstarted.rst:233 -msgid "Want to restrict access? Setup permissions!" -msgstr "" - -#: ../../gettingstarted.rst:235 -msgid "" -"Slash commands also support the ability to set permissions to allow only " -"certain roles and/or users to run a slash command. Permissions can be " -"applied to both global and guild based commands. They are defined per " -"guild, per top-level command (the base command for subcommands), and each" -" guild can have multiple permissions. Here is the table that shows the " -"JSON structure of how permissions are represented:" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "id" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "" -"Snowflake value of type specified. Represents the target to apply " -"permissions on." -msgstr "" - -#: ../../gettingstarted.rst:245 -msgid "An `ApplicationCommandPermissionType`_." -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "permission" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "boolean" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "``True`` to allow, ``False`` to disallow." -msgstr "" - -#: ../../gettingstarted.rst:250 -msgid "" -"How the type parameter works is very simple. Discord has many ids to " -"represent different things. As you can set permissions to apply for User " -"or Role, `ApplicationCommandPermissionType`_ is used. It's a number and " -"following table shows the supported id types for permissions:" -msgstr "" - -#: ../../gettingstarted.rst:257 -msgid "Role" -msgstr "" - -#: ../../gettingstarted.rst:259 -msgid "User" -msgstr "" - -#: ../../gettingstarted.rst:262 -msgid "" -"This is an example of how a single permission will look when represented " -"as a json object:" -msgstr "" - -#: ../../gettingstarted.rst:272 -msgid "" -"Now, let take a look at an example. The slash command decorator has a " -"permissions parameter where it takes in a dictionary. The key being the " -"guild id to apply permissions on, and value being the list of permissions" -" to apply. For each permission, we can use the handy " -"``create_permission`` method to build the permission json explained " -"above." -msgstr "" - -#: ../../gettingstarted.rst:277 -msgid "" -"In this case, we are setting 2 permissions for a guild with an id of " -"``12345678``. Firstly, we are allowing role with id ``99999999`` and " -"disallowing user with id ``88888888`` from running the slash command." -msgstr "" - -#: ../../gettingstarted.rst:296 -msgid "" -"Alternatively, you can use the ``@slash.permission`` decorator to define " -"your guild permissions for the command as show in the following example:" -msgstr "" - -#: ../../gettingstarted.rst:315 -msgid "But what about buttons?" -msgstr "" - -#: ../../gettingstarted.rst:316 -msgid "" -"This library supports components (buttons, actionrows, selects, etc.). " -"Take a look here: `components`_." -msgstr "" - -#: ../../gettingstarted.rst:319 -msgid "Making a message/menu command." -msgstr "" - -#: ../../gettingstarted.rst:320 -msgid "" -"Lucky for you, this library has recently added support for context menus!" -" Let's take a look into how they're designed." -msgstr "" - -#: ../../gettingstarted.rst:322 -msgid "" -"Please note that the current limit for context menus with the Discord API" -" is **5.**" -msgstr "" - -#: ../../gettingstarted.rst:324 -msgid "" -"A menu command (context menu) is an easy way for bot developers to " -"program optionless and choiceless commands into their bot which can be " -"easily accessible by right clicking on a user and/or message present. " -"Below is a table of the supported keys and values:" -msgstr "" - -#: ../../gettingstarted.rst:331 -msgid "The name of the context menu command." -msgstr "" - -#: ../../gettingstarted.rst:333 -msgid "An `ApplicationCommandType`_." -msgstr "" - -#: ../../gettingstarted.rst:336 -msgid "" -"The following table below represents how it would be shown as a JSON " -"object:" -msgstr "" - -#: ../../gettingstarted.rst:345 -msgid "" -"The following table explains more about the ``type`` parameter being " -"passed, which there are three of: ``CHAT_INPUT``, ``USER`` and " -"``MESSAGE``. By default, the type will always be the first. This is " -"because it is a registered type that is used to process slash commands, " -"and should not be used for when you are declaring context menu commands " -"in your bot's code at all:" -msgstr "" - -#: ../../gettingstarted.rst:352 -msgid "CHAT_INPUT" -msgstr "" - -#: ../../gettingstarted.rst:356 -msgid "MESSAGE" -msgstr "" - -#: ../../gettingstarted.rst:359 -msgid "" -"Unlike ``manage_commands`` and ``manage_components``, you will have to " -"use a decorator for now to register them:" -msgstr "" - -#: ../../gettingstarted.rst:375 -msgid "" -"The ``@slash.context_menu`` decorator takes in the context type as given " -"(to either appear when you right-click on a user or when you right-click " -"on a message) as well as the name of the command, and any guild IDs if " -"given if you would like to make it applicable to only a guild. **We only " -"accept connected names** for the time being, although context menus will " -"have the ability to have spaces in their name in the future when " -"development further progresses." -msgstr "" - -#: ../../gettingstarted.rst:379 -msgid "" -"You are able to also use the ``@cog_ext.cog_context_menu`` path which " -"will require an import from ``cog_ext.py`` respectively, however, it is " -"worth nothing that the ``target`` kwarg for the decorator **must** be " -"brought to the very end." -msgstr "" - -#: ../../gettingstarted.rst:383 -msgid "Can I use components with context menus?" -msgstr "" - -#: ../../gettingstarted.rst:384 -msgid "" -"Of course! However, you will need to add in some additional code in order" -" for both of the separate contexts to work seamlessly. Below is the given" -" code of what will need to be changed:" -msgstr "" - -#: ../../gettingstarted.rst:399 -msgid "Hey, what about component/[X] listening?" -msgstr "" - -#: ../../gettingstarted.rst:400 -msgid "" -"The decision has been made that this will not be implemented because of " -"two reasons: context menus currently have no ability to hold any options " -"or choices, so listening for any responses would be currently pointless. " -"Additionally, component listening is already a built-in feature that does" -" not require further customized and new decorators for explicitly context" -" menus, as they're more universal." -msgstr "" - -#: ../../gettingstarted.rst:405 -msgid "Nested commands as subcommands." -msgstr "" - -#: ../../gettingstarted.rst:406 -msgid "" -"Before you get into learning how to create a subcommand, please be sure " -"to read up on the documentation above given for how slash commands are " -"made." -msgstr "" - -#: ../../gettingstarted.rst:408 -msgid "" -"Subcommands are way to \"nest\" your slash commands under one (or more) " -"given names, as either a \"base\" name or a \"grouping\" of an existing " -"base. When this is said, it will initially appear very confusing. Let's " -"use the table shown below as a way to introduce the new fields/properties" -" that can be applied for a slash command to become a subcommand:" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "base" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "The name of the subcommand \"base.\"" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "subcommand_group" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "The name for the group of commands under the \"base.\" Field is optional." -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "base_description" -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "" -"The description when the base is active in the UX chat bar. Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "subcommand_group_description" -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "" -"The name for the group of commands under the \"base.\" Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:423 -msgid "Handling my errors." -msgstr "" - -#: ../../gettingstarted.rst:425 -msgid "" -"Thankfully, we try to make a majority of our error handling very simple. " -"If you would like to learn more about how to handle your errors, please " -"refer to our `errors`_ page. If you are looking for listener events, then" -" check our `listeners`_ page instead." -msgstr "" - -#: ../../gettingstarted.rst:428 -msgid "" -"As a side-note, as of version 3.0, message/menu commands (context menus) " -"are handled under the ``on_slash_command_error`` event." -msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/index.po b/docs/locale/fr/LC_MESSAGES/index.po index 270a136d5..62d4c17de 100644 --- a/docs/locale/fr/LC_MESSAGES/index.po +++ b/docs/locale/fr/LC_MESSAGES/index.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,108 +18,243 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../index.rst:38 +#: ../../index.rst:47 msgid "Pages:" msgstr "" #: ../../index.rst:4 -msgid "discord-interactions" +msgid "interactions.py" msgstr "" #: ../../index.rst:5 msgid "" -"No more hassle with trying to get interactions to work with your Python " -"Discord bot -- **discord-interactions** is now here." +"Ever since December 2019, this open-source project has become the " +"culmination of dedication and research towards figuring out the best way " +"to bring **interactions from Discord to you:** we are an easy, simple, " +"scalable and modular library for Discord interactions." +msgstr "" + +#: ../../index.rst:7 +msgid "" +"Tired of using numerous module dependencies for slash commands and " +"buttons?" msgstr "" #: ../../index.rst:8 +msgid "Looking for a compatible library that implements all interactions?" +msgstr "" + +#: ../../index.rst:9 +msgid "Itching to get your hands on slash commands, but in a simple manner?" +msgstr "" + +#: ../../index.rst:11 msgid "" -"**discord-interactions** is a simple API wrapper for Discord " -"interactions. We're not here to replace discord.py or any other fork, but" -" we are here to be the very best Python Discord library there is that " -"implements interactions very well. This is what our library is all about." +"Look no more! The goal of this library is to make all three of these " +"questions go from possibilites to trivial matters." msgstr "" #: ../../index.rst:14 -msgid "What are we good for?" +msgid "What can we do?" msgstr "" #: ../../index.rst:15 -msgid "We offer a **lot** of benefits with using our library:" +msgid "" +"Our library---inside and out, offers numerous benefits and presents " +"itself as a worthy module in your bot's dependencies:" msgstr "" #: ../../index.rst:17 -msgid "Modern pythonic design that is scalable and modular." -msgstr "" - -#: ../../index.rst:18 -msgid "Asynchronous coroutines and multi-threading capabilities." +msgid "The base features of our library, built with our API include:" msgstr "" #: ../../index.rst:19 -msgid "Optimal class object reference with little overhead." +msgid "" +"**Dynamic object data generation**: all event data dispatched from the " +"Gateway is dynamically transformed and generated into two-way " +"serializable JSON objects." msgstr "" #: ../../index.rst:20 -msgid "Easily accessible codebase source." +msgid "" +"**Sane rate limiting**: our HTTP client implements pre-emptive rate limit" +" avoidance, so your bot is guaranteed to never hit HTTP ``429``." msgstr "" #: ../../index.rst:21 -msgid "Stable/unstable branches for managing module stability when importing." +msgid "" +"**On-demand cache**: every HTTP request and Gateway event made is cached " +"when needed, so you never have to save information yourself." +msgstr "" + +#: ../../index.rst:22 +msgid "" +"**Simplified data models**: every object presented is accessible as " +"either a raw dictionary/``application/json`` or list of recursive " +"attributes." msgstr "" #: ../../index.rst:24 -msgid "What does that mean?" +msgid "Some more unique features that are exclusive to our interactions include:" msgstr "" -#: ../../index.rst:25 -msgid "Basically, we're good and bad for these things:" +#: ../../index.rst:26 +msgid "" +"**Event-triggered callbacks**: whether a component, application command " +"or interaction response, you'll never need to worry about bridging " +"responses." msgstr "" #: ../../index.rst:27 -msgid "✔️ Working with application commands." +msgid "" +"**Dual-way decorator logic**: a decorator can act as both a constructor " +"for an interaction, as well as a callback." msgstr "" #: ../../index.rst:28 -msgid "✔️ Handling contextual data cached from all channels." +msgid "" +"**API-strict naming**: no more confusion with the naming approach of many" +" libraries; we follow the naming style of interactions from the " +"officially curated Discord Developers documentation." msgstr "" #: ../../index.rst:29 -msgid "✔️ General/basic assignment of guild properties to members." +msgid "" +"**Extensive framework structure**: build your own tools and technologies " +"for our library to develop and integrate community creations." msgstr "" -#: ../../index.rst:30 -msgid "✔️ Responsive callbacks for buttons and select menus." +#: ../../index.rst:32 +msgid "What do we not offer?" msgstr "" -#: ../../index.rst:31 -msgid "✔️ Voice client capabilities." +#: ../../index.rst:33 +msgid "" +"While we certainly offer a lot of benefits, we unfortunately have our own" +" downsides:" msgstr "" -#: ../../index.rst:32 -msgid "❌ Cooldowns/bucket types." +#: ../../index.rst:36 +msgid "" +"This list is subject to change as time goes on: some of these items may " +"be added to the core of the library in the future." +msgstr "" + +#: ../../index.rst:40 +msgid "No native cooldown decorator/method." msgstr "" -#: ../../index.rst:35 +#: ../../index.rst:41 +msgid "Lack of automatic sharding and voice clients." +msgstr "" + +#: ../../index.rst:44 msgid "Where do I start?" msgstr "" -#: ../../index.rst:36 -msgid "Please look at our pages below to find out where to go further." +#: ../../index.rst:45 +msgid "Please look at our pages below to find out where to go." msgstr "" -#: ../../index.rst:47 +#: ../../index.rst:57 +msgid "How can I contribute?" +msgstr "" + +#: ../../index.rst:58 +msgid "" +"Please read up on our `contribution requirements`_ for the project. This " +"open-source project also enforces the `MIT License`_." +msgstr "" + +#: ../../index.rst:60 +msgid "This open-source project utilizes the following workflows for development:" +msgstr "" + +#: ../../index.rst:62 +msgid "" +"**pre-commit** ``2.16.0``: the architecture uses this before every commit" +" to format and check for severity/QOL-breaking changes." +msgstr "" + +#: ../../index.rst:64 +msgid "**black** ``21.11b1``" +msgstr "" + +#: ../../index.rst:65 +msgid "**flake8** ``3.9.2``" +msgstr "" + +#: ../../index.rst:66 +msgid "**isort** ``5.9.3``" +msgstr "" + +#: ../../index.rst:68 +msgid "" +"**Sphinx** ``4.1.2``: all of our documentation is powered off of " +"autogenerated documentation of the Sphinx engine." +msgstr "" + +#: ../../index.rst:69 +msgid "" +"**colorama** ``0.4.4``: our internal logger uses a customized coloring " +"formatter to make looking for specific conditions easier when running " +"tests." +msgstr "" + +#: ../../index.rst:70 +msgid "" +"**Conventional Commits** ``1.0.0``: every commit that we make to our " +"branches use the official specification of CC 1.0.0 to make git graphs " +"easier when improving and refining communication between code reviews, " +"Pull Requests and commits." +msgstr "" + +#: ../../index.rst:73 +msgid "When can I start?" +msgstr "" + +#: ../../index.rst:74 +msgid "" +"We also have some extra ground rules about making any specific " +"contributions involving:" +msgstr "" + +#: ../../index.rst:76 +msgid "" +"We do not accept abstraction-based requests. (e.g. ``colour`` for " +"``color``)" +msgstr "" + +#: ../../index.rst:77 +msgid "A request has to be approved by at least one developer." +msgstr "" + +#: ../../index.rst:78 +msgid "" +"You must be willing to change/adhere to reviews from participants **where" +" necessary.**" +msgstr "" + +#: ../../index.rst:81 +msgid "I think I'm all ready!" +msgstr "" + +#: ../../index.rst:82 +msgid "Feel free to begin making `Pull Requests`_ and `Issues`_ on our GitHub!" +msgstr "" + +#: ../../index.rst:85 msgid "Advanced Search" msgstr "" -#: ../../index.rst:49 +#: ../../index.rst:87 msgid ":ref:`genindex`" msgstr "" -#: ../../index.rst:50 +#: ../../index.rst:88 msgid ":ref:`modindex`" msgstr "" -#: ../../index.rst:51 +#: ../../index.rst:89 msgid ":ref:`search`" msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/migration.po b/docs/locale/fr/LC_MESSAGES/migration.po new file mode 100644 index 000000000..d07c11207 --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/migration.po @@ -0,0 +1,101 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../migration.rst:2 +msgid "Migration" +msgstr "" + +#: ../../migration.rst:4 +msgid "" +"This page aims to serve as a guide towards helping users understand any " +"breaking or otherwise important design choices made between versions to " +"guide towards easy migration between one another." +msgstr "" + +#: ../../migration.rst:8 +msgid "4.0.1 → 4.0.2" +msgstr "" + +#: ../../migration.rst:10 +msgid "" +"The biggest major change between these two versions is the way " +"``HTTPClient`` and modelled API schema objects are used. In ``4.0.2``, a " +"new ``_client`` attribute is added in model objects in order to use " +"helper methods. This will not be needed if you're working with dispatched" +" events from the Gateway, however, manually generating your own model " +"object for use will need it appended as a key-word argument. The example " +"below shows this change:" +msgstr "" + +#: ../../migration.rst:25 +msgid "" +"This change was added in favor for being able to use endpoints in an " +"abstracted state." +msgstr "" + +#: ../../migration.rst:28 +msgid "4.0.2 → 4.1.0" +msgstr "" + +#: ../../migration.rst:30 +msgid "" +"``4.1.0`` introduces numerous breaking changes that affect the bot " +"developers' ability to work with mainly modifying the way our Gateway " +"processes information, as well as supplying a ``reason`` argument to " +"``HTTPClient``-based methods." +msgstr "" + +#: ../../migration.rst:33 +msgid "" +"In this version, you are no longer required to give a ``reason`` for " +"every HTTP request. You can instead send it as an optional, which will " +"work to keep any existing modifications of our codebase from breaking." +msgstr "" + +#: ../../migration.rst:36 +msgid "" +"Additionally, modifying the way information is dispatched from the " +"Gateway must be done like this now:" +msgstr "" + +#: ../../migration.rst:49 +msgid "" +"We recommend that working in correspondence with this, you should be " +"making use of our ``interactions.ext`` SDK framework." +msgstr "" + +#: ../../migration.rst:51 +msgid "" +"A slight, yet another breaking change we made was dundering numerous " +"attributes in our internal models. You will now need to refer to the " +"client's HTTP object as ``_http`` instead of ``http``. In order to view " +"the full list of these, we highly encourage you to view the documentation" +" readily available." +msgstr "" + +#: ../../migration.rst:55 +msgid "" +"The last, and most major change is the introduction of the " +"``MESSAGE_CONTENT`` privileged intent in the library. Because of " +"``4.1.0`` using version 10 of the Discord API, this intent is now " +"required for reading all message content. In order to make sure your bot " +"works still, you will need to enable this intent in your bot's developer " +"portal and add the intent to your current intents when connecting:" +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/models.command.po b/docs/locale/fr/LC_MESSAGES/models.command.po index e7707bfba..063440091 100644 --- a/docs/locale/fr/LC_MESSAGES/models.command.po +++ b/docs/locale/fr/LC_MESSAGES/models.command.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,122 +22,195 @@ msgstr "" msgid "Application Command Models" msgstr "" -#: interactions.models.command.Choice:1 of -msgid "A class object repesenting the choice of an option." +#: interactions.client.models.command.Choice:1 of +msgid "A class object representing the choice of an option." msgstr "" -#: interactions.models.command.Choice:4 of +#: interactions.client.models.command.Choice:4 of msgid "" "``value`` allows ``float`` as a passable value type, whereas it's " "supposed to be ``double``." msgstr "" -#: interactions.models.command.ApplicationCommand -#: interactions.models.command.Choice interactions.models.command.Option -#: interactions.models.command.Permission of +#: interactions.client.models.command.Choice:7 of +msgid "The structure for a choice: ::" +msgstr "" + +#: interactions.client.models.command.ApplicationCommand +#: interactions.client.models.command.Choice +#: interactions.client.models.command.Option +#: interactions.client.models.command.Permission of msgid "Variables" msgstr "" -#: interactions.models.command.Choice:7 of +#: interactions.client.models.command.Choice:11 of msgid "The name of the choice." msgstr "" -#: interactions.models.command.Choice:8 of +#: interactions.client.models.command.Choice:12 of msgid "The returned value of the choice." msgstr "" -#: interactions.models.command.Option:1 of +#: interactions.client.models.command.Choice:13 +#: interactions.client.models.command.Option:32 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.models.command.Option:1 of msgid "A class object representing the option of an application command." msgstr "" -#: interactions.models.command.Option:4 of +#: interactions.client.models.command.Option:4 of msgid "``options`` is only present for when a subcommand has been established." msgstr "" -#: interactions.models.command.Option:7 of +#: interactions.client.models.command.Option:7 of +msgid "" +"``min_values`` and ``max_values`` are useful primarily for integer based " +"options." +msgstr "" + +#: interactions.client.models.command.Option:10 of +msgid "The structure for an option: ::" +msgstr "" + +#: interactions.client.models.command.Option:20 of msgid "The type of option." msgstr "" -#: interactions.models.command.Option:8 of +#: interactions.client.models.command.Option:21 of msgid "The name of the option." msgstr "" -#: interactions.models.command.Option:9 of +#: interactions.client.models.command.Option:22 of msgid "The description of the option." msgstr "" -#: interactions.models.command.Option:10 of +#: interactions.client.models.command.Option:23 of msgid "Whether the option is currently being autocompleted or not." msgstr "" -#: interactions.models.command.Option:11 of +#: interactions.client.models.command.Option:24 of msgid "Whether the option has to be filled out." msgstr "" -#: interactions.models.command.Option:12 of +#: interactions.client.models.command.Option:25 of msgid "The value that's currently typed out, if autocompleting." msgstr "" -#: interactions.models.command.Option:13 of +#: interactions.client.models.command.Option:26 of msgid "The list of choices to select from." msgstr "" -#: interactions.models.command.Option:14 of +#: interactions.client.models.command.Option:27 of msgid "The list of subcommand options included." msgstr "" -#: interactions.models.command.Option:15 of +#: interactions.client.models.command.Option:28 of msgid "Restrictive shown channel types, if given." msgstr "" -#: interactions.models.command.Permission:1 of +#: interactions.client.models.command.Option:29 of +msgid "The minimum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:30 of +msgid "The maximum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:31 of +msgid "A status denoting whether this option is an autocomplete option." +msgstr "" + +#: interactions.client.models.command.Option:33 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.models.command.Permission:1 of msgid "A class object representing the permission of an application command." msgstr "" -#: interactions.models.command.Permission:3 of +#: interactions.client.models.command.Permission:3 of +msgid "The structure for a permission: ::" +msgstr "" + +#: interactions.client.models.command.Permission:10 of msgid "The ID of the permission." msgstr "" -#: interactions.models.command.Permission:4 of +#: interactions.client.models.command.Permission:11 of msgid "The type of permission." msgstr "" -#: interactions.models.command.Permission:5 of +#: interactions.client.models.command.Permission:12 of msgid "The permission state. ``True`` for allow, ``False`` for disallow." msgstr "" -#: interactions.models.command.ApplicationCommand:1 of +#: interactions.client.models.command.ApplicationCommand:1 of msgid "A class object representing all types of commands." msgstr "" -#: interactions.models.command.ApplicationCommand:3 of +#: interactions.client.models.command.ApplicationCommand:4 of +msgid "" +"This object is inferred upon whenever the client is caching information " +"about commands from an HTTP request and/or the Gateway. Do not use this " +"object for declaring commands." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:8 of msgid "The ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:4 of +#: interactions.client.models.command.ApplicationCommand:9 of msgid "The application command type." msgstr "" -#: interactions.models.command.ApplicationCommand:5 of +#: interactions.client.models.command.ApplicationCommand:10 of msgid "The general application ID of the command itself." msgstr "" -#: interactions.models.command.ApplicationCommand:6 of +#: interactions.client.models.command.ApplicationCommand:11 of msgid "The guild ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:7 of +#: interactions.client.models.command.ApplicationCommand:12 of msgid "The name of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:8 of +#: interactions.client.models.command.ApplicationCommand:13 of msgid "The description of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:9 of +#: interactions.client.models.command.ApplicationCommand:14 of msgid "The \"options\"/arguments of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:10 of +#: interactions.client.models.command.ApplicationCommand:15 of msgid "The default permission accessibility state of the application command." msgstr "" + +#: interactions.client.models.command.ApplicationCommand:16 of +msgid "The Application Command version autoincrement identifier." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:17 of +msgid "The default member permission state of the application command." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:18 of +msgid "The application permissions if executed in a Direct Message." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:19 of +msgid "The localisation dictionary for the application command name, if any." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:20 of +msgid "" +"The localisation dictionary for the application command description, if " +"any." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/models.component.po b/docs/locale/fr/LC_MESSAGES/models.component.po index 8e89bd571..97de1c249 100644 --- a/docs/locale/fr/LC_MESSAGES/models.component.po +++ b/docs/locale/fr/LC_MESSAGES/models.component.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,150 +22,290 @@ msgstr "" msgid "Component Models" msgstr "" -#: interactions.models.component.SelectOption:1 of -msgid "A class object representing the select option of a select menu." +#: interactions.client.models.component.SelectOption:1 of +msgid "" +"A class object representing the select option of a select menu. The " +"structure for a select option: ::" msgstr "" -#: interactions.models.component.Button interactions.models.component.Component -#: interactions.models.component.SelectMenu -#: interactions.models.component.SelectOption of +#: interactions.client.models.component.ActionRow +#: interactions.client.models.component.Button +#: interactions.client.models.component.Component +#: interactions.client.models.component.Modal +#: interactions.client.models.component.SelectMenu +#: interactions.client.models.component.SelectOption +#: interactions.client.models.component.TextInput of msgid "Variables" msgstr "" -#: interactions.models.component.SelectOption:3 of +#: interactions.client.models.component.SelectOption:8 of msgid "The label of the select option." msgstr "" -#: interactions.models.component.SelectOption:4 of +#: interactions.client.models.component.SelectOption:9 of msgid "The returned value of the select option." msgstr "" -#: interactions.models.component.SelectOption:5 of +#: interactions.client.models.component.SelectOption:10 of msgid "The description of the select option." msgstr "" -#: interactions.models.component.SelectOption:6 of +#: interactions.client.models.component.SelectOption:11 of msgid "The emoji used alongside the label of the select option." msgstr "" -#: interactions.models.component.SelectOption:7 of +#: interactions.client.models.component.SelectOption:12 of msgid "Whether the select option is the default for the select menu." msgstr "" -#: interactions.models.component.SelectMenu:1 of -msgid "A class object representing the select menu of a component." +#: interactions.client.models.component.SelectMenu:1 of +msgid "" +"A class object representing the select menu of a component. The structure" +" for a select menu: ::" msgstr "" -#: interactions.models.component.SelectMenu:3 of -msgid "The type of select menu." +#: interactions.client.models.component.SelectMenu:8 of +msgid "The type of select menu. Always defaults to ``3``." msgstr "" -#: interactions.models.component.SelectMenu:4 of +#: interactions.client.models.component.SelectMenu:9 of msgid "The customized \"ID\" of the select menu." msgstr "" -#: interactions.models.component.SelectMenu:5 of +#: interactions.client.models.component.SelectMenu:10 of msgid "The list of select options in the select menu." msgstr "" -#: interactions.models.component.SelectMenu:6 of +#: interactions.client.models.component.SelectMenu:11 of msgid "The placeholder of the select menu." msgstr "" -#: interactions.models.component.Component:16 -#: interactions.models.component.SelectMenu:7 of +#: interactions.client.models.component.Component:19 +#: interactions.client.models.component.SelectMenu:12 of msgid "The minimum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.Component:17 -#: interactions.models.component.SelectMenu:8 of +#: interactions.client.models.component.Component:20 +#: interactions.client.models.component.SelectMenu:13 of msgid "The maximum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.SelectMenu:9 of +#: interactions.client.models.component.SelectMenu:14 of msgid "Whether the select menu is unable to be used." msgstr "" -#: interactions.models.component.Button:1 of -msgid "A class object representing the button of a component." +#: interactions.client.models.component.Button:1 of +msgid "" +"A class object representing the button of a component. The structure for " +"a button: ::" msgstr "" -#: interactions.models.component.Button:3 of -msgid "The type of button." +#: interactions.client.models.component.Button:8 of +msgid "The type of button. Always defaults to ``2``." msgstr "" -#: interactions.models.component.Button:4 of +#: interactions.client.models.component.Button:9 of msgid "The style of the button." msgstr "" -#: interactions.models.component.Button:5 of +#: interactions.client.models.component.Button:10 of msgid "The label of the button." msgstr "" -#: interactions.models.component.Button:6 of -msgid "The emoji used alongside the laebl of the button." +#: interactions.client.models.component.Button:11 of +msgid "The emoji used alongside the label of the button." msgstr "" -#: interactions.models.component.Button:7 of +#: interactions.client.models.component.Button:12 of msgid "The customized \"ID\" of the button." msgstr "" -#: interactions.models.component.Button:8 of +#: interactions.client.models.component.Button:13 of msgid "The URL route/path of the button." msgstr "" -#: interactions.models.component.Button:9 of +#: interactions.client.models.component.Button:14 of msgid "Whether the button is unable to be used." msgstr "" -#: interactions.models.component.Component:1 of +#: interactions.client.models.component.Component:1 of msgid "" -"A class object representing the componeent in an interaction " +"A class object representing the component in an interaction " "response/followup." msgstr "" -#: interactions.models.component.Component:4 of +#: interactions.client.models.component.Component:4 of msgid "" "``components`` is only applicable if an ActionRow is supported, otherwise" " ActionRow-less will be opted. ``list`` is in reference to the class." msgstr "" -#: interactions.models.component.Component:7 of +#: interactions.client.models.component.Component:7 of +msgid "" +"This object class is only inferred upon when the gateway is processing " +"back information involving a component. Do not use this object for " +"sending." +msgstr "" + +#: interactions.client.models.component.Component:10 of msgid "The type of component." msgstr "" -#: interactions.models.component.Component:8 of +#: interactions.client.models.component.Component:11 of msgid "The customized \"ID\" of the component." msgstr "" -#: interactions.models.component.Component:9 of +#: interactions.client.models.component.Component:12 of msgid "Whether the component is unable to be used." msgstr "" -#: interactions.models.component.Component:10 of +#: interactions.client.models.component.Component:13 of msgid "The style of the component." msgstr "" -#: interactions.models.component.Component:11 of +#: interactions.client.models.component.Component:14 of msgid "The label of the component." msgstr "" -#: interactions.models.component.Component:12 of +#: interactions.client.models.component.Component:15 of msgid "The emoji used alongside the label of the component." msgstr "" -#: interactions.models.component.Component:13 of +#: interactions.client.models.component.Component:16 of msgid "The URl route/path of the component." msgstr "" -#: interactions.models.component.Component:14 of +#: interactions.client.models.component.Component:17 of msgid "The \"choices\"/options of the component." msgstr "" -#: interactions.models.component.Component:15 of +#: interactions.client.models.component.Component:18 of msgid "The placeholder text/value of the component." msgstr "" -#: interactions.models.component.Component:18 of +#: interactions.client.models.component.Component:21 of msgid "A list of components nested in the component." msgstr "" + +#: interactions.client.models.component.Component:22 of +msgid "The minimum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:23 of +msgid "The maximum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:24 of +msgid "Whether this component is required to be filled." +msgstr "" + +#: interactions.client.models.component.Component:25 of +msgid "The pre-filled value of the component." +msgstr "" + +#: interactions.client.models.component.TextInput:1 of +msgid "" +"A class object representing the text input of a modal. The structure for " +"a text input: ::" +msgstr "" + +#: interactions.client.models.component.TextInput:10 of +msgid "The type of input. Always defaults to ``4``." +msgstr "" + +#: interactions.client.models.component.TextInput:11 of +msgid "The style of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:12 of +msgid "The custom Id of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:13 of +msgid "The label of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:14 of +msgid "The pre-filled value of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:15 of +msgid "Whether the input is required or not." +msgstr "" + +#: interactions.client.models.component.TextInput:16 of +msgid "The placeholder of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:17 of +msgid "The minimum length of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:18 of +msgid "The maximum length of the input." +msgstr "" + +#: interactions.client.models.component.Modal:1 of +msgid "A class object representing a modal." +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid "The structure for a modal: ::" +msgstr "" + +#: interactions.client.models.component.Modal:6 of +msgid "interactions.Modal(" +msgstr "" + +#: interactions.client.models.component.Modal:5 of +msgid "" +"title=\"Application Form\", custom_id=\"mod_app_form\", " +"components=[interactions.TextInput(...)]," +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid ")" +msgstr "" + +#: interactions.client.models.component.Modal:10 of +msgid "The custom ID of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:11 of +msgid "The title of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:12 of +msgid "The components of the modal." +msgstr "" + +#: interactions.client.models.component.ActionRow:1 of +msgid "" +"A class object representing the action row for interaction responses " +"holding components." +msgstr "" + +#: interactions.client.models.component.ActionRow:4 of +msgid "" +"A message cannot have more than 5 ActionRow's supported. An ActionRow may" +" also support only 1 text input component only." +msgstr "" + +#: interactions.client.models.component.ActionRow:13 of +msgid "The structure for an action row: ::" +msgstr "" + +#: interactions.client.models.component.ActionRow:9 of +msgid "" +"# \"...\" represents a component object. # Method 1: " +"interactions.ActionRow(...) # Method 2: " +"interactions.ActionRow(components=[...])" +msgstr "" + +#: interactions.client.models.component.ActionRow:15 of +msgid "The type of component. Always defaults to ``1``." +msgstr "" + +#: interactions.client.models.component.ActionRow:16 of +msgid "A list of components the ActionRow has, if any." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/models.misc.po b/docs/locale/fr/LC_MESSAGES/models.misc.po new file mode 100644 index 000000000..f5d1bb814 --- /dev/null +++ b/docs/locale/fr/LC_MESSAGES/models.misc.po @@ -0,0 +1,145 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../models.misc.rst:4 +msgid "Miscellaneous Models" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:1 of +msgid "A class representing the resolved information of an interaction data." +msgstr "" + +#: interactions.client.models.misc.Interaction +#: interactions.client.models.misc.InteractionData +#: interactions.client.models.misc.InteractionResolvedData of +msgid "Variables" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:3 of +msgid "The resolved users data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:4 of +msgid "The resolved members data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:5 of +msgid "The resolved roles data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:6 of +msgid "The resolved channels data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:7 of +msgid "The resolved messages data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:8 of +msgid "The resolved attachments data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:1 of +msgid "A class object representing the data of an interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:3 of +msgid "The ID of the interaction data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:4 of +msgid "The name of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:5 of +msgid "The type of command from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:6 of +msgid "The resolved version of the data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:7 of +msgid "The options of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:8 of +msgid "The custom ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:9 of +msgid "The type of component from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:10 of +msgid "The values of the selected options in the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:11 of +msgid "The targeted ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:1 of +msgid "A class object representing an interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:3 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:4 of +msgid "The application's ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:5 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:6 of +msgid "The data of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:7 of +msgid "The guild ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:8 of +msgid "The channel ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:9 of +msgid "The member who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:10 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:11 of +msgid "The token of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:12 of +msgid "The version of the interaction as an autoincrement identifier." +msgstr "" + +#: interactions.client.models.misc.Interaction:13 of +msgid "The message of the interaction." +msgstr "" diff --git a/docs/locale/fr/LC_MESSAGES/models.po b/docs/locale/fr/LC_MESSAGES/models.po index fb08d7dd7..a322bcb50 100644 --- a/docs/locale/fr/LC_MESSAGES/models.po +++ b/docs/locale/fr/LC_MESSAGES/models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/fr/LC_MESSAGES/quickstart.po b/docs/locale/fr/LC_MESSAGES/quickstart.po index d3be63677..eff5b5f5a 100644 --- a/docs/locale/fr/LC_MESSAGES/quickstart.po +++ b/docs/locale/fr/LC_MESSAGES/quickstart.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,48 +22,134 @@ msgstr "" msgid "Quickstart" msgstr "" -#: ../../quickstart.rst:4 -msgid "" -"Looking into trying to get started with our library? Well, you've come to" -" the right page then!" +#: ../../quickstart.rst:5 +msgid "Installing" msgstr "" -#: ../../quickstart.rst:8 +#: ../../quickstart.rst:7 msgid "" -"This quickstart guide is extremely rough and contains experimental code. " -"Do not follow us strictly until v4.0 is released! Everything is subject " -"to change in here due to the development of the API wrapper continuously " -"being reflected." +"**discord-interactions** is a :ref:`Python library ` for the Discord Application Programming Interface. (API) A" +" library in Python has to be installed through the `pip` file. Run this " +"in your terminal/command line in order to install our library:" +msgstr "" + +#: ../../quickstart.rst:11 +msgid "``pip install -U discord-py-interactions``" msgstr "" #: ../../quickstart.rst:14 -msgid "Installing" +msgid "Creating a Bot" msgstr "" #: ../../quickstart.rst:16 msgid "" -"**discord-interactions** is a Python library for the Discord Artificial " -"Programming Interface. (API) A library in Python has to be installed " -"through the `pip` file. Run this in your terminal/command line in order " -"to install our library:" +"Before you can run your Bot, you have to create it first. If you did it " +"already, make sure you :ref:`invited ` your Bot properly." +msgstr "" + +#: ../../quickstart.rst:18 +msgid "" +"In order to create your Bot, you need to create an application first. Go " +"to the `discord applications page`_ for that. After you logged in, you " +"will see this at the top:" +msgstr "" + +#: ../../quickstart.rst:23 +msgid "" +"Click the ``New Application`` button, enter a name and then click " +"``create``." +msgstr "" + +#: ../../quickstart.rst:25 +msgid "The name you choose is going to be your Bots name." +msgstr "" + +#: ../../quickstart.rst:27 +msgid "You will be redirected to a new page. On the left you will see this:" +msgstr "" + +#: ../../quickstart.rst:31 +msgid "" +"Click on ``Bot``. You again will be redirected to another page, looking " +"like this:" +msgstr "" + +#: ../../quickstart.rst:35 +msgid "Click on ``Add Bot`` and then on ``Yes, do it!``." +msgstr "" + +#: ../../quickstart.rst:37 +msgid "And that's it! You created your Bot!" +msgstr "" + +#: ../../quickstart.rst:40 +msgid "" +"You will see a field called ``TOKEN``. This is the access token, used to " +"run your bot. You will need this later to start your Bot." +msgstr "" + +#: ../../quickstart.rst:43 +msgid "" +"**Do NOT give this to other persons! They can get full control over your " +"Bot with your token and execute what they want!**" +msgstr "" + +#: ../../quickstart.rst:45 +msgid "" +"If you revealed your token, you should **immediately** go to your Bots " +"application page and click the ``Regenerate`` Button under your token. " +"This will delete the old token, so your bot can't be run with it anymore." +msgstr "" + +#: ../../quickstart.rst:49 +msgid "Invite the Bot to your guild" +msgstr "" + +#: ../../quickstart.rst:50 +msgid "" +"Now you have a Bot, but you can't create commands because it isn't in any" +" guilds. So, let's invite it to your guild!" +msgstr "" + +#: ../../quickstart.rst:54 +msgid "Click on ``OAuth2``, then on ``URL Generator``." +msgstr "" + +#: ../../quickstart.rst:56 +msgid "" +"You have to enable the ``bot`` and ``application.commands`` scope, to " +"allow your bot to create slash commands." msgstr "" -#: ../../quickstart.rst:20 -msgid "``pip install -U discord-interactions``" +#: ../../quickstart.rst:60 +msgid "" +"After setting that up, a ``BOT PERMISSIONS`` field will appear. You can " +"choose permissions you want to have your bot there." msgstr "" -#: ../../quickstart.rst:22 +#: ../../quickstart.rst:62 msgid "" -"If you're unable to run it through your terminal/command line, you need " -"to make sure that it's accessible as an Environment Path. Search more on " -"Google for how to do this." +"When you are done with choosing the permissions, go to the bottom of the " +"page, copy the the url and open it in a new window." msgstr "" -#: ../../quickstart.rst:26 -msgid "Minimal Bot" +#: ../../quickstart.rst:64 +msgid "" +"You will be prompted to a new page. Select your guild, click " +"``Authorise`` and your Bot should show up in your guild." msgstr "" -#: ../../quickstart.rst:28 +#: ../../quickstart.rst:66 +msgid "Now you can go on with running your bot and creating your first commands!" +msgstr "" + +#: ../../quickstart.rst:71 +msgid "Running the Bot and creating commands" +msgstr "" + +#: ../../quickstart.rst:73 msgid "" "Bots can be a little confusing to create. That's why we've decided to try" " and make the process as streamlined as humanly possible, in order for it" @@ -73,58 +159,299 @@ msgid "" "first before this, as a Discord bot is not exactly beginner-friendly." msgstr "" -#: ../../quickstart.rst:34 -msgid "This code block below shows a simple bot being created:" +#: ../../quickstart.rst:81 +msgid "First, let's run the bot:" msgstr "" -#: ../../quickstart.rst:52 -msgid "" -"There's quite a lot of things that are going on here, so let's break it " -"down step-by-step:" +#: ../../quickstart.rst:92 +msgid "And that's it! Your bot should now turn online in discord!" msgstr "" -#: ../../quickstart.rst:54 +#: ../../quickstart.rst:94 +msgid "Let's take a look now at what is happening here:" +msgstr "" + +#: ../../quickstart.rst:96 msgid "" "``import interactions`` -- This is the import line. If this returns a " -"``ModuleNotFoundError``, please look at our `Installing`_ section here." +"``ModuleNotFoundError``, please look at our section on how to " +":ref:`install ` here." msgstr "" -#: ../../quickstart.rst:55 +#: ../../quickstart.rst:97 msgid "" -"``bot = interactions.Client(token=\"...\")`` -- This is the ``bot`` " -"variable that defines our bot. This basically instantiates the `Client`_ " -"class, which requires a ``token`` keyword-argument to be passed. In order" -" to get a token, please look at the image given below." +"``bot = interactions.Client(token=\"your_secret_bot_token\")`` -- This is" +" the ``bot`` variable that defines our bot. This basically instantiates " +"the :ref:`application client `, which requires a " +"``token`` keyword-argument to be passed. You have to put in your " +"(previously mentioned) secret token here." msgstr "" -#: ../../quickstart.rst:56 +#: ../../quickstart.rst:98 msgid "" -"``@bot.application_command()`` -- This is something known as a " -"*decorator* in Python. This decorator is in charge and responsible of " -"making sure that the Discord API is told about the slash/sub command that" -" you wish to create, and sends an HTTP request correspondingly. Any " -"changes to the information contained in this decorator will be " -"synchronously updated with the API automatically for you." +"``bot.start()`` -- Finally, this is what tells our library to turn your " +"bot from offline to online." msgstr "" -#: ../../quickstart.rst:57 +#: ../../quickstart.rst:102 +msgid "Now, let's create our first slash command:" +msgstr "" + +#: ../../quickstart.rst:120 +msgid "Now, let's look what the new parts of the code are doing:" +msgstr "" + +#: ../../quickstart.rst:122 msgid "" -"``await ctx.send(\"Hello world!\")`` -- This is what lets us send a " -"\"message\", or otherwise known as an interaction response back to the " -"Discord API for us. ``ctx`` is abbreviated as the \"context\" of the " -"command, so numerous fields and attributes such as channels, guilds; and " -"etc. are able to be inputted." +"``@bot.command()`` -- This is something known as a *decorator* in Python." +" This decorator is in charge and responsible of making sure that the " +"Discord API is told about the slash/sub command that you wish to create, " +"and sends an HTTP request correspondingly. Any changes to the information" +" contained in this decorator will be synchronously updated with the API " +"automatically for you. The ``scope`` field shown here is optional, which " +"represents a guild command if you wish to have a command appear in only " +"specific servers that bot is in. This can be a guild object or the ID." msgstr "" -#: ../../quickstart.rst:58 +#: ../../quickstart.rst:123 +msgid "``name`` -- This is the name of your command." +msgstr "" + +#: ../../quickstart.rst:124 +msgid "``description`` -- This is the description of your command." +msgstr "" + +#: ../../quickstart.rst:125 msgid "" -"``bot.start()`` -- Finally, this is what tells our library to turn your " -"bot from offline to online." +"``async def my_first_command(ctx: interactions.CommandContext):`` -- This" +" here is called our \"command coroutine,\" or what our library internally" +" calls upon each time it recognizes an interaction event from the Discord" +" API that affiliates with the data we've put into the decorator above it." +" Please note that ``ctx`` is an abbreviation for :ref:`context " +"`." msgstr "" -#: ../../quickstart.rst:62 +#: ../../quickstart.rst:126 +msgid "" +"``await ctx.send(\"Hi there!\")`` -- This sends the response to your " +"command." +msgstr "" + +#: ../../quickstart.rst:128 +msgid "``name`` and ``description`` are required." +msgstr "" + +#: ../../quickstart.rst:131 +msgid "Difference between global and guild slash commands:" +msgstr "" + +#: ../../quickstart.rst:133 +msgid "" +"guild slash commands are instantly available in the guild with the given " +"id. In order to copy your guild ID you have to enable the developer mode " +"in discord and then right-click on the guild. This is also shown in the " +"pictures beyond." +msgstr "" + +#: ../../quickstart.rst:134 +msgid "" +"global commands are created by *not* including the ``scope`` argument " +"into the ``@bot.command`` decorator. They will appear in all guilds your " +"Bot is in. This process can take up to one hour to be completed on all " +"guilds." +msgstr "" + +#: ../../quickstart.rst:141 +msgid "Next, let's create an Option" +msgstr "" + +#: ../../quickstart.rst:143 +msgid "" +":ref:`Options ` are extra " +"arguments of a command, filled in by the user executing the command." +msgstr "" + +#: ../../quickstart.rst:171 +msgid "The limit for options per command is 25." +msgstr "" + +#: ../../quickstart.rst:174 +msgid "Nested commands: subcommands" +msgstr "" + +#: ../../quickstart.rst:218 +msgid "You can add a SUB_COMMAND_GROUP in between the base and command." +msgstr "" + +#: ../../quickstart.rst:222 +msgid "Special type of commands: Context menus" +msgstr "" + +#: ../../quickstart.rst:224 +msgid "" +"While, granted that application commands are way more intuitive and " +"easier to work with as both a bot developer and user from a UX approach, " +"some may not want to always type the same command over and over again to " +"repeat a repetitive task. Introducing: **context menus.** Also known as " +"\"user\" and \"message\" respectively, this simple switch in command " +"structure allows you to quickly empower your bot with the ability to make" +" right-click actions with menial effort." +msgstr "" + +#: ../../quickstart.rst:230 +msgid "" +"In order to create a menu-based command, all you need to do is simply add" +" this one line into your ``@command`` decorator:" +msgstr "" + +#: ../../quickstart.rst:245 +msgid "" +"The structure of a menu command differs significantly from that of a " +"regular one:" +msgstr "" + +#: ../../quickstart.rst:247 +msgid "You cannot have any options or choices." +msgstr "" + +#: ../../quickstart.rst:248 +msgid "You cannot have a description." +msgstr "" + +#: ../../quickstart.rst:249 +msgid "The ``name`` filter follows a different regex pattern." +msgstr "" + +#: ../../quickstart.rst:252 +msgid "Creating and sending Components" +msgstr "" + +#: ../../quickstart.rst:254 +msgid "" +"Being able to run your own commands is very useful for a lot of " +"automation-related purposes as a bot developer, however, we also have " +"something that we're able to introduce for both the developer and a user " +"to use that will be the \"sprinkles\" on top of a cupcake, so-to-speak: " +"components." +msgstr "" + +#: ../../quickstart.rst:259 +msgid "" +"Components are ways of being able to select pre-defined data, or define " +"your own. They're very simple but quite powerful when put into practice " +"This code block below shows a simplified implementation of a component:" +msgstr "" + +#: ../../quickstart.rst:285 +msgid "" +"This is a design that we ended up choosing to simplify responding to " +"buttons when someone presses on one, and to allow bot developers to plug " +"in *which* button they want a response to. No more ``wait_for_component``" +" and ``wait_for`` functions with huge if-else chains; this removes " +"redundancy in your code and overall eases into the practice of " +"modularity." +msgstr "" + +#: ../../quickstart.rst:292 +msgid "What kinds of components are there?" +msgstr "" + +#: ../../quickstart.rst:294 +msgid "" +"As a bot developer, this may be fairly important for you to want to know." +" Different components provide difference user experiences, interactions " +"and results. Currently you can choose between three components that " +"Discord provides: a ``Button``, ``SelectMenu`` and ``TextInput``. You're " +"able to `find these component types`_ here." +msgstr "" + +#: ../../quickstart.rst:301 +msgid "How do I send components in a row?" +msgstr "" + +#: ../../quickstart.rst:303 +msgid "" +"You are also able to organize these components into rows, which are " +"defined as ``ActionRow``'s. It is worth noting that you can have only a " +"maximum of 5 per message that you send. This code block below shows how:" +msgstr "" + +#: ../../quickstart.rst:330 +msgid "" +"By default, the ``components`` keyword-argument field in the context " +"sending method will always support ``ActionRow``-less sending: you only " +"need to declare rows whenever you need or want to. This field will also " +"support raw arrays and tables, if you so wish to choose to not use our " +"class objects instead." +msgstr "" + +#: ../../quickstart.rst:336 +msgid "" +"You cannot use ``TextInput`` with the above shown method. Look :ref:`here" +" ` how to create and send them." +msgstr "" + +#: ../../quickstart.rst:341 +msgid "Creating a TextInput" +msgstr "" + +#: ../../quickstart.rst:342 +msgid "You want to get a Text from a user? You can use ``TextInput`` for that." +msgstr "" + +#: ../../quickstart.rst:354 +msgid "" +"But how to send it? You can't use ``ctx.send`` for it. Take a look at " +":ref:`Modals ` for that." +msgstr "" + +#: ../../quickstart.rst:358 +msgid "Modals" +msgstr "" + +#: ../../quickstart.rst:359 +msgid "" +"Modals are a new way to interact with a user. Currently only a " +"``TextInput`` component is supported. You can have up to five " +"``TextInput`` in a Modal." +msgstr "" + +#: ../../quickstart.rst:372 +msgid "with the ``TextInput`` example from above we get:" +msgstr "" + +#: ../../quickstart.rst:377 +msgid "Responding to a Modal interaction" +msgstr "" + +#: ../../quickstart.rst:385 +msgid "" +"You can respond to a modal the same way as you would respond to a normal " +"``chat-input`` command, except your function has an extra argument for " +"the text what was put into the modal." +msgstr "" + +#: ../../quickstart.rst:388 +msgid "Adding v2 Permissions" +msgstr "" + +#: ../../quickstart.rst:390 +msgid "" +"v2 permissions consist of the ``default_member_permissions`` and " +"``dm_permission`` keyword arguments. Similar to adding privileged " +"intents, you add permissions (like admin-only, ``BAN_MEMBERS``-only, " +"etc.) as follows:" +msgstr "" + +#: ../../quickstart.rst:429 +msgid "" +"Adding guild-only commands is easier as the only thing it takes is a " +"boolean. Here's an example of a guild-only command:" +msgstr "" + +#: ../../quickstart.rst:448 msgid "" -"And it's really as simple as that! If you would like to learn more about " -"what our library offers, or see more examples of our code, please be sure" -" to check out our `coding examples`_ page on our docs!" +"Likewise, setting ``dm_permission`` to ``True`` makes it usable in DMs. " +"Just to note that this argument's mainly used for global commands. Guild " +"commands with this argument will have no effect." msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.cache.po b/docs/locale/hi/LC_MESSAGES/api.cache.po index f32d51085..43abb1314 100644 --- a/docs/locale/hi/LC_MESSAGES/api.cache.po +++ b/docs/locale/hi/LC_MESSAGES/api.cache.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,7 +31,7 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.cache.Item:3 of +#: interactions.api.cache.Item:3 interactions.api.cache.Storage.get:3 of msgid "The ID of the item." msgstr "" @@ -55,22 +55,8 @@ msgstr "" msgid "Adds a new item to the storage." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Parameters" msgstr "" @@ -78,27 +64,46 @@ msgstr "" msgid "The item to add." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Returns" msgstr "" #: interactions.api.cache.Storage.add:5 of -msgid "typing.List[interactions.api.cache.Item]" +msgid "The new storage." +msgstr "" + +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of +msgid "Return type" +msgstr "" + +#: interactions.api.cache.Storage.get:1 of +msgid "Gets an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.get:5 of +msgid "The item from the storage if any." +msgstr "" + +#: interactions.api.cache.Storage.update:1 of +msgid "Updates an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.update:3 of +msgid "The item to update." +msgstr "" + +#: interactions.api.cache.Storage.update:4 of +msgid "The updated item, if stored." +msgstr "" + +#: interactions.api.cache.Storage.view:1 of +msgid "Views all items from storage." +msgstr "" + +#: interactions.api.cache.Storage.view:3 of +msgid ":return The items stored. :rtype: List[dict]" msgstr "" #: interactions.api.cache.Cache:1 of @@ -138,169 +143,3 @@ msgstr "" #: interactions.api.cache.Cache:12 of msgid "The cached interactions upon interaction." msgstr "" - -#: interactions.api.cache.Cache.add_dm:1 of -msgid "Adds a DM to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_dm:3 of -msgid "The Direct Message to add." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:5 -#: interactions.api.cache.Cache.add_dm:5 -#: interactions.api.cache.Cache.add_guild:5 -#: interactions.api.cache.Cache.add_interaction:7 -#: interactions.api.cache.Cache.add_member:5 -#: interactions.api.cache.Cache.add_message:5 -#: interactions.api.cache.Cache.add_role:5 -#: interactions.api.cache.Cache.add_self_guild:5 -#: interactions.api.cache.Cache.add_user:5 -#: interactions.api.cache.Cache.get_channel:7 -#: interactions.api.cache.Cache.get_dm:5 -#: interactions.api.cache.Cache.get_guild:5 -#: interactions.api.cache.Cache.get_interaction:5 -#: interactions.api.cache.Cache.get_member:7 -#: interactions.api.cache.Cache.get_message:9 -#: interactions.api.cache.Cache.get_role:9 -#: interactions.api.cache.Cache.get_self_guild:5 -#: interactions.api.cache.Cache.get_user:5 of -msgid "interactions.api.cache.Item" -msgstr "" - -#: interactions.api.cache.Cache.get_dm:1 of -msgid "Gets a DM from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_dm:3 of -msgid "The ID of the Direct Message." -msgstr "" - -#: interactions.api.cache.Cache.add_self_guild:1 of -msgid "Adds a combed guild from the gateway to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:3 -#: interactions.api.cache.Cache.add_self_guild:3 of -msgid "The guild to add." -msgstr "" - -#: interactions.api.cache.Cache.get_self_guild:1 of -msgid "Gets a combed guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:3 -#: interactions.api.cache.Cache.get_guild:3 -#: interactions.api.cache.Cache.get_member:3 -#: interactions.api.cache.Cache.get_message:3 -#: interactions.api.cache.Cache.get_role:3 -#: interactions.api.cache.Cache.get_self_guild:3 of -msgid "The ID of the guild." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:1 of -msgid "Adds a guild after the ready event to the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_guild:1 of -msgid "Gets a new guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:1 of -msgid "Adds a channel to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:3 of -msgid "The channel to add." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:1 of -msgid "Gets a channel from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:5 -#: interactions.api.cache.Cache.get_message:5 of -msgid "The ID of the channel." -msgstr "" - -#: interactions.api.cache.Cache.add_role:1 of -msgid "Adds a role to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_role:3 of -msgid "The role to add." -msgstr "" - -#: interactions.api.cache.Cache.get_role:1 of -msgid "Gets a role from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_member:5 -#: interactions.api.cache.Cache.get_role:5 of -msgid "The ID of the member." -msgstr "" - -#: interactions.api.cache.Cache.get_role:7 of -msgid "The ID of the role." -msgstr "" - -#: interactions.api.cache.Cache.add_member:1 of -msgid "Adds a member to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_member:3 of -msgid "The member to add." -msgstr "" - -#: interactions.api.cache.Cache.get_member:1 of -msgid "Gets a member from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:1 of -msgid "Adds a message to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:3 of -msgid "The message to add." -msgstr "" - -#: interactions.api.cache.Cache.get_message:1 of -msgid "Gets a message from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_message:7 of -msgid "The ID of the message." -msgstr "" - -#: interactions.api.cache.Cache.add_user:1 of -msgid "Adds a user to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_user:3 of -msgid "The user to add." -msgstr "" - -#: interactions.api.cache.Cache.get_user:1 of -msgid "Gets a user from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_user:3 of -msgid "The ID of the user." -msgstr "" - -#: interactions.api.cache.Cache.get_interaction:1 of -msgid "Gets an application command/interaction from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:3 -#: interactions.api.cache.Cache.get_interaction:3 of -msgid "The application ID of the command." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:1 of -msgid "Adds an application command/interaction to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:5 of -msgid "The application command to add." -msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.dispatch.po b/docs/locale/hi/LC_MESSAGES/api.dispatch.po index 1b084411b..b6707ea02 100644 --- a/docs/locale/hi/LC_MESSAGES/api.dispatch.po +++ b/docs/locale/hi/LC_MESSAGES/api.dispatch.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -59,16 +59,6 @@ msgstr "" msgid "Keyword-only arguments of the coroutine." msgstr "" -#: interactions.api.dispatch.Listener.dispatch -#: interactions.api.dispatch.Listener.register of -msgid "Returns" -msgstr "" - -#: interactions.api.dispatch.Listener.dispatch:9 -#: interactions.api.dispatch.Listener.register:9 of -msgid "None" -msgstr "" - #: interactions.api.dispatch.Listener.register:1 of msgid "" "Registers a given coroutine as an event to be listened to. If the name of" @@ -83,3 +73,7 @@ msgstr "" #: interactions.api.dispatch.Listener.register:7 of msgid "The coroutine to register as an event." msgstr "" + +#: interactions.api.dispatch.Listener.register:9 of +msgid "The name to associate the coroutine with. Defaults to None." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.enums.po b/docs/locale/hi/LC_MESSAGES/api.enums.po index 284356c95..e77ec4bbc 100644 --- a/docs/locale/hi/LC_MESSAGES/api.enums.po +++ b/docs/locale/hi/LC_MESSAGES/api.enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,25 +22,6 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.api.enums.DefaultErrorType:1 of -msgid "" -"An enumerable object for the default errors that occur with interaction " -"creation." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:4 of -msgid "" -"This is a port from v3's errors, which basically delegate errors to a " -"unique error code. This enum's purpose is to help remember error codes. " -"Importing this class is not required." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:7 of -msgid "" -"i.e. : raise InteractionException(1) == raise " -"InteractionException(REQUEST_FAILURE)" -msgstr "" - #: interactions.api.enums.OpCodeType:1 of msgid "" "An enumerable object for the Gateway's OPCODE result state. This is " @@ -53,35 +34,3 @@ msgid "" "`_ in the Discord API." msgstr "" - -#: interactions.api.enums.WSCloseCodeType:1 of -msgid "" -"An enumerable object for the Gateway's closing connection codes. This is " -"representative of the Gateway responses generated by the WebSocket." -msgstr "" - -#: interactions.api.enums.WSCloseCodeType:5 of -msgid "" -"Equivalent of `Gateway Close Event Codes " -"`_ in the Discord API." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:1 of -msgid "An enumerable object for the HTTP response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:4 of -msgid "This enumerable does not list the documented \"5xx\", as it may vary." -msgstr "" - -#: interactions.api.enums.JSONResponseType:1 of -msgid "An enumerable object for the JSON error response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.JSONResponseType:4 of -msgid "" -"Equivalent of `JSON Error Codes " -"`_ in the Discord API." -msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.error.po b/docs/locale/hi/LC_MESSAGES/api.error.po index 4dcbb1a1a..85101f5e4 100644 --- a/docs/locale/hi/LC_MESSAGES/api.error.po +++ b/docs/locale/hi/LC_MESSAGES/api.error.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -47,7 +47,7 @@ msgstr "" #: interactions.api.error.HTTPException:3 #: interactions.api.error.InteractionException:8 #: interactions.api.error.JSONException:3 of -msgid "The built in formatter." +msgid "The built-in formatter." msgstr "" #: interactions.api.error.GatewayException:4 diff --git a/docs/locale/hi/LC_MESSAGES/api.gateway.po b/docs/locale/hi/LC_MESSAGES/api.gateway.po index c2adf73a2..c64b34dd0 100644 --- a/docs/locale/hi/LC_MESSAGES/api.gateway.po +++ b/docs/locale/hi/LC_MESSAGES/api.gateway.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,125 +22,276 @@ msgstr "" msgid "Gateway" msgstr "" -#: interactions.api.gateway.Heartbeat:1 of -msgid "A class representing a consistent heartbeat connection with the gateway." +#: interactions.api.gateway:1 of +msgid "interactions.api.gateway" msgstr "" -#: interactions.api.gateway.Heartbeat interactions.api.gateway.WebSocket of +#: interactions.api.gateway:3 of +msgid "This section of the library maintains and handles all of the Gateway work." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:1 of +msgid "" +"A class representing the client's connection to the Gateway via. " +"WebSocket." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient of msgid "Variables" msgstr "" -#: interactions.api.gateway.Heartbeat:3 of -msgid "The WebSocket class to infer on." +#: interactions.api.gateway.client.WebSocketClient:3 of +msgid "The asynchronous event loop." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:4 of +msgid "The built-in event dispatcher." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:5 of +msgid "The user-facing HTTP client." msgstr "" -#: interactions.api.gateway.Heartbeat:4 of -msgid "The heartbeat interval determined by the gateway." +#: interactions.api.gateway.client.WebSocketClient:6 of +msgid "The WebSocket data of the connection." msgstr "" -#: interactions.api.gateway.Heartbeat:5 of -msgid "The multi-threading event." +#: interactions.api.gateway.client.WebSocketClient:7 of +msgid "Whether the connection has been closed or not." msgstr "" -#: interactions.api.gateway.Heartbeat.run:1 of -msgid "Starts the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:8 of +msgid "The connection options made during connection." msgstr "" -#: interactions.api.gateway.Heartbeat.stop:1 of -msgid "Stops the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:9 of +msgid "The gateway intents used for connection." msgstr "" -#: interactions.api.gateway.WebSocket:1 of -msgid "A class representing a websocket connection with the gateway." +#: interactions.api.gateway.client.WebSocketClient:10 of +msgid "The contents of the application returned when ready." msgstr "" -#: interactions.api.gateway.WebSocket:3 of -msgid "An instance of :class:`interactions.api.models.Intents`." +#: interactions.api.gateway.client.WebSocketClient:11 of +msgid "The context state of a \"heartbeat\" made to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket:4 of -msgid "The coroutine event loop established on." +#: interactions.api.gateway.client.WebSocketClient:12 of +msgid "The shards used during connection." msgstr "" -#: interactions.api.gateway.WebSocket:5 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.api.gateway.client.WebSocketClient:13 of +msgid "The presence used in connection." msgstr "" -#: interactions.api.gateway.WebSocket:6 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.api.gateway.client.WebSocketClient:14 of +msgid "The ready state of the client as an ``asyncio.Event``." msgstr "" -#: interactions.api.gateway.WebSocket:7 of -msgid "The current client session." +#: interactions.api.gateway.client.WebSocketClient:15 of +msgid "The closing task for ending connections." msgstr "" -#: interactions.api.gateway.WebSocket:8 of -msgid "The current ID of the gateway session." +#: interactions.api.gateway.client.WebSocketClient:16 of +msgid "The ID of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:9 of -msgid "The current sequence of the gateway connection." +#: interactions.api.gateway.client.WebSocketClient:17 of +msgid "The sequence identifier of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:10 of -msgid "An instance of :class:`interactions.api.gateway.Heartbeat`." +#: interactions.api.gateway.client.WebSocketClient:18 of +msgid "" +"The latest time of the last send_packet function call since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:11 of -msgid "The current connection state." +#: interactions.api.gateway.client.WebSocketClient:19 of +msgid "" +"The latest time of the last ``HEARTBEAT_ACK`` event since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:12 of -msgid "The internal HTTP client used to connect to the gateway." +#: interactions.api.gateway.client.WebSocketClient:20 of +msgid "The latency of the connection, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket.recv:1 of -msgid "Receives packets sent from the gateway." +#: interactions.api.gateway.client.WebSocketClient._manage_heartbeat:1 of +msgid "Manages the heartbeat loop." msgstr "" -#: interactions.api.gateway.WebSocket.connect:1 of -msgid "Establishes a connection to the gateway." +#: interactions.api.gateway.client.WebSocketClient.__restart:1 of +msgid "Restart the client's connection and heartbeat with the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of +#: interactions.api.gateway.client.WebSocketClient._establish_connection:1 of +msgid "Establishes a client connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__identify +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context +#: interactions.api.gateway.client.WebSocketClient._dispatch_event +#: interactions.api.gateway.client.WebSocketClient._establish_connection +#: interactions.api.gateway.client.WebSocketClient._handle_connection +#: interactions.api.gateway.client.WebSocketClient._send_packet +#: interactions.api.gateway.client.WebSocketClient._update_presence of msgid "Parameters" msgstr "" -#: interactions.api.gateway.WebSocket.connect:3 of -msgid "The token to use for identifying." +#: interactions.api.gateway.client.WebSocketClient._establish_connection:3 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:5 of +msgid "The shards to establish a connection with. Defaults to ``None``." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of -msgid "Returns" +#: interactions.api.gateway.client.WebSocketClient._establish_connection:5 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:7 of +msgid "The presence to carry with. Defaults to ``None``." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:1 of +msgid "Handles the client's connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:3 of +msgid "The packet stream to handle." msgstr "" -#: interactions.api.gateway.WebSocket.connect:5 -#: interactions.api.gateway.WebSocket.handle:7 of -msgid "None" +#: interactions.api.gateway.client.WebSocketClient.wait_until_ready:1 of +msgid "Waits for the client to become ready according to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:1 of -msgid "Handles the dispatched event data from a gateway event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:1 of +msgid "Dispatches an event from the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:3 of +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:3 of msgid "The name of the event." msgstr "" -#: interactions.api.gateway.WebSocket.handle:5 of -msgid "The data of the event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:5 of +msgid "The data for the event." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:1 of +msgid "" +"Takes raw data given back from the Gateway and gives \"context\" based " +"off of what it is." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:4 of +msgid "The data from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Returns" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:6 of +msgid "The context object." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Return type" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:1 of +msgid "" +"Checks if an application command schema has sub commands needed for " +"argument collection." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:4 of +msgid "The data structure of the option." msgstr "" -#: interactions.api.gateway.WebSocket.identify:1 of +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:6 of +msgid "The context to refer subcommands from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:8 of +msgid "A dictionary of the collected options, if any." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:1 of +msgid "Looks up the type of option respective to the existing option types." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:4 of +msgid "The context to refer types from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:6 of +msgid "The option type." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:8 of +msgid "The option type context." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:1 of +msgid "Receives a stream of packets sent from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:3 of +msgid "The packet stream." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:1 of +msgid "Sends a packet to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:3 of +msgid "The data to send to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:1 of msgid "Sends an ``IDENTIFY`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.resume:1 of +#: interactions.api.gateway.client.WebSocketClient.__identify:3 of +msgid "The shard ID to identify under." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:5 +#: interactions.api.gateway.client.WebSocketClient._update_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__resume:1 of msgid "Sends a ``RESUME`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.heartbeat:1 of +#: interactions.api.gateway.client.WebSocketClient.__heartbeat:1 of msgid "Sends a ``HEARTBEAT`` packet to the gateway." msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.shard:1 of +msgid "Returns the current shard" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.presence:1 of +msgid "Returns the current presence." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:1 of +msgid "Sends an ``UPDATE_PRESENCE`` packet to the gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.api.gateway.heartbeat._Heartbeat:1 of +msgid "An internal class representing the heartbeat in a WebSocket connection." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.http.po b/docs/locale/hi/LC_MESSAGES/api.http.po index c550cad31..b637802cb 100644 --- a/docs/locale/hi/LC_MESSAGES/api.http.po +++ b/docs/locale/hi/LC_MESSAGES/api.http.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,1742 +19,2431 @@ msgstr "" "Generated-By: Babel 2.9.1\n" #: ../../api.http.rst:4 -msgid "HTTP Client" +msgid "HTTP" msgstr "" -#: interactions.api.http.Route:1 of +#: interactions.api.http.route.Route:1 of msgid "A class representing how an HTTP route is structured." msgstr "" -#: interactions.api.http.Padlock interactions.api.http.Request -#: interactions.api.http.Route of +#: interactions.api.http.client.HTTPClient +#: interactions.api.http.limiter.Limiter interactions.api.http.request._Request +#: interactions.api.http.route.Route of msgid "Variables" msgstr "" -#: interactions.api.http.Route:3 of +#: interactions.api.http.route.Route:3 of msgid "The HTTP route path." msgstr "" -#: interactions.api.http.Route:4 of +#: interactions.api.http.route.Route:4 of msgid "The HTTP method." msgstr "" -#: interactions.api.http.Route:5 of +#: interactions.api.http.route.Route:5 of msgid "The URL path." msgstr "" -#: interactions.api.http.Route:6 of +#: interactions.api.http.route.Route:6 of msgid "The channel ID from the bucket if given." msgstr "" -#: interactions.api.http.Route:7 of +#: interactions.api.http.route.Route:7 of msgid "The guild ID from the bucket if given." msgstr "" -#: interactions.api.http.Route.bucket:1 of -msgid "Returns the route's bucket." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_webhooks -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_webhook -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.Request.request interactions.api.http.Route.bucket of +#: interactions.api.http.route.Route.get_bucket:1 of +msgid "" +"Returns the route's bucket. If shared_bucket is None, returns the path " +"with major parameters. Otherwise, it relies on Discord's given bucket." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.delete_channel +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.channel.ChannelRequest.trigger_typing +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_ban +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_kick +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild +#: interactions.api.http.guild.GuildRequest.delete_guild_integration +#: interactions.api.http.guild.GuildRequest.delete_guild_role +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state +#: interactions.api.http.guild.GuildRequest.remove_guild_ban +#: interactions.api.http.guild.GuildRequest.remove_guild_member +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest._post_followup +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response +#: interactions.api.http.interaction.InteractionRequest.delete_application_command +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.add_member_role +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.member.MemberRequest.remove_member_role +#: interactions.api.http.member.MemberRequest.search_guild_members +#: interactions.api.http.message.MessageRequest.create_message +#: interactions.api.http.message.MessageRequest.delete_message +#: interactions.api.http.message.MessageRequest.delete_messages +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.pin_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.message.MessageRequest.unpin_message +#: interactions.api.http.reaction.ReactionRequest.create_reaction +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.join_thread +#: interactions.api.http.thread.ThreadRequest.leave_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message +#: interactions.api.http.webhook.WebhookRequest.delete_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of +msgid "Parameters" +msgstr "" + +#: interactions.api.http.route.Route.get_bucket:4 of +msgid "The bucket that Discord provides, if available." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.client.HTTPClient.get_bot_gateway +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_self +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of msgid "Returns" msgstr "" -#: interactions.api.http.Route.bucket:3 of -msgid "str" +#: interactions.api.http.route.Route.get_bucket:7 of +msgid "The route bucket." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket of +msgid "Return type" +msgstr "" + +#: interactions.api.http.route.Route.endpoint:1 of +msgid "Returns the route's endpoint." msgstr "" -#: interactions.api.http.Padlock:1 of -msgid "A class representing ratelimited sessions as a \"locked\" event." +#: interactions.api.http.route.Route.endpoint:3 of +msgid "The route endpoint." msgstr "" -#: interactions.api.http.Padlock:3 of -msgid "The lock coroutine event." +#: interactions.api.http.limiter.Limiter:1 of +msgid "A class representing a limitation for an HTTP request." msgstr "" -#: interactions.api.http.Padlock:4 of -msgid "Whether the lock should stay open or not." +#: interactions.api.http.limiter.Limiter:3 of +msgid "The \"lock\" or controller of the request." msgstr "" -#: interactions.api.http.Padlock.click:1 of -msgid "Re-closes the lock after the instiantiation and invocation ends." +#: interactions.api.http.limiter.Limiter:4 of +msgid "The remaining time before the request can be ran." msgstr "" -#: interactions.api.http.Request:1 of +#: interactions.api.http.request._Request:1 of msgid "A class representing how HTTP requests are sent/read." msgstr "" -#: interactions.api.http.Request:3 of +#: interactions.api.http.request._Request:3 of msgid "The current application token." msgstr "" -#: interactions.api.http.Request:4 of +#: interactions.api.http.request._Request:4 of msgid "The current coroutine event loop." msgstr "" -#: interactions.api.http.Request:5 of -msgid "The current ratelimits from the Discord API." +#: interactions.api.http.request._Request:5 of +msgid "The current per-route rate limiters from the API." +msgstr "" + +#: interactions.api.http.request._Request:6 of +msgid "The current endpoint to shared_bucket cache from the API." msgstr "" -#: interactions.api.http.Request:6 of +#: interactions.api.http.request._Request:7 of msgid "The current headers for an HTTP request." msgstr "" -#: interactions.api.http.Request:7 of +#: interactions.api.http.request._Request:8 of msgid "The current session for making requests." msgstr "" -#: interactions.api.http.Request:8 of -msgid "The ratelimit lock event." +#: interactions.api.http.request._Request:9 of +msgid "The global rate limiter." msgstr "" -#: interactions.api.http.Request.check_session:1 of +#: interactions.api.http.request._Request._check_session:1 of msgid "Ensures that we have a valid connection session." msgstr "" -#: interactions.api.http.Request.request:1 of -msgid "Sends a request to the Discord API." +#: interactions.api.http.request._Request._check_lock:1 of +msgid "Checks the global lock for its current state." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.add_member_role -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_kick -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_interaction_response -#: interactions.api.http.HTTPClient.create_message -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_application_command -#: interactions.api.http.HTTPClient.delete_channel -#: interactions.api.http.HTTPClient.delete_channel_permission -#: interactions.api.http.HTTPClient.delete_guild -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.delete_stage_instance -#: interactions.api.http.HTTPClient.delete_webhook_message -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_channel_permission -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_current_user_voice_state -#: interactions.api.http.HTTPClient.modify_guild -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_user_voice_state -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.remove_all_reactions -#: interactions.api.http.HTTPClient.remove_member_role -#: interactions.api.http.HTTPClient.remove_user_reaction -#: interactions.api.http.HTTPClient.search_guild_members -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.HTTPClient.trigger_typing -#: interactions.api.http.Request.request of -msgid "Parameters" +#: interactions.api.http.request._Request.request:1 of +msgid "Sends a request to the Discord API." msgstr "" -#: interactions.api.http.Request.request:3 of +#: interactions.api.http.request._Request.request:3 of msgid "The HTTP route to request." msgstr "" -#: interactions.api.http.Request.request:5 of +#: interactions.api.http.request._Request.request:5 of msgid "Optional keyword-only arguments to pass as information in the request." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:4 -#: interactions.api.http.Request.request:7 of -msgid "None" +#: interactions.api.http.request._Request.request:7 of +msgid "The contents of the request if any." msgstr "" -#: interactions.api.http.Request.close:1 of +#: interactions.api.http.request._Request.close:1 of msgid "Closes the current session." msgstr "" -#: interactions.api.http.HTTPClient:1 of -msgid "" -"A WIP class that represents the http Client that handles all major " -"endpoints to Discord API." +#: interactions.api.http.client.HTTPClient:1 of +msgid "The user-facing client of the Web API for individual endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:3 of +msgid "The token of the application." msgstr "" -#: interactions.api.http.HTTPClient.get_gateway:1 of +#: interactions.api.http.client.HTTPClient:4 of +msgid "The requesting interface for endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:5 of +msgid "The referenced cache." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_gateway:1 of msgid "" "This calls the Gateway endpoint and returns a v9 gateway link with JSON " "encoding." msgstr "" -#: interactions.api.http.HTTPClient.get_bot_gateway:1 of -msgid "" -"This calls the BOT Gateway endpoint. :return: A tuple denoting (shard, " -"gateway_url), url from API v9 and JSON encoding" +#: interactions.api.http.client.HTTPClient.get_bot_gateway:1 of +msgid "This calls the BOT Gateway endpoint." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_bot_gateway:3 of +msgid "A tuple denoting (shard, gateway_url), url from API v9 and JSON encoding" msgstr "" -#: interactions.api.http.HTTPClient.login:1 of +#: interactions.api.http.client.HTTPClient.login:1 of msgid "" "This 'logins' to the gateway, which makes it available to use any other " "endpoint." msgstr "" -#: interactions.api.http.HTTPClient.logout:1 of +#: interactions.api.http.client.HTTPClient.logout:1 of msgid "This 'log outs' the session." msgstr "" -#: interactions.api.http.HTTPClient.get_current_bot_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_bot_information:1 of msgid "Returns the bot user application object without flags." msgstr "" -#: interactions.api.http.HTTPClient.get_current_authorisation_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_authorisation_information:1 +#: of msgid "Returns info about the current authorization of the bot user" msgstr "" -#: interactions.api.http.HTTPClient.get_voice_regions:1 of +#: interactions.api.http.channel.ChannelRequest.get_channel:1 of msgid "" -"Gets a list from the API a list of voice regions. :return: An array of " -"Voice Region objects." +"Gets a channel by ID. If the channel is a thread, it also includes thread" +" members (and other thread attributes)." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:6 +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.get_channel:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:6 +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:3 +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.modify_channel:3 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.move_channel:4 +#: interactions.api.http.channel.ChannelRequest.trigger_typing:6 +#: interactions.api.http.message.MessageRequest.pin_message:3 +#: interactions.api.http.message.MessageRequest.unpin_message:3 +#: interactions.api.http.webhook.WebhookRequest.create_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:3 of +msgid "Channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_self:1 of -msgid "An alias to `get_user`, but only gets the current bot user." +#: interactions.api.http.channel.ChannelRequest.get_channel:4 of +msgid "Dictionary of the channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_self:3 of -msgid "" -":return A partial User object of the current bot user in the form of a " -"dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:1 of +msgid "Deletes a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_user:1 of -msgid "" -"Gets a user object for a given user ID. :param user_id: A user snowflake " -"ID. If omitted, this defaults to the current bot user. :return A partial " -"User object in the form of a dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:3 of +msgid "Channel ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_self:1 of -msgid "Modify the bot user account settings. :param payload: The data to send." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:1 of +msgid "Get messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:1 of -msgid "Changes a nickname of the current bot user in a guild." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:4 of +msgid "around, before, and after arguments are mutually exclusive." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:3 of -msgid "Guild snowflake ID." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:7 of +msgid "How many messages to get. Defaults to 50, the max is 100." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:4 of -msgid "The new nickname, if any." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:8 of +msgid "Get messages around this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:5 of -msgid "Nothing needed to be yielded." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:9 of +msgid "Get messages before this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.create_dm:1 of -msgid "" -"Creates a new DM channel with a user. :param recipient_id: User snowflake" -" ID. :return: Returns a dictionary representing a DM Channel object." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:10 of +msgid "Get messages after this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.send_message:1 of -msgid "" -"A higher level implementation of :meth:`create_message()` that handles " -"the payload dict internally. Does not integrate components into the " -"function, and is a port from v3.0.0" +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:11 of +msgid "An array of Message objects." msgstr "" -#: interactions.api.http.HTTPClient.create_message:1 of -msgid "Send a message to the specified channel." +#: interactions.api.http.channel.ChannelRequest.create_channel:1 of +msgid "Creates a channel within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_message:3 of -msgid "Dictionary contents of a message. (i.e. message payload)" +#: interactions.api.http.channel.ChannelRequest.create_channel:4 of +msgid "This does not handle payload in this method. Tread carefully." msgstr "" -#: interactions.api.http.HTTPClient.create_message:4 -#: interactions.api.http.HTTPClient.edit_message:3 of -msgid "Channel snowflake ID." +#: interactions.api.http.channel.ChannelRequest.create_channel:6 +#: interactions.api.http.channel.ChannelRequest.move_channel:3 +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:3 +#: interactions.api.http.guild.GuildRequest.add_guild_member:3 +#: interactions.api.http.guild.GuildRequest.create_guild_role:3 +#: interactions.api.http.guild.GuildRequest.create_guild_template:3 +#: interactions.api.http.guild.GuildRequest.delete_guild:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_role:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_template:3 +#: interactions.api.http.guild.GuildRequest.get_guild_bans:6 +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:3 +#: interactions.api.http.guild.GuildRequest.get_guild_invites:3 +#: interactions.api.http.guild.GuildRequest.get_guild_preview:3 +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:3 +#: interactions.api.http.guild.GuildRequest.get_guild_templates:3 +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:6 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:3 +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.modify_guild:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:3 +#: interactions.api.http.guild.GuildRequest.sync_guild_template:3 +#: interactions.api.http.member.MemberRequest.get_member:3 +#: interactions.api.http.member.MemberRequest.modify_member:5 +#: interactions.api.http.member.MemberRequest.search_guild_members:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:3 +#: of +msgid "Guild ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.create_message of -msgid "return dict" +#: interactions.api.http.channel.ChannelRequest.create_channel:7 of +msgid "Payload data." msgstr "" -#: interactions.api.http.HTTPClient.create_message:5 of -msgid "Dictionary representing a message (?)" +#: interactions.api.http.channel.ChannelRequest.create_channel:8 of +msgid "Reason to show in audit log, if needed." msgstr "" -#: interactions.api.http.HTTPClient.get_message:1 of -msgid "" -"Get a specific message in the channel. :param channel_id: the channel " -"this message belongs to :param message_id: the id of the message :return:" -" message if it exists." +#: interactions.api.http.channel.ChannelRequest.create_channel:9 of +msgid "Channel object as dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_message:1 of -msgid "" -"Deletes a message from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param reason: " -"Optional reason to show up in the audit log. Defaults to `None`." +#: interactions.api.http.channel.ChannelRequest.move_channel:1 of +msgid "Moves a channel to a new position." msgstr "" -#: interactions.api.http.HTTPClient.delete_messages:1 of +#: interactions.api.http.channel.ChannelRequest.move_channel:5 of +msgid "The new channel position." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:6 of +msgid "The category parent ID, if needed." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:7 of msgid "" -"Deletes messages from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_ids: An array of message snowflake IDs. " -":param reason: Optional reason to show up in the audit log. Defaults to " -"`None`." +"Sync permissions with the parent associated with parent_id. Defaults to " +"False." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:1 of -msgid "Edits a message that already exists." +#: interactions.api.http.channel.ChannelRequest.move_channel:8 of +msgid "Reason to display to the audit log, if any." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:4 of -msgid "Message snowflake ID." +#: interactions.api.http.channel.ChannelRequest.move_channel:9 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:7 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:7 of +msgid "?" msgstr "" -#: interactions.api.http.HTTPClient.edit_message:5 of -msgid "Any new data that needs to be changed." +#: interactions.api.http.channel.ChannelRequest.modify_channel:1 of +msgid "Update a channel's settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:7 of -msgid "A message object with edited attributes." +#: interactions.api.http.channel.ChannelRequest.modify_channel:4 of +msgid "Data representing updated settings." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:5 of +msgid "Reason, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:6 of +msgid "Channel with updated attributes, if successful." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:1 of +msgid "Get the invites for the channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:4 of +msgid "List of invite objects" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:1 of +msgid "Creates an invite for the given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:4 of +msgid "This method does not handle payload. It just sends it." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:7 of +msgid "Data representing the payload/invite attributes." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:8 of +msgid "Reason to show in the audit log, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:9 of +msgid "An invite object." msgstr "" -#: interactions.api.http.HTTPClient.pin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:1 of msgid "" -"Pin a message to a channel. :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"Edits the channel's permission overwrites for a user or role in a given " +"channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:4 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:4 of +msgid "The ID of the overridden object." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:5 of +msgid "the bitwise value of all allowed permissions" msgstr "" -#: interactions.api.http.HTTPClient.unpin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:6 of +msgid "the bitwise value of all disallowed permissions" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:7 of +msgid "0 for a role or 1 for a member" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:5 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:8 of +msgid "Reason to display in the Audit Log, if given." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:1 of +msgid "Deletes a channel permission overwrite for a user or role in a channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:1 of +msgid "Posts \"... is typing\" in a given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:4 of msgid "" -"Unpin a message to a channel :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"By default, this lib doesn't use this endpoint, however, this is listed " +"for third-party implementation." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:1 of +msgid "Get all pinned messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:1 of +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:4 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:1 of +msgid "Create a new stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:4 of +msgid "The topic of the stage instance. Limited to 1-120 characters." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:5 of +msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:6 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:4 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:6 of +msgid "The reason for the creating the stage instance, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:7 of +msgid "The new stage instance" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:1 of +msgid "Get the stage instance associated with a given channel, if it exists." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:4 of +msgid "A stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:1 of +msgid "Update the fields of a given stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:4 of msgid "" -"Publishes (API calls it crossposts) a message in a News channel to any " -"that is followed by." +"The new topic of the stage instance, if given. Limited to 1-120 " +"characters." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:3 of -msgid "Channel the message is in" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:5 of +msgid "The new privacy_level of the stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:4 of -msgid "The id of the message to publish" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:7 of +msgid "The updated stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:5 of -msgid "message object" +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:1 of +msgid "Delete a stage instance." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:1 of +msgid "Gets all emojis from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:4 of +msgid "A list of emojis." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:1 of +msgid "Gets an emote from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:4 of +msgid "Emoji ID snowflake." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:5 of +msgid "Emoji object" msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:1 of +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:1 of +msgid "Creates an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:4 of +msgid "Emoji parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:6 of +msgid "Optionally, give a reason." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:6 of +msgid "An emoji object with the included parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:1 of +msgid "Modifies an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:4 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:4 of +msgid "Emoji ID snowflake" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:5 of +msgid "Emoji parameters with updated attributes" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:7 of +msgid "An emoji object with updated attributes." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:1 of +msgid "Deletes an emoji." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_self_guilds:1 of msgid "Gets all guild objects associated with the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:3 of +#: interactions.api.http.guild.GuildRequest.get_self_guilds:3 of msgid ":return a list of partial guild objects the current bot user is a part of." msgstr "" -#: interactions.api.http.HTTPClient.get_guild:1 of -msgid "" -"Requests an individual guild from the API. :param guild_id: The guild " -"snowflake ID associated. :return: The guild object associated, if any." +#: interactions.api.http.guild.GuildRequest.get_guild:1 of +msgid "Requests an individual guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_preview:1 of -msgid "" -"Get a guild's preview. :param guild_id: Guild ID snowflake. :return: " -"Guild Preview object associated with the snowflake" +#: interactions.api.http.guild.GuildRequest.get_guild:3 +#: interactions.api.http.guild.GuildRequest.leave_guild:3 of +msgid "The guild snowflake ID associated." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:1 of -msgid "Modifies a guild's attributes." +#: interactions.api.http.guild.GuildRequest.get_guild:4 of +msgid "The guild object associated, if any." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 -#: interactions.api.http.HTTPClient.create_channel_invite:4 -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 -#: interactions.api.http.HTTPClient.get_channel_messages:4 -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid ".. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_preview:1 of +msgid "Get a guild's preview." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid "" -"This only sends the payload. You will have to check it when a higher-" -"level function calls this." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member:3 -#: interactions.api.http.HTTPClient.create_channel:6 -#: interactions.api.http.HTTPClient.create_guild_template:3 -#: interactions.api.http.HTTPClient.delete_guild:3 -#: interactions.api.http.HTTPClient.delete_guild_template:3 -#: interactions.api.http.HTTPClient.get_all_emoji:3 -#: interactions.api.http.HTTPClient.get_guild_templates:3 -#: interactions.api.http.HTTPClient.get_guild_widget_image:5 -#: interactions.api.http.HTTPClient.get_guild_widget_settings:3 -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:3 -#: interactions.api.http.HTTPClient.modify_guild:6 -#: interactions.api.http.HTTPClient.modify_guild_template:3 -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:3 -#: interactions.api.http.HTTPClient.modify_guild_widget:3 -#: interactions.api.http.HTTPClient.modify_member:5 -#: interactions.api.http.HTTPClient.modify_user_voice_state:3 -#: interactions.api.http.HTTPClient.move_channel:3 -#: interactions.api.http.HTTPClient.search_guild_members:3 -#: interactions.api.http.HTTPClient.sync_guild_template:3 of -msgid "Guild ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_preview:4 of +msgid "Guild Preview object associated with the snowflake" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild:1 of +msgid "Modifies a guild's attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild:4 of msgid "The parameters to change." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:8 of +#: interactions.api.http.guild.GuildRequest.modify_guild:5 of msgid "Reason to send to the audit log, if given." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild:6 of +msgid "The modified guild object as a dictionary" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.leave_guild:1 of msgid "Leaves a guild." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:3 of -msgid "The guild snowflake ID associated." +#: interactions.api.http.guild.GuildRequest.leave_guild:4 of +msgid "None" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild:1 of msgid "Deletes a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget:1 of -msgid "" -"Returns the widget for the guild. :param guild_id: Guild ID snowflake. " -":return: Guild Widget contents as a dict: {\"enabled\":bool, " -"\"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget:1 of +msgid "Returns the widget for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_widget:4 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:4 of +msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:1 of msgid "Get guild widget settings." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:4 of -msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:1 of +msgid "Get an url representing a png image widget for the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of -msgid "Get a url representing a png image widget for the guild. .. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:4 of +msgid "" +"See _ for list of styles." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:7 of msgid "The style of widget required, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:7 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:8 of msgid "A url pointing to this image" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:1 of msgid "Modify a guild widget." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:4 of msgid "Payload containing new widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:5 of msgid "Updated widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_invites:1 of -msgid "" -"Retrieves a list of invite objects with their own metadata. :param " -"guild_id: Guild ID snowflake. :return: A list of invite objects" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:1 of +msgid "Retrieves a list of invite objects with their own metadata." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_welcome_screen:1 of -msgid "" -"Retrieves from the API a welcome screen associated with the guild :param " -"guild_id: Guild ID snowflake. :return: Welcome Screen object" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:4 of +msgid "A list of invite objects" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:1 of +msgid "Retrieves from the API a welcome screen associated with the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:4 of +msgid "Welcome Screen object" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:1 of msgid "Modify the guild's welcome screen." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:4 of msgid "Whether the welcome screen is enabled or not." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:5 of msgid "" "The new channels (by their ID) linked in the welcome screen and their " "display options" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:6 of msgid "The new server description to show in the welcome screen" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:7 of msgid "Updated Welcome screen object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_integrations:1 of -msgid "" -"Gets a list of integration objects associated with the Guild from the " -"API. :param guild_id: Guild ID snowflake. :return: An array of " -"integration objects" +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:1 of +msgid "Gets a list of integration objects associated with the Guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_integration:1 of -msgid "" -"Deletes an integration from the guild. :param guild_id: Guild ID " -"snowflake. :param integration_id: Integration ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:4 of +msgid "An array of integration objects" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:1 of +msgid "Deletes an integration from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:4 of +msgid "Integration ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:1 +#: of msgid "Update the current user voice state." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:5 of msgid "Voice channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:5 +#: of msgid "Toggle the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:6 +#: of msgid "Sets the user's request to speak, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:1 of msgid "Modify the voice state of a user." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:4 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:4 +#: interactions.api.http.guild.GuildRequest.get_user_ban:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:4 of msgid "User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:6 of msgid "Toggles the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:1 of -msgid "Create a a new guild based on a template." +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:1 +#: of +msgid "Create a new guild based on a template." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:4 +#: of msgid "This endpoint can only be used by bots in less than 10 guilds." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:6 +#: of msgid "The code of the template to use." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:7 +#: of msgid "The name of the guild (2-100 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:8 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:8 +#: of msgid "Guild icon URI, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:9 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:9 +#: of msgid "The newly created guild object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:1 of msgid "Returns an array of guild templates." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:4 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:4 of msgid "An array of guild templates" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:1 of msgid "Create a guild template for the guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:5 of msgid "The name of the template" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:5 of msgid "The description of the template, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:6 of msgid "The created guild template" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:1 of msgid "Sync the template to the guild's current state." msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:4 of msgid "The code for the template to sync" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:5 of msgid "The updated guild template." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:1 of msgid "Modify a guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:4 of msgid "Template ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:6 of msgid "The description of the template" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:7 of msgid "The updated guild template" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:1 of msgid "Delete the guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:5 of msgid "The deleted template object" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:1 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:1 of msgid "Requests from the API to get all channels in the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:3 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:3 of msgid "Guild Snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:4 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:4 of msgid "A list of channels." msgstr "" -#: interactions.api.http.HTTPClient.get_all_roles:1 of -msgid "" -"Gets all roles from a Guild. :param guild_id: Guild ID snowflake :return:" -" An array of Role objects." +#: interactions.api.http.guild.GuildRequest.get_all_roles:1 of +msgid "Gets all roles from a Guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_role:1 of -msgid "" -"Create a new role for the guild. :param guild_id: Guild ID snowflake. " -":param data: A dict containing metadata for the role. :param reason: The " -"reason for this action, if given. :return: Role object" +#: interactions.api.http.guild.GuildRequest.create_guild_ban:3 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:3 +#: interactions.api.http.guild.GuildRequest.get_all_roles:3 +#: interactions.api.http.guild.GuildRequest.get_user_ban:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:3 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:8 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:4 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:4 +#: interactions.api.http.member.MemberRequest.get_list_of_members:3 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:3 of +msgid "Guild ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role_position:1 of -msgid "" -"Modify the position of a role in the guild. :param guild_id: Guild ID " -"snowflake. :param role_id: Role ID snowflake. :param position: The new " -"position of the associated role. :param reason: The reason for this " -"action, if given. :return: List of guild roles with updated hierarchy." +#: interactions.api.http.guild.GuildRequest.get_all_roles:4 of +msgid "An array of Role objects as dictionaries." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role:1 of -msgid "" -"Modify a given role for the guild. :param guild_id: Guild ID snowflake. " -":param role_id: Role ID snowflake. :param data: A dict containing updated" -" metadata for the role. :param reason: The reason for this action, if " -"given. :return: Updated role object." +#: interactions.api.http.guild.GuildRequest.create_guild_role:1 of +msgid "Create a new role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:4 of +msgid "A dict containing metadata for the role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:5 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:6 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:5 of +msgid "The reason for this action, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:6 of +msgid "Role object" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_role:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:1 of +msgid "Modify the position of a role in the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:4 of msgid "" -"Delete a guild role. :param guild_id: Guild ID snowflake. :param role_id:" -" Role ID snowflake. :param reason: The reason for this action, if any." +"A list of dicts containing the role IDs and new positions for all the " +"roles to be moved." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:1 of -msgid "Kicks a person from the guild." +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:6 of +msgid "List of guild roles with updated hierarchy." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.create_guild_kick:3 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_list_of_members:3 of -msgid "Guild ID snowflake" +#: interactions.api.http.guild.GuildRequest.modify_guild_role:1 of +msgid "Modify a given role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:4 of +msgid "Role ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role:5 of +msgid "A dict containing updated metadata for the role." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role:7 of +msgid "Updated role object." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:1 of +msgid "Delete a guild role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:5 of +msgid "The reason for this action, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_kick:1 of +msgid "Kicks a person from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:4 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:4 of msgid "User ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_kick:5 of msgid "Optional Reason argument." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_ban:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_ban:1 of msgid "" "Bans a person from the guild, and optionally deletes previous messages " -"sent by them. :param guild_id: Guild ID snowflake :param user_id: User ID" -" snowflake :param delete_message_days: Number of days to delete messages," -" from 0 to 7. Defaults to 0 :param reason: Optional reason to ban." +"sent by them." msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_ban:1 of -msgid "" -"Unbans someone using the API. :param guild_id: Guild ID snowflake :param " -"user_id: User ID snowflake :param reason: Optional reason to unban." +#: interactions.api.http.guild.GuildRequest.create_guild_ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:6 of +msgid "Optional reason to ban." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:1 of +msgid "Unbans someone using the API." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:5 of +msgid "Optional reason to unban." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_bans:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:4 of msgid "" -"Gets a list of banned users. :param guild_id: Guild ID snowflake. " -":return: A list of banned users." +"If both ``before`` and ``after`` are provided, only ``before`` is " +"respected." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:7 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:8 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:9 of +msgid "Consider only users after the given User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_user_ban:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:10 of +msgid "A list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:1 of msgid "" "Gets an object pertaining to the user, if it exists. Returns a 404 if it " -"doesn't. :param guild_id: Guild ID snowflake :param user_id: User ID " -"snowflake. :return: Ban object if it exists." +"doesn't." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:5 of +msgid "Ban object if it exists." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:1 of msgid "" "A low level method of adding a user to a guild with pre-defined " "attributes." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:5 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:5 of msgid "User access token." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:6 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:6 of msgid "User's nickname on join." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:7 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:7 of msgid "An array of roles that the user is assigned." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:8 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:8 of msgid "Whether the user is mute in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:9 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:9 of msgid "Whether the user is deafened in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:10 of -msgid "Guild member object (?)" +#: interactions.api.http.guild.GuildRequest.add_guild_member:10 of +msgid "Guild member object as dictionary" msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:1 of msgid "" "A low level method of removing a member from a guild. This is different " -"from banning them. :param guild_id: Guild ID snowflake. :param user_id: " -"User ID snowflake. :param reason: Reason to send to audit log, if any." +"from banning them." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_prune_count:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:5 of +msgid "Reason to send to audit log, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:1 of msgid "" "Retrieves a dict from an API that results in how many members would be " -"pruned given the amount of days. :param guild_id: Guild ID snowflake. " -":param days: Number of days to count. Defaults to ``7``. :param " -"include_roles: Role IDs to include, if given. :return: A dict denoting " -"`{\"pruned\": int}`" +"pruned given the amount of days." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:4 of +msgid "Number of days to count. Defaults to ``7``." msgstr "" -#: interactions.api.http.HTTPClient.get_member:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:5 of +msgid "Role IDs to include, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:6 of +msgid "A dict denoting `{\"pruned\": int}`" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_auditlog:1 of msgid "" -"Uses the API to fetch a member from a guild. :param guild_id: Guild ID " -"snowflake. :param member_id: Member ID snowflake. :return: A member " -"object, if any." +"Returns an audit log object for the guild. Requires the 'VIEW_AUDIT_LOG' " +"permission. :param guild_id: Guild ID snowflake. :param user_id: User ID " +"snowflake. filter the log for actions made by a user. :param action_type:" +" the type ID of audit log event. :param before: filter the log before a " +"certain entry id. :param limit: how many entries are returned (default " +"50, minimum 1, maximum 100)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:1 +#: of +msgid "Get all application commands from an application." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:7 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:3 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:6 +#: of +msgid "Application ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:4 +#: of +msgid "Guild to get commands from, if specified. Defaults to global (None)" msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:1 of +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:5 +#: of +msgid "" +"Whether to include full localization dictionaries (name_localizations and" +" description_localizations) in the returned objects, instead of the " +"name_localized and description_localized fields. Default false." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:6 +#: of +msgid "A list of Application commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:1 +#: of +msgid "Registers to the Discord API an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:4 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:7 +#: of +msgid "The dictionary that contains the command (name, description, etc)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:5 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:8 +#: of +msgid "Guild ID snowflake to put them in, if applicable." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:6 +#: of +msgid "An application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:1 +#: of +msgid "" +"Overwrites application command(s) from a scope to the new, updated " +"commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:4 +#: of +msgid "" +"This applies to all forms of application commands (slash and context " +"menus)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:9 +#: of +msgid "An array of application command objects." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:1 +#: of +msgid "Edits an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:4 +#: of +msgid "Application ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:4 +#: of +msgid "A dictionary containing updated attributes" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:5 +#: of +msgid "The application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:6 +#: of +msgid "Guild ID snowflake, if given. Defaults to None/global." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:7 +#: of +msgid "The updated application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:1 +#: of +msgid "Deletes an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:4 +#: of +msgid "Application command ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:5 +#: of +msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:1 +#: of +msgid "Edits permissions for an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:4 +#: of +msgid "" +"This requires authenticating with the Bearer token. Likewise, if this " +"function is used in a bot process with a bot token, this will fail." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:9 +#: of +msgid "Application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:10 +#: of +msgid "Permission data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:11 +#: of +msgid "Returns an updated Application Guild permission object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from a specific Guild application" +" command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:5 +#: of +msgid "Application Command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:6 +#: of +msgid "a Guild Application Command permissions object" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from all Application commands at " +"that Guild." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:5 +#: of +msgid "An array of Guild Application Command permissions" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:1 +#: of +msgid "Posts initial response to an interaction, but you need to add the token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:3 +#: of +msgid "Token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:5 +#: interactions.api.http.user.UserRequest.modify_self:3 of +msgid "The data to send." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:1 +#: of +msgid "Gets an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:3 +#: of +msgid "token" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:6 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:5 +#: of +msgid "" +"Message ID snowflake. Defaults to `@original` which represents the " +"initial response msg." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:6 +#: of +msgid "Message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:1 +#: of +msgid "" +"Edits an existing interaction message, but token needs to be manually " +"called." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:3 +#: of +msgid "A dictionary containing the new response." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:5 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:4 +#: of +msgid "the token of the interaction" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:7 +#: of +msgid "Updated message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:1 +#: of +msgid "Deletes an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:1 of +msgid "Send a followup to an interaction." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:3 of +msgid "the payload to send" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:4 of +msgid "the id of the application" +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:1 of +msgid "Uses the API to fetch a member from a guild." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:4 +#: interactions.api.http.member.MemberRequest.modify_member:4 of +msgid "Member ID snowflake." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:5 of +msgid "A member object, if any." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_list_of_members:1 of msgid "Lists the members of a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:4 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:4 of msgid "How many members to get from the API. Max is 1000. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:5 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:5 of msgid "Get Member IDs after this snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:6 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:6 of msgid "An array of Member objects." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:1 of +#: interactions.api.http.member.MemberRequest.search_guild_members:1 of msgid "" -"Search a guild for members who's username or nickname starts with " +"Search a guild for members whose username or nickname starts with " "provided string." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:4 of +#: interactions.api.http.member.MemberRequest.search_guild_members:4 of msgid "The string to search for" msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:5 of +#: interactions.api.http.member.MemberRequest.search_guild_members:5 of msgid "The number of members to return. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:1 of +#: interactions.api.http.member.MemberRequest.add_member_role:1 of msgid "Adds a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:3 -#: interactions.api.http.HTTPClient.remove_member_role:3 of +#: interactions.api.http.member.MemberRequest.add_member_role:3 +#: interactions.api.http.member.MemberRequest.remove_member_role:3 of msgid "The ID of the guild" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:4 -#: interactions.api.http.HTTPClient.remove_member_role:4 of +#: interactions.api.http.member.MemberRequest.add_member_role:4 +#: interactions.api.http.member.MemberRequest.remove_member_role:4 of msgid "The ID of the user" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:5 -#: interactions.api.http.HTTPClient.remove_member_role:5 of +#: interactions.api.http.member.MemberRequest.add_member_role:5 +#: interactions.api.http.member.MemberRequest.remove_member_role:5 of msgid "The ID of the role to add" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:6 -#: interactions.api.http.HTTPClient.remove_member_role:6 of +#: interactions.api.http.member.MemberRequest.add_member_role:6 +#: interactions.api.http.member.MemberRequest.modify_member:7 +#: interactions.api.http.member.MemberRequest.remove_member_role:6 of msgid "The reason for this action. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.remove_member_role:1 of +#: interactions.api.http.member.MemberRequest.remove_member_role:1 of msgid "Removes a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:1 of +#: interactions.api.http.member.MemberRequest.modify_member:1 of msgid "" "Edits a member. This can nick them, change their roles, mute/deafen (and " -"its contrary), and moving them across channels and/or disconnect them" -msgstr "" - -#: interactions.api.http.HTTPClient.modify_member:4 of -msgid "Member ID snowflake." +"its contrary), and moving them across channels and/or disconnect them." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:6 of +#: interactions.api.http.member.MemberRequest.modify_member:6 of msgid "Payload representing parameters (nick, roles, mute, deaf, channel_id)" msgstr "" -#: interactions.api.http.HTTPClient.modify_member:7 of -msgid "? (modified voice state? not sure)" +#: interactions.api.http.member.MemberRequest.modify_member:8 of +msgid "Modified member object." msgstr "" -#: interactions.api.http.HTTPClient.get_channel:1 of +#: interactions.api.http.message.MessageRequest.send_message:1 of msgid "" -"Gets a channel by ID. If the channel is a thread, it also includes thread" -" members (and other thread attributes) :param channel_id: Channel ID " -"snowflake. :return: Channel object." +"A higher level implementation of :meth:`create_message()` that handles " +"the payload dict internally. Does not integrate components into the " +"function, and is a port from v3.0.0" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:1 of +msgid "Send a message to the specified channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:3 of +msgid "Dictionary contents of a message. (i.e. message payload)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:4 +#: interactions.api.http.message.MessageRequest.delete_message:3 +#: interactions.api.http.message.MessageRequest.delete_messages:3 +#: interactions.api.http.message.MessageRequest.edit_message:3 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:3 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:3 of +msgid "Channel snowflake ID." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:5 +#: interactions.api.http.message.MessageRequest.edit_message:6 of +msgid "An optional list of files to send attached to the message." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message of +msgid "return dict" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:6 of +msgid "Dictionary representing a message (?)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:1 of +msgid "Get a specific message in the channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:3 of +msgid "the channel this message belongs to" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:4 of +msgid "the id of the message" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:5 of +msgid "message if it exists." +msgstr "" + +#: interactions.api.http.message.MessageRequest.delete_message:1 of +msgid "Deletes a message from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:1 of -msgid "Deletes a channel." +#: interactions.api.http.message.MessageRequest.delete_message:4 +#: interactions.api.http.message.MessageRequest.edit_message:4 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:4 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:4 of +msgid "Message snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:3 of -msgid "Channel ID snowflake" +#: interactions.api.http.message.MessageRequest.delete_message:5 +#: interactions.api.http.message.MessageRequest.delete_messages:5 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:1 of -msgid "Get messages from a channel." +#: interactions.api.http.message.MessageRequest.delete_messages:1 of +msgid "Deletes messages from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:4 of -msgid "around, before, and after arguments are mutually exclusive." +#: interactions.api.http.message.MessageRequest.delete_messages:4 of +msgid "An array of message snowflake IDs." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:6 -#: interactions.api.http.HTTPClient.create_stage_instance:3 -#: interactions.api.http.HTTPClient.delete_channel_permission:3 -#: interactions.api.http.HTTPClient.delete_stage_instance:3 -#: interactions.api.http.HTTPClient.edit_channel_permission:3 -#: interactions.api.http.HTTPClient.get_channel_messages:6 -#: interactions.api.http.HTTPClient.get_stage_instance:3 -#: interactions.api.http.HTTPClient.modify_stage_instance:3 -#: interactions.api.http.HTTPClient.move_channel:4 -#: interactions.api.http.HTTPClient.trigger_typing:5 of -msgid "Channel ID snowflake." +#: interactions.api.http.message.MessageRequest.edit_message:1 of +msgid "Edits a message that already exists." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:7 of -msgid "How many messages to get. Defaults to 50, the max is 100." +#: interactions.api.http.message.MessageRequest.edit_message:5 of +msgid "Any new data that needs to be changed." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:8 of -msgid "Get messages around this snowflake ID." +#: interactions.api.http.message.MessageRequest.edit_message:8 of +msgid "A message object with edited attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:9 of -msgid "Get messages before this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:1 of +msgid "Pin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:10 of -msgid "Get messages after this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:4 +#: interactions.api.http.message.MessageRequest.unpin_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:5 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:5 of +msgid "Message ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:11 of -msgid "An array of Message objects." +#: interactions.api.http.message.MessageRequest.unpin_message:1 of +msgid "Unpin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:1 of -msgid "Creates a channel within a guild." +#: interactions.api.http.message.MessageRequest.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in a News channel to any " +"that is followed by." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 of -msgid "This does not handle payload in this method. Tread carefully." +#: interactions.api.http.message.MessageRequest.publish_message:3 of +msgid "Channel the message is in" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:7 of -msgid "Payload data." +#: interactions.api.http.message.MessageRequest.publish_message:4 of +msgid "The id of the message to publish" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:8 of -msgid "Reason to show in audit log, if needed." +#: interactions.api.http.message.MessageRequest.publish_message:5 of +msgid "message object" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:9 of -msgid "Channel object." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:1 of +msgid "Create a reaction for a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:1 of -msgid "Moves a channel to a new position." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:5 of +msgid "The emoji to use (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:5 of -msgid "The new channel position." +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:1 of +msgid "Remove bot user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:6 of -msgid "The category parent ID, if needed." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:5 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:5 of +msgid "The emoji to remove (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:7 of -msgid "" -"Sync permissions with the parent associated with parent_id. Defaults to " -"False." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:1 of +msgid "Remove user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:8 of -msgid "Reason to display to the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:3 of +msgid "The channel this is taking place in" msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:7 -#: interactions.api.http.HTTPClient.execute_slack_webhook:7 -#: interactions.api.http.HTTPClient.move_channel:9 of -msgid "?" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:4 of +msgid "The message to remove the reaction on." msgstr "" -#: interactions.api.http.HTTPClient.modify_channel:1 of -msgid "" -"Update a channel's settings. :param channel_id: Channel ID snowflake. " -":param data: Data representing updated settings. :param reason: Reason, " -"if any. :return: Channel with updated attributes, if successful." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:5 of +msgid "The emoji to remove. (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.get_channel_invites:1 of -msgid "" -"Get the invites for the channel. :param channel_id: Channel ID snowflake." -" :return: List of invite objects" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:6 of +msgid "The user to remove reaction of." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:1 of -msgid "Creates an invite for the given channel." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:1 of +msgid "Remove all reactions from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:4 of -msgid "This method does not handle payload. It just sends it." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:3 of +msgid "The channel this is taking place in." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:7 of -msgid "Data representing the payload/invite attributes." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:4 of +msgid "The message to clear reactions from." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:8 of -msgid "Reason to show in the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:1 +#: of +msgid "Remove all reactions of a certain emoji from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:9 of -msgid "An invite object." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:1 of +msgid "Gets the users who reacted to the emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_invite:1 of -msgid "" -"Delete an invite. :param invite_code: The code of the invite to delete " -":param reason: Reason to show in the audit log, if any. :return: The " -"deleted invite object" +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:5 of +msgid "The emoji to get (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:1 of -msgid "" -"Edits the channel's permission overwrites for a user or role in a given " -"channel." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:6 of +msgid "A list of users who sent that emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:4 -#: interactions.api.http.HTTPClient.edit_channel_permission:4 of -msgid "The ID of the overridden object." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:1 +#: of +msgid "Creates a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:5 of -msgid "the bitwise value of all allowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:5 +#: of +msgid "" +"The dictionary containing the parameters and values to edit the " +"associated event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:6 of -msgid "the bitwise value of all disallowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:5 +#: of +msgid "A dictionary containing the new guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:7 of -msgid "0 for a role or 1 for a member" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:1 +#: of +msgid "Gets a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:5 -#: interactions.api.http.HTTPClient.edit_channel_permission:8 of -msgid "Reason to display in the Audit Log, if given." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:4 +#: of +msgid "Guild Scheduled Event ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:1 of -msgid "Deletes a channel permission overwrite for a user or role in a channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:5 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:4 +#: of +msgid "" +"A boolean to include number of users subscribed to the associated event, " +"if given." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:1 of -msgid "Posts \"... is typing\" in a given channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:6 +#: of +msgid "A dictionary containing the guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:4 -#: interactions.api.http.HTTPClient.trigger_typing:3 of -msgid "..note:" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:1 +#: of +msgid "Gets all guild scheduled events in a guild." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:4 of +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:5 +#: of msgid "" -"By default, this lib doesn't use this endpoint, however, this is listed " -"for third-party implementation." +"A List of a dictionary containing the guild scheduled event objects on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.get_pinned_messages:1 of -msgid "" -"Get all pinned messages from a channel. :param channel_id: Channel ID " -"snowflake. :return: A list of pinned message objects." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:1 +#: of +msgid "Modifies a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:1 of -msgid "Create a new stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:6 +#: of +msgid "" +"A dictionary containing the updated guild scheduled event object on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:4 of -msgid "The topic of the stage instance. Limited to 1-120 characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:1 +#: of +msgid "Deletes a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:5 of -msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:5 +#: of +msgid "Nothing on success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:6 -#: interactions.api.http.HTTPClient.delete_stage_instance:4 -#: interactions.api.http.HTTPClient.modify_stage_instance:6 of -msgid "The reason for the creating the stage instance, if any." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:1 +#: of +msgid "Get the registered users of a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:7 of -msgid "The new stage instance" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:4 +#: of +msgid "Guild Scheduled Event snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:1 of -msgid "Get the stage instance associated with a given channel, if it exists." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:5 +#: of +msgid "Limit of how many users to pull from the event. Defaults to 100." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:4 of -msgid "A stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:6 +#: of +msgid "Include guild member data if it exists. Defaults to False." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:1 of -msgid "Update the fields of a given stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:7 +#: of +msgid "Considers only users before given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:4 of -msgid "" -"The new topic of the stage instance, if given. Limited to 1-120 " -"characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:8 +#: of +msgid "Considers only users after given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:5 of -msgid "The new privacy_level of the stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:9 +#: of +msgid "Returns a list of guild scheduled event user objects on success." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:7 of -msgid "The updated stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:1 of +msgid "Get a specific sticker." msgstr "" -#: interactions.api.http.HTTPClient.delete_stage_instance:1 of -msgid "Delete a stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:3 of +msgid "The id of the sticker" msgstr "" -#: interactions.api.http.HTTPClient.join_thread:1 of -msgid "Have the bot user join a thread. :param thread_id: The thread to join." +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.get_sticker:4 of +msgid "Sticker or None" msgstr "" -#: interactions.api.http.HTTPClient.leave_thread:1 of -msgid "Have the bot user leave a thread. :param thread_id: The thread to leave." +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:1 of +msgid "Gets the list of sticker packs available to Nitro subscribers." msgstr "" -#: interactions.api.http.HTTPClient.add_member_to_thread:1 of -msgid "" -"Add another user to a thread. :param thread_id: The ID of the thread " -":param user_id: The ID of the user to add" +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:3 of +msgid "List of sticker packs" msgstr "" -#: interactions.api.http.HTTPClient.remove_member_from_thread:1 of -msgid "" -"Remove another user from a thread. :param thread_id: The ID of the thread" -" :param user_id: The ID of the user to remove" +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:1 of +msgid "Get the stickers for a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_thread_members:1 of -msgid "" -"Get a list of members in the thread. :param thread_id: the id of the " -"thread :return: a list of member objects" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:3 of +msgid "The guild to get stickers from" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:1 of -msgid "Get a list of archived public threads in a given channel." +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:4 of +msgid "List of Stickers or None" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:3 of -msgid "The channel to get threads from" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:1 of +msgid "Get a sticker from a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:4 of -msgid "Optional limit of threads to" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:4 of +msgid "The sticker to get from the guild" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:5 of -msgid "Get threads before this Thread snowflake ID" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:1 of +msgid "" +"Create a new sticker for the guild. Requires the " +"MANAGE_EMOJIS_AND_STICKERS permission." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:6 of -msgid "a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:3 of +msgid "the payload to send." msgstr "" -#: interactions.api.http.HTTPClient.list_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel. :param channel_id: " -"The channel to get threads from :param limit: Optional limit of threads " -"to :param before: Get threads before this Thread snowflake ID :return: a " -"list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:4 of +msgid "The guild to create sticker at." msgstr "" -#: interactions.api.http.HTTPClient.list_joined_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel that the bot has " -"joined. :param channel_id: The channel to get threads from :param limit: " -"Optional limit of threads to :param before: Get threads before this " -"snowflake ID :return: a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:6 of +msgid "The reason for this action." msgstr "" -#: interactions.api.http.HTTPClient.list_active_threads:1 of -msgid "" -"List active threads within a guild. :param guild_id: the guild id to get " -"threads from :return: A list of active threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:6 of +msgid "The new sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:1 of +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:1 of msgid "" -"From a given channel, create a Thread with an optional message to start " -"with.." +"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:3 of -msgid "The ID of the channel to create this thread in" +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:4 of +msgid "The guild of the target sticker." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:4 of -msgid "The name of the thread" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:5 of +msgid "The sticker to modify." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:5 of -msgid "" -"duration in minutes to automatically archive the thread after recent " -"activity, can be set to: 60, 1440, 4320, 10080" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:7 of +msgid "The updated sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:7 of +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:1 of msgid "" -"The type of thread, defaults to public. ignored if creating thread from a" -" message" +"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:8 of -msgid "Boolean to display if the Thread is open to join or private." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:4 of +msgid "The sticker to delete." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:9 of -msgid "An optional message to create a thread from." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:6 of +msgid "Returns 204 No Content on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:10 of -msgid "An optional reason for the audit log" +#: interactions.api.http.thread.ThreadRequest.join_thread:1 of +msgid "Have the bot user join a thread." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:11 of -msgid "The created thread" +#: interactions.api.http.thread.ThreadRequest.join_thread:3 of +msgid "The thread to join." msgstr "" -#: interactions.api.http.HTTPClient.create_reaction:1 of -msgid "" -"Create a reaction for a message. :param channel_id: Channel snowflake ID." -" :param message_id: Message snowflake ID. :param emoji: The emoji to use " -"(format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:1 of +msgid "Have the bot user leave a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_self_reaction:1 of -msgid "" -"Remove bot user's reaction from a message. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:3 of +msgid "The thread to leave." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:1 of -msgid "Remove user's reaction from a message" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:1 of +msgid "Add another user to a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:3 of -msgid "The channel this is taking place in" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:3 +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:3 +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:3 of +msgid "The ID of the thread" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:4 of -msgid "The message to remove the reaction on." +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:4 of +msgid "The ID of the user to add" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:5 of -msgid "The emoji to remove. (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:1 of +msgid "Remove another user from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:6 of -msgid "The user to remove reaction of." +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:4 of +msgid "The ID of the user to remove" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:1 of -msgid "Remove all reactions from a message." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:1 of +msgid "Get a member from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:3 of -msgid "The channel this is taking place in." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:4 of +msgid "The ID of the user to find" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:4 of -msgid "The message to clear reactions from." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:5 of +msgid "A thread member object, if they're in the thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions_of_emoji:1 of -msgid "" -"Remove all reactions of a certain emoji from a message. :param " -"channel_id: Channel snowflake ID. :param message_id: Message snowflake " -"ID. :param emoji: The emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:1 of +msgid "Get a list of members in the thread." msgstr "" -#: interactions.api.http.HTTPClient.get_reactions_of_emoji:1 of -msgid "" -"Gets the users who reacted to the emoji. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to get (format: `name:id`) :return A list of users who sent that " -"emoji." +#: interactions.api.http.thread.ThreadRequest.list_thread_members:3 of +msgid "the id of the thread" msgstr "" -#: interactions.api.http.HTTPClient.get_sticker:1 of -msgid "" -"Get a specific sticker. :param sticker_id: The id of the sticker :return:" -" Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:4 of +msgid "a list of thread member objects" msgstr "" -#: interactions.api.http.HTTPClient.list_nitro_sticker_packs:1 of -msgid "" -"Gets the list of sticker packs available to Nitro subscribers. :return: " -"List of sticker packs" +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:1 of +msgid "Get a list of archived public threads in a given channel." msgstr "" -#: interactions.api.http.HTTPClient.list_guild_stickers:1 of -msgid "" -"Get the stickers for a guild. :param guild_id: The guild to get stickers " -"from :return: List of Stickers or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:3 of +msgid "The channel to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_sticker:1 of -msgid "" -"Get a sticker from a guild. :param guild_id: The guild to get stickers " -"from :param sticker_id: The sticker to get from the guild :return: " -"Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:4 of +msgid "Optional limit of threads to" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_sticker:1 of -msgid "" -"Create a new sticker for the guild. Requires the " -"MANAGE_EMOJIS_AND_STICKERS permission. :param payload: the payload to " -"send. :param guild_id: The guild to create sticker at. :param reason: The" -" reason for this action. :return: The new sticker data on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:5 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:5 of +msgid "Get threads before this Thread snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_sticker:1 of -msgid "" -"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param payload: the payload to send. :param guild_id: The " -"guild of the target sticker. :param sticker_id: The sticker to modify. " -":param reason: The reason for this action. :return: The updated sticker " -"data on success." +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:6 of +msgid "a list of threads" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_sticker:1 of -msgid "" -"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param guild_id: The guild of the target sticker. :param " -"sticker_id: The sticker to delete. :param reason: The reason for this " -"action. :return: Returns 204 No Content on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:1 +#: of +msgid "Get a list of archived private threads in a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:1 +#: of msgid "" -"Get all application commands from an application :param application_id: " -"Application ID snowflake :param guild_id: Guild to get commands from, if " -"specified. Defaults to global (None) :return: A list of Application " -"commands." -msgstr "" - -#: interactions.api.http.HTTPClient.create_application_command:1 of -msgid "Registers to the Discord API an application command." +"Get a list of archived private threads in a channel that the bot has " +"joined." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.create_application_command:3 -#: interactions.api.http.HTTPClient.create_interaction_response:6 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_application_command_permissions:3 -#: interactions.api.http.HTTPClient.overwrite_application_command:6 of -msgid "Application ID snowflake" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:5 +#: of +msgid "Get threads before this snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:7 of -msgid "The dictionary that contains the command (name, description, etc)" +#: interactions.api.http.thread.ThreadRequest.list_active_threads:1 of +msgid "List active threads within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:5 -#: interactions.api.http.HTTPClient.overwrite_application_command:8 of -msgid "Guild ID snowflake to put them in, if applicable." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:3 of +msgid "the guild id to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:6 of -msgid "An application command object." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:4 of +msgid "A list of active threads" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.create_thread:1 of msgid "" -"Overwrites application command(s) from a scope to the new, updated " -"commands." +"From a given channel, create a Thread with an optional message to start " +"with.." msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:4 of -msgid "" -"This applies to all forms of application commands (slash and context " -"menus)" +#: interactions.api.http.thread.ThreadRequest.create_thread:3 of +msgid "The ID of the channel to create this thread in" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:9 of -msgid "An array of application command objects." +#: interactions.api.http.thread.ThreadRequest.create_thread:4 of +msgid "The name of the thread" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:1 of -msgid "Edits an application command." +#: interactions.api.http.thread.ThreadRequest.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:3 -#: interactions.api.http.HTTPClient.edit_application_command:3 of -msgid "Application ID snowflake." +#: interactions.api.http.thread.ThreadRequest.create_thread:7 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:4 of -msgid "A dictionary containing updated attributes" +#: interactions.api.http.thread.ThreadRequest.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:5 of -msgid "The application command ID snowflake" +#: interactions.api.http.thread.ThreadRequest.create_thread:9 of +msgid "An optional message to create a thread from." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:6 of -msgid "Guild ID snowflake, if given. Defaults to None/global." +#: interactions.api.http.thread.ThreadRequest.create_thread:10 of +msgid "An optional reason for the audit log" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:7 of -msgid "The updated application command object." +#: interactions.api.http.thread.ThreadRequest.create_thread:11 of +msgid "The created thread" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:1 of -msgid "Deletes an application command." +#: interactions.api.http.user.UserRequest.get_self:1 of +msgid "An alias to `get_user`, but only gets the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:4 of -msgid "Application command ID snowflake." +#: interactions.api.http.user.UserRequest.get_self:3 of +msgid "A partial User object of the current bot user in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:5 of -msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +#: interactions.api.http.user.UserRequest.get_user:1 of +msgid "Gets a user object for a given user ID." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:1 of -msgid "Edits permissions for an application command" +#: interactions.api.http.user.UserRequest.get_user:3 of +msgid "A user snowflake ID. If omitted, this defaults to the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:5 of -msgid "Application command ID snowflake" +#: interactions.api.http.user.UserRequest.get_user:4 of +msgid "A partial User object in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:6 of -msgid "Permission data." +#: interactions.api.http.user.UserRequest.modify_self:1 of +msgid "Modify the bot user account settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:7 of -msgid "Returns an updated Application Guild permission object." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:1 of +msgid "Changes a nickname of the current bot user in a guild." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:1 -#: of -msgid "Edits permissions for all Application Commands in a guild." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:3 of +msgid "Guild snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:5 -#: of -msgid "An array of permission dictionaries." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:4 of +msgid "The new nickname, if any." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:6 -#: of -msgid "An updated array of application array permissions." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:5 of +msgid "Nothing needed to be yielded." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:1 of -msgid "" -"Gets, from the Discord API, permissions from a specific Guild application" -" command." +#: interactions.api.http.user.UserRequest.create_dm:1 of +msgid "Creates a new DM channel with a user." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:5 of -msgid "Application Command ID snowflake" +#: interactions.api.http.user.UserRequest.create_dm:3 of +msgid "User snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:6 of -msgid "a Guild Application Command permissions object" +#: interactions.api.http.user.UserRequest.create_dm:4 of +msgid "Returns a dictionary representing a DM Channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:1 -#: of -msgid "" -"Gets, from the Discord API, permissions from all Application commands at " -"that Guild." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:1 of +msgid "Create a new webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:5 -#: of -msgid "An array of Guild Application Command permissions" +#: interactions.api.http.webhook.WebhookRequest.create_webhook:4 of +msgid "Name of the webhook (1-80 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:1 of -msgid "Posts initial response to an interaction." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:5 of +msgid "The image for the default webhook avatar, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 of -msgid "Internally handles token for you." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:7 of +msgid "Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:7 of -msgid "The data to send." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:1 of +msgid "Return a list of channel webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.get_original_interaction_response:1 of -msgid "" -"Gets an existing interaction message. :param application_id: Application " -"ID snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Message " -"data." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:4 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:4 of +msgid "List of webhook objects" msgstr "" -#: interactions.api.http.HTTPClient.edit_interaction_response:1 of -msgid "" -"Edits an existing interaction message. :param data: A dictionary " -"containing the new response. :param application_id: Application ID " -"snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Updated " -"message data." +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:1 of +msgid "Return a list of guild webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:1 of -msgid "" -"Create a new webhook. :param channel_id: Channel ID snowflake. :param " -"name: Name of the webhook (1-80 characters) :param avatar: The image for " -"the default webhook avatar, if given." +#: interactions.api.http.webhook.WebhookRequest.get_webhook:1 of +msgid "Return the new webhook object for the given id." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:6 of -msgid ":return Webhook object" +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:3 of +msgid "Webhook ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_webhooks:1 of -msgid "" -"Return a list of channel webhook objects. :param channel_id: Channel ID " -"snowflake. :return:List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:4 of +msgid "Webhook Token, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:1 of -msgid "" -"Return a list of guild webhook objects. :param guild_id: Guild ID " -"snowflake" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:6 of +msgid ":return:Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:4 of -msgid "List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:1 of +msgid "Modify a webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:1 of -msgid "" -"Return the new webhook object for the given id. :param webhook_id: " -"Webhook ID snowflake. :param webhook_token: Webhook Token, if given." +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:3 of +msgid "Webhook ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:5 of -msgid ":return:Webhook object" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:4 of +msgid "The payload for the webhook" msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:1 of -msgid "" -"Modify a webhook. :param webhook_id: Webhook ID snowflake :param name: " -"the default name of the webhook :param avatar: image for the default " -"webhook avatar :param channel_id: Channel ID snowflake of new destination" -" :param webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:5 of +msgid "The token for the webhook, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:7 of msgid "Modified webhook object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook:1 of -msgid "" -"Delete a webhook :param webhook_id: Webhook ID snowflake. :param " -"webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:1 of +msgid "Delete a webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:1 of msgid "Sends a message as a webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:3 -#: interactions.api.http.HTTPClient.edit_webhook_message:3 -#: interactions.api.http.HTTPClient.execute_github_webhook:3 -#: interactions.api.http.HTTPClient.execute_slack_webhook:3 -#: interactions.api.http.HTTPClient.execute_webhook:3 -#: interactions.api.http.HTTPClient.get_webhook_message:3 of -msgid "Webhook ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.execute_github_webhook:4 -#: interactions.api.http.HTTPClient.execute_slack_webhook:4 -#: interactions.api.http.HTTPClient.execute_webhook:4 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:4 of msgid "The token for the webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:5 -#: interactions.api.http.HTTPClient.execute_slack_webhook:5 -#: interactions.api.http.HTTPClient.execute_webhook:5 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:5 of msgid "Payload consisting of the message." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:6 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:6 of +msgid "The files to upload to the message." +msgstr "" + +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:7 of msgid "" "A bool that signifies waiting for server confirmation of a send before " "responding." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:7 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:8 of msgid "Optional, sends a message to the specified thread." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:9 of msgid "The message sent, if wait=True, else None." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:1 of msgid "Sends a message to a Slack-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:1 of msgid "Sends a message to a Github-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:1 of msgid "Retrieves a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:4 -#: interactions.api.http.HTTPClient.edit_webhook_message:4 -#: interactions.api.http.HTTPClient.get_webhook_message:4 of +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:4 of msgid "Webhook token." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:5 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:5 of msgid "Message ID snowflake," msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:6 of msgid "A Message object." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:1 of msgid "Edits a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:5 -#: interactions.api.http.HTTPClient.edit_webhook_message:5 of -msgid "Message ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.edit_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:6 of msgid "A payload consisting of new message attributes." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:7 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:7 of msgid "An updated message object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:1 of msgid "Deletes a message object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_emoji:1 of -msgid "Gets all emojis from a guild." -msgstr "" - -#: interactions.api.http.HTTPClient.get_all_emoji:4 of -msgid "A list of emojis." -msgstr "" - -#: interactions.api.http.HTTPClient.get_guild_emoji:1 of -msgid "" -"Gets an emote from a guild. :param guild_id: Guild ID snowflake. :param " -"emoji_id: Emoji ID snowflake. :return: Emoji object" -msgstr "" - -#: interactions.api.http.HTTPClient.create_guild_emoji:1 of -msgid "" -"Creates an emoji. :param guild_id: Guild ID snowflake. :param data: Emoji" -" parameters. :param reason: Optionally, give a reason. :return: An emoji " -"object with the included parameters." -msgstr "" - -#: interactions.api.http.HTTPClient.modify_guild_emoji:1 of -msgid "" -"Modifies an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param data: Emoji parameters with updated attributes " -":param reason: Optionally, give a reason. :return: An emoji object with " -"updated attributes." -msgstr "" - -#: interactions.api.http.HTTPClient.delete_guild_emoji:1 of -msgid "" -"Deletes an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param reason: Optionally, give a reason." +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:1 +#: of +msgid "Deletes the original message object sent." msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.channel.po b/docs/locale/hi/LC_MESSAGES/api.models.channel.po index e4af3b294..529af7d9d 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.channel.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.channel.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,24 +26,24 @@ msgstr "" msgid "An enumerable object representing the type of channels." msgstr "" -#: interactions.api.models.channel.ChannelType:3 of -msgid ".. note::" +#: interactions.api.models.channel.Thread:1 of +msgid "An object representing a thread." msgstr "" -#: interactions.api.models.channel.ChannelType:4 of +#: interactions.api.models.channel.Thread:4 of msgid "" -"While all of them are listed, not all of them will be used at this " -"library's scope." +"This is a derivation of the base Channel, since a thread can be its own " +"event." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:1 of -msgid "A class object representing the metadata of a thread." +#: interactions.api.models.channel.Channel:1 of +msgid "A class object representing all types of channels." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:4 of +#: interactions.api.models.channel.Channel:4 of msgid "" -"``invitable`` will only show if the thread can have an invited created " -"with the current cached permissions." +"The purpose of this model is to be used as a base class, and is never " +"needed to be used directly." msgstr "" #: interactions.api.models.channel.Channel @@ -52,62 +52,6 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.channel.ThreadMetadata:7 of -msgid "The current thread accessibility state." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:8 of -msgid "The auto-archive time." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:9 of -msgid "The timestamp that the thread will be/has been closed at." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:10 of -msgid "The current message state of the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:11 of -msgid "The ability to invite users to the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:1 of -msgid "A class object representing a member in a thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:4 of -msgid "" -"``id`` only shows if there are active intents involved with the member in" -" the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:7 of -msgid "The \"ID\" or intents of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:8 of -msgid "The user ID of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:9 of -msgid "The timestamp of when the member joined the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:10 of -msgid "The bitshift flags for the member in the thread." -msgstr "" - -#: interactions.api.models.channel.Channel:1 of -msgid "A class object representing all types of channels." -msgstr "" - -#: interactions.api.models.channel.Channel:4 of -msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." -msgstr "" - #: interactions.api.models.channel.Channel:7 of msgid "The (snowflake) ID of the channel." msgstr "" @@ -214,20 +158,564 @@ msgstr "" msgid "The permissions of the channel." msgstr "" -#: interactions.api.models.channel.TextChannel:1 of +#: interactions.api.models.channel.Channel.mention:1 of +msgid "Returns a string that allows you to mention the given channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Returns" +msgstr "" + +#: interactions.api.models.channel.Channel.mention:3 of +msgid "The string of the mentioned channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Return type" +msgstr "" + +#: interactions.api.models.channel.Channel.send:1 of +msgid "Sends a message in the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_invite +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.pin_message +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit +#: interactions.api.models.channel.Channel.unpin_message of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.channel.Channel.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.channel.Channel.send:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.channel.Channel.send:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.channel.Channel.send:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.channel.Channel.delete:1 of +msgid "Deletes the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:1 of +msgid "Edits the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:6 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:8 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:10 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:12 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:14 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:16 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:18 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:20 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:24 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:26 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:3 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:28 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:30 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:32 of +msgid "The modified channel as new object" +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:1 of +msgid "Sets the name of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:3 of +msgid "The new name of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.lock:5 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:5 +#: interactions.api.models.channel.Channel.set_bitrate:5 +#: interactions.api.models.channel.Channel.set_name:5 +#: interactions.api.models.channel.Channel.set_nsfw:5 +#: interactions.api.models.channel.Channel.set_parent_id:5 +#: interactions.api.models.channel.Channel.set_position:5 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:5 +#: interactions.api.models.channel.Channel.set_topic:5 +#: interactions.api.models.channel.Channel.set_user_limit:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:7 +#: interactions.api.models.channel.Channel.lock:7 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:7 +#: interactions.api.models.channel.Channel.set_bitrate:7 +#: interactions.api.models.channel.Channel.set_name:7 +#: interactions.api.models.channel.Channel.set_nsfw:7 +#: interactions.api.models.channel.Channel.set_parent_id:7 +#: interactions.api.models.channel.Channel.set_position:7 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:7 +#: interactions.api.models.channel.Channel.set_topic:7 +#: interactions.api.models.channel.Channel.set_user_limit:7 of +msgid "The edited channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:1 of +msgid "Sets the topic of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:3 of +msgid "The new topic of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:1 of +msgid "Sets the bitrate of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:3 of +msgid "The new bitrate of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:1 of +msgid "Sets the user_limit of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:3 of +msgid "The new user limit of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:1 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:1 of +msgid "Sets the position of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:3 of +msgid "The new rate_limit_per_user of the channel (0-21600)" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:3 of +msgid "The new position of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:1 of +msgid "Sets the parent_id of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:3 of +msgid "The new parent_id of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:1 of +msgid "Sets the nsfw-flag of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:3 of +msgid "The new nsfw-flag of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:1 of +msgid "Sets the archived state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.archive:3 of +msgid "Whether the Thread is archived, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:5 of +msgid "The reason of the archiving" +msgstr "" + +#: interactions.api.models.channel.Channel.set_auto_archive_duration:1 of +msgid "Sets the time after the thread is automatically archived." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:1 of +msgid "Sets the locked state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:3 of +msgid "Whether the Thread is locked, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:1 of +msgid "This adds a member to the channel, if the channel is a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:3 of +msgid "The id of the member to add to the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:1 of +msgid "Pins a message to the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:3 of +msgid "The id of the message to pin" +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:1 of +msgid "Unpins a message from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:3 of +msgid "The id of the message to unpin" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in the channel to any that " +"is followed by." +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:3 of +msgid "The id of the message to publish" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:5 of +msgid "The message published" +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:1 of +msgid "Get all pinned messages from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:3 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:1 of +msgid "Gets a message sent in that channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:3 of +msgid "The message as object" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:1 of +msgid "" +"Purges a given amount of messages from a channel. You can specify a check" +" function to exclude specific messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:3 of +msgid "" +"Calling this method can lead to rate-limits when purging higher amounts " +"of messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:11 of +msgid "The amount of messages to delete" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:13 of +msgid "" +"The function used to check if a message should be deleted. The message is" +" only deleted if the check returns `True`" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:15 of +msgid "An id of a message to purge only messages before that message" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:17 of +msgid "" +"Whether to bulk delete the messages (you cannot delete messages older " +"than 14 days, default) or to delete every message seperately" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:18 of +msgid "Optional[bool]" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:19 of +msgid "The reason of the deletes" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:21 of +msgid "A list of the deleted messages" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:1 of +msgid "Creates a thread in the Channel." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:8 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:10 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:12 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:14 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:16 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:1 of +msgid "Creates an invite for the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:3 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for text channels." +"Duration of invite in seconds before expiry, or 0 for never. between 0 " +"and 604800 (7 days). Default 86400 (24h)" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:5 of +msgid "Max number of uses or 0 for unlimited. between 0 and 100. Default 0" msgstr "" -#: interactions.api.models.channel.DMChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:7 of +msgid "Whether this invite only grants temporary membership. Default False" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:9 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for DM channels." +"If true, don't try to reuse a similar invite (useful for creating many " +"unique one time use invites). Default False" msgstr "" -#: interactions.api.models.channel.ThreadChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:11 of +msgid "The type of target for this voice channel invite" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:13 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for thread channels." +"The id of the user whose stream to display for this invite, required if " +"target_type is STREAM, the user must be streaming in the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:15 of +msgid "" +"The id of the embedded application to open for this invite, required if " +"target_type is EMBEDDED_APPLICATION, the application must have the " +"EMBEDDED flag" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:17 of +msgid "The reason for the creation of the invite" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:1 of +msgid "Gets messages from the channel's history." +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:3 of +msgid "The amount of messages to get. Default 100" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:5 of +msgid "A list of messages" +msgstr "" + +#: interactions.api.models.channel.Channel.get_webhooks:1 of +msgid "Gets a list of webhooks of that channel" +msgstr "" + +#: interactions.api.models.channel.ThreadMember:1 of +msgid "A class object representing a member in a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:4 of +msgid "" +"``id`` only shows if there are active intents involved with the member in" +" the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:7 of +msgid "The \"ID\" or intents of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:8 of +msgid "The user ID of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:9 of +msgid "The timestamp of when the member joined the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:10 of +msgid "The bitshift flags for the member in the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:11 of +msgid "Whether the member is muted or not." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:1 of +msgid "A class object representing the metadata of a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:4 of +msgid "" +"``invitable`` will only show if the thread can have an invited created " +"with the current cached permissions." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:7 of +msgid "The current thread accessibility state." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:8 of +msgid "The auto-archive time." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:9 of +msgid "The timestamp that the thread will be/has been closed at." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:10 of +msgid "The current message state of the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:11 of +msgid "The ability to invite users to the thread." msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.flags.po b/docs/locale/hi/LC_MESSAGES/api.models.flags.po new file mode 100644 index 000000000..6b44fd0d5 --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/api.models.flags.po @@ -0,0 +1,64 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.flags.rst:4 +msgid "Flag Bitshift Models" +msgstr "" + +#: interactions.api.models.flags.Intents:1 of +msgid "" +"An integer flag bitshift object representing flags respective for each " +"gateway intent type." +msgstr "" + +#: interactions.api.models.flags.AppFlags:1 of +msgid "" +"An integer flag bitshift object representing the different application " +"flags given by Discord." +msgstr "" + +#: interactions.api.models.flags.StatusType:1 of +msgid "" +"An enumerable object representing Discord status icons that a user may " +"have." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.api.models.flags.UserFlags:1 of +msgid "" +"An integer flag bitshift object representing the different user flags " +"given by Discord." +msgstr "" + +#: interactions.api.models.flags.Permissions:1 of +msgid "" +"An integer flag bitshift object representing the different member " +"permissions given by Discord." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.guild.po b/docs/locale/hi/LC_MESSAGES/api.models.guild.po index f2c1dd57a..795f3c96e 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.guild.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.guild.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,68 +22,166 @@ msgstr "" msgid "Guild Models" msgstr "" -#: interactions.api.models.guild.GuildFeature:1 of -msgid "" -"An enumerable string-formatted class representing all of the features a " -"guild can have." +#: interactions.api.models.guild.VerificationLevel:1 of +msgid "An enumerable object representing the verification level of a guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:1 of -msgid "A class object representing a welcome channel on the welcome screen." +#: interactions.api.models.guild.EntityType:1 of +msgid "An enumerable object representing the type of event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:4 of +#: interactions.api.models.guild.DefaultMessageNotificationLevel:1 of msgid "" -"``emoji_id`` and ``emoji_name`` are given values respectively if the " -"welcome channel uses an emoji." +"An enumerable object representing the default message notification level " +"of a guild." +msgstr "" + +#: interactions.api.models.guild.EventMetadata:1 of +msgid "A class object representing the metadata of an event entity." msgstr "" +#: interactions.api.models.guild.EventMetadata #: interactions.api.models.guild.Guild #: interactions.api.models.guild.GuildPreview +#: interactions.api.models.guild.GuildTemplate +#: interactions.api.models.guild.Integration +#: interactions.api.models.guild.Invite +#: interactions.api.models.guild.ScheduledEvents #: interactions.api.models.guild.StageInstance +#: interactions.api.models.guild.UnavailableGuild #: interactions.api.models.guild.WelcomeChannels #: interactions.api.models.guild.WelcomeScreen of msgid "Variables" msgstr "" -#: interactions.api.models.guild.WelcomeChannels:7 of -msgid "The ID of the welcome channel." +#: interactions.api.models.guild.EventMetadata:3 of +msgid "The location of the event, if any." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:8 of -msgid "The description of the welcome channel." +#: interactions.api.models.guild.EventStatus:1 of +msgid "An enumerable object representing the status of an event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:9 of -msgid "The ID of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:1 of +msgid "An object representing the snapshot of an existing guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:10 of -msgid "The name of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:3 of +msgid "The code of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:1 of -msgid "A class object representing the welcome screen shown for community guilds." +#: interactions.api.models.guild.GuildTemplate:4 of +msgid "The name of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:4 of -msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +#: interactions.api.models.guild.GuildTemplate:5 of +msgid "The description of the guild template, if given." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:6 of -msgid "We assume it's for the welcome screen topic." +#: interactions.api.models.guild.GuildTemplate:6 of +msgid "The amount of uses on the template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:8 of -msgid "The description of the welcome sceen." +#: interactions.api.models.guild.GuildTemplate:7 of +msgid "User ID of the creator of this template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:9 of -msgid "A list of welcome channels of the welcome screen." +#: interactions.api.models.guild.GuildTemplate:8 of +msgid "The User object of the creator of this template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:9 of +msgid "The time when this template was created." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:10 of +msgid "The time when this template was updated." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:11 of +msgid "The Guild ID that the template sourced from." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:12 of +msgid "A partial Guild object from the sourced template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:13 of +msgid "A status that denotes if the changes are unsynced." +msgstr "" + +#: interactions.api.models.guild.Integration:1 of +msgid "A class object representing an integration in a guild." +msgstr "" + +#: interactions.api.models.guild.Integration:3 of +msgid "The ID of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:4 of +msgid "The name of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:5 of +msgid "The type of integration." +msgstr "" + +#: interactions.api.models.guild.Integration:6 of +msgid "Whether the integration is enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:7 of +msgid "Whether the integration is syncing or not." +msgstr "" + +#: interactions.api.models.guild.Integration:8 of +msgid "The role ID that the integration uses for \"subscribed\" users." +msgstr "" + +#: interactions.api.models.guild.Integration:9 of +msgid "Whether emoticons should be enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:10 of +msgid "The expiration behavior of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:11 of +msgid "" +"The \"grace period\" of the integration when expired -- how long it can " +"still be used." +msgstr "" + +#: interactions.api.models.guild.Integration:12 of +msgid "The user of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:13 of +msgid "The account of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:14 of +msgid "The time that the integration was last synced." +msgstr "" + +#: interactions.api.models.guild.Integration:15 of +msgid "The current subscriber count of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:16 of +msgid "Whether the integration was revoked for use or not." +msgstr "" + +#: interactions.api.models.guild.Integration:17 of +msgid "The application used for the integration." +msgstr "" + +#: interactions.api.models.guild.InviteTargetType:1 of +msgid "An enumerable object representing the different invite target types" msgstr "" #: interactions.api.models.guild.StageInstance:1 of -msgid "A class object representing an instace of a stage channel in a guild." +msgid "A class object representing an instance of a stage channel in a guild." msgstr "" #: interactions.api.models.guild.StageInstance:3 of @@ -110,6 +208,154 @@ msgstr "" msgid "Whether the stage can be seen from the stage discovery." msgstr "" +#: interactions.api.models.guild.UnavailableGuild:1 of +msgid "A class object representing how a guild that is unavailable." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:4 of +msgid "" +"This object only seems to show up during the connection process of the " +"client to the Gateway when the ``READY`` event is dispatched. This event " +"will pass fields with ``guilds`` where this becomes present." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:9 of +msgid "The ID of the unavailable guild." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:10 of +msgid "Whether the guild is unavailable or not." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:1 of +msgid "A class object representing a welcome channel on the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:4 of +msgid "" +"``emoji_id`` and ``emoji_name`` are given values respectively if the " +"welcome channel uses an emoji." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:7 of +msgid "The ID of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:8 of +msgid "The description of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:9 of +msgid "The ID of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:10 of +msgid "The name of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.ExplicitContentFilterLevel:1 of +msgid "" +"An enumerable object representing the explicit content filter level of a " +"guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:1 of +msgid "A class object representing the scheduled events of a guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:19 +#: interactions.api.models.guild.ScheduledEvents:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:1 of +msgid "A class object representing the welcome screen shown for community guilds." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:4 of +msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:6 of +msgid "We assume it's for the welcome screen topic." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:8 of +msgid "The description of the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:9 of +msgid "A list of welcome channels of the welcome screen." +msgstr "" + #: interactions.api.models.guild.Guild:1 of msgid "A class object representing how a guild is registered." msgstr "" @@ -122,17 +368,17 @@ msgid "" msgstr "" #: interactions.api.models.guild.Guild:8 -#: interactions.api.models.guild.GuildPreview:6 of +#: interactions.api.models.guild.GuildPreview:3 of msgid "The ID of the guild." msgstr "" #: interactions.api.models.guild.Guild:9 -#: interactions.api.models.guild.GuildPreview:7 of +#: interactions.api.models.guild.GuildPreview:4 of msgid "The name of the guild." msgstr "" #: interactions.api.models.guild.Guild:10 -#: interactions.api.models.guild.GuildPreview:8 of +#: interactions.api.models.guild.GuildPreview:5 of msgid "The icon of the guild." msgstr "" @@ -141,12 +387,12 @@ msgid "The hashed version of the icon of the guild." msgstr "" #: interactions.api.models.guild.Guild:12 -#: interactions.api.models.guild.GuildPreview:9 of +#: interactions.api.models.guild.GuildPreview:6 of msgid "The invite splash banner of the guild." msgstr "" #: interactions.api.models.guild.Guild:13 -#: interactions.api.models.guild.GuildPreview:10 of +#: interactions.api.models.guild.GuildPreview:7 of msgid "The discovery splash banner of the guild." msgstr "" @@ -199,12 +445,12 @@ msgid "The list of roles in the guild." msgstr "" #: interactions.api.models.guild.Guild:26 -#: interactions.api.models.guild.GuildPreview:11 of +#: interactions.api.models.guild.GuildPreview:8 of msgid "The list of emojis from the guild." msgstr "" #: interactions.api.models.guild.Guild:27 -#: interactions.api.models.guild.GuildPreview:12 of +#: interactions.api.models.guild.GuildPreview:9 of msgid "The list of features of the guild." msgstr "" @@ -241,96 +487,1250 @@ msgid "The amount of members in the guild." msgstr "" #: interactions.api.models.guild.Guild:36 of -msgid "The list of presences in the guild." +msgid "The members in the guild." msgstr "" #: interactions.api.models.guild.Guild:37 of -msgid "The maximum amount of presences allowed in the guild." +msgid "The channels in the guild." msgstr "" #: interactions.api.models.guild.Guild:38 of -msgid "The maximum amount of members allowed in the guild." +msgid "All known threads in the guild." msgstr "" #: interactions.api.models.guild.Guild:39 of +msgid "The list of presences in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:40 of +msgid "The maximum amount of presences allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:41 of +msgid "The maximum amount of members allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:42 of msgid "The vanity URL of the guild." msgstr "" -#: interactions.api.models.guild.Guild:40 -#: interactions.api.models.guild.GuildPreview:15 of +#: interactions.api.models.guild.Guild:43 +#: interactions.api.models.guild.GuildPreview:12 of msgid "The description of the guild." msgstr "" -#: interactions.api.models.guild.Guild:41 of +#: interactions.api.models.guild.Guild:44 of msgid "The banner of the guild." msgstr "" -#: interactions.api.models.guild.Guild:42 of +#: interactions.api.models.guild.Guild:45 of msgid "The server boost level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:43 of +#: interactions.api.models.guild.Guild:46 of msgid "The amount of server boosters in the guild." msgstr "" -#: interactions.api.models.guild.Guild:44 of +#: interactions.api.models.guild.Guild:47 of msgid "The \"preferred\" local region of the guild." msgstr "" -#: interactions.api.models.guild.Guild:45 of +#: interactions.api.models.guild.Guild:48 of msgid "The channel ID for community updates of the guild." msgstr "" -#: interactions.api.models.guild.Guild:46 of +#: interactions.api.models.guild.Guild:49 of msgid "" "The maximum amount of video streaming members in a channel allowed in a " "guild." msgstr "" -#: interactions.api.models.guild.Guild:47 -#: interactions.api.models.guild.GuildPreview:13 of +#: interactions.api.models.guild.Guild:50 +#: interactions.api.models.guild.GuildPreview:10 of msgid "The approximate amount of members in the guild." msgstr "" -#: interactions.api.models.guild.Guild:48 -#: interactions.api.models.guild.GuildPreview:14 of +#: interactions.api.models.guild.Guild:51 +#: interactions.api.models.guild.GuildPreview:11 of msgid "The approximate amount of presences in the guild." msgstr "" -#: interactions.api.models.guild.Guild:49 of +#: interactions.api.models.guild.Guild:52 of msgid "The welcome screen of the guild." msgstr "" -#: interactions.api.models.guild.Guild:50 of +#: interactions.api.models.guild.Guild:53 of msgid "The NSFW safety filter level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:51 of +#: interactions.api.models.guild.Guild:54 of msgid "The stage instance of the guild." msgstr "" -#: interactions.api.models.guild.Guild:52 of +#: interactions.api.models.guild.Guild:55 of msgid "The list of stickers from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:1 of -msgid "A model representing the preview of a guild." +#: interactions.api.models.guild.Guild:56 of +msgid "Whether the guild has the boost progress bar enabled." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of -msgid ".. note::" +#: interactions.api.models.guild.Guild.ban:1 of +msgid "Bans a member from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of +#: interactions.api.models.guild.Guild.add_member_role +#: interactions.api.models.guild.Guild.ban +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_emoji +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.delete_channel +#: interactions.api.models.guild.Guild.delete_emoji +#: interactions.api.models.guild.Guild.delete_role +#: interactions.api.models.guild.Guild.delete_scheduled_event +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.kick +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.remove_ban +#: interactions.api.models.guild.Guild.remove_member_role +#: interactions.api.models.guild.Guild.search_members +#: interactions.api.models.guild.Guild.set_afk_channel +#: interactions.api.models.guild.Guild.set_afk_timeout +#: interactions.api.models.guild.Guild.set_banner +#: interactions.api.models.guild.Guild.set_default_message_notifications +#: interactions.api.models.guild.Guild.set_description +#: interactions.api.models.guild.Guild.set_discovery_splash +#: interactions.api.models.guild.Guild.set_explicit_content_filter +#: interactions.api.models.guild.Guild.set_icon +#: interactions.api.models.guild.Guild.set_name +#: interactions.api.models.guild.Guild.set_preferred_locale +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled +#: interactions.api.models.guild.Guild.set_public_updates_channel +#: interactions.api.models.guild.Guild.set_rules_channel +#: interactions.api.models.guild.Guild.set_splash +#: interactions.api.models.guild.Guild.set_system_channel +#: interactions.api.models.guild.Guild.set_verification_level of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:3 of +msgid "The id of the member to ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:1 of +msgid "Removes the ban of a user." +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:3 of +msgid "The id of the user to remove the ban from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:5 of +msgid "The reason for the removal of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:1 of +msgid "Kicks a member from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.kick:3 of +msgid "The id of the member to kick" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:4 of msgid "" -"This refers to the documentation `here " -"_`" +":type role Union[Role, int] :param member_id: The id of the member to add" +" the roles to :type member_id: int :param reason?: The reason why the " +"roles are added :type reason: Optional[str]" msgstr "" -#: interactions.api.models.guild.Invite:1 of -msgid "The invite object." +#: interactions.api.models.guild.Guild.remove_member_role:1 of +msgid "This method removes a or multiple role(s) from a member." msgstr "" -#: interactions.api.models.guild.GuildTemplate:1 of -msgid "An object representing the snapshot of an existing guild." +#: interactions.api.models.guild.Guild.remove_member_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:5 of +msgid "The id of the member to remove the roles from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:1 of +msgid "Creates a new role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:3 of +msgid "The name of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:5 of +msgid "RGB color value as integer, default ``0``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:7 of +msgid "Bitwise value of the enabled/disabled permissions" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:9 of +msgid "" +"Whether the role should be displayed separately in the sidebar, default " +"``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:11 of +msgid "The role's icon image (if the guild has the ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:13 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:15 of +msgid "Whether the role should be mentionable, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:17 of +msgid "The reason why the role is created, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Returns" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:19 of +msgid "The created Role" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Return type" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:1 of +msgid "" +"Searches for the member with specified id in the guild and returns the " +"member as member object." +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:3 of +msgid "The id of the member to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:5 of +msgid "The member searched for" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:1 of +msgid "Deletes a channel from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:3 of +msgid "The id of the channel to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:1 of +msgid "Deletes a role from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:3 of +msgid "The id of the role to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:5 +#: interactions.api.models.guild.Guild.delete_role:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:1 of +msgid "Edits a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:3 of +msgid "The id of the role to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:9 of +msgid "" +"Bitwise value of the enabled/disabled permissions, defaults to the " +"current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:1 of +msgid "Creates a thread in the specified channel." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:5 of +msgid "The id of the channel to create the thread in" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:7 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:10 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:12 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:14 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:16 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:18 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:1 of +msgid "Creates a channel in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:3 of +msgid "The name of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:5 of +msgid "The type of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:7 of +msgid "The topic of that channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:9 of +msgid "(voice channel only) The bitrate (in bits) of the voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:11 of +msgid "(voice channel only) Maximum amount of users in the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:13 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:15 of +msgid "Sorting position of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:17 of +msgid "The id of the parent category for a channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:19 +#: interactions.api.models.guild.Guild.modify_channel:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:21 of +msgid "Whether the channel is nsfw or not, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:23 of +msgid "The reason for the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:25 of +msgid "The created channel" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:1 of +msgid "Clones a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:3 of +msgid "The id of the channel to clone" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:5 of +msgid "The cloned channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:1 of +msgid "Edits a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:6 of +msgid "The id of the channel to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:8 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:10 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:12 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:14 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:16 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:18 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:20 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:24 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:26 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:28 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:30 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:32 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:34 of +msgid "The modified channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:1 of +msgid "Modifies a member of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:3 of +msgid "The id of the member to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:19 of +msgid "The modified member" +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:1 of +msgid "Get the guild's preview." +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:3 of +msgid "the guild preview as object" +msgstr "" + +#: interactions.api.models.guild.Guild.leave:1 of +msgid "Removes the bot from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:1 of +msgid "Modifies the current guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:3 +#: interactions.api.models.guild.Guild.set_afk_channel:3 +#: interactions.api.models.guild.Guild.set_name:3 of +msgid "The new name of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:5 of +msgid "The verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:7 of +msgid "The default message notification level for members" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:9 of +msgid "The explicit content filter level for media content" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:11 of +msgid "The id for the afk voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:13 of +msgid "Afk timeout in seconds" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:15 of +msgid "" +"1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when" +" the server has the ANIMATED_ICON feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:17 of +msgid "" +"The id of the user to transfer the guild ownership to. You must be the " +"owner to perform this" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:19 of +msgid "" +"16:9 png/jpeg image for the guild splash (when the server has the " +"INVITE_SPLASH feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:21 of +msgid "" +"16:9 png/jpeg image for the guild discovery splash (when the server has " +"the DISCOVERABLE feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:23 of +msgid "" +"16:9 png/jpeg image for the guild banner (when the server has the BANNER " +"feature; can be animated gif when the server has the ANIMATED_BANNER " +"feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:25 of +msgid "" +"The id of the channel where guild notices such as welcome messages and " +"boost events are posted" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:27 of +msgid "Whether to suppress member join notifications in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:29 of +msgid "" +"Whether to suppress server boost notifications in the system channel or " +"not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:31 of +msgid "Whether to suppress server setup tips in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:33 of +msgid "" +"Whether to hide member join sticker reply buttons in the system channel " +"or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:35 of +msgid "The id of the channel where guilds display rules and/or guidelines" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:37 of +msgid "" +"The id of the channel where admins and moderators of community guilds " +"receive notices from Discord" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:39 of +msgid "" +"The preferred locale of a community guild used in server discovery and " +"notices from Discord; defaults to \"en-US\"" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:41 of +msgid "The description for the guild, if the guild is discoverable" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:43 of +msgid "Whether the guild's boost progress bar is enabled" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:45 +#: interactions.api.models.guild.Guild.modify_role_position:7 +#: interactions.api.models.guild.Guild.modify_role_positions:5 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:47 of +msgid "The modified guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_name:1 of +msgid "Sets the name of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:5 +#: interactions.api.models.guild.Guild.set_afk_timeout:5 +#: interactions.api.models.guild.Guild.set_banner:5 +#: interactions.api.models.guild.Guild.set_default_message_notifications:5 +#: interactions.api.models.guild.Guild.set_description:5 +#: interactions.api.models.guild.Guild.set_discovery_splash:5 +#: interactions.api.models.guild.Guild.set_explicit_content_filter:5 +#: interactions.api.models.guild.Guild.set_icon:5 +#: interactions.api.models.guild.Guild.set_name:5 +#: interactions.api.models.guild.Guild.set_preferred_locale:5 +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:5 +#: interactions.api.models.guild.Guild.set_public_updates_channel:5 +#: interactions.api.models.guild.Guild.set_rules_channel:5 +#: interactions.api.models.guild.Guild.set_splash:5 +#: interactions.api.models.guild.Guild.set_system_channel:5 +#: interactions.api.models.guild.Guild.set_verification_level:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:1 of +msgid "Sets the verification level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:3 of +msgid "The new verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:1 of +msgid "Sets the default message notifications level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:3 of +msgid "The new default message notification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:1 of +msgid "Sets the explicit content filter level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:3 of +msgid "The new explicit content filter level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:1 of +msgid "Sets the afk channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:1 of +msgid "Sets the afk timeout of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:3 of +msgid "The new afk timeout of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:1 of +msgid "Sets the system channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:3 of +msgid "The new system channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:1 of +msgid "Sets the rules channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:3 of +msgid "The new rules channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:1 of +msgid "Sets the public updates channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:3 of +msgid "The new public updates channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:1 of +msgid "Sets the preferred locale of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:3 of +msgid "The new preferredlocale of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:1 of +msgid "Sets the description of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:3 of +msgid "The new description of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:1 of +msgid "Sets the visibility of the premium progress bar of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:3 of +msgid "Whether the bar is enabled or not" +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:1 of +msgid "Sets the icon of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:3 of +msgid "The new icon of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:1 of +msgid "Sets the splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:3 of +msgid "The new splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:1 of +msgid "Sets the discovery_splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:3 of +msgid "The new discovery_splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:1 of +msgid "Sets the banner of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:3 of +msgid "The new banner of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:1 of +msgid "creates a scheduled event for the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:3 +#: interactions.api.models.guild.Guild.modify_scheduled_event:5 of +msgid "The name of the event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:5 +#: interactions.api.models.guild.Guild.modify_scheduled_event:7 of +msgid "The entity type of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:7 +#: interactions.api.models.guild.Guild.modify_scheduled_event:9 of +msgid "The time to schedule the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:9 +#: interactions.api.models.guild.Guild.modify_scheduled_event:11 of +msgid "The time when the scheduled event is scheduled to end" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:11 +#: interactions.api.models.guild.Guild.modify_scheduled_event:13 of +msgid "The entity metadata of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:13 +#: interactions.api.models.guild.Guild.modify_scheduled_event:15 of +msgid "The channel id of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:15 +#: interactions.api.models.guild.Guild.modify_scheduled_event:17 of +msgid "The description of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:17 +#: interactions.api.models.guild.Guild.modify_scheduled_event:21 of +msgid "The cover image of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:19 of +msgid "The created event" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:1 of +msgid "Edits a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:3 of +msgid "The id of the event to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:23 of +msgid "The modified event" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:1 of +msgid "Deletes a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:3 of +msgid "The id of the event to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:1 of +msgid "Gets all channels of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:3 of +msgid "The channels of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:1 of +msgid "Gets all roles of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:3 of +msgid "The roles of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:1 of +msgid "Gets a role of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:3 of +msgid "The id of the role to get" +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:5 of +msgid "The role as object" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:3 of +msgid "The id of the role to modify the position of" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:9 +#: interactions.api.models.guild.Guild.modify_role_positions:7 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:1 of +msgid "Modifies the positions of multiple roles in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:3 of +msgid "A list of dicts containing roles (id) and their new positions (position)" +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:3 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:5 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:7 of +msgid "Consider only users after the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:3 +#: interactions.api.models.guild.Guild.get_bans:9 of +msgid "List of banned users with reasons" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:1 of +msgid "Gets all bans of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:1 of +msgid "Gets an emoji of the guild and returns it." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:3 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:5 of +msgid "The specified Emoji, if found" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:1 of +msgid "Gets all emojis of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:3 of +msgid "All emojis of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:1 of +msgid "Creates an Emoji in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:3 of +msgid "The image of the emoji." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:5 of +msgid "The name of the emoji. If not specified, the filename will be used" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:7 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:9 of +msgid "The reason of the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:1 of +msgid "Deletes an emoji of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:3 of +msgid "The emoji or the id of the emoji to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:1 of +msgid "Lists the members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:3 of +msgid "How many members to get from the API. Max is 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:5 of +msgid "Get only Members after this member." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:7 of +msgid "A list of members" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:1 of +msgid "" +"Search the guild for members whose username or nickname starts with " +"provided string." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:3 of +msgid "The string to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:5 of +msgid "The number of members to return." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:7 of +msgid "A list of matching members" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:1 of +msgid "Gets all members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:3 of +msgid "Calling this method can lead to rate-limits in larger guilds." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:5 of +msgid "Returns a list of all members of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.icon_url:1 of +msgid "" +"Returns the URL of the guild's icon. :return: URL of the guild's icon " +"(None will be returned if no icon is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.banner_url:1 of +msgid "" +"Returns the URL of the guild's banner. :return: URL of the guild's banner" +" (None will be returned if no banner is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.splash_url:1 of +msgid "" +"Returns the URL of the guild's invite splash banner. :return: URL of the " +"guild's invite splash banner (None will be returned if no banner is set) " +":rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.discovery_splash_url:1 of +msgid "" +"Returns the URL of the guild's discovery splash banner. :return: URL of " +"the guild's discovery splash banner (None will be returned if no banner " +"is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.GuildPreview:1 of +msgid "A class object representing the preview of a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:1 of +msgid "The invite object." +msgstr "" + +#: interactions.api.models.guild.Invite:3 of +msgid "The amount of uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:4 of +msgid "The amount of maximum uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:5 of +msgid "The maximum age of this invite, in seconds." +msgstr "" + +#: interactions.api.models.guild.Invite:6 of +msgid "A detection of whether this invite only grants temporary membership." +msgstr "" + +#: interactions.api.models.guild.Invite:7 of +msgid "The time when this invite was created." +msgstr "" + +#: interactions.api.models.guild.Invite:8 of +msgid "The time when this invite will expire." +msgstr "" + +#: interactions.api.models.guild.Invite:9 of +msgid "The type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:10 of +msgid "The user who created this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:11 of +msgid "The code of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:12 of +msgid "The guild ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:13 of +msgid "The channel ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:14 of +msgid "The type of the target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:15 of +msgid "The target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:16 of +msgid "The target type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:17 of +msgid "The guild of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:18 of +msgid "The channel of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:19 of +msgid "The approximate amount of total members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:20 of +msgid "The aprpoximate amount of online members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:21 of +msgid "A scheduled guild event object included in the invite." +msgstr "" + +#: interactions.api.models.guild.Invite.delete:1 of +msgid "Deletes the invite" msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.gw.po b/docs/locale/hi/LC_MESSAGES/api.models.gw.po new file mode 100644 index 000000000..ffa9c1972 --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/api.models.gw.po @@ -0,0 +1,678 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.gw.rst:4 +msgid "Gateway-specific Event Models" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:1 of +msgid "" +"A class object representing the gateway event " +"``APPLICATION_COMMAND_PERMISSIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:3 of +msgid "" +"This is undocumented by the Discord API, so these attribute docs may or " +"may not be finalised." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions +#: interactions.api.models.gw.ChannelPins +#: interactions.api.models.gw.EmbeddedActivity +#: interactions.api.models.gw.GuildBan interactions.api.models.gw.GuildEmojis +#: interactions.api.models.gw.GuildIntegrations +#: interactions.api.models.gw.GuildJoinRequest +#: interactions.api.models.gw.GuildMember +#: interactions.api.models.gw.GuildMembers interactions.api.models.gw.GuildRole +#: interactions.api.models.gw.GuildScheduledEvent +#: interactions.api.models.gw.GuildScheduledEventUser +#: interactions.api.models.gw.GuildStickers +#: interactions.api.models.gw.Integration +#: interactions.api.models.gw.MessageReaction +#: interactions.api.models.gw.Presence +#: interactions.api.models.gw.ReactionRemove +#: interactions.api.models.gw.ThreadList +#: interactions.api.models.gw.ThreadMembers interactions.api.models.gw.Webhooks +#: of +msgid "Variables" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:5 of +msgid "The application ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:6 of +msgid "The guild ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:7 of +msgid "The ID of the command associated with the event. (?)" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:8 of +msgid "The updated permissions of the associated command/event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:1 of +msgid "A class object representing the event ``EMBEDDED_ACTIVITY_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:4 +#: interactions.api.models.gw.GuildJoinRequest:4 of +msgid "This is entirely undocumented by the API." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:6 of +msgid "The list of users of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:3 +#: interactions.api.models.gw.EmbeddedActivity:7 +#: interactions.api.models.gw.GuildBan:3 +#: interactions.api.models.gw.GuildEmojis:3 +#: interactions.api.models.gw.GuildIntegrations:3 +#: interactions.api.models.gw.GuildJoinRequest:7 +#: interactions.api.models.gw.GuildMember:3 +#: interactions.api.models.gw.GuildMembers:3 +#: interactions.api.models.gw.GuildRole:3 +#: interactions.api.models.gw.GuildStickers:3 +#: interactions.api.models.gw.Integration:23 +#: interactions.api.models.gw.MessageReaction:6 +#: interactions.api.models.gw.Presence:4 +#: interactions.api.models.gw.ReactionRemove:10 +#: interactions.api.models.gw.ThreadList:3 +#: interactions.api.models.gw.ThreadMembers:4 of +msgid "The guild ID of the event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:8 of +msgid "The embedded presence activity of the associated event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:4 +#: interactions.api.models.gw.EmbeddedActivity:9 +#: interactions.api.models.gw.MessageReaction:4 +#: interactions.api.models.gw.ReactionRemove:8 of +msgid "The channel ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:1 of +msgid "" +"A class object representing the gateway events ``INTEGRATION_CREATE``, " +"``INTEGRATION_UPDATE`` and ``INTEGRATION_DELETE``." +msgstr "" + +#: interactions.api.models.gw.Integration:4 of +msgid "" +"The documentation of this event is the same as " +":class:`interactions.api.models.guild.Guild`. The only key missing " +"attribute is ``guild_id``. Likewise, the documentation below reflects " +"this." +msgstr "" + +#: interactions.api.models.gw.Integration:8 +#: interactions.api.models.gw.ThreadMembers:3 of +msgid "The ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:9 of +msgid "The name of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:10 of +msgid "The type of integration in the event." +msgstr "" + +#: interactions.api.models.gw.Integration:11 of +msgid "Whether the integration of the event is enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:12 of +msgid "Whether the integration of the event is syncing or not." +msgstr "" + +#: interactions.api.models.gw.Integration:13 of +msgid "" +"The role ID that the integration in the event uses for \"subscribed\" " +"users." +msgstr "" + +#: interactions.api.models.gw.Integration:14 of +msgid "Whether emoticons of the integration's event should be enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:15 of +msgid "The expiration behavior of the integration of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:16 of +msgid "" +"The \"grace period\" of the integration of the event when expired -- how " +"long it can still be used." +msgstr "" + +#: interactions.api.models.gw.GuildBan:4 +#: interactions.api.models.gw.GuildMember:5 +#: interactions.api.models.gw.Integration:17 +#: interactions.api.models.gw.Presence:3 of +msgid "The user of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:18 of +msgid "The account of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:19 of +msgid "The time that the integration of the event was last synced." +msgstr "" + +#: interactions.api.models.gw.Integration:20 of +msgid "The current subscriber count of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:21 of +msgid "Whether the integration of the event was revoked for use or not." +msgstr "" + +#: interactions.api.models.gw.Integration:22 of +msgid "The application used for the integration of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:1 of +msgid "A class object representing the gateway event ``CHANNEL_PINS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:5 of +msgid "The time that the event took place." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:1 of +msgid "A class object representing the gateway event ``THREAD_MEMBERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:5 of +msgid "The member count of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:6 of +msgid "The added members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:7 of +msgid "The removed IDs of members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:1 of +msgid "A class object representing the gateway event ``THREAD_LIST_SYNC``." +msgstr "" + +#: interactions.api.models.gw.ThreadList:4 of +msgid "The channel IDs of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:5 of +msgid "The threads of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:6 of +msgid "The members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:1 of +msgid "" +"A class object representing the gateway events " +"``MESSAGE_REACTION_REMOVE``, ``MESSAGE_REACTION_REMOVE_ALL`` and " +"``MESSAGE_REACTION_REMOVE_EMOJI``." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:4 of +msgid "" +"This class inherits the already existing attributes of " +":class:`interactions.api.models.gw.Reaction`. The main missing attribute " +"is ``member``." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:6 +#: interactions.api.models.gw.MessageReaction:3 +#: interactions.api.models.gw.ReactionRemove:7 of +msgid "The user ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:5 +#: interactions.api.models.gw.ReactionRemove:9 of +msgid "The message ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:8 +#: interactions.api.models.gw.ReactionRemove:11 of +msgid "The emoji of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:1 of +msgid "A class object representing the gateway event ``MESSAGE_REACTION_ADD``." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:7 of +msgid "The member of the event." +msgstr "" + +#: interactions.api.models.gw.GuildIntegrations:1 of +msgid "" +"A class object representing the gateway event " +"``GUILD_INTEGRATIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildBan:1 of +msgid "A class object representing the gateway event ``GUILD_BAN_ADD``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:1 of +msgid "A class object representing the gateway event ``WEBHOOKS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:3 of +msgid "The channel ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.Webhooks:4 of +msgid "The guild ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:1 of +msgid "A class object representing the gateway event ``GUILD_MEMBERS_CHUNK``." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:4 of +msgid "The members of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:5 of +msgid "The current chunk index of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:6 of +msgid "The total chunk count of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:7 of +msgid "A list of not found members in the event if an invalid request was made." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:8 of +msgid "A list of presences in the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:9 of +msgid "The \"nonce\" of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:1 of +msgid "" +"A class object representing the gateway events ``GUILD_MEMBER_ADD``, " +"``GUILD_MEMBER_UPDATE`` and ``GUILD_MEMBER_REMOVE``." +msgstr "" + +#: interactions.api.models.gw.GuildMember:4 of +msgid "The roles of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:6 of +msgid "The nickname of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:7 of +msgid "The avatar URL of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:8 of +msgid "The time that the user of the event joined at." +msgstr "" + +#: interactions.api.models.gw.GuildMember:9 of +msgid "The time that the user of the event has since had \"premium.\"" +msgstr "" + +#: interactions.api.models.gw.GuildMember:10 of +msgid "Whether the member of the event is deafened or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:11 of +msgid "Whether the member of the event is muted or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:12 of +msgid "" +"Whether the member of the event is still pending -- pass membership " +"screening -- or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role +#: interactions.api.models.gw.GuildMember.add_to_thread +#: interactions.api.models.gw.GuildMember.ban +#: interactions.api.models.gw.GuildMember.kick +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.remove_role +#: interactions.api.models.gw.GuildMember.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:3 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:3 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:5 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:5 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:3 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:5 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:7 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:9 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:11 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:13 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:15 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:17 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.gw.GuildStickers:1 of +msgid "A class object representing the gateway event ``GUILD_STICKERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildStickers:4 of +msgid "The stickers of the event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_SCHEDULED_EVENT_USER_ADD`` and " +"``GUILD_SCHEDULED_EVENT_USER_REMOVE``" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:3 of +msgid "The ID of the guild scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:4 of +msgid "The ID of the guild associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:5 of +msgid "The ID of the user associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:1 of +msgid "" +"A class object representing gateway events " +"``GUILD_SCHEDULED_EVENT_CREATE``, ``GUILD_SCHEDULED_EVENT_UPDATE``, " +"``GUILD_SCHEDULED_EVENT_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.gw.Presence:1 of +msgid "A class object representing the gateway event ``PRESENCE_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Presence:5 of +msgid "The status of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:6 of +msgid "The activities of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:7 of +msgid "The client status across platforms in the event." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_JOIN_REQUEST_CREATE``, ``GUILD_JOIN_REQUEST_UPDATE``, and " +"``GUILD_JOIN_REQUEST_DELETE``" +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:1 of +msgid "A class object representing the gateway event ``GUILD_EMOJIS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:4 of +msgid "The emojis of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:1 of +msgid "" +"A class object representing the gateway events ``GUILD_ROLE_CREATE``, " +"``GUILD_ROLE_UPDATE`` and ``GUILD_ROLE_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildRole:4 of +msgid "The role of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:5 of +msgid "The role ID of the event." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.intents.po b/docs/locale/hi/LC_MESSAGES/api.models.intents.po deleted file mode 100644 index 0c9461d6f..000000000 --- a/docs/locale/hi/LC_MESSAGES/api.models.intents.po +++ /dev/null @@ -1,36 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.intents.rst:4 -msgid "Intents Models" -msgstr "" - -#: interactions.api.models.intents.Intents:1 of -msgid "" -"A class objct representing the bitshift flags respective for each intents" -" type." -msgstr "" - -#: interactions.api.models.intents.Intents:4 of -msgid "" -"Equivalent of `Gateway Intents " -"`_ in" -" the Discord API." -msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.member.po b/docs/locale/hi/LC_MESSAGES/api.models.member.po index 8c045b1b5..d616587fa 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.member.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.member.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,20 +23,10 @@ msgid "Member Models" msgstr "" #: interactions.api.models.member.Member:1 of -msgid "A class object representing the member of a guild." +msgid "A class object representing the user of a guild, known as a \"member.\"" msgstr "" #: interactions.api.models.member.Member:4 of -msgid "Also known as the guild member class object. (or partial)" -msgstr "" - -#: interactions.api.models.member.Member:6 of -msgid "" -"The methodology, instead of regular d.py conventions is to do member.user" -" to get the pure User object, instead of d.py's option of merging." -msgstr "" - -#: interactions.api.models.member.Member:10 of msgid "" "``pending`` and ``permissions`` only apply for members retroactively " "requiring to verify rules via. membership screening or lack permissions " @@ -47,38 +37,246 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.member.Member:14 of +#: interactions.api.models.member.Member:8 of msgid "The user of the guild." msgstr "" -#: interactions.api.models.member.Member:15 of +#: interactions.api.models.member.Member:9 of msgid "The nickname of the member." msgstr "" -#: interactions.api.models.member.Member:16 of +#: interactions.api.models.member.Member:10 of +msgid "The hash containing the user's guild avatar, if applicable." +msgstr "" + +#: interactions.api.models.member.Member:11 of msgid "The list of roles of the member." msgstr "" -#: interactions.api.models.member.Member:17 of +#: interactions.api.models.member.Member:12 of msgid "The timestamp the member joined the guild at." msgstr "" -#: interactions.api.models.member.Member:18 of +#: interactions.api.models.member.Member:13 of msgid "The timestamp the member has been a server booster since." msgstr "" -#: interactions.api.models.member.Member:19 of +#: interactions.api.models.member.Member:14 of msgid "Whether the member is deafened." msgstr "" -#: interactions.api.models.member.Member:20 of +#: interactions.api.models.member.Member:15 of msgid "Whether the member is muted." msgstr "" -#: interactions.api.models.member.Member:21 of +#: interactions.api.models.member.Member:16 of msgid "Whether the member is pending to pass membership screening." msgstr "" -#: interactions.api.models.member.Member:22 of +#: interactions.api.models.member.Member:17 of msgid "Whether the member has permissions." msgstr "" + +#: interactions.api.models.member.Member:18 of +msgid "How long until they're unmuted, if any." +msgstr "" + +#: interactions.api.models.member.Member.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.member.Member.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.member.Member.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.member.Member.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.member.Member.name:1 of +msgid "Returns the string of either the user's nickname or username." +msgstr "" + +#: interactions.api.models.member.Member.name:3 of +msgid "The name of the member" +msgstr "" + +#: interactions.api.models.member.Member.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.add_role +#: interactions.api.models.member.Member.add_to_thread +#: interactions.api.models.member.Member.ban +#: interactions.api.models.member.Member.kick +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.remove_role +#: interactions.api.models.member.Member.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.member.Member.ban:3 of +msgid "The id of the guild to ban the member from" +msgstr "" + +#: interactions.api.models.member.Member.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.member.Member.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.member.Member.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.kick:3 of +msgid "The id of the guild to kick the member from" +msgstr "" + +#: interactions.api.models.member.Member.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.member.Member.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.member.Member.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.add_role:5 of +msgid "The id of the guild to add the roles to the member" +msgstr "" + +#: interactions.api.models.member.Member.add_role:7 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.member.Member.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:5 of +msgid "The id of the guild to remove the roles of the member" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.member.Member.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.member.Member.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.member.Member.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.member.Member.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.member.Member.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.member.Member.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.member.Member.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.member.Member.modify:3 of +msgid "The id of the guild to modify the member on" +msgstr "" + +#: interactions.api.models.member.Member.modify:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.member.Member.modify:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.member.Member.modify:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.member.Member.modify:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.member.Member.modify:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.member.Member.modify:19 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.member.Member.get_avatar_url:1 of +msgid "" +"Returns the URL of the member's avatar for the specified guild. :param " +"guild_id: The id of the guild to get the member's avatar from :type " +"guild_id: int :return: URL of the members's avatar (None will be returned" +" if no avatar is set) :rtype: str" +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.message.po b/docs/locale/hi/LC_MESSAGES/api.models.message.po index a831f2985..1f8521cd0 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.message.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.message.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,33 +26,36 @@ msgstr "" msgid "An enumerable object representing the types of messages." msgstr "" -#: interactions.api.models.message.MessageType:3 of -msgid ".. note::" -msgstr "" - -#: interactions.api.models.message.MessageType:4 of -msgid "" -"While all of them are listed, not all of them would be used at this lib's" -" scope." -msgstr "" - #: interactions.api.models.message.MessageActivity:1 of msgid "A class object representing the activity state of a message." msgstr "" #: interactions.api.models.message.MessageActivity:4 of -msgid "``party_id`` is ambigious -- Discord poorly documented this. :)" +msgid "``party_id`` is ambiguous -- Discord poorly documented this. :)" msgstr "" #: interactions.api.models.message.MessageActivity:6 of msgid "" -"We assume it's for game rich presence invites? i.e. : Phasmophobia, Call " -"of Duty" +"We assume it's for game rich presence invites? i.e. : Phasmophobia and " +"Call of Duty." msgstr "" #: interactions.api.models.message.Attachment +#: interactions.api.models.message.ChannelMention +#: interactions.api.models.message.Embed +#: interactions.api.models.message.EmbedAuthor +#: interactions.api.models.message.EmbedField +#: interactions.api.models.message.EmbedFooter +#: interactions.api.models.message.EmbedImageStruct +#: interactions.api.models.message.EmbedProvider +#: interactions.api.models.message.Emoji +#: interactions.api.models.message.Message #: interactions.api.models.message.MessageActivity -#: interactions.api.models.message.MessageReference of +#: interactions.api.models.message.MessageInteraction +#: interactions.api.models.message.MessageReference +#: interactions.api.models.message.PartialSticker +#: interactions.api.models.message.ReactionObject +#: interactions.api.models.message.Sticker of msgid "Variables" msgstr "" @@ -70,8 +73,8 @@ msgstr "" #: interactions.api.models.message.MessageReference:4 of msgid "" -"All of the class instances are optionals because a message can entirely " -"never be referenced." +"All of the attributes in this class are optionals because a message can " +"potentially never be referenced." msgstr "" #: interactions.api.models.message.MessageReference:7 of @@ -97,60 +100,919 @@ msgstr "" #: interactions.api.models.message.Attachment:4 of msgid "" "``height`` and ``width`` have values based off of ``content_type``, which" -" requires it to be a media file with viewabiltiy as a photo, animated " +" requires it to be a media file with viewabiltity as a photo, animated " "photo, GIF and/or video." msgstr "" #: interactions.api.models.message.Attachment:8 of +msgid "" +"If `ephemeral` is given, the attachments will automatically be removed " +"after a set period of time. In the case of regular messages, they're " +"available as long as the message associated with the attachment exists." +msgstr "" + +#: interactions.api.models.message.Attachment:11 of msgid "The ID of the attachment." msgstr "" -#: interactions.api.models.message.Attachment:9 of +#: interactions.api.models.message.Attachment:12 of msgid "The name of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:10 of +#: interactions.api.models.message.Attachment:13 of +msgid "The description of the file." +msgstr "" + +#: interactions.api.models.message.Attachment:14 of msgid "The type of attachment file." msgstr "" -#: interactions.api.models.message.Attachment:11 of +#: interactions.api.models.message.Attachment:15 of msgid "The size of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:12 of +#: interactions.api.models.message.Attachment:16 of msgid "The CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:13 of +#: interactions.api.models.message.Attachment:17 of msgid "The proxied/cached CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:14 of +#: interactions.api.models.message.Attachment:18 of msgid "The height of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:15 of +#: interactions.api.models.message.Attachment:19 of msgid "The width of the attachment file." msgstr "" -#: interactions.api.models.message.Message:1 of -msgid "The big Message model." +#: interactions.api.models.message.Attachment:20 of +msgid "Whether the attachment is ephemeral." msgstr "" -#: interactions.api.models.message.Message:3 of +#: interactions.api.models.message.MessageInteraction:1 of +msgid "" +"A class object that resembles the interaction used to generate the " +"associated message." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:4 of +msgid "ID of the interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:5 of +msgid "Type of interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:6 of +msgid "Name of the application command." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:7 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.api.models.message.ChannelMention:1 of +msgid "A class object that resembles the mention of a channel in a guild." +msgstr "" + +#: interactions.api.models.message.ChannelMention:4 of +msgid "The ID of the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:5 of +msgid "The ID of the guild that contains the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:6 of +msgid "The channel type." +msgstr "" + +#: interactions.api.models.message.ChannelMention:7 of +msgid "The name of the channel." +msgstr "" + +#: interactions.api.models.message.Emoji:1 of +msgid "A class objecting representing an emoji." +msgstr "" + +#: interactions.api.models.message.Emoji:3 of +msgid "Emoji id" +msgstr "" + +#: interactions.api.models.message.Emoji:4 of +msgid "Emoji name." +msgstr "" + +#: interactions.api.models.message.Emoji:5 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:6 of +msgid "User that created this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:7 of +msgid "Status denoting of this emoji must be wrapped in colons" +msgstr "" + +#: interactions.api.models.message.Emoji:8 of +msgid "Status denoting if this emoji is managed (by an integration)" +msgstr "" + +#: interactions.api.models.message.Emoji:9 of +msgid "Status denoting if this emoji is animated" +msgstr "" + +#: interactions.api.models.message.Emoji:10 of msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." +"Status denoting if this emoji can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Emoji.get:1 of +msgid "Gets an emoji." +msgstr "" + +#: interactions.api.models.message.Embed.add_field +#: interactions.api.models.message.Embed.insert_field_at +#: interactions.api.models.message.Embed.remove_field +#: interactions.api.models.message.Embed.set_author +#: interactions.api.models.message.Embed.set_field_at +#: interactions.api.models.message.Embed.set_footer +#: interactions.api.models.message.Embed.set_image +#: interactions.api.models.message.Embed.set_thumbnail +#: interactions.api.models.message.Embed.set_video +#: interactions.api.models.message.Emoji.delete +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Message.create_reaction +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.delete +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.remove_all_reactions_of +#: interactions.api.models.message.Message.remove_own_reaction_of +#: interactions.api.models.message.Message.remove_reaction_from +#: interactions.api.models.message.Message.reply of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.message.Emoji.get:3 of +msgid "The id of the guild of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:5 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:7 +#: interactions.api.models.message.Emoji.get_all_of_guild:5 of +msgid "The HTTPClient of your bot. Equals to ``bot._http``" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.message.Emoji.get:9 of +msgid "The Emoji as object" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_channel +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.get_guild +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Return type" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:1 of +msgid "Gets all emoji of a guild." +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:3 of +msgid "The id of the guild to get the emojis of" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:7 of +msgid "The Emoji as list" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:1 of +msgid "Deletes the emoji." +msgstr "" + +#: interactions.api.models.message.Emoji.delete:3 of +msgid "The guild id to delete the emoji from" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.message.Emoji.url:1 of +msgid "Returns the emoji's URL." +msgstr "" + +#: interactions.api.models.message.Emoji.url:3 of +msgid "URL of the emoji" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:1 of +msgid "A class object representing the structure of an image in an embed." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:3 of +msgid "The structure of an embed image:" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:13 of +msgid "Source URL of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:14 of +msgid "Proxied url of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:15 of +msgid "Height of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:16 of +msgid "Width of the object." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:1 of +msgid "A class object representing the provider of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:3 of +msgid "Name of provider" +msgstr "" + +#: interactions.api.models.message.EmbedProvider:4 of +msgid "URL of provider" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:1 of +msgid "A class object representing the author of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:3 of +msgid "The structure of an embed author:" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:11 of +msgid "Name of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:12 of +msgid "URL of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:13 of +msgid "URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:14 of +msgid "Proxied URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:1 of +msgid "A class object representing the footer of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedFooter:3 of +msgid "The structure of an embed footer:" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:11 of +msgid "Footer text" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:12 of +msgid "URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:13 of +msgid "Proxied URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedField:1 of +msgid "A class object representing the field of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedField:3 of +msgid "The structure of an embed field:" +msgstr "" + +#: interactions.api.models.message.EmbedField:13 of +msgid "Name of the field." +msgstr "" + +#: interactions.api.models.message.EmbedField:14 of +msgid "Value of the field" +msgstr "" + +#: interactions.api.models.message.EmbedField:15 of +msgid "A status denoting if the field should be displayed inline." +msgstr "" + +#: interactions.api.models.message.Embed:1 of +msgid "A class object representing an embed." +msgstr "" + +#: interactions.api.models.message.Embed:4 of +msgid "" +"The example provided below is for a very basic implementation of an " +"embed. Embeds are more unique than what is being shown." +msgstr "" + +#: interactions.api.models.message.Embed:8 of +msgid "The structure for an embed:" +msgstr "" + +#: interactions.api.models.message.Embed:17 of +msgid "Title of embed" +msgstr "" + +#: interactions.api.models.message.Embed:18 of +msgid "" +"Embed type, relevant by CDN file connected. This is only important to " +"rendering." +msgstr "" + +#: interactions.api.models.message.Embed:19 of +msgid "Embed description" +msgstr "" + +#: interactions.api.models.message.Embed:20 of +msgid "URL of embed" +msgstr "" + +#: interactions.api.models.message.Embed:21 of +msgid "Timestamp of embed content" +msgstr "" + +#: interactions.api.models.message.Embed:22 of +msgid "Color code of embed" +msgstr "" + +#: interactions.api.models.message.Embed:23 of +msgid "Footer information" +msgstr "" + +#: interactions.api.models.message.Embed:24 of +msgid "Image information" +msgstr "" + +#: interactions.api.models.message.Embed:25 of +msgid "Thumbnail information" +msgstr "" + +#: interactions.api.models.message.Embed:26 of +msgid "Video information" +msgstr "" + +#: interactions.api.models.message.Embed:27 of +msgid "Provider information" +msgstr "" + +#: interactions.api.models.message.Embed:28 of +msgid "Author information" +msgstr "" + +#: interactions.api.models.message.Embed:29 of +msgid "A list of fields denoting field information" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:1 of +msgid "Adds a field to the embed" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:3 +#: interactions.api.models.message.Embed.insert_field_at:5 +#: interactions.api.models.message.Embed.set_field_at:5 of +msgid "The name of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:5 +#: interactions.api.models.message.Embed.insert_field_at:7 +#: interactions.api.models.message.Embed.set_field_at:7 of +msgid "The value of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:7 +#: interactions.api.models.message.Embed.insert_field_at:9 +#: interactions.api.models.message.Embed.set_field_at:9 of +msgid "if the field is in the same line as the previous one" +msgstr "" + +#: interactions.api.models.message.Embed.clear_fields:1 of +msgid "Clears all the fields of the embed" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:1 of +msgid "Inserts a field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:3 +#: interactions.api.models.message.Embed.remove_field:3 +#: interactions.api.models.message.Embed.set_field_at:3 of +msgid "The new field's index" +msgstr "" + +#: interactions.api.models.message.Embed.set_field_at:1 of +msgid "Overwrites the field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_field:1 of +msgid "Remove field at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_author:1 of +msgid "Removes the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:1 of +msgid "Sets the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:3 of +msgid "The name of the author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:5 of +msgid "Url of author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:7 of +msgid "Url of author icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:9 of +msgid "A proxied url of author icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:1 of +msgid "Sets the embed's footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:3 of +msgid "The text of the footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:5 of +msgid "Url of footer icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:7 of +msgid "A proxied url of footer icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:1 of +msgid "Sets the embed's image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:3 of +msgid "Url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:5 of +msgid "A proxied url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:7 of +msgid "The image's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:9 of +msgid "The image's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:1 of +msgid "Sets the embed's video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:3 of +msgid "Url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:5 of +msgid "A proxied url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:7 of +msgid "The video's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:9 of +msgid "The video's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:1 of +msgid "Sets the embed's thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:3 of +msgid "Url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:5 of +msgid "A proxied url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:7 of +msgid "The thumbnail's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:9 of +msgid "The thumbnail's width" msgstr "" #: interactions.api.models.message.PartialSticker:1 of msgid "Partial object for a Sticker." msgstr "" +#: interactions.api.models.message.PartialSticker:3 +#: interactions.api.models.message.Sticker:3 of +msgid "ID of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:4 +#: interactions.api.models.message.Sticker:5 of +msgid "Name of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:5 +#: interactions.api.models.message.Sticker:10 of +msgid "Type of sticker format" +msgstr "" + #: interactions.api.models.message.Sticker:1 of -msgid "The full Sticker object." +msgid "A class object representing a full sticker apart from a partial." msgstr "" -#: interactions.api.models.message.EmbedImageStruct:1 of -msgid "This is the internal structure denoted for thumbnails, images or videos" +#: interactions.api.models.message.Sticker:4 of +msgid "ID of the pack the sticker is from." +msgstr "" + +#: interactions.api.models.message.Sticker:6 of +msgid "Description of the sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:7 of +msgid "Autocomplete/suggestion tags for the sticker (max 200 characters)" +msgstr "" + +#: interactions.api.models.message.Sticker:8 of +msgid "Previously a sticker asset hash, now an empty string." +msgstr "" + +#: interactions.api.models.message.Sticker:9 of +msgid "Type of sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:11 of +msgid "" +"Status denoting if this sticker can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Sticker:12 of +msgid "Guild ID that owns the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:13 of +msgid "The user that uploaded the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:14 of +msgid "The standard sticker's sort order within its pack" +msgstr "" + +#: interactions.api.models.message.ReactionObject:1 of +msgid "The reaction object." +msgstr "" + +#: interactions.api.models.message.ReactionObject:3 of +msgid "The amount of times this emoji has been used to react" +msgstr "" + +#: interactions.api.models.message.ReactionObject:4 of +msgid "A status denoting if the current user reacted using this emoji" +msgstr "" + +#: interactions.api.models.message.ReactionObject:5 of +msgid "Emoji information" +msgstr "" + +#: interactions.api.models.message.Message:1 of +msgid "A class object representing a message." +msgstr "" + +#: interactions.api.models.message.Message:3 of +msgid "ID of the message." +msgstr "" + +#: interactions.api.models.message.Message:4 of +msgid "ID of the channel the message was sent in" +msgstr "" + +#: interactions.api.models.message.Message:5 of +msgid "ID of the guild the message was sent in, if it exists." +msgstr "" + +#: interactions.api.models.message.Message:6 of +msgid "The author of the message." +msgstr "" + +#: interactions.api.models.message.Message:7 of +msgid "The member object associated with the author, if any." +msgstr "" + +#: interactions.api.models.message.Message:8 of +msgid "Message contents." +msgstr "" + +#: interactions.api.models.message.Message:9 of +msgid "Timestamp denoting when the message was sent." +msgstr "" + +#: interactions.api.models.message.Message:10 of +msgid "Timestamp denoting when the message was edited, if any." +msgstr "" + +#: interactions.api.models.message.Message:11 of +msgid "Status dictating if this was a TTS message or not." +msgstr "" + +#: interactions.api.models.message.Message:12 of +msgid "Status dictating of this message mentions everyone" +msgstr "" + +#: interactions.api.models.message.Message:13 of +msgid "Array of user objects with an additional partial member field." +msgstr "" + +#: interactions.api.models.message.Message:14 of +msgid "Array of roles mentioned in this message" +msgstr "" + +#: interactions.api.models.message.Message:15 of +msgid "Channels mentioned in this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:16 of +msgid "An array of attachments" +msgstr "" + +#: interactions.api.models.message.Message:17 of +msgid "An array of embeds" +msgstr "" + +#: interactions.api.models.message.Message:18 of +msgid "Reactions to the message." +msgstr "" + +#: interactions.api.models.message.Message:19 of +msgid "Used for message validation" +msgstr "" + +#: interactions.api.models.message.Message:20 of +msgid "Whether this message is pinned." +msgstr "" + +#: interactions.api.models.message.Message:21 of +msgid "Webhook ID if the message is generated by a webhook." +msgstr "" + +#: interactions.api.models.message.Message:22 of +msgid "Type of message" +msgstr "" + +#: interactions.api.models.message.Message:23 of +msgid "Message activity object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:24 of +msgid "Application object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:25 of +msgid "" +"Data showing the source of a message (crosspost, channel follow, add, " +"pin, or replied message)" +msgstr "" + +#: interactions.api.models.message.Message:26 of +msgid "The allowed mentions of roles attached in the message." +msgstr "" + +#: interactions.api.models.message.Message:27 of +msgid "Message flags" +msgstr "" + +#: interactions.api.models.message.Message:28 of +msgid "Message interaction object, if the message is sent by an interaction." +msgstr "" + +#: interactions.api.models.message.Message:29 of +msgid "" +"The thread that started from this message, if any, with a thread member " +"object embedded." +msgstr "" + +#: interactions.api.models.message.Message:30 of +msgid "Components associated with this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:31 of +msgid "An array of message sticker item objects, if sent with them." +msgstr "" + +#: interactions.api.models.message.Message:32 of +msgid "Array of sticker objects sent with the message if any. Deprecated." +msgstr "" + +#: interactions.api.models.message.Message.get_channel:1 of +msgid "Gets the channel where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.get_guild:1 of +msgid "Gets the guild where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.delete:1 of +msgid "Deletes the message." +msgstr "" + +#: interactions.api.models.message.Message.delete:3 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." +msgstr "" + +#: interactions.api.models.message.Message.edit:1 of +msgid "This method edits a message. Only available for messages sent by the bot." +msgstr "" + +#: interactions.api.models.message.Message.edit:3 +#: interactions.api.models.message.Message.reply:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.message.Message.edit:5 +#: interactions.api.models.message.Message.reply:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.message.Message.edit:7 +#: interactions.api.models.message.Message.reply:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:9 +#: interactions.api.models.message.Message.reply:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:11 +#: interactions.api.models.message.Message.reply:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.message.Message.edit:13 of +msgid "" +"A component, or list of components for the message. If `[]` the " +"components will be removed" +msgstr "" + +#: interactions.api.models.message.Message.edit:15 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.api.models.message.Message.reply:1 of +msgid "Sends a new message replying to the old." +msgstr "" + +#: interactions.api.models.message.Message.reply:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.message.Message.reply:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.message.Message.pin:1 of +msgid "Pins the message to its channel" +msgstr "" + +#: interactions.api.models.message.Message.unpin:1 of +msgid "Unpins the message from its channel" +msgstr "" + +#: interactions.api.models.message.Message.publish:1 of +msgid "" +"Publishes (API calls it crossposts) the message in its channel to any " +"that is followed by." +msgstr "" + +#: interactions.api.models.message.Message.publish:3 of +msgid "message object" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:1 of +msgid "Creates a thread from the message." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:10 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:12 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:1 of +msgid "Adds a reaction to the message." +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:3 +#: interactions.api.models.message.Message.remove_all_reactions_of:3 +#: interactions.api.models.message.Message.remove_own_reaction_of:3 +#: interactions.api.models.message.Message.remove_reaction_from:3 of +msgid "The Emoji as object or formatted as `name:id`" +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions:1 of +msgid "Removes all reactions of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions_of:1 of +msgid "Removes all reactions of one emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_own_reaction_of:1 of +msgid "Removes the own reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:1 of +msgid "Removes another reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:5 of +msgid "The user or user_id to remove the reaction of" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:1 of +msgid "Gets a Message based from its url." +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:3 of +msgid "The full url of the message" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:5 of +msgid "The HTTPClient of your bot. Set ` _client=botvar._http``" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:7 of +msgid "The message the URL points to" +msgstr "" + +#: interactions.api.models.message.Message.url:1 of +msgid "Returns the URL of the message." +msgstr "" + +#: interactions.api.models.message.Message.url:3 of +msgid "The URL of said message" msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.misc.po b/docs/locale/hi/LC_MESSAGES/api.models.misc.po index 03b58e8a2..4c66ffbe1 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.misc.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.misc.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,6 +22,179 @@ msgstr "" msgid "Miscellanous Models" msgstr "" +#: interactions.api.models.misc.Snowflake:1 of +msgid "The Snowflake object." +msgstr "" + +#: interactions.api.models.misc.Snowflake:3 of +msgid "" +"This snowflake object will have features closely related to the API " +"schema. In turn, compared to regular d.py's treated snowflakes, these " +"will be treated as strings." +msgstr "" + +#: interactions.api.models.misc.Snowflake:8 of +msgid "(Basically, snowflakes will be treated as if they were from d.py 0.16.12)" +msgstr "" + +#: interactions.api.models.misc.Snowflake:11 of +msgid "" +"You can still provide integers to them, to ensure ease of use of " +"transition and/or if discord API for some odd reason will switch to " +"integer." +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:1 of +msgid "" +"This is the 'Increment' portion of the snowflake. This is incremented for" +" every ID generated on that process." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch +#: interactions.api.models.misc.Snowflake.increment +#: interactions.api.models.misc.Snowflake.timestamp of +msgid "Returns" +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:4 of +msgid "An integer denoting the increment." +msgstr "" + +#: interactions.api.models.misc.Snowflake.worker_id:1 of +msgid "" +"This is the Internal Worker ID of the snowflake. :return: An integer " +"denoting the internal worker ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.process_id:1 of +msgid "" +"This is the Internal Process ID of the snowflake. :return: An integer " +"denoting the internal process ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:1 of +msgid "This is the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:3 of +msgid "A float containing the seconds since Discord Epoch." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:1 of +msgid "The Datetime object variation of the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:3 of +msgid "The converted Datetime object from the Epoch. This respects UTC." +msgstr "" + +#: interactions.api.models.misc.Color:1 of +msgid "An object representing Discord branding colors." +msgstr "" + +#: interactions.api.models.misc.Color:4 of +msgid "" +"This object only intends to cover the branding colors and no others. The " +"main reason behind this is due to the current accepted standard of using " +"hex codes or other custom-defined colors." +msgstr "" + +#: interactions.api.models.misc.Color.blurple:1 of +msgid "Returns a hexadecimal value of the blurple color." +msgstr "" + +#: interactions.api.models.misc.Color.green:1 of +msgid "Returns a hexadecimal value of the green color." +msgstr "" + +#: interactions.api.models.misc.Color.yellow:1 of +msgid "Returns a hexadecimal value of the yellow color." +msgstr "" + +#: interactions.api.models.misc.Color.fuchsia:1 of +msgid "Returns a hexadecimal value of the fuchsia color." +msgstr "" + +#: interactions.api.models.misc.Color.red:1 of +msgid "Returns a hexadecimal value of the red color." +msgstr "" + +#: interactions.api.models.misc.Color.white:1 of +msgid "Returns a hexadecimal value of the white color." +msgstr "" + +#: interactions.api.models.misc.Color.black:1 of +msgid "Returns a hexadecimal value of the black color." +msgstr "" + +#: interactions.api.models.misc.ClientStatus:1 of +msgid "An object that symbolizes the status per client device per session." +msgstr "" + +#: interactions.api.models.misc.ClientStatus +#: interactions.api.models.misc.Overwrite of +msgid "Variables" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:3 of +msgid "User's status set for an active desktop application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:4 of +msgid "User's status set for an active mobile application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:5 of +msgid "User's status set for an active web application session" +msgstr "" + +#: interactions.api.models.misc.Image:1 of +msgid "This class object allows you to upload Images to the Discord API." +msgstr "" + +#: interactions.api.models.misc.Image:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'file' parameter." +msgstr "" + +#: interactions.api.models.misc.Image.filename:1 of +msgid "Returns the name of the file." +msgstr "" + +#: interactions.api.models.misc.File:1 of +msgid "A File object to be sent as an attachment along with a message." +msgstr "" + +#: interactions.api.models.misc.File:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'filename' parameter." +msgstr "" + +#: interactions.api.models.misc.File:7 of +msgid "If a description is not given the file's basename is used instead." +msgstr "" + #: interactions.api.models.misc.Overwrite:1 of -msgid "This is used for the PermissionOverride obj" +msgid "This is used for the PermissionOverride object." +msgstr "" + +#: interactions.api.models.misc.Overwrite:3 of +msgid "Role or User ID" +msgstr "" + +#: interactions.api.models.misc.Overwrite:4 of +msgid "Type that corresponds ot the ID; 0 for role and 1 for member." +msgstr "" + +#: interactions.api.models.misc.Overwrite:5 +#: interactions.api.models.misc.Overwrite:6 of +msgid "Permission bit set." +msgstr "" + +#: interactions.api.models.attrs_utils.MISSING:1 of +msgid "" +"A pseudosentinel based from an empty object. This does violate PEP, but, " +"I don't care." msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.po b/docs/locale/hi/LC_MESSAGES/api.models.po index b0046fbcf..764507670 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.presence.po b/docs/locale/hi/LC_MESSAGES/api.models.presence.po index 71ec432f3..cd9426f00 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.presence.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.presence.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,196 @@ msgstr "" #: ../../api.models.presence.rst:4 msgid "Presence Models" msgstr "" + +#: interactions.api.models.presence.PresenceParty:1 of +msgid "A class object representing the party data of a presence." +msgstr "" + +#: interactions.api.models.presence.ClientPresence +#: interactions.api.models.presence.PresenceActivity +#: interactions.api.models.presence.PresenceAssets +#: interactions.api.models.presence.PresenceButtons +#: interactions.api.models.presence.PresenceParty +#: interactions.api.models.presence.PresenceSecrets +#: interactions.api.models.presence.PresenceTimestamp of +msgid "Variables" +msgstr "" + +#: interactions.api.models.presence.PresenceParty:3 of +msgid "ID of the party." +msgstr "" + +#: interactions.api.models.presence.PresenceParty:4 of +msgid "An array denoting the party's current and max size" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:1 of +msgid "A class object representing the assets of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:3 of +msgid "ID for a large asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:4 of +msgid "Text associated with the large asset" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:5 of +msgid "ID for a small asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:6 of +msgid "Text associated with the small asset" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:1 of +msgid "A class object representing \"secret\" join information of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:3 of +msgid "Join secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:4 of +msgid "Spectate secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:5 of +msgid "Instanced match secret" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:1 of +msgid "A class object representing the timestamp data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:3 of +msgid "Unix time in ms when the activity started" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:4 of +msgid "Unix time in ms when the activity ended" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:1 of +msgid "A class object representing the current activity data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:4 of +msgid "" +"When using this model to instantiate alongside the client, if you provide" +" a type 1 ( or PresenceActivityType.STREAMING ), then the ``url`` " +"attribute is necessary." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:7 of +msgid "The activity name" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:8 of +msgid "The activity type" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:9 of +msgid "stream url (if type is 1)" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:10 of +msgid "Unix timestamp of when the activity was created to the User's session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:11 of +msgid "Unix timestamps for start and/or end of the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:12 of +msgid "Application ID for the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:13 of +msgid "What the player is currently doing" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:14 of +msgid "Current party status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:15 of +msgid "The emoji used for the custom status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:16 of +msgid "Info for the current players' party" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:17 of +msgid "Images for the presence and their associated hover texts" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:18 of +msgid "for RPC join/spectate" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:19 of +msgid "A status denoting if the activity is a game session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:20 of +msgid "activity flags" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:21 of +msgid "Custom buttons shown in the RPC." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:1 of +msgid "" +"This returns the JSON representing the ClientPresence sending via the " +"Gateway." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:4 of +msgid "" +"This is NOT used for standard presence activity reading by other users, " +"i.e. User activity reading. You can use the `_json` attribute instead." +msgstr "" + +#: interactions.api.models.presence.PresenceActivityType:1 of +msgid "A class object representing all supported Discord activity types." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:1 of +msgid "A class object representing the buttons of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:3 of +msgid "Text of the button" +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:4 of +msgid "URL of the button" +msgstr "" + +#: interactions.api.models.presence.ClientPresence:1 of +msgid "" +"An object that symbolizes the presence of the current client's session " +"upon creation." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:3 of +msgid "" +"Unix time in milliseconds of when the client went idle. None if it is not" +" idle." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:4 of +msgid "Array of activity objects." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:5 of +msgid "The client's new status." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:6 of +msgid "Whether the client is afk or not." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.role.po b/docs/locale/hi/LC_MESSAGES/api.models.role.po index 22011c993..9a3430734 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.role.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.role.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,177 @@ msgstr "" #: ../../api.models.role.rst:4 msgid "Role Models" msgstr "" + +#: interactions.api.models.role.Role:1 of +msgid "A class object representing a role." +msgstr "" + +#: interactions.api.models.role.Role interactions.api.models.role.RoleTags of +msgid "Variables" +msgstr "" + +#: interactions.api.models.role.Role:3 of +msgid "Role ID" +msgstr "" + +#: interactions.api.models.role.Role:4 of +msgid "Role name" +msgstr "" + +#: interactions.api.models.role.Role:5 of +msgid "Role color in integer representation" +msgstr "" + +#: interactions.api.models.role.Role:6 of +msgid "A status denoting if this role is hoisted" +msgstr "" + +#: interactions.api.models.role.Role:7 of +msgid "Role icon hash, if any." +msgstr "" + +#: interactions.api.models.role.Role:8 of +msgid "Role unicode emoji" +msgstr "" + +#: interactions.api.models.role.Role:9 of +msgid "Role position" +msgstr "" + +#: interactions.api.models.role.Role:10 of +msgid "Role permissions as a bit set" +msgstr "" + +#: interactions.api.models.role.Role:11 of +msgid "A status denoting if this role is managed by an integration" +msgstr "" + +#: interactions.api.models.role.Role:12 of +msgid "A status denoting if this role is mentionable" +msgstr "" + +#: interactions.api.models.role.Role:13 of +msgid "The tags this role has" +msgstr "" + +#: interactions.api.models.role.Role.mention:1 of +msgid "Returns a string that allows you to mention the given role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Returns" +msgstr "" + +#: interactions.api.models.role.Role.mention:3 of +msgid "The string of the mentioned role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Return type" +msgstr "" + +#: interactions.api.models.role.Role.delete:1 of +msgid "Deletes the role from the guild." +msgstr "" + +#: interactions.api.models.role.Role.delete +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.role.Role.delete:3 of +msgid "The id of the guild to delete the role from" +msgstr "" + +#: interactions.api.models.role.Role.delete:5 of +msgid "The reason for the deletion" +msgstr "" + +#: interactions.api.models.role.Role.modify:1 of +msgid "Edits the role in a guild." +msgstr "" + +#: interactions.api.models.role.Role.modify:3 of +msgid "The id of the guild to edit the role on" +msgstr "" + +#: interactions.api.models.role.Role.modify:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.role.Role.modify:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.role.Role.modify_position:3 of +msgid "The id of the guild to modify the role position on" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:7 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:9 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.role.RoleTags:1 of +msgid "A class object representing the tags of a role." +msgstr "" + +#: interactions.api.models.role.RoleTags:3 of +msgid "The id of the bot this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:4 of +msgid "The id of the integration this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:5 of +msgid "Whether if this is the guild's premium subscriber role" +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.team.po b/docs/locale/hi/LC_MESSAGES/api.models.team.po index 8595a1d03..c058f10df 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.team.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.team.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,160 @@ msgstr "" #: ../../api.models.team.rst:4 msgid "Team Models" msgstr "" + +#: interactions.api.models.team.Team:1 of +msgid "A class object representing a team." +msgstr "" + +#: interactions.api.models.team.Application interactions.api.models.team.Team +#: interactions.api.models.team.TeamMember of +msgid "Variables" +msgstr "" + +#: interactions.api.models.team.Team:3 of +msgid "The hash of the team's icon" +msgstr "" + +#: interactions.api.models.team.Team:4 of +msgid "The team's unique ID" +msgstr "" + +#: interactions.api.models.team.Team:5 of +msgid "The members of the team" +msgstr "" + +#: interactions.api.models.team.Team:6 of +msgid "The team name" +msgstr "" + +#: interactions.api.models.team.Team:7 of +msgid "The User ID of the current team owner" +msgstr "" + +#: interactions.api.models.team.TeamMember:1 of +msgid "A class object representing the member of a team." +msgstr "" + +#: interactions.api.models.team.TeamMember:4 of +msgid "" +"The membership state is either a 1 for invited, or 2 for accepted. At the" +" moment, permissions will always be [\"*\"]." +msgstr "" + +#: interactions.api.models.team.TeamMember:7 of +msgid "The user's membership state on the team" +msgstr "" + +#: interactions.api.models.team.TeamMember:8 of +msgid "Team Member permissions" +msgstr "" + +#: interactions.api.models.team.TeamMember:9 of +msgid "ID of the team that they're a member of." +msgstr "" + +#: interactions.api.models.team.TeamMember:10 of +msgid "The user object." +msgstr "" + +#: interactions.api.models.team.Application:1 of +msgid "A class object representing an application." +msgstr "" + +#: interactions.api.models.team.Application:4 of +msgid "``type`` and ``hook`` are currently undocumented in the API." +msgstr "" + +#: interactions.api.models.team.Application:6 of +msgid "Application ID" +msgstr "" + +#: interactions.api.models.team.Application:7 of +msgid "Application Name" +msgstr "" + +#: interactions.api.models.team.Application:8 of +msgid "Icon hash of the application" +msgstr "" + +#: interactions.api.models.team.Application:9 of +msgid "Application Description" +msgstr "" + +#: interactions.api.models.team.Application:10 of +msgid "An array of rpc origin urls, if RPC is used." +msgstr "" + +#: interactions.api.models.team.Application:11 of +msgid "A status denoting if anyone can invite the bot to guilds" +msgstr "" + +#: interactions.api.models.team.Application:12 of +msgid "" +"A status denoting whether full Oauth2 is required for the app's bot to " +"join a guild" +msgstr "" + +#: interactions.api.models.team.Application:13 of +msgid "URL of the app's Terms of Service" +msgstr "" + +#: interactions.api.models.team.Application:14 of +msgid "URL of the app's Privacy Policy" +msgstr "" + +#: interactions.api.models.team.Application:15 of +msgid "User object of the owner" +msgstr "" + +#: interactions.api.models.team.Application:16 of +msgid "Summary of the store page, if this application is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:17 of +msgid "" +"Hex encoded key for verification in interactions and/or the GameSDK's " +"GetTicket" +msgstr "" + +#: interactions.api.models.team.Application:18 of +msgid "A list of team members, if this app belongs to a team." +msgstr "" + +#: interactions.api.models.team.Application:19 of +msgid "Guild ID linked, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:20 of +msgid "Game SKU ID, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:21 of +msgid "" +"URL slug that links to the store page, if this app is a game sold on " +"Discord" +msgstr "" + +#: interactions.api.models.team.Application:22 of +msgid "The app's default rich presence invite cover image" +msgstr "" + +#: interactions.api.models.team.Application:23 of +msgid "The application's public flags" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:1 of +msgid "Returns the URL of the application's icon" +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:3 of +msgid "URL of the application's icon." +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Return type" +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.user.po b/docs/locale/hi/LC_MESSAGES/api.models.user.po index 35b554cf4..e9be179ff 100644 --- a/docs/locale/hi/LC_MESSAGES/api.models.user.po +++ b/docs/locale/hi/LC_MESSAGES/api.models.user.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,111 @@ msgstr "" #: ../../api.models.user.rst:4 msgid "User Models" msgstr "" + +#: interactions.api.models.user.User:1 of +msgid "A class object representing a user." +msgstr "" + +#: interactions.api.models.user.User of +msgid "Variables" +msgstr "" + +#: interactions.api.models.user.User:3 of +msgid "The User ID" +msgstr "" + +#: interactions.api.models.user.User:4 of +msgid "The Username associated (not necessarily unique across the platform)" +msgstr "" + +#: interactions.api.models.user.User:5 of +msgid "The User's 4-digit discord-tag (i.e.: XXXX)" +msgstr "" + +#: interactions.api.models.user.User:6 of +msgid "The user's avatar hash, if any" +msgstr "" + +#: interactions.api.models.user.User:7 of +msgid "A status denoting if the user is a bot" +msgstr "" + +#: interactions.api.models.user.User:8 of +msgid "A status denoting if the user is an Official Discord System user" +msgstr "" + +#: interactions.api.models.user.User:9 of +msgid "A status denoting if the user has 2fa on their account" +msgstr "" + +#: interactions.api.models.user.User:10 of +msgid "The user's banner hash, if any" +msgstr "" + +#: interactions.api.models.user.User:11 of +msgid "The user's banner color as a hex, if any" +msgstr "" + +#: interactions.api.models.user.User:12 of +msgid "The user's banner color as an integer represented of hex color codes" +msgstr "" + +#: interactions.api.models.user.User:13 of +msgid "The user's chosen language option" +msgstr "" + +#: interactions.api.models.user.User:14 of +msgid "Whether the email associated with this account has been verified" +msgstr "" + +#: interactions.api.models.user.User:15 of +msgid "The user's email, if any" +msgstr "" + +#: interactions.api.models.user.User:16 of +msgid "The user's flags" +msgstr "" + +#: interactions.api.models.user.User:17 of +msgid "The type of Nitro subscription the user has" +msgstr "" + +#: interactions.api.models.user.User:18 of +msgid "The user's public flags" +msgstr "" + +#: interactions.api.models.user.User.mention:1 of +msgid "Returns a string that allows you to mention the given user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Returns" +msgstr "" + +#: interactions.api.models.user.User.mention:3 of +msgid "The string of the mentioned user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Return type" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:1 of +msgid "Returns the URL of the user's avatar" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:3 of +msgid "URL of the user's avatar." +msgstr "" + +#: interactions.api.models.user.User.banner_url:1 of +msgid "Returns the URL of the user's banner." +msgstr "" + +#: interactions.api.models.user.User.banner_url:3 of +msgid "URL of the user's banner (None will be returned if no banner is set)" +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.voice.po b/docs/locale/hi/LC_MESSAGES/api.models.voice.po deleted file mode 100644 index 848f7dde8..000000000 --- a/docs/locale/hi/LC_MESSAGES/api.models.voice.po +++ /dev/null @@ -1,23 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.voice.rst:4 -msgid "Voice Models" -msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.models.webhook.po b/docs/locale/hi/LC_MESSAGES/api.models.webhook.po new file mode 100644 index 000000000..1df6f27fe --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/api.models.webhook.po @@ -0,0 +1,239 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.webhook.rst:4 +msgid "Webhook Models" +msgstr "" + +#: interactions.api.models.webhook.Webhook:1 of +msgid "A class object representing a Webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook of +msgid "Variables" +msgstr "" + +#: interactions.api.models.webhook.Webhook:3 of +msgid "the id of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:4 of +msgid "the type of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:5 of +msgid "the guild id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:6 of +msgid "the channel id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:7 of +msgid "" +"the user this webhook was created by (not returned when getting a webhook" +" with its token)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:8 of +msgid "the default name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:9 of +msgid "the default user avatar hash of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:10 of +msgid "the secure token of the webhook (returned for Incoming Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:11 of +msgid "the bot/OAuth2 application that created this webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:12 of +msgid "" +"the guild of the channel that this webhook is following (returned for " +"Channel Follower Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:13 of +msgid "" +"the channel that this webhook is following (returned for Channel Follower" +" Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:14 of +msgid "" +"the url used for executing the webhook (returned by the webhooks OAuth2 " +"flow)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:1 of +msgid "Creates a webhook in a channel." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:3 +#: interactions.api.models.webhook.Webhook.get:3 of +msgid "The HTTPClient of the bot, has to be set to `bot._http`." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:5 of +msgid "The ID of the channel to create the webhook in." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:7 of +msgid "The name of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:9 of +msgid "The avatar of the Webhook, if any." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Returns" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:11 of +msgid "The created webhook as object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Return type" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:1 of +msgid "Gets an existing webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:5 of +msgid "The ID of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:7 of +msgid "The token of the webhook, optional" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:9 of +msgid "The Webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:1 of +msgid "Modifies the current webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:3 of +msgid "The new name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:5 of +msgid "" +"The channel id of the webhook. If not provided, the webhook token will be" +" used for authentication" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:7 of +msgid "The new avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:9 of +msgid "The modified webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:1 of +msgid "Executes the webhook. All parameters to this function are optional." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:4 of +msgid "The ``components`` argument requires an application-owned webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:6 of +msgid "the message contents (up to 2000 characters)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:8 of +msgid "override the default username of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:10 of +msgid "override the default avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:12 of +msgid "true if this is a TTS message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:14 of +msgid "embedded ``rich`` content" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:16 of +msgid "allowed mentions for the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:18 of +msgid "the components to include with the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:20 of +msgid "The files to attach to the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:22 of +msgid "" +"Send a message to a specified thread within a webhook's channel. The " +"thread will automatically be unarchived" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:24 of +msgid "The sent message, if present" +msgstr "" + +#: interactions.api.models.webhook.Webhook.delete:1 of +msgid "Deletes the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:1 of +msgid "Returns the URL of the webhook's avatar." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:3 of +msgid "URL of the webhook's avatar" +msgstr "" + +#: interactions.api.models.webhook.WebhookType:1 of +msgid "An enumeration." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/api.po b/docs/locale/hi/LC_MESSAGES/api.po index b17ce38d1..cb74082a0 100644 --- a/docs/locale/hi/LC_MESSAGES/api.po +++ b/docs/locale/hi/LC_MESSAGES/api.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,19 +18,23 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../api.rst:17 +#: ../../api.rst:11 msgid "Client" msgstr "" -#: ../../api.rst:23 ../../api.rst:40 +#: ../../api.rst:17 +msgid "Frameworks/Commands" +msgstr "" + +#: ../../api.rst:24 ../../api.rst:41 msgid "Model/Design" msgstr "" -#: ../../api.rst:33 +#: ../../api.rst:34 msgid "Client Connections" msgstr "" -#: ../../api.rst:48 +#: ../../api.rst:49 msgid "Events" msgstr "" @@ -42,17 +46,10 @@ msgstr "" msgid "This page outlines the API wrapper of discord-interactions." msgstr "" -#: ../../api.rst:10 -msgid "" -"As of the time of this writing, version 4.0 of discord-interactions has " -"not yet been released, which this documentation currently reflects. The " -"documentation written here is subject to change and is not finalized." -msgstr "" - -#: ../../api.rst:15 +#: ../../api.rst:9 msgid "Interactions" msgstr "" -#: ../../api.rst:31 +#: ../../api.rst:32 msgid "Discord API" msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/client.po b/docs/locale/hi/LC_MESSAGES/client.po index b168d9798..8e2fd324c 100644 --- a/docs/locale/hi/LC_MESSAGES/client.po +++ b/docs/locale/hi/LC_MESSAGES/client.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,63 +22,575 @@ msgstr "" msgid "Bot Client" msgstr "" -#: interactions.client.Client:1 of +#: interactions.client.bot.Client:1 of msgid "" "A class representing the client connection to Discord's gateway and API " "via. WebSocket and HTTP." msgstr "" -#: interactions.client.Client of +#: interactions.client.bot.Client of msgid "Variables" msgstr "" -#: interactions.client.Client:3 of -msgid "The main overall asynchronous coroutine loop in effect." +#: interactions.client.bot.Client:3 of +msgid "The asynchronous event loop of the client." msgstr "" -#: interactions.client.Client:4 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.client.bot.Client:4 of +msgid "" +"The user-facing HTTP connection to the Web API, as its own separate " +"client." msgstr "" -#: interactions.client.Client:5 of -msgid "The application's intents as :class:`interactions.api.models.Intents`." +#: interactions.client.bot.Client:5 of +msgid "An object-orientation of a websocket server connection to the Gateway." msgstr "" -#: interactions.client.Client:6 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.client.bot.Client:6 of +msgid "The Gateway intents of the application. Defaults to ``Intents.DEFAULT``." msgstr "" -#: interactions.client.Client:7 of -msgid "An instance of :class:`interactions.api.gateway.WebSocket`." +#: interactions.client.bot.Client:7 of +msgid "The list of bucketed shards for the application's connection." msgstr "" -#: interactions.client.Client:8 of -msgid "The application token." +#: interactions.client.bot.Client:8 of +msgid "The RPC-like presence shown on an application once connected." msgstr "" -#: interactions.client.Client.login:1 of -msgid "Makes a login with the Discord API." +#: interactions.client.bot.Client:9 of +msgid "The token of the application used for authentication when connecting." +msgstr "" + +#: interactions.client.bot.Client:10 of +msgid "The \"extensions\" or cog equivalence registered to the main client." +msgstr "" + +#: interactions.client.bot.Client:11 of +msgid "The application representation of the client." +msgstr "" + +#: interactions.client.bot.Client.guilds:1 of +msgid "Returns a list of guilds the bot is in." msgstr "" -#: interactions.client.Client.start:1 of +#: interactions.client.bot.Client.latency:1 of +msgid "Returns the connection latency in milliseconds." +msgstr "" + +#: interactions.client.bot.Client.start:1 of msgid "Starts the client session." msgstr "" -#: interactions.client.Client.event:1 of -msgid "A decorator for listening to dispatched events from the gateway." +#: interactions.client.bot.Client.__register_events:1 of +msgid "Registers all raw gateway events to the known events." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:1 of +msgid "Compares an application command during the synchronization process." msgstr "" -#: interactions.client.Client.event of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.change_presence +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload interactions.client.bot.Client.remove +#: interactions.client.bot.Client.user_command of +msgid "Parameters" +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:3 of +msgid "The application command to compare." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:5 of +msgid "The \"pool\" or list of commands to compare from." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of msgid "Returns" msgstr "" -#: interactions.client.Client.event:4 of -msgid "typing.Callable[..., typing.Any]" +#: interactions.client.bot.Client.__compare_sync:7 of +msgid "Whether the command has changed or not." msgstr "" -#: interactions.client.Client.command:1 of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of +msgid "Return type" +msgstr "" + +#: interactions.client.bot.Client._ready:1 of +msgid "" +"Prepares the client with an internal \"ready\" check to ensure that all " +"conditions have been met in a chronological order:" +msgstr "" + +#: interactions.client.bot.Client._login:1 of +msgid "Makes a login with the Discord API." +msgstr "" + +#: interactions.client.bot.Client.wait_until_ready:1 of +msgid "Helper method that waits until the websocket is ready." +msgstr "" + +#: interactions.client.bot.Client.__sync:1 of +msgid "Synchronizes all commands to the API." +msgstr "" + +#: interactions.client.bot.Client.__sync:4 of +msgid "" +"This is an internal method. Do not call it unless you know what you are " +"doing!" +msgstr "" + +#: interactions.client.bot.Client.event:1 of +msgid "A decorator for listening to events dispatched from the Gateway." +msgstr "" + +#: interactions.client.bot.Client.event:4 of +msgid "The coroutine of the event." +msgstr "" + +#: interactions.client.bot.Client.event:6 of +msgid "" +"The name of the event. If not given, this defaults to the coroutine's " +"name." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:20 +#: interactions.client.bot.Client.command:63 +#: interactions.client.bot.Client.component:27 +#: interactions.client.bot.Client.event:8 +#: interactions.client.bot.Client.message_command:28 +#: interactions.client.bot.Client.modal:24 +#: interactions.client.bot.Client.user_command:28 of +msgid "A callable response." +msgstr "" + +#: interactions.client.bot.Client.change_presence:1 of +msgid "A method that changes the current client's presence on runtime." +msgstr "" + +#: interactions.client.bot.Client.change_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.client.bot.Client.change_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.client.bot.Client.__check_command:1 of +msgid "Checks if a command is valid." +msgstr "" + +#: interactions.client.bot.Client.command:1 of msgid "" "A decorator for registering an application command to the Discord API, as" " well as being able to listen for ``INTERACTION_CREATE`` dispatched " "gateway events." msgstr "" + +#: interactions.client.bot.Client.command:5 of +msgid "The structure of a chat-input command:" +msgstr "" + +#: interactions.client.bot.Client.command:13 of +msgid "" +"You are also able to establish it as a message or user command by simply " +"passing the ``type`` kwarg field into the decorator:" +msgstr "" + +#: interactions.client.bot.Client.command:22 +#: interactions.client.bot.Client.message_command:13 +#: interactions.client.bot.Client.user_command:13 of +msgid "" +"The ``scope`` kwarg field may also be used to designate the command in " +"question applicable to a guild or set of guilds." +msgstr "" + +#: interactions.client.bot.Client.command:25 of +msgid "" +"To properly utilise the ``default_member_permissions`` kwarg, it requires" +" OR'ing the permission values, similar to instantiating the client with " +"Intents. For example:" +msgstr "" + +#: interactions.client.bot.Client.command:34 of +msgid "Another example below for instance is an admin-only command:" +msgstr "" + +#: interactions.client.bot.Client.command:43 of +msgid "" +"If ``default_member_permissions`` is not given, this will default to " +"anyone that is able to use the command." +msgstr "" + +#: interactions.client.bot.Client.command:45 of +msgid "" +"The type of application command. Defaults to " +":meth:`interactions.enums.ApplicationCommandType.CHAT_INPUT` or ``1``." +msgstr "" + +#: interactions.client.bot.Client.command:47 of +msgid "" +"The name of the application command. This *is* required but kept optional" +" to follow kwarg rules." +msgstr "" + +#: interactions.client.bot.Client.command:49 of +msgid "" +"The description of the application command. This should be left blank if " +"you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:51 of +msgid "The \"scope\"/applicable guilds the application command applies to." +msgstr "" + +#: interactions.client.bot.Client.command:53 of +msgid "" +"The \"arguments\"/options of an application command. This should be left " +"blank if you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:55 +#: interactions.client.bot.Client.message_command:22 +#: interactions.client.bot.Client.user_command:22 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.bot.Client.command:57 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.bot.Client.command:59 +#: interactions.client.bot.Client.message_command:24 +#: interactions.client.bot.Client.user_command:24 of +msgid "" +"The permissions bit value of " +"``interactions.api.model.flags.Permissions``. If not given, defaults to " +":meth:`interactions.api.model.flags.Permissions.USE_APPLICATION_COMMANDS`" +" or ``2147483648``" +msgstr "" + +#: interactions.client.bot.Client.command:61 +#: interactions.client.bot.Client.message_command:26 +#: interactions.client.bot.Client.user_command:26 of +msgid "" +"The application permissions if executed in a Direct Message. Defaults to " +"``True``." +msgstr "" + +#: interactions.client.bot.Client.message_command:1 of +msgid "" +"A decorator for registering a message context menu to the Discord API, as" +" well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.message_command:5 of +msgid "The structure of a message context menu:" +msgstr "" + +#: interactions.client.bot.Client.message_command:16 +#: interactions.client.bot.Client.user_command:16 of +msgid "The name of the application command." +msgstr "" + +#: interactions.client.bot.Client.message_command:18 +#: interactions.client.bot.Client.user_command:18 of +msgid "" +"The \"scope\"/applicable guilds the application command applies to. " +"Defaults to ``None``." +msgstr "" + +#: interactions.client.bot.Client.message_command:20 +#: interactions.client.bot.Client.user_command:20 of +msgid "" +"The default permission of accessibility for the application command. " +"Defaults to ``True``." +msgstr "" + +#: interactions.client.bot.Client.user_command:1 of +msgid "" +"A decorator for registering a user context menu to the Discord API, as " +"well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.user_command:5 of +msgid "The structure of a user context menu:" +msgstr "" + +#: interactions.client.bot.Client.component:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving components." +msgstr "" + +#: interactions.client.bot.Client.component:4 of +msgid "The structure for a component callback:" +msgstr "" + +#: interactions.client.bot.Client.component:22 of +msgid "" +"The context of the component callback decorator inherits the same as of " +"the command decorator." +msgstr "" + +#: interactions.client.bot.Client.component:25 of +msgid "The component you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client._find_command:1 of +msgid "" +"Iterates over `commands` and returns an :class:`ApplicationCommand` if it" +" matches the name from `command`" +msgstr "" + +#: interactions.client.bot.Client._find_command:3 of +msgid "The name of the command to match" +msgstr "" + +#: interactions.client.bot.Client._find_command:5 of +msgid "An ApplicationCommand model" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving autocompletion fields." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:4 of +msgid "The structure for an autocomplete callback:" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:16 of +msgid "The command, command ID, or command name with the option." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:18 of +msgid "The name of the option to autocomplete." +msgstr "" + +#: interactions.client.bot.Client.modal:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving modals." +msgstr "" + +#: interactions.client.bot.Client.modal:4 of +msgid "The structure for a modal callback:" +msgstr "" + +#: interactions.client.bot.Client.modal:19 of +msgid "" +"The context of the modal callback decorator inherits the same as of the " +"component decorator." +msgstr "" + +#: interactions.client.bot.Client.modal:22 of +msgid "The modal or custom_id of modal you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client.load:1 of +msgid "" +"\"Loads\" an extension off of the current client by adding a new class " +"which is imported from the library." +msgstr "" + +#: interactions.client.bot.Client.load:4 +#: interactions.client.bot.Client.remove:3 of +msgid "The name of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:6 +#: interactions.client.bot.Client.remove:7 of +msgid "The package of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:8 +#: interactions.client.bot.Client.reload:14 of +msgid "Optional arguments to pass to the extension" +msgstr "" + +#: interactions.client.bot.Client.load:10 +#: interactions.client.bot.Client.reload:16 of +msgid "Optional keyword-only arguments to pass to the extension." +msgstr "" + +#: interactions.client.bot.Client.load:12 of +msgid "The loaded extension." +msgstr "" + +#: interactions.client.bot.Client.remove:1 of +msgid "Removes an extension out of the current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.remove:5 of +msgid "Whether to remove commands before reloading. Defaults to True." +msgstr "" + +#: interactions.client.bot.Client.reload:1 of +msgid "\"Reloads\" an extension off of current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.reload:4 of +msgid "" +"This will remove and re-add application commands, counting towards your " +"daily application command creation limit, as long as you have the " +"``remove_commands`` argument set to ``True``, what it is by default." +msgstr "" + +#: interactions.client.bot.Client.reload:8 of +msgid "The name of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:10 of +msgid "The package of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:12 of +msgid "Whether to remove commands before reloading. Defaults to True" +msgstr "" + +#: interactions.client.bot.Client.reload:18 of +msgid "The reloaded extension." +msgstr "" + +#: interactions.client.bot.Client.modify:1 of +msgid "Modify the bot user account settings." +msgstr "" + +#: interactions.client.bot.Client.modify:3 of +msgid "The new username of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:5 of +msgid "The new avatar of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:7 of +msgid "The modified User object" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:1 of +msgid "" +"This is an internal function that takes any gateway socket event and then" +" returns the data purely based off of what it does in the client " +"instantiation class." +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:5 of +msgid "The data that is returned" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:7 of +msgid "A dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:1 of +msgid "" +"This is an internal function that caches the channel creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:3 of +msgid "The channel object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:5 of +msgid "The channel as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:1 of +msgid "" +"This is an internal function that caches the message creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:3 of +msgid "The message object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:5 of +msgid "The message as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:1 of +msgid "This is an internal function that caches the guild creates on ready." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:3 of +msgid "The guild object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:5 of +msgid "The guild as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Extension:1 of +msgid "" +"A class that allows you to represent \"extensions\" of your code, or " +"essentially cogs that can be ran independent of the root file in an " +"object-oriented structure." +msgstr "" + +#: interactions.client.bot.Extension:5 of +msgid "The structure of an extension:" +msgstr "" + +#: interactions.client.decor.command:1 of +msgid "" +"A wrapper designed to interpret the client-facing API for how a command " +"is to be created and used." +msgstr "" + +#: interactions.client.decor.command:4 of +msgid "A list of command payloads." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/components.po b/docs/locale/hi/LC_MESSAGES/components.po deleted file mode 100644 index 93031b801..000000000 --- a/docs/locale/hi/LC_MESSAGES/components.po +++ /dev/null @@ -1,192 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../components.rst:2 -msgid "How to use components" -msgstr "" - -#: ../../components.rst:5 -msgid "" -"So you've seen the new fancy buttons and want to give them a try, but " -"dont know where to start. No problem!" -msgstr "" - -#: ../../components.rst:7 -msgid "" -"First lets cover the basics. Discord messages can have *components*, such" -" as buttons, dropdowns etc. These components sit in whats called an " -"\"action row\". An action row can hold 5 components at a time. Your " -"message can have 5 action rows, so thats a total of 25 components!" -msgstr "" - -#: ../../components.rst:10 -msgid "Sending some components" -msgstr "" - -#: ../../components.rst:12 -msgid "This will work in both slash commands, and discord.py commands" -msgstr "" - -#: ../../components.rst:14 -msgid "" -"First we need to create some buttons, lets put them in a list for now. " -"We'll use :meth:`create_button() `" -" to create a green button" -msgstr "" - -#: ../../components.rst:28 -msgid "" -"So we have a button, but where do we use it. Let's create an action row " -"with :func:`create_actionrow() ` " -"and put our buttons in it" -msgstr "" - -#: ../../components.rst:35 -msgid "" -"Fantastic, we now have an action row with a green button in it, now lets " -"get it sent in discord" -msgstr "" - -#: ../../components.rst:42 -msgid "And to bring it all together, you could use this:" -msgstr "" - -#: ../../components.rst:54 -msgid "" -"Now if you've followed along, you have a green button in discord! But " -"theres a problem, whenever you click it you see that the ``interaction " -"failed``. Why is that? Well, in Discord, clicking buttons and using slash" -" commands are called ``interactions``, and Discord doesn't know if we've " -"received them or not unless we tell Discord. So how do we do that?" -msgstr "" - -#: ../../components.rst:58 -msgid "Responding to interactions" -msgstr "" - -#: ../../components.rst:60 -msgid "" -"When responding, you have 3 choices in how you handle interactions. You " -"can either wait for them in the command itself, or listen for them in a " -"global event handler (similar to :func:`on_slash_command_error`), or " -"register async function as component callback." -msgstr "" - -#: ../../components.rst:63 -msgid "Wait_for" -msgstr "" - -#: ../../components.rst:65 -msgid "" -"Lets go through the most common method first, responding in the command " -"itself. We simply need to :func:`wait_for` the event, just like you do " -"for reactions. For this we're going to use :func:`wait_for_component() " -"`, and we're going to only wait " -"for events from the action row we just sent. This method will return a " -":class:`ComponentContext ` object" -" that we can use to respond. For this example, we'll just edit the " -"original message (:meth:`edit_origin() " -"`, uses same logic as" -" :func:`edit()`)" -msgstr "" - -#: ../../components.rst:77 -msgid "" -"It's worth being aware that if you handle the event in the command " -"itself, it will not persist reboots. As such when you restart the bot, " -"the interaction will fail" -msgstr "" - -#: ../../components.rst:80 -msgid "Global event handler" -msgstr "" - -#: ../../components.rst:82 -msgid "" -"Next we'll go over the alternative, a global event handler. This works " -"just the same as :func:`on_slash_command_error` or `on_ready`. But note " -"that this code will be triggered on any components interaction." -msgstr "" - -#: ../../components.rst:92 -msgid "Component callbacks" -msgstr "" - -#: ../../components.rst:94 -msgid "" -"There is one more method - making a function that'll be component " -"callback - triggered when components in a specified message or specific " -"``custom_id`` are used. Let's register our callback function via " -"decorator :meth:`component_callback() " -"`, in similar ways " -"to slash commands." -msgstr "" - -#: ../../components.rst:103 -msgid "" -"In this example, :func:`hello` will be triggered when you receive " -"interaction event from a component with a `custom_id` set to `\"hello\"`." -" Just like slash commands, the callback's `custom_id` defaults to the " -"function name. You can also register such callbacks in cogs using " -":func:`cog_component() ` Additionally, component " -"callbacks can be dynamically added, removed or edited - see " -":class:`SlashCommand `" -msgstr "" - -#: ../../components.rst:108 -msgid "But [writer], I dont want to edit the message" -msgstr "" - -#: ../../components.rst:110 -msgid "" -"Well lucky for you, you don't have to. You can either respond silently, " -"with a thinking animation, or send a whole new message. Take a look here:" -" :class:`ComponentContext `" -msgstr "" - -#: ../../components.rst:113 -msgid "How do I know which button was pressed?" -msgstr "" - -#: ../../components.rst:115 -msgid "" -"Each button gets a ``custom_id`` (which is always a string), this is a " -"unique identifier of which button is being pressed. You can specify what " -"the ID is when you define your button, if you don't; a random one will be" -" generated. When handling the event, simply check the custom_id, and " -"handle accordingly." -msgstr "" - -#: ../../components.rst:118 -msgid "What about selects / Dropdowns?" -msgstr "" - -#: ../../components.rst:120 -msgid "" -"Yep we support those too. You use them much the same as buttons. You can " -"only have 1 select per action row, but each select can have up to 25 " -"options in it!" -msgstr "" - -#: ../../components.rst:144 -msgid "" -"Additionally, you can pass ``description`` as a keyword-argument for " -"``create_select_option()`` if you so wish." -msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/context.po b/docs/locale/hi/LC_MESSAGES/context.po new file mode 100644 index 000000000..9e1dfbc1e --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/context.po @@ -0,0 +1,320 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../context.rst:4 +msgid "Event Context" +msgstr "" + +#: interactions.client.context._Context:1 of +msgid "" +"The base class of \"context\" for dispatched event data from the gateway." +" The premise of having this class is so that the user-facing API is able " +"to allow developers to easily access information presented from any event" +" in a \"contextualized\" sense." +msgstr "" + +#: interactions.client.context.CommandContext +#: interactions.client.context._Context of +msgid "Variables" +msgstr "" + +#: interactions.client.context._Context:7 of +msgid "The message data model." +msgstr "" + +#: interactions.client.context._Context:8 of +msgid "The member data model." +msgstr "" + +#: interactions.client.context._Context:9 of +msgid "The user data model." +msgstr "" + +#: interactions.client.context._Context:10 of +msgid "The channel data model." +msgstr "" + +#: interactions.client.context._Context:11 of +msgid "The guild data model." +msgstr "" + +#: interactions.client.context._Context.get_channel:1 of +msgid "This gets the channel the context was invoked in." +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Returns" +msgstr "" + +#: interactions.client.context._Context.get_channel:3 of +msgid "The channel as object" +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Return type" +msgstr "" + +#: interactions.client.context._Context.get_guild:1 of +msgid "This gets the guild the context was invoked in." +msgstr "" + +#: interactions.client.context._Context.get_guild:3 of +msgid "The guild as object" +msgstr "" + +#: interactions.client.context.CommandContext.send:1 +#: interactions.client.context.ComponentContext.send:1 +#: interactions.client.context._Context.send:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update +#: interactions.client.context.CommandContext.defer +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.defer +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.popup +#: interactions.client.context._Context.send of +msgid "Parameters" +msgstr "" + +#: interactions.client.context.CommandContext.send:4 +#: interactions.client.context.ComponentContext.send:4 +#: interactions.client.context._Context.send:4 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.client.context.CommandContext.send:6 +#: interactions.client.context.ComponentContext.send:6 +#: interactions.client.context._Context.send:6 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:8 +#: interactions.client.context.ComponentContext.send:8 +#: interactions.client.context._Context.send:8 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:10 +#: interactions.client.context.ComponentContext.send:10 +#: interactions.client.context._Context.send:10 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.client.context.CommandContext.send:12 +#: interactions.client.context.ComponentContext.send:12 +#: interactions.client.context._Context.send:12 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:14 +#: interactions.client.context.ComponentContext.send:14 +#: interactions.client.context._Context.send:14 of +msgid "Whether the response is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:16 +#: interactions.client.context.ComponentContext.send:16 +#: interactions.client.context._Context.send:16 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.client.context.CommandContext.edit:1 +#: interactions.client.context.ComponentContext.edit:1 +#: interactions.client.context._Context.edit:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response. This inherits the arguments of the Context " +"``.send()`` method." +msgstr "" + +#: interactions.client.context.CommandContext.edit:5 +#: interactions.client.context.ComponentContext.edit:5 +#: interactions.client.context._Context.edit:5 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.client.context._Context.popup:1 of +msgid "This \"pops up\" a modal to present information back to the user." +msgstr "" + +#: interactions.client.context._Context.popup:4 of +msgid "The components you wish to show." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:1 of +msgid "" +"Update an object with new attributes. All data will be converted, and any" +" extra attributes will be put in _extras" +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:4 of +msgid "The dictionary to update from" +msgstr "" + +#: interactions.client.context.CommandContext:1 of +msgid "" +"A derivation of :class:`interactions.context.Context` designed " +"specifically for application command data." +msgstr "" + +#: interactions.client.context.CommandContext:5 of +msgid "" +"The ``guild`` attribute of the base context is not accessible for any " +"interaction-related events since the current Discord API schema does not " +"return this as a value, but instead ``guild_id``. You will need to " +"manually fetch for this data for the time being." +msgstr "" + +#: interactions.client.context.CommandContext:11 of +msgid "" +"You can fetch with ``client.get_guild(guild_id)`` which will return a " +"JSON dictionary, which you can then use ``interactions.Guild(**data)`` " +"for an object or continue with a dictionary for your own purposes." +msgstr "" + +#: interactions.client.context.CommandContext:16 of +msgid "the HTTP client" +msgstr "" + +#: interactions.client.context.CommandContext:17 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:18 of +msgid "The application ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:19 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.context.CommandContext:20 of +msgid "The application command data." +msgstr "" + +#: interactions.client.context.CommandContext:21 of +msgid "The target selected if this interaction is invoked as a context menu." +msgstr "" + +#: interactions.client.context.CommandContext:22 of +msgid "The token of the interaction response." +msgstr "" + +#: interactions.client.context.CommandContext:23 of +msgid "The ID of the current guild." +msgstr "" + +#: interactions.client.context.CommandContext:24 of +msgid "The ID of the current channel." +msgstr "" + +#: interactions.client.context.CommandContext:25 of +msgid "Whether an original response was made or not." +msgstr "" + +#: interactions.client.context.CommandContext:26 of +msgid "Whether the response was deferred or not." +msgstr "" + +#: interactions.client.context.CommandContext:27 of +msgid "The selected language of the user invoking the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:28 of +msgid "The guild's preferred language, if invoked in a guild." +msgstr "" + +#: interactions.client.context.CommandContext.defer:1 of +msgid "" +"This \"defers\" an interaction response, allowing up to a 15-minute delay" +" between invocation and responding." +msgstr "" + +#: interactions.client.context.CommandContext.defer:4 +#: interactions.client.context.ComponentContext.defer:4 of +msgid "Whether the deferred state is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.delete:1 of +msgid "" +"This deletes the interaction response of a message sent by the " +"contextually derived information from this class." +msgstr "" + +#: interactions.client.context.CommandContext.delete:5 of +msgid "Doing this will proceed in the context message no longer being present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:1 of +msgid "" +"This \"populates\" the list of choices that the client-end user will be " +"able to select from in the autocomplete field." +msgstr "" + +#: interactions.client.context.CommandContext.populate:5 of +msgid "" +"Only a maximum of ``25`` choices may be presented within an autocomplete " +"option." +msgstr "" + +#: interactions.client.context.CommandContext.populate:8 of +msgid "The choices you wish to present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:10 of +msgid "The list of choices you've given." +msgstr "" + +#: interactions.client.context.ComponentContext:1 of +msgid "" +"A derivation of :class:`interactions.context.CommandContext` designed " +"specifically for component data." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:1 of +msgid "" +"This \"defers\" a component response, allowing up to a 15-minute delay " +"between invocation and responding." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:6 of +msgid "Whether you want to edit the original message or send a followup message" +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/enums.po b/docs/locale/hi/LC_MESSAGES/enums.po index 1add6393c..33035829d 100644 --- a/docs/locale/hi/LC_MESSAGES/enums.po +++ b/docs/locale/hi/LC_MESSAGES/enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,87 +22,140 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.enums.ApplicationCommandType:1 of +#: interactions.client.enums.ApplicationCommandType:1 of msgid "An enumerable object representing the types of application commands." msgstr "" -#: interactions.enums.OptionType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a slash" -" command's option(s)." +#: interactions.client.enums.ApplicationCommandType +#: interactions.client.enums.ButtonStyle +#: interactions.client.enums.ComponentType +#: interactions.client.enums.InteractionCallbackType +#: interactions.client.enums.InteractionType +#: interactions.client.enums.OptionType +#: interactions.client.enums.PermissionType +#: interactions.client.enums.TextStyleType of +msgid "Variables" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:3 +#: interactions.client.enums.ButtonStyle:3 +#: interactions.client.enums.ComponentType:3 +#: interactions.client.enums.InteractionCallbackType:3 +#: interactions.client.enums.InteractionType:3 +#: interactions.client.enums.OptionType:3 +#: interactions.client.enums.PermissionType:3 +#: interactions.client.enums.TextStyleType:3 of +msgid "1" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:4 +#: interactions.client.enums.ButtonStyle:4 +#: interactions.client.enums.ComponentType:4 +#: interactions.client.enums.InteractionType:4 +#: interactions.client.enums.OptionType:4 +#: interactions.client.enums.PermissionType:4 +#: interactions.client.enums.TextStyleType:4 of +msgid "2" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:5 +#: interactions.client.enums.ButtonStyle:5 +#: interactions.client.enums.ComponentType:5 +#: interactions.client.enums.InteractionType:5 +#: interactions.client.enums.OptionType:5 +#: interactions.client.enums.PermissionType:5 of +msgid "3" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:6 +#: interactions.client.enums.ButtonStyle:6 +#: interactions.client.enums.ComponentType:6 +#: interactions.client.enums.InteractionCallbackType:4 +#: interactions.client.enums.InteractionType:6 +#: interactions.client.enums.OptionType:6 of +msgid "4" +msgstr "" + +#: interactions.client.enums.InteractionType:1 of +msgid "An enumerable object representing the types of interactions." msgstr "" -#: interactions.enums.OptionType:5 of +#: interactions.client.enums.ButtonStyle:7 +#: interactions.client.enums.InteractionCallbackType:5 +#: interactions.client.enums.InteractionType:7 +#: interactions.client.enums.OptionType:7 of +msgid "5" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:1 of msgid "" -"Equivalent of `ApplicationCommandOptionType " -"`_ in the " -"Discord API." +"An enumerable object representing the callback types of interaction " +"responses." +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:6 +#: interactions.client.enums.OptionType:8 of +msgid "6" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:7 +#: interactions.client.enums.OptionType:9 of +msgid "7" msgstr "" -#: interactions.enums.OptionType.from_type:1 of -msgid "Get a specific enumerable from a type or object." +#: interactions.client.enums.InteractionCallbackType:8 +#: interactions.client.enums.OptionType:10 of +msgid "8" msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Parameters" +#: interactions.client.enums.InteractionCallbackType:9 +#: interactions.client.enums.OptionType:11 of +msgid "9" msgstr "" -#: interactions.enums.OptionType.from_type:3 of -msgid "The type or object to get an enumerable integer for." +#: interactions.client.enums.OptionType:1 of +msgid "" +"An enumerable object representing the types of an application command " +"option." msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Returns" +#: interactions.client.enums.OptionType:12 of +msgid "10" msgstr "" -#: interactions.enums.OptionType.from_type:5 of -msgid "enum.IntEnum." +#: interactions.client.enums.OptionType:13 of +msgid "11" msgstr "" -#: interactions.enums.PermissionType:1 of +#: interactions.client.enums.PermissionType:1 of msgid "" "Enumerable object of literal integers holding equivocal values of a slash" " command's permission(s)." msgstr "" -#: interactions.enums.PermissionType:4 of -msgid "" -"Equivalent of `ApplicationCommandPermissionType " -"`_ in the Discord API." +#: interactions.client.enums.ComponentType:1 of +msgid "An enumerable object representing the types of a component." msgstr "" -#: interactions.enums.PermissionType.from_type:1 of -msgid "" -"Get a specific enumerable from a type or object. :param _type: The type " -"or object to get an enumerable integer for. :type _type: type :return: " -"enum.IntEnum." +#: interactions.client.enums.ButtonStyle:1 of +msgid "An enumerable object representing the styles of button components." msgstr "" -#: interactions.enums.ComponentType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"component(s) type." +#: interactions.client.enums.TextStyleType:1 of +msgid "An enumerable object representing the styles of text inputs." msgstr "" -#: interactions.enums.ComponentType:4 of -msgid "" -"Equivalent of `Component Types " -"`_ in the Discord API." +#: interactions.client.enums.Locale:1 of +msgid "An enumerable object representing Discord locales." msgstr "" -#: interactions.enums.ButtonType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"button(s) type." +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." msgstr "" -#: interactions.enums.ButtonType:4 of +#: enum.Enum._generate_next_value_:3 of msgid "" -"Equivalent of `Button Styles " -"`_ in the Discord API." +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/ext.base.po b/docs/locale/hi/LC_MESSAGES/ext.base.po new file mode 100644 index 000000000..b0275dd49 --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/ext.base.po @@ -0,0 +1,150 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.base.rst:4 +msgid "Core Model" +msgstr "" + +#: interactions.ext.base.Base:1 of +msgid "A class representing the base structure of a 3rd party." +msgstr "" + +#: interactions.ext.base.Base of +msgid "Variables" +msgstr "" + +#: interactions.ext.base.Base:3 of +msgid "The version of the library." +msgstr "" + +#: interactions.ext.base.Base:4 of +msgid "The name of the library." +msgstr "" + +#: interactions.ext.base.Base:5 of +msgid "The description of the library." +msgstr "" + +#: interactions.ext.base.Base:6 of +msgid "The long description of the library." +msgstr "" + +#: interactions.ext.base.Base:7 of +msgid "The repository link or the library." +msgstr "" + +#: interactions.ext.base.Base:8 of +msgid "The packages of the library." +msgstr "" + +#: interactions.ext.base.Base:9 of +msgid "The modules in the library required." +msgstr "" + +#: interactions.ext.base.Base:10 of +msgid "The objects running under the service." +msgstr "" + +#: interactions.ext.base.Base._check_service:1 of +msgid "Checks whether the service already exists within the list or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service of +msgid "Parameters" +msgstr "" + +#: interactions.ext.base.Base._check_service:3 of +msgid "The name of the service to check." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Returns" +msgstr "" + +#: interactions.ext.base.Base._check_service:5 of +msgid "Whether the service exists or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Return type" +msgstr "" + +#: interactions.ext.base.Base.add_service:1 of +msgid "" +"Adds a service to the 3rd party for ease of accessibility in calling. The" +" code theory behind this is to simplify the way you handle and manage the" +" calling of other objects, as well as accessing their information." +msgstr "" + +#: interactions.ext.base.Base.add_service:5 of +msgid "The object to add as a service." +msgstr "" + +#: interactions.ext.base.Base.add_service:7 of +msgid "The name of the object to map under." +msgstr "" + +#: interactions.ext.base.Base.add_service:9 of +msgid "The mapped relation between the object and name." +msgstr "" + +#: interactions.ext.base.Base.remove_service:1 of +msgid "" +"Removes a service from the 3rd party in the event that it is no longer " +"needed to be referred to for data." +msgstr "" + +#: interactions.ext.base.Base.remove_service:4 of +msgid "The name of the service to remove." +msgstr "" + +#: interactions.ext.base.Base.remove_service:6 of +msgid "If the service has been removed or not." +msgstr "" + +#: interactions.ext.base.Base.remove_service of +msgid "Raises" +msgstr "" + +#: interactions.ext.base.Base.remove_service:8 of +msgid "An unknown service in the base." +msgstr "" + +#: interactions.ext.base.Base.services:1 of +msgid "" +"Returns a view on all of the services currently stored under the 3rd " +"party." +msgstr "" + +#: interactions.ext.base.Base.services:3 of +msgid "A dictionary of objects sorted by their name." +msgstr "" + +#: interactions.ext.base.build:1 of +msgid "Builds the base 3rd party the same way as ``setup`` from ``setuptools``." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/ext.converter.po b/docs/locale/hi/LC_MESSAGES/ext.converter.po new file mode 100644 index 000000000..8f0df6d4b --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/ext.converter.po @@ -0,0 +1,114 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.converter.rst:4 +msgid "Converter Model" +msgstr "" + +#: interactions.ext.converter.Converter:1 of +msgid "" +"A class representing the \"conversion\" or consistent mapping between two" +" objects' attributes." +msgstr "" + +#: interactions.ext.converter.Converter of +msgid "Variables" +msgstr "" + +#: interactions.ext.converter.Converter:4 of +msgid "The first object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter:5 of +msgid "The second object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:1 of +msgid "Maps the attributes between the models for conversion reference." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Returns" +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:3 of +msgid "A dictionary of attributes mapped." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Return type" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:1 of +msgid "Gets a mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr of +msgid "Parameters" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:3 of +msgid "The attribute to get." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:5 of +msgid "The mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:1 of +msgid "Gets a list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:3 of +msgid "The list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.ref:1 of +msgid "Gets the \"referenced\" model, or first." +msgstr "" + +#: interactions.ext.converter.Converter.ref:3 of +msgid "The referenced model." +msgstr "" + +#: interactions.ext.converter.Converter.difference:1 of +msgid "Gets a list of keys and values that the models don't share in common." +msgstr "" + +#: interactions.ext.converter.Converter.difference:3 +#: interactions.ext.converter.Converter.missing:3 of +msgid "A list of dictionaries" +msgstr "" + +#: interactions.ext.converter.Converter.missing:1 of +msgid "" +"Gets a list of keys and values missing from the \"referenced\" or first " +"model." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/ext.error.po b/docs/locale/hi/LC_MESSAGES/ext.error.po new file mode 100644 index 000000000..763b1799e --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/ext.error.po @@ -0,0 +1,84 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.error.rst:4 +msgid "Error Exceptions" +msgstr "" + +#: interactions.ext.error.ErrorType:1 of +msgid "An enumerable object representing the type of error responses raised." +msgstr "" + +#: interactions.ext.error.ErrorType of +msgid "Variables" +msgstr "" + +#: interactions.ext.error.ErrorType:3 of +msgid "" +"You cannot have more than one alphanumeric identifier, or identifier with" +" a missing value." +msgstr "" + +#: interactions.ext.error.ErrorType:4 of +msgid "You cannot have a missing numerical value." +msgstr "" + +#: interactions.ext.error.ErrorType:5 of +msgid "" +"A version can only have one main author. The rest of the authors must be " +"co-authors." +msgstr "" + +#: interactions.ext.error.ErrorType:6 of +msgid "The service specified does not exist." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.error.IncorrectAlphanumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"alphanumeric formatting." +msgstr "" + +#: interactions.ext.error.MissingNumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"numerical formatting." +msgstr "" + +#: interactions.ext.error.TooManyAuthors:1 of +msgid "" +"An exception raised whenever a ``VersionAuthor`` object have too many " +"\"main\" authors." +msgstr "" + +#: interactions.ext.error.UnknownService:1 of +msgid "An exception raised whenever a ``Base`` object cannot find a service." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/ext.gettingstarted.po b/docs/locale/hi/LC_MESSAGES/ext.gettingstarted.po new file mode 100644 index 000000000..1c21e3eb3 --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/ext.gettingstarted.po @@ -0,0 +1,225 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.gettingstarted.rst:2 +msgid "Getting started." +msgstr "" + +#: ../../ext.gettingstarted.rst:5 +msgid "Developing a 3rd party." +msgstr "" + +#: ../../ext.gettingstarted.rst:7 +msgid "" +"Getting started with making a 3rd party library is pretty hard. Most of " +"the time, you'll find yourself often checking the source code and " +"directly making changes to the library. We want to make a change to that," +" and additionally, make it easier for developers to find creativity in " +"the simplicity of our overengineered product." +msgstr "" + +#: ../../ext.gettingstarted.rst:14 +msgid "" +"If you're not familiar with the source code of the library, you should " +"probably read the documentation first." +msgstr "" + +#: ../../ext.gettingstarted.rst:17 +msgid "" +"Basing your 3rd party libraries off of our ``unstable`` branch is a bad " +"practice as this is regarded as our development branch. Breaking changes " +"may become common, and as a result pose a risk in affecting your 3rd " +"party. For this reason, we recommend you use the latest PyPI release or " +"``stable`` branch." +msgstr "" + +#: ../../ext.gettingstarted.rst:24 +msgid "Installing" +msgstr "" + +#: ../../ext.gettingstarted.rst:26 +msgid "" +"Installing the external framework is a rather trivial process. You do not" +" need to run any special installation on the library, as this comes built" +" into our main core. However, you will need to install the dependencies " +"involved with the library." +msgstr "" + +#: ../../ext.gettingstarted.rst:31 +msgid "" +"If you do not already have this library installed, you can do with this " +"line below:" +msgstr "" + +#: ../../ext.gettingstarted.rst:39 +msgid "Creating the base." +msgstr "" + +#: ../../ext.gettingstarted.rst:41 +msgid "" +"For every official 3rd party library of interactions.py, we have a " +"\"core\" for it, otherwise known as the base. This base is what we use to" +" allow developers to easily setup their project onto PyPI and build, as " +"well as storing additional information that bot developers can read off " +"of for their bots." +msgstr "" + +#: ../../ext.gettingstarted.rst:46 +msgid "This code shows a basic example for creating the base of a 3rd party:" +msgstr "" + +#: ../../ext.gettingstarted.rst:71 +msgid "" +"This configures the base of the library in a rather simple manner: you " +"give the name and description of the 3rd party, as well as its own " +"official version and link for reference. This is all that is required to " +"build the library. The rest of the field that can be filled in are " +"optional. You can look at the :ref:`Base class ` for" +" more information." +msgstr "" + +#: ../../ext.gettingstarted.rst:78 +msgid "Defining a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:80 +msgid "" +"As you may have noticed in the ``Base`` class, we have a ``Version`` " +"class that helps define the version of the 3rd party. This is required to" +" be written in our class for numerous reasons:" +msgstr "" + +#: ../../ext.gettingstarted.rst:83 +msgid "To help enforce consistency in the formatting of 3rd party versions." +msgstr "" + +#: ../../ext.gettingstarted.rst:84 +msgid "To allow for easy version comparison." +msgstr "" + +#: ../../ext.gettingstarted.rst:85 +msgid "Forced semantic versioning." +msgstr "" + +#: ../../ext.gettingstarted.rst:87 +msgid "" +"This class is our most advanced and complicated one due to the abundant " +"nature in emphasising a proper versioning system. We have a few options " +"for versioning, and we have a few rules to follow." +msgstr "" + +#: ../../ext.gettingstarted.rst:90 +msgid "" +"Major, minor and patch versions **must** be declared as either their " +"respective key-word arguments, or under the ``version`` kwarg." +msgstr "" + +#: ../../ext.gettingstarted.rst:91 +msgid "" +"The version should not be author-less. Every library has an author behind" +" a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:92 +msgid "" +"The version should not be a pre-release. Pre-releases are not supported " +"by the official PyPI. To release as alpha or beta, use the " +"``extend_version()`` method." +msgstr "" + +#: ../../ext.gettingstarted.rst:93 +msgid "" +"A version cannot contain more than 1 main author. If you have multiple " +"authors, you should label them as co-authors instead." +msgstr "" + +#: ../../ext.gettingstarted.rst:94 +msgid "An alphanumeric version can only contain one instance of its own." +msgstr "" + +#: ../../ext.gettingstarted.rst:96 +msgid "" +"With these rules out of the way, let's look at a simple implementation of" +" the ``Version`` class alongside its brother, ``VersionAuthor`` for " +"adding authors of a version:" +msgstr "" + +#: ../../ext.gettingstarted.rst:120 +msgid "" +"This code example can also show you the ways of retreiving information " +"from a version. As seen here, this is a highly versatile class. These " +"following are the shown methods and their purposes:" +msgstr "" + +#: ../../ext.gettingstarted.rst:124 +msgid "The ``version`` attribute is the version string." +msgstr "" + +#: ../../ext.gettingstarted.rst:125 +msgid "The ``major`` attribute is the major version number, e.g. \"x.0.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:126 +msgid "The ``minor`` attribute is the minor version number, e.g. \"0.x.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:127 +msgid "The ``patch`` attribute is the patch version number, e.g. \"0.0.x\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:128 +msgid "" +"The ``authors`` property method is a list of authors, regardless of if " +"one is a co-author or not." +msgstr "" + +#: ../../ext.gettingstarted.rst:129 +msgid "" +"The ``is_alphanumeric`` property method is a boolean that indicates if " +"the version is alphanumeric." +msgstr "" + +#: ../../ext.gettingstarted.rst:132 +msgid "Converting models from one to another." +msgstr "" + +#: ../../ext.gettingstarted.rst:134 +msgid "" +"The term \"conversion\" is a gross exaggeration of what we're actually " +"doing here. The problem that we've found with bot developers cross-" +"referencing from different libraries is that their data models are simply" +" different in design and structure. In order to combat against this, we " +"have decided to create a conversion tool that will allow us to convert " +"between models. This tool also allows for better comparison that will " +"save the average developer many lines of code from having to be written. " +"This is a basic example of how we \"convert\" these models:" +msgstr "" + +#: ../../ext.gettingstarted.rst:162 +msgid "What about errors?" +msgstr "" + +#: ../../ext.gettingstarted.rst:164 +msgid "" +"Don't worry---we've got you covered there. Each of our tools will raise " +"special error exceptions that you can listen to. Since this is a pretty " +"self-explanitory subject, we recommend :ref:`reading the documentation " +"` on this." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/ext.po b/docs/locale/hi/LC_MESSAGES/ext.po new file mode 100644 index 000000000..ee17491a5 --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/ext.po @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.rst:19 +msgid "Tools:" +msgstr "" + +#: ../../ext.rst:4 +msgid "External Framework" +msgstr "" + +#: ../../ext.rst:6 +msgid "" +"Are you trying to build your own 3rd party library, but you don't want to" +" monkey-patch your own solutions into the current existing library " +"codebase? Are you wanting to avoid having to modify the architecture of " +"the library to specifically suit you or others needs? Well, now we have " +"something to introduce to you: ``interactions.ext``. The officially given" +" software development kit (SDK) tools suite made by developers; for " +"developers." +msgstr "" + +#: ../../ext.rst:13 +msgid "How does the framework... work?" +msgstr "" + +#: ../../ext.rst:15 +msgid "" +"Great question! We're glad you asked. The framework is a set of tools " +"that are designed to make your life easier. There are a few tools that we" +" provide out of the box, but you can also create some of your own. We'll " +"be covering each one of these tools in great detail." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/ext.version.po b/docs/locale/hi/LC_MESSAGES/ext.version.po new file mode 100644 index 000000000..7ad8f183b --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/ext.version.po @@ -0,0 +1,182 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.version.rst:4 +msgid "Versioning Models" +msgstr "" + +#: interactions.ext.version.VersionAuthor:1 of +msgid "A class representing the author involved in a version." +msgstr "" + +#: interactions.ext.version.Version interactions.ext.version.VersionAuthor of +msgid "Variables" +msgstr "" + +#: interactions.ext.version.VersionAuthor:3 of +msgid "The hashed representation of the class." +msgstr "" + +#: interactions.ext.version.VersionAuthor:4 of +msgid "Whether this is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:5 of +msgid "Whether the author is active or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:6 of +msgid "The email of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor:7 of +msgid "The name of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor.is_co_author:1 of +msgid "Returns whether the author is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAlphanumericType:1 of +msgid "An enumeration." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.version.Version:1 of +msgid "A class representing how a version is structured for a 3rd party library." +msgstr "" + +#: interactions.ext.version.Version:4 of +msgid "" +"This class respects the design and application of Semantic Versioning " +"2.0.0, (SemVer) a widely accepted standardisation of version control for " +"modules and projects." +msgstr "" + +#: interactions.ext.version.Version:8 of +msgid "The major version." +msgstr "" + +#: interactions.ext.version.Version:9 of +msgid "The minor version." +msgstr "" + +#: interactions.ext.version.Version:10 of +msgid "The patch version." +msgstr "" + +#: interactions.ext.version.Version:11 of +msgid "The authors tied to the version release." +msgstr "" + +#: interactions.ext.version.Version:12 of +msgid "The representation of the version." +msgstr "" + +#: interactions.ext.version.Version:13 of +msgid "The alphanumeric typing of the version." +msgstr "" + +#: interactions.ext.version.Version.major:1 of +msgid "Returns the major version." +msgstr "" + +#: interactions.ext.version.Version.minor:1 of +msgid "Returns the minor version." +msgstr "" + +#: interactions.ext.version.Version.patch:1 of +msgid "Returns the patch version." +msgstr "" + +#: interactions.ext.version.Version.author:1 of +msgid "" +"Returns the author of the version. If multiple authors exist, it will " +"choose the only one that is not a co-author." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Returns" +msgstr "" + +#: interactions.ext.version.Version.author:4 of +msgid "The author of the version, if one exists." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Return type" +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.extend_version of +msgid "Raises" +msgstr "" + +#: interactions.ext.version.Version.author:6 of +msgid "Too many main authors were found." +msgstr "" + +#: interactions.ext.version.Version.authors:1 of +msgid "Returns the list of authors under the version." +msgstr "" + +#: interactions.ext.version.Version.authors:3 of +msgid "The authors of the version, if any exist." +msgstr "" + +#: interactions.ext.version.Version.is_alphanumeric:1 of +msgid "Returns whether the version is alphanumeric or not." +msgstr "" + +#: interactions.ext.version.Version.extend_version:1 of +msgid "Allows the version to be extended upon with an alphanumeric format." +msgstr "" + +#: interactions.ext.version.Version.extend_version of +msgid "Parameters" +msgstr "" + +#: interactions.ext.version.Version.extend_version:3 of +msgid "" +"Key-word arguments to be supplied as ``alpha``, ``beta`` or ``rc`` " +"respectively." +msgstr "" + +#: interactions.ext.version.Version.extend_version:5 of +msgid "The new version with the alphanumeric." +msgstr "" + +#: interactions.ext.version.Version.extend_version:7 of +msgid "The alphanumeric version was incorrectly formatted." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/faq.po b/docs/locale/hi/LC_MESSAGES/faq.po index aa58e9a37..be61d009d 100644 --- a/docs/locale/hi/LC_MESSAGES/faq.po +++ b/docs/locale/hi/LC_MESSAGES/faq.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,28 +30,21 @@ msgstr "" #: ../../faq.rst:8 msgid "" -"This page is maintained by the Helpers of the Discord server, and updated" -" by the library developer at their discretion. For any comments, feedback" -" or concerns please consider joining our server and bringing it up in our" -" support channels." +"This page is maintained by the Helpers of the Discord server, and " +"developers at their discretion. For any comments, feedback or concerns " +"please consider joining our server and bringing it up in our support " +"channels." msgstr "" -#: ../../faq.rst:15 -msgid "" -"This FAQ list currently reflects v4.0 as of the time of this writing, all" -" other versions are considered deprecated. Because of this, there will " -"not be any answers for questions regarding v3.0 and below." -msgstr "" - -#: ../../faq.rst:20 +#: ../../faq.rst:14 msgid "discord.py is dead! Will this library die too?" msgstr "" -#: ../../faq.rst:21 ../../faq.rst:31 +#: ../../faq.rst:15 ../../faq.rst:25 msgid "The short answer is: **no**." msgstr "" -#: ../../faq.rst:23 +#: ../../faq.rst:17 msgid "" "The decision to become a standalone library that is now an API wrapper " "for the Discord API was made before Danny posted his gist on GitHub about" @@ -59,24 +52,24 @@ msgid "" "the library developer regarding this:" msgstr "" -#: ../../faq.rst:30 +#: ../../faq.rst:24 msgid "Are you going to/will/consider fork(ing) discord.py?" msgstr "" -#: ../../faq.rst:33 +#: ../../faq.rst:27 msgid "" "The long answer is a list of numerous reasons as to why this decision was" " made:" msgstr "" -#: ../../faq.rst:35 +#: ../../faq.rst:29 msgid "" "There are/will be numerous forks out there for discord.py, and because of" " that, we cannot safely guarantee our ability to help users out who may " "be using their own form of modified code." msgstr "" -#: ../../faq.rst:36 +#: ../../faq.rst:30 msgid "" "The original purpose of this library was to act as an extension of " "discord.py, but due to the issue of constantly having to monkeypatch " @@ -85,7 +78,7 @@ msgid "" "not change anything from our issue of avoiding this." msgstr "" -#: ../../faq.rst:37 +#: ../../faq.rst:31 msgid "" "The goal of this library is to solely implement support and integrate the" " use of interactions from the Discord API. Making this library unique in " @@ -93,7 +86,7 @@ msgid "" "standards at the time." msgstr "" -#: ../../faq.rst:38 +#: ../../faq.rst:32 msgid "" "The message intent will inevitably be forced as a privileged intent in " "April 2022. The practicality of trying to support message commands will " @@ -102,7 +95,7 @@ msgid "" "reason for applying for this privileged intent." msgstr "" -#: ../../faq.rst:39 +#: ../../faq.rst:33 msgid "" "Forking discord.py would be a massive change to our current codebase, " "throwing away all of the effort we've put into it so far, and basically " @@ -112,39 +105,51 @@ msgid "" " this is pointless." msgstr "" -#: ../../faq.rst:42 +#: ../../faq.rst:36 msgid "Will discord.py be able to work with this library?" msgstr "" -#: ../../faq.rst:43 +#: ../../faq.rst:37 msgid "The short answer is: **yes.**" msgstr "" -#: ../../faq.rst:45 +#: ../../faq.rst:39 msgid "" "However, the term \"work\" is loosely structured here. Imagine it like " "taping a hole in the wall instead of repairing the wall. We're " "essentially \"plastering\" support for discord.py instead of doing the " "surgery on its internal organs to make it work well with our library. As " -"it currently stands, **discord-interactions and discord.py** are API " -"wrappers. You will be able to run code *alongside* one another, and you " -"will be able to plug in some classes, but the data conversion **must be " -"exact.**" +"it currently stands, **interactions.py and discord.py** are API wrappers." +" You will be able to run code *alongside* one another, and you will be " +"able to plug in some classes, but the data conversion **must be exact.**" msgstr "" -#: ../../faq.rst:50 +#: ../../faq.rst:44 msgid "What does that mean? Well, we'll show you:" msgstr "" -#: ../../faq.rst:74 +#: ../../faq.rst:73 msgid "" "Both of these variables ``interactions`` and ``dpy`` will be able to run " "in the same established environment, and additionally will both function " -"properly as their respective libraries intend them to. What about the " -"models, though? That's a simple answer:" +"properly as their respective libraries intend them to. This " +"implementation uses asyncio.gather to execute both starts simultaneously " +"as asyncio tasks, and runs them under one singular loop." msgstr "" -#: ../../faq.rst:90 +#: ../../faq.rst:77 +msgid "" +"Compared to traditional startup commands, ``interactions.ready()`` and " +"``dpy.start()`` is used instead of the typical ``interactions.start()`` " +"and ``dpy.run()`` methods because of synchronous/async functions. " +"``asyncio.gather()`` works with coroutines, hence the transition." +msgstr "" + +#: ../../faq.rst:81 +msgid "What about the models, though? That's a simple answer:" +msgstr "" + +#: ../../faq.rst:96 msgid "" "Both of these will be able to both run and give their proper value. It is" " *very* important to note here, though, that you **must** be returning " @@ -153,22 +158,76 @@ msgid "" "that is going on here." msgstr "" -#: ../../faq.rst:95 +#: ../../faq.rst:101 +msgid "Where should we go with discord.py being gone?" +msgstr "" + +#: ../../faq.rst:102 +msgid "" +"The most *biased* answer would be to, of course, *use interactions.py.* " +"We already offer a lot of the integral API wrapper aspects as discord.py " +"does, however, we only specialize in interactions. Which means things " +"such as these won't be supported officially by us (but might be available" +" as 3rd parties):" +msgstr "" + +#: ../../faq.rst:106 +msgid "Cooldowns" +msgstr "" + +#: ../../faq.rst:107 +msgid "Message commands" +msgstr "" + +#: ../../faq.rst:108 +msgid "Voice clients" +msgstr "" + +#: ../../faq.rst:110 +msgid "" +"There are other libraries of course though. As a general rule of thumb, " +"if you're looking to do mainly slash commands and that tidbit then we " +"highly recommend using our library, especially as **discord-components** " +"merges as of version 4.0. But if you want something way more open and " +"versatile, then we recommend these sources:" +msgstr "" + +#: ../../faq.rst:114 +msgid "`Pycord`_ (the most actively maintained)." +msgstr "" + +#: ../../faq.rst:115 +msgid "`NAFF`_ (high level, \"hackable\" API wrapper with ease of modification)." +msgstr "" + +#: ../../faq.rst:116 +msgid "`nextcord`_ (more abstract and fast approach to the Discord API)." +msgstr "" + +#: ../../faq.rst:118 +msgid "" +"It's personally recommended from the library developer to seek these " +"paths instead of sticking to an older version of a library, e.g. " +"discord.py 1.7.3 or 2.0.0a as they can eventually become deprecated with " +"more pending changes to the API by Discord engineers." +msgstr "" + +#: ../../faq.rst:122 msgid "Why are you not supporting cooldowns?" msgstr "" -#: ../../faq.rst:96 +#: ../../faq.rst:123 msgid "" "Cooldowns aren't really an actual feature of the Discord API itself, but " "rather more of a convienent feature implemented in discord.py in order to" " avoid spamming of commands." msgstr "" -#: ../../faq.rst:99 +#: ../../faq.rst:126 msgid "**What if people spam slash/sub commands?**" msgstr "" -#: ../../faq.rst:101 +#: ../../faq.rst:128 msgid "" "That's the neat part: it's really hard to do that, and most of the time, " "they won't. Unless they copy the exact string that was used when you open" @@ -181,11 +240,11 @@ msgid "" "library." msgstr "" -#: ../../faq.rst:108 +#: ../../faq.rst:135 msgid "Will we not be able to create message commands?" msgstr "" -#: ../../faq.rst:109 +#: ../../faq.rst:136 msgid "" "This is a tricky question to really answer. If you want the *technical* " "answer: you can definitely create them with our library, however, you'll " @@ -197,16 +256,51 @@ msgid "" "handler framework before in their entire life." msgstr "" -#: ../../faq.rst:118 +#: ../../faq.rst:144 +msgid "" +"I'm getting \"``AttributeError: HTTPClient not found!``\" when I try to " +"execute helper methods!" +msgstr "" + +#: ../../faq.rst:145 +msgid "Probably you are doing something like this:" +msgstr "" + +#: ../../faq.rst:152 +msgid "" +"And the error occurs in the line where you try to send something. You can" +" fix this easy by adding one argument:" +msgstr "" + +#: ../../faq.rst:159 +msgid "" +"You have to add this extra argument for every object you instantiate by " +"yourself if you want to use it's methods" +msgstr "" + +#: ../../faq.rst:163 +msgid "" +"Context and Messages don't have the ``Channel`` and ``Guild`` attributes!" +" Why?" +msgstr "" + +#: ../../faq.rst:164 +msgid "" +"At the moment the Discord API does *not* include them into their " +"responses. You can get those object via the ``get_channel()`` and " +"``get_guild()`` methods of the Context and Message model." +msgstr "" + +#: ../../faq.rst:169 msgid "My question is not answered on here!" msgstr "" -#: ../../faq.rst:119 +#: ../../faq.rst:170 msgid "" "Please join our Discord server for any further support regarding our " "library and/or any integration code depending on it." msgstr "" -#: ../../faq.rst:121 +#: ../../faq.rst:172 msgid "Invite Link: https://discord.gg/KkgMBVuEkx" msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/gettingstarted.po b/docs/locale/hi/LC_MESSAGES/gettingstarted.po deleted file mode 100644 index 68d69eec9..000000000 --- a/docs/locale/hi/LC_MESSAGES/gettingstarted.po +++ /dev/null @@ -1,646 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../gettingstarted.rst:2 -msgid "Getting Started" -msgstr "" - -#: ../../gettingstarted.rst:5 -msgid "Where do we start?" -msgstr "" - -#: ../../gettingstarted.rst:7 -msgid "" -"Before we begin getting started on everything else, it is recommended to " -"check out the `quickstart`_ page first to get a basic grip on making " -"slash commands for your bot." -msgstr "" - -#: ../../gettingstarted.rst:12 -msgid "Making a slash command." -msgstr "" - -#: ../../gettingstarted.rst:15 -msgid "The basics." -msgstr "" - -#: ../../gettingstarted.rst:17 -msgid "" -"First, let's explain by how commands are parsed through the Discord Bot " -"API." -msgstr "" - -#: ../../gettingstarted.rst:19 -msgid "" -"As you may know, Discord relies a lot on the interaction of HTTP Requests" -" and JSON tables. As is with the case here, commands are the exact same " -"way with having JSON tables to structure the design of it for Discord to " -"understand. We can apply this information likewise with how slash " -"commands are to be designed in the Python code. Below attached is from " -"the *Discord Developer Portal* on Slash Commands for showing how they are" -" designed." -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Field**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Type**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Description**" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -msgid "name" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:31 -#: ../../gettingstarted.rst:79 ../../gettingstarted.rst:81 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -#: ../../gettingstarted.rst:413 ../../gettingstarted.rst:415 -#: ../../gettingstarted.rst:417 ../../gettingstarted.rst:419 -msgid "string" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -msgid "1-32 character name matching ``^[\\w-]{1,32}$``." -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "description" -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "1-100 character description." -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "options?" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "array of `ApplicationCommandOption`_" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "" -"if the option is a subcommand or subcommand group type, this nested " -"options will be the parameters." -msgstr "" - -#: ../../gettingstarted.rst:36 -msgid "" -"This table shows us the way that Discord handles the structure of " -"commands for slash commands through their Bot API. For visualization " -"purposes, we'll quickly make a JSON example (although we won't be using " -"it) in order to explain how this works:" -msgstr "" - -#: ../../gettingstarted.rst:48 -msgid "" -"Now that we have a basic understanding of how the JSON table works, we " -"can take this knowledge and convert it into a decorator method for the " -"Python code as shown below:" -msgstr "" - -#: ../../gettingstarted.rst:59 -msgid "" -"Now that we've gone over how Discord handles the declaration of slash " -"commands through their Bot API, let's go over what some of the other " -"things mean within the *logical* part of our code, the command function:" -msgstr "" - -#: ../../gettingstarted.rst:65 -msgid "Giving some options for variety." -msgstr "" - -#: ../../gettingstarted.rst:67 -msgid "" -"The next thing that we will begin to talk about is the implementation of " -"options, otherwise well-known as \"arguments\" in discord.py commands." -msgstr "" - -#: ../../gettingstarted.rst:70 -msgid "" -"The JSON structure of options are designed up to be similar to the same " -"premise of how a slash command is declared. Below is the given table of " -"how an option JSON would appear as:" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:245 -#: ../../gettingstarted.rst:333 -msgid "type" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:243 -#: ../../gettingstarted.rst:245 ../../gettingstarted.rst:333 -msgid "int" -msgstr "" - -#: ../../gettingstarted.rst:77 -msgid "value of `ApplicationCommandOptionType`_." -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "default?" -msgstr "" - -#: ../../gettingstarted.rst:83 ../../gettingstarted.rst:85 -msgid "bool" -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "" -"the first required option for the user to complete--only one option can " -"be default." -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "required?" -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "if the parameter is required or optional--default ``false``." -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices?" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "array of `ApplicationCommandOptionChoice`_" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices for ``string`` and ``int`` types for the user to pick from." -msgstr "" - -#: ../../gettingstarted.rst:92 -msgid "" -"Now we have an idea of how options are declared. With this in mind, let's" -" quickly make a JSON example in order to visualize this concept even " -"further:" -msgstr "" - -#: ../../gettingstarted.rst:110 -msgid "" -"While the table in the basics mentions an array in particular called " -"``ApplicationCommandOptionType``, there isn't that much of an explanation" -" on how this works. Let's put this into better laymen terms on what this " -"means with a table below showing all of these values:" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Name**" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Value**" -msgstr "" - -#: ../../gettingstarted.rst:117 -msgid "SUB_COMMAND" -msgstr "" - -#: ../../gettingstarted.rst:117 ../../gettingstarted.rst:257 -#: ../../gettingstarted.rst:352 -msgid "1" -msgstr "" - -#: ../../gettingstarted.rst:119 -msgid "SUB_COMMAND_GROUP" -msgstr "" - -#: ../../gettingstarted.rst:119 ../../gettingstarted.rst:259 -#: ../../gettingstarted.rst:354 -msgid "2" -msgstr "" - -#: ../../gettingstarted.rst:121 -msgid "STRING" -msgstr "" - -#: ../../gettingstarted.rst:121 ../../gettingstarted.rst:356 -msgid "3" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "INTEGER" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "4" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "BOOLEAN" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "5" -msgstr "" - -#: ../../gettingstarted.rst:127 ../../gettingstarted.rst:354 -msgid "USER" -msgstr "" - -#: ../../gettingstarted.rst:127 -msgid "6" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "CHANNEL" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "7" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "ROLE" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "8" -msgstr "" - -#: ../../gettingstarted.rst:134 -msgid "" -"The purpose of having the ``ApplicationCommandOptionType`` value passed " -"into our option JSON structure is so that we can help the Discord UI " -"understand what kind of value we're inputting here. For instance, if " -"we're wanting to put in a string response, we'll pass the ID 3 so that " -"the UI of Discord chat bar knows to format it visually this way. If we're" -" looking for a user, then we'll pass ID 6 so that it presents us with a " -"list of users in our server instead, making it easier on our lives." -msgstr "" - -#: ../../gettingstarted.rst:140 -msgid "" -"This is not to be confused, however, with formatting the response type " -"itself. This is merely a method so that the API wrapper can help us with " -"passing the correct type or instance variable with the arguments of the " -"command function's code." -msgstr "" - -#: ../../gettingstarted.rst:144 -msgid "" -"Now, we can finally visualize this by coding an example of this being " -"used in the Python code shown below." -msgstr "" - -#: ../../gettingstarted.rst:163 -msgid "" -"Additionally, we could also declare the type of our command's option " -"through this method shown here:" -msgstr "" - -#: ../../gettingstarted.rst:174 -msgid "More in the option? Give them a choice." -msgstr "" - -#: ../../gettingstarted.rst:176 -msgid "" -"Alas, there is also a way to give even more information to options with " -"Discord's Slash Commands: a choice. Not like something that you're given " -"at birth of when you become of legal age as an adult, we're not here to " -"give you *that* kind of life advice, but the choice of what value you " -"want your option to rather pass. Below is a table that shows the JSON " -"structure of how choices are represented for an option:" -msgstr "" - -#: ../../gettingstarted.rst:185 -msgid "1-32 character choice name." -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "string or int" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value of the choice, up to 100 characters if string." -msgstr "" - -#: ../../gettingstarted.rst:190 -msgid "" -"This time, only 2 fields are able to be passed for this. Below is a JSON " -"example of how this would be designed:" -msgstr "" - -#: ../../gettingstarted.rst:200 -msgid "" -"To make it really simple, the ``name`` field is only to be used for how " -"you want the choice to be presented through Discord's UI. It's the " -"\"appearance\" of how you want your choice shown, not the actual returned" -" value of it. Hence, this is why ``value`` is the second field passed for" -" that, which can be either in the form of a string or integer. Below is " -"an implementation of this design in the Python code:" -msgstr "" - -#: ../../gettingstarted.rst:233 -msgid "Want to restrict access? Setup permissions!" -msgstr "" - -#: ../../gettingstarted.rst:235 -msgid "" -"Slash commands also support the ability to set permissions to allow only " -"certain roles and/or users to run a slash command. Permissions can be " -"applied to both global and guild based commands. They are defined per " -"guild, per top-level command (the base command for subcommands), and each" -" guild can have multiple permissions. Here is the table that shows the " -"JSON structure of how permissions are represented:" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "id" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "" -"Snowflake value of type specified. Represents the target to apply " -"permissions on." -msgstr "" - -#: ../../gettingstarted.rst:245 -msgid "An `ApplicationCommandPermissionType`_." -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "permission" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "boolean" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "``True`` to allow, ``False`` to disallow." -msgstr "" - -#: ../../gettingstarted.rst:250 -msgid "" -"How the type parameter works is very simple. Discord has many ids to " -"represent different things. As you can set permissions to apply for User " -"or Role, `ApplicationCommandPermissionType`_ is used. It's a number and " -"following table shows the supported id types for permissions:" -msgstr "" - -#: ../../gettingstarted.rst:257 -msgid "Role" -msgstr "" - -#: ../../gettingstarted.rst:259 -msgid "User" -msgstr "" - -#: ../../gettingstarted.rst:262 -msgid "" -"This is an example of how a single permission will look when represented " -"as a json object:" -msgstr "" - -#: ../../gettingstarted.rst:272 -msgid "" -"Now, let take a look at an example. The slash command decorator has a " -"permissions parameter where it takes in a dictionary. The key being the " -"guild id to apply permissions on, and value being the list of permissions" -" to apply. For each permission, we can use the handy " -"``create_permission`` method to build the permission json explained " -"above." -msgstr "" - -#: ../../gettingstarted.rst:277 -msgid "" -"In this case, we are setting 2 permissions for a guild with an id of " -"``12345678``. Firstly, we are allowing role with id ``99999999`` and " -"disallowing user with id ``88888888`` from running the slash command." -msgstr "" - -#: ../../gettingstarted.rst:296 -msgid "" -"Alternatively, you can use the ``@slash.permission`` decorator to define " -"your guild permissions for the command as show in the following example:" -msgstr "" - -#: ../../gettingstarted.rst:315 -msgid "But what about buttons?" -msgstr "" - -#: ../../gettingstarted.rst:316 -msgid "" -"This library supports components (buttons, actionrows, selects, etc.). " -"Take a look here: `components`_." -msgstr "" - -#: ../../gettingstarted.rst:319 -msgid "Making a message/menu command." -msgstr "" - -#: ../../gettingstarted.rst:320 -msgid "" -"Lucky for you, this library has recently added support for context menus!" -" Let's take a look into how they're designed." -msgstr "" - -#: ../../gettingstarted.rst:322 -msgid "" -"Please note that the current limit for context menus with the Discord API" -" is **5.**" -msgstr "" - -#: ../../gettingstarted.rst:324 -msgid "" -"A menu command (context menu) is an easy way for bot developers to " -"program optionless and choiceless commands into their bot which can be " -"easily accessible by right clicking on a user and/or message present. " -"Below is a table of the supported keys and values:" -msgstr "" - -#: ../../gettingstarted.rst:331 -msgid "The name of the context menu command." -msgstr "" - -#: ../../gettingstarted.rst:333 -msgid "An `ApplicationCommandType`_." -msgstr "" - -#: ../../gettingstarted.rst:336 -msgid "" -"The following table below represents how it would be shown as a JSON " -"object:" -msgstr "" - -#: ../../gettingstarted.rst:345 -msgid "" -"The following table explains more about the ``type`` parameter being " -"passed, which there are three of: ``CHAT_INPUT``, ``USER`` and " -"``MESSAGE``. By default, the type will always be the first. This is " -"because it is a registered type that is used to process slash commands, " -"and should not be used for when you are declaring context menu commands " -"in your bot's code at all:" -msgstr "" - -#: ../../gettingstarted.rst:352 -msgid "CHAT_INPUT" -msgstr "" - -#: ../../gettingstarted.rst:356 -msgid "MESSAGE" -msgstr "" - -#: ../../gettingstarted.rst:359 -msgid "" -"Unlike ``manage_commands`` and ``manage_components``, you will have to " -"use a decorator for now to register them:" -msgstr "" - -#: ../../gettingstarted.rst:375 -msgid "" -"The ``@slash.context_menu`` decorator takes in the context type as given " -"(to either appear when you right-click on a user or when you right-click " -"on a message) as well as the name of the command, and any guild IDs if " -"given if you would like to make it applicable to only a guild. **We only " -"accept connected names** for the time being, although context menus will " -"have the ability to have spaces in their name in the future when " -"development further progresses." -msgstr "" - -#: ../../gettingstarted.rst:379 -msgid "" -"You are able to also use the ``@cog_ext.cog_context_menu`` path which " -"will require an import from ``cog_ext.py`` respectively, however, it is " -"worth nothing that the ``target`` kwarg for the decorator **must** be " -"brought to the very end." -msgstr "" - -#: ../../gettingstarted.rst:383 -msgid "Can I use components with context menus?" -msgstr "" - -#: ../../gettingstarted.rst:384 -msgid "" -"Of course! However, you will need to add in some additional code in order" -" for both of the separate contexts to work seamlessly. Below is the given" -" code of what will need to be changed:" -msgstr "" - -#: ../../gettingstarted.rst:399 -msgid "Hey, what about component/[X] listening?" -msgstr "" - -#: ../../gettingstarted.rst:400 -msgid "" -"The decision has been made that this will not be implemented because of " -"two reasons: context menus currently have no ability to hold any options " -"or choices, so listening for any responses would be currently pointless. " -"Additionally, component listening is already a built-in feature that does" -" not require further customized and new decorators for explicitly context" -" menus, as they're more universal." -msgstr "" - -#: ../../gettingstarted.rst:405 -msgid "Nested commands as subcommands." -msgstr "" - -#: ../../gettingstarted.rst:406 -msgid "" -"Before you get into learning how to create a subcommand, please be sure " -"to read up on the documentation above given for how slash commands are " -"made." -msgstr "" - -#: ../../gettingstarted.rst:408 -msgid "" -"Subcommands are way to \"nest\" your slash commands under one (or more) " -"given names, as either a \"base\" name or a \"grouping\" of an existing " -"base. When this is said, it will initially appear very confusing. Let's " -"use the table shown below as a way to introduce the new fields/properties" -" that can be applied for a slash command to become a subcommand:" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "base" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "The name of the subcommand \"base.\"" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "subcommand_group" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "The name for the group of commands under the \"base.\" Field is optional." -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "base_description" -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "" -"The description when the base is active in the UX chat bar. Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "subcommand_group_description" -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "" -"The name for the group of commands under the \"base.\" Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:423 -msgid "Handling my errors." -msgstr "" - -#: ../../gettingstarted.rst:425 -msgid "" -"Thankfully, we try to make a majority of our error handling very simple. " -"If you would like to learn more about how to handle your errors, please " -"refer to our `errors`_ page. If you are looking for listener events, then" -" check our `listeners`_ page instead." -msgstr "" - -#: ../../gettingstarted.rst:428 -msgid "" -"As a side-note, as of version 3.0, message/menu commands (context menus) " -"are handled under the ``on_slash_command_error`` event." -msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/index.po b/docs/locale/hi/LC_MESSAGES/index.po index 270a136d5..62d4c17de 100644 --- a/docs/locale/hi/LC_MESSAGES/index.po +++ b/docs/locale/hi/LC_MESSAGES/index.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,108 +18,243 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../index.rst:38 +#: ../../index.rst:47 msgid "Pages:" msgstr "" #: ../../index.rst:4 -msgid "discord-interactions" +msgid "interactions.py" msgstr "" #: ../../index.rst:5 msgid "" -"No more hassle with trying to get interactions to work with your Python " -"Discord bot -- **discord-interactions** is now here." +"Ever since December 2019, this open-source project has become the " +"culmination of dedication and research towards figuring out the best way " +"to bring **interactions from Discord to you:** we are an easy, simple, " +"scalable and modular library for Discord interactions." +msgstr "" + +#: ../../index.rst:7 +msgid "" +"Tired of using numerous module dependencies for slash commands and " +"buttons?" msgstr "" #: ../../index.rst:8 +msgid "Looking for a compatible library that implements all interactions?" +msgstr "" + +#: ../../index.rst:9 +msgid "Itching to get your hands on slash commands, but in a simple manner?" +msgstr "" + +#: ../../index.rst:11 msgid "" -"**discord-interactions** is a simple API wrapper for Discord " -"interactions. We're not here to replace discord.py or any other fork, but" -" we are here to be the very best Python Discord library there is that " -"implements interactions very well. This is what our library is all about." +"Look no more! The goal of this library is to make all three of these " +"questions go from possibilites to trivial matters." msgstr "" #: ../../index.rst:14 -msgid "What are we good for?" +msgid "What can we do?" msgstr "" #: ../../index.rst:15 -msgid "We offer a **lot** of benefits with using our library:" +msgid "" +"Our library---inside and out, offers numerous benefits and presents " +"itself as a worthy module in your bot's dependencies:" msgstr "" #: ../../index.rst:17 -msgid "Modern pythonic design that is scalable and modular." -msgstr "" - -#: ../../index.rst:18 -msgid "Asynchronous coroutines and multi-threading capabilities." +msgid "The base features of our library, built with our API include:" msgstr "" #: ../../index.rst:19 -msgid "Optimal class object reference with little overhead." +msgid "" +"**Dynamic object data generation**: all event data dispatched from the " +"Gateway is dynamically transformed and generated into two-way " +"serializable JSON objects." msgstr "" #: ../../index.rst:20 -msgid "Easily accessible codebase source." +msgid "" +"**Sane rate limiting**: our HTTP client implements pre-emptive rate limit" +" avoidance, so your bot is guaranteed to never hit HTTP ``429``." msgstr "" #: ../../index.rst:21 -msgid "Stable/unstable branches for managing module stability when importing." +msgid "" +"**On-demand cache**: every HTTP request and Gateway event made is cached " +"when needed, so you never have to save information yourself." +msgstr "" + +#: ../../index.rst:22 +msgid "" +"**Simplified data models**: every object presented is accessible as " +"either a raw dictionary/``application/json`` or list of recursive " +"attributes." msgstr "" #: ../../index.rst:24 -msgid "What does that mean?" +msgid "Some more unique features that are exclusive to our interactions include:" msgstr "" -#: ../../index.rst:25 -msgid "Basically, we're good and bad for these things:" +#: ../../index.rst:26 +msgid "" +"**Event-triggered callbacks**: whether a component, application command " +"or interaction response, you'll never need to worry about bridging " +"responses." msgstr "" #: ../../index.rst:27 -msgid "✔️ Working with application commands." +msgid "" +"**Dual-way decorator logic**: a decorator can act as both a constructor " +"for an interaction, as well as a callback." msgstr "" #: ../../index.rst:28 -msgid "✔️ Handling contextual data cached from all channels." +msgid "" +"**API-strict naming**: no more confusion with the naming approach of many" +" libraries; we follow the naming style of interactions from the " +"officially curated Discord Developers documentation." msgstr "" #: ../../index.rst:29 -msgid "✔️ General/basic assignment of guild properties to members." +msgid "" +"**Extensive framework structure**: build your own tools and technologies " +"for our library to develop and integrate community creations." msgstr "" -#: ../../index.rst:30 -msgid "✔️ Responsive callbacks for buttons and select menus." +#: ../../index.rst:32 +msgid "What do we not offer?" msgstr "" -#: ../../index.rst:31 -msgid "✔️ Voice client capabilities." +#: ../../index.rst:33 +msgid "" +"While we certainly offer a lot of benefits, we unfortunately have our own" +" downsides:" msgstr "" -#: ../../index.rst:32 -msgid "❌ Cooldowns/bucket types." +#: ../../index.rst:36 +msgid "" +"This list is subject to change as time goes on: some of these items may " +"be added to the core of the library in the future." +msgstr "" + +#: ../../index.rst:40 +msgid "No native cooldown decorator/method." msgstr "" -#: ../../index.rst:35 +#: ../../index.rst:41 +msgid "Lack of automatic sharding and voice clients." +msgstr "" + +#: ../../index.rst:44 msgid "Where do I start?" msgstr "" -#: ../../index.rst:36 -msgid "Please look at our pages below to find out where to go further." +#: ../../index.rst:45 +msgid "Please look at our pages below to find out where to go." msgstr "" -#: ../../index.rst:47 +#: ../../index.rst:57 +msgid "How can I contribute?" +msgstr "" + +#: ../../index.rst:58 +msgid "" +"Please read up on our `contribution requirements`_ for the project. This " +"open-source project also enforces the `MIT License`_." +msgstr "" + +#: ../../index.rst:60 +msgid "This open-source project utilizes the following workflows for development:" +msgstr "" + +#: ../../index.rst:62 +msgid "" +"**pre-commit** ``2.16.0``: the architecture uses this before every commit" +" to format and check for severity/QOL-breaking changes." +msgstr "" + +#: ../../index.rst:64 +msgid "**black** ``21.11b1``" +msgstr "" + +#: ../../index.rst:65 +msgid "**flake8** ``3.9.2``" +msgstr "" + +#: ../../index.rst:66 +msgid "**isort** ``5.9.3``" +msgstr "" + +#: ../../index.rst:68 +msgid "" +"**Sphinx** ``4.1.2``: all of our documentation is powered off of " +"autogenerated documentation of the Sphinx engine." +msgstr "" + +#: ../../index.rst:69 +msgid "" +"**colorama** ``0.4.4``: our internal logger uses a customized coloring " +"formatter to make looking for specific conditions easier when running " +"tests." +msgstr "" + +#: ../../index.rst:70 +msgid "" +"**Conventional Commits** ``1.0.0``: every commit that we make to our " +"branches use the official specification of CC 1.0.0 to make git graphs " +"easier when improving and refining communication between code reviews, " +"Pull Requests and commits." +msgstr "" + +#: ../../index.rst:73 +msgid "When can I start?" +msgstr "" + +#: ../../index.rst:74 +msgid "" +"We also have some extra ground rules about making any specific " +"contributions involving:" +msgstr "" + +#: ../../index.rst:76 +msgid "" +"We do not accept abstraction-based requests. (e.g. ``colour`` for " +"``color``)" +msgstr "" + +#: ../../index.rst:77 +msgid "A request has to be approved by at least one developer." +msgstr "" + +#: ../../index.rst:78 +msgid "" +"You must be willing to change/adhere to reviews from participants **where" +" necessary.**" +msgstr "" + +#: ../../index.rst:81 +msgid "I think I'm all ready!" +msgstr "" + +#: ../../index.rst:82 +msgid "Feel free to begin making `Pull Requests`_ and `Issues`_ on our GitHub!" +msgstr "" + +#: ../../index.rst:85 msgid "Advanced Search" msgstr "" -#: ../../index.rst:49 +#: ../../index.rst:87 msgid ":ref:`genindex`" msgstr "" -#: ../../index.rst:50 +#: ../../index.rst:88 msgid ":ref:`modindex`" msgstr "" -#: ../../index.rst:51 +#: ../../index.rst:89 msgid ":ref:`search`" msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/migration.po b/docs/locale/hi/LC_MESSAGES/migration.po new file mode 100644 index 000000000..d07c11207 --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/migration.po @@ -0,0 +1,101 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../migration.rst:2 +msgid "Migration" +msgstr "" + +#: ../../migration.rst:4 +msgid "" +"This page aims to serve as a guide towards helping users understand any " +"breaking or otherwise important design choices made between versions to " +"guide towards easy migration between one another." +msgstr "" + +#: ../../migration.rst:8 +msgid "4.0.1 → 4.0.2" +msgstr "" + +#: ../../migration.rst:10 +msgid "" +"The biggest major change between these two versions is the way " +"``HTTPClient`` and modelled API schema objects are used. In ``4.0.2``, a " +"new ``_client`` attribute is added in model objects in order to use " +"helper methods. This will not be needed if you're working with dispatched" +" events from the Gateway, however, manually generating your own model " +"object for use will need it appended as a key-word argument. The example " +"below shows this change:" +msgstr "" + +#: ../../migration.rst:25 +msgid "" +"This change was added in favor for being able to use endpoints in an " +"abstracted state." +msgstr "" + +#: ../../migration.rst:28 +msgid "4.0.2 → 4.1.0" +msgstr "" + +#: ../../migration.rst:30 +msgid "" +"``4.1.0`` introduces numerous breaking changes that affect the bot " +"developers' ability to work with mainly modifying the way our Gateway " +"processes information, as well as supplying a ``reason`` argument to " +"``HTTPClient``-based methods." +msgstr "" + +#: ../../migration.rst:33 +msgid "" +"In this version, you are no longer required to give a ``reason`` for " +"every HTTP request. You can instead send it as an optional, which will " +"work to keep any existing modifications of our codebase from breaking." +msgstr "" + +#: ../../migration.rst:36 +msgid "" +"Additionally, modifying the way information is dispatched from the " +"Gateway must be done like this now:" +msgstr "" + +#: ../../migration.rst:49 +msgid "" +"We recommend that working in correspondence with this, you should be " +"making use of our ``interactions.ext`` SDK framework." +msgstr "" + +#: ../../migration.rst:51 +msgid "" +"A slight, yet another breaking change we made was dundering numerous " +"attributes in our internal models. You will now need to refer to the " +"client's HTTP object as ``_http`` instead of ``http``. In order to view " +"the full list of these, we highly encourage you to view the documentation" +" readily available." +msgstr "" + +#: ../../migration.rst:55 +msgid "" +"The last, and most major change is the introduction of the " +"``MESSAGE_CONTENT`` privileged intent in the library. Because of " +"``4.1.0`` using version 10 of the Discord API, this intent is now " +"required for reading all message content. In order to make sure your bot " +"works still, you will need to enable this intent in your bot's developer " +"portal and add the intent to your current intents when connecting:" +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/models.command.po b/docs/locale/hi/LC_MESSAGES/models.command.po index e7707bfba..063440091 100644 --- a/docs/locale/hi/LC_MESSAGES/models.command.po +++ b/docs/locale/hi/LC_MESSAGES/models.command.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,122 +22,195 @@ msgstr "" msgid "Application Command Models" msgstr "" -#: interactions.models.command.Choice:1 of -msgid "A class object repesenting the choice of an option." +#: interactions.client.models.command.Choice:1 of +msgid "A class object representing the choice of an option." msgstr "" -#: interactions.models.command.Choice:4 of +#: interactions.client.models.command.Choice:4 of msgid "" "``value`` allows ``float`` as a passable value type, whereas it's " "supposed to be ``double``." msgstr "" -#: interactions.models.command.ApplicationCommand -#: interactions.models.command.Choice interactions.models.command.Option -#: interactions.models.command.Permission of +#: interactions.client.models.command.Choice:7 of +msgid "The structure for a choice: ::" +msgstr "" + +#: interactions.client.models.command.ApplicationCommand +#: interactions.client.models.command.Choice +#: interactions.client.models.command.Option +#: interactions.client.models.command.Permission of msgid "Variables" msgstr "" -#: interactions.models.command.Choice:7 of +#: interactions.client.models.command.Choice:11 of msgid "The name of the choice." msgstr "" -#: interactions.models.command.Choice:8 of +#: interactions.client.models.command.Choice:12 of msgid "The returned value of the choice." msgstr "" -#: interactions.models.command.Option:1 of +#: interactions.client.models.command.Choice:13 +#: interactions.client.models.command.Option:32 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.models.command.Option:1 of msgid "A class object representing the option of an application command." msgstr "" -#: interactions.models.command.Option:4 of +#: interactions.client.models.command.Option:4 of msgid "``options`` is only present for when a subcommand has been established." msgstr "" -#: interactions.models.command.Option:7 of +#: interactions.client.models.command.Option:7 of +msgid "" +"``min_values`` and ``max_values`` are useful primarily for integer based " +"options." +msgstr "" + +#: interactions.client.models.command.Option:10 of +msgid "The structure for an option: ::" +msgstr "" + +#: interactions.client.models.command.Option:20 of msgid "The type of option." msgstr "" -#: interactions.models.command.Option:8 of +#: interactions.client.models.command.Option:21 of msgid "The name of the option." msgstr "" -#: interactions.models.command.Option:9 of +#: interactions.client.models.command.Option:22 of msgid "The description of the option." msgstr "" -#: interactions.models.command.Option:10 of +#: interactions.client.models.command.Option:23 of msgid "Whether the option is currently being autocompleted or not." msgstr "" -#: interactions.models.command.Option:11 of +#: interactions.client.models.command.Option:24 of msgid "Whether the option has to be filled out." msgstr "" -#: interactions.models.command.Option:12 of +#: interactions.client.models.command.Option:25 of msgid "The value that's currently typed out, if autocompleting." msgstr "" -#: interactions.models.command.Option:13 of +#: interactions.client.models.command.Option:26 of msgid "The list of choices to select from." msgstr "" -#: interactions.models.command.Option:14 of +#: interactions.client.models.command.Option:27 of msgid "The list of subcommand options included." msgstr "" -#: interactions.models.command.Option:15 of +#: interactions.client.models.command.Option:28 of msgid "Restrictive shown channel types, if given." msgstr "" -#: interactions.models.command.Permission:1 of +#: interactions.client.models.command.Option:29 of +msgid "The minimum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:30 of +msgid "The maximum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:31 of +msgid "A status denoting whether this option is an autocomplete option." +msgstr "" + +#: interactions.client.models.command.Option:33 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.models.command.Permission:1 of msgid "A class object representing the permission of an application command." msgstr "" -#: interactions.models.command.Permission:3 of +#: interactions.client.models.command.Permission:3 of +msgid "The structure for a permission: ::" +msgstr "" + +#: interactions.client.models.command.Permission:10 of msgid "The ID of the permission." msgstr "" -#: interactions.models.command.Permission:4 of +#: interactions.client.models.command.Permission:11 of msgid "The type of permission." msgstr "" -#: interactions.models.command.Permission:5 of +#: interactions.client.models.command.Permission:12 of msgid "The permission state. ``True`` for allow, ``False`` for disallow." msgstr "" -#: interactions.models.command.ApplicationCommand:1 of +#: interactions.client.models.command.ApplicationCommand:1 of msgid "A class object representing all types of commands." msgstr "" -#: interactions.models.command.ApplicationCommand:3 of +#: interactions.client.models.command.ApplicationCommand:4 of +msgid "" +"This object is inferred upon whenever the client is caching information " +"about commands from an HTTP request and/or the Gateway. Do not use this " +"object for declaring commands." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:8 of msgid "The ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:4 of +#: interactions.client.models.command.ApplicationCommand:9 of msgid "The application command type." msgstr "" -#: interactions.models.command.ApplicationCommand:5 of +#: interactions.client.models.command.ApplicationCommand:10 of msgid "The general application ID of the command itself." msgstr "" -#: interactions.models.command.ApplicationCommand:6 of +#: interactions.client.models.command.ApplicationCommand:11 of msgid "The guild ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:7 of +#: interactions.client.models.command.ApplicationCommand:12 of msgid "The name of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:8 of +#: interactions.client.models.command.ApplicationCommand:13 of msgid "The description of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:9 of +#: interactions.client.models.command.ApplicationCommand:14 of msgid "The \"options\"/arguments of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:10 of +#: interactions.client.models.command.ApplicationCommand:15 of msgid "The default permission accessibility state of the application command." msgstr "" + +#: interactions.client.models.command.ApplicationCommand:16 of +msgid "The Application Command version autoincrement identifier." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:17 of +msgid "The default member permission state of the application command." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:18 of +msgid "The application permissions if executed in a Direct Message." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:19 of +msgid "The localisation dictionary for the application command name, if any." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:20 of +msgid "" +"The localisation dictionary for the application command description, if " +"any." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/models.component.po b/docs/locale/hi/LC_MESSAGES/models.component.po index 8e89bd571..97de1c249 100644 --- a/docs/locale/hi/LC_MESSAGES/models.component.po +++ b/docs/locale/hi/LC_MESSAGES/models.component.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,150 +22,290 @@ msgstr "" msgid "Component Models" msgstr "" -#: interactions.models.component.SelectOption:1 of -msgid "A class object representing the select option of a select menu." +#: interactions.client.models.component.SelectOption:1 of +msgid "" +"A class object representing the select option of a select menu. The " +"structure for a select option: ::" msgstr "" -#: interactions.models.component.Button interactions.models.component.Component -#: interactions.models.component.SelectMenu -#: interactions.models.component.SelectOption of +#: interactions.client.models.component.ActionRow +#: interactions.client.models.component.Button +#: interactions.client.models.component.Component +#: interactions.client.models.component.Modal +#: interactions.client.models.component.SelectMenu +#: interactions.client.models.component.SelectOption +#: interactions.client.models.component.TextInput of msgid "Variables" msgstr "" -#: interactions.models.component.SelectOption:3 of +#: interactions.client.models.component.SelectOption:8 of msgid "The label of the select option." msgstr "" -#: interactions.models.component.SelectOption:4 of +#: interactions.client.models.component.SelectOption:9 of msgid "The returned value of the select option." msgstr "" -#: interactions.models.component.SelectOption:5 of +#: interactions.client.models.component.SelectOption:10 of msgid "The description of the select option." msgstr "" -#: interactions.models.component.SelectOption:6 of +#: interactions.client.models.component.SelectOption:11 of msgid "The emoji used alongside the label of the select option." msgstr "" -#: interactions.models.component.SelectOption:7 of +#: interactions.client.models.component.SelectOption:12 of msgid "Whether the select option is the default for the select menu." msgstr "" -#: interactions.models.component.SelectMenu:1 of -msgid "A class object representing the select menu of a component." +#: interactions.client.models.component.SelectMenu:1 of +msgid "" +"A class object representing the select menu of a component. The structure" +" for a select menu: ::" msgstr "" -#: interactions.models.component.SelectMenu:3 of -msgid "The type of select menu." +#: interactions.client.models.component.SelectMenu:8 of +msgid "The type of select menu. Always defaults to ``3``." msgstr "" -#: interactions.models.component.SelectMenu:4 of +#: interactions.client.models.component.SelectMenu:9 of msgid "The customized \"ID\" of the select menu." msgstr "" -#: interactions.models.component.SelectMenu:5 of +#: interactions.client.models.component.SelectMenu:10 of msgid "The list of select options in the select menu." msgstr "" -#: interactions.models.component.SelectMenu:6 of +#: interactions.client.models.component.SelectMenu:11 of msgid "The placeholder of the select menu." msgstr "" -#: interactions.models.component.Component:16 -#: interactions.models.component.SelectMenu:7 of +#: interactions.client.models.component.Component:19 +#: interactions.client.models.component.SelectMenu:12 of msgid "The minimum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.Component:17 -#: interactions.models.component.SelectMenu:8 of +#: interactions.client.models.component.Component:20 +#: interactions.client.models.component.SelectMenu:13 of msgid "The maximum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.SelectMenu:9 of +#: interactions.client.models.component.SelectMenu:14 of msgid "Whether the select menu is unable to be used." msgstr "" -#: interactions.models.component.Button:1 of -msgid "A class object representing the button of a component." +#: interactions.client.models.component.Button:1 of +msgid "" +"A class object representing the button of a component. The structure for " +"a button: ::" msgstr "" -#: interactions.models.component.Button:3 of -msgid "The type of button." +#: interactions.client.models.component.Button:8 of +msgid "The type of button. Always defaults to ``2``." msgstr "" -#: interactions.models.component.Button:4 of +#: interactions.client.models.component.Button:9 of msgid "The style of the button." msgstr "" -#: interactions.models.component.Button:5 of +#: interactions.client.models.component.Button:10 of msgid "The label of the button." msgstr "" -#: interactions.models.component.Button:6 of -msgid "The emoji used alongside the laebl of the button." +#: interactions.client.models.component.Button:11 of +msgid "The emoji used alongside the label of the button." msgstr "" -#: interactions.models.component.Button:7 of +#: interactions.client.models.component.Button:12 of msgid "The customized \"ID\" of the button." msgstr "" -#: interactions.models.component.Button:8 of +#: interactions.client.models.component.Button:13 of msgid "The URL route/path of the button." msgstr "" -#: interactions.models.component.Button:9 of +#: interactions.client.models.component.Button:14 of msgid "Whether the button is unable to be used." msgstr "" -#: interactions.models.component.Component:1 of +#: interactions.client.models.component.Component:1 of msgid "" -"A class object representing the componeent in an interaction " +"A class object representing the component in an interaction " "response/followup." msgstr "" -#: interactions.models.component.Component:4 of +#: interactions.client.models.component.Component:4 of msgid "" "``components`` is only applicable if an ActionRow is supported, otherwise" " ActionRow-less will be opted. ``list`` is in reference to the class." msgstr "" -#: interactions.models.component.Component:7 of +#: interactions.client.models.component.Component:7 of +msgid "" +"This object class is only inferred upon when the gateway is processing " +"back information involving a component. Do not use this object for " +"sending." +msgstr "" + +#: interactions.client.models.component.Component:10 of msgid "The type of component." msgstr "" -#: interactions.models.component.Component:8 of +#: interactions.client.models.component.Component:11 of msgid "The customized \"ID\" of the component." msgstr "" -#: interactions.models.component.Component:9 of +#: interactions.client.models.component.Component:12 of msgid "Whether the component is unable to be used." msgstr "" -#: interactions.models.component.Component:10 of +#: interactions.client.models.component.Component:13 of msgid "The style of the component." msgstr "" -#: interactions.models.component.Component:11 of +#: interactions.client.models.component.Component:14 of msgid "The label of the component." msgstr "" -#: interactions.models.component.Component:12 of +#: interactions.client.models.component.Component:15 of msgid "The emoji used alongside the label of the component." msgstr "" -#: interactions.models.component.Component:13 of +#: interactions.client.models.component.Component:16 of msgid "The URl route/path of the component." msgstr "" -#: interactions.models.component.Component:14 of +#: interactions.client.models.component.Component:17 of msgid "The \"choices\"/options of the component." msgstr "" -#: interactions.models.component.Component:15 of +#: interactions.client.models.component.Component:18 of msgid "The placeholder text/value of the component." msgstr "" -#: interactions.models.component.Component:18 of +#: interactions.client.models.component.Component:21 of msgid "A list of components nested in the component." msgstr "" + +#: interactions.client.models.component.Component:22 of +msgid "The minimum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:23 of +msgid "The maximum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:24 of +msgid "Whether this component is required to be filled." +msgstr "" + +#: interactions.client.models.component.Component:25 of +msgid "The pre-filled value of the component." +msgstr "" + +#: interactions.client.models.component.TextInput:1 of +msgid "" +"A class object representing the text input of a modal. The structure for " +"a text input: ::" +msgstr "" + +#: interactions.client.models.component.TextInput:10 of +msgid "The type of input. Always defaults to ``4``." +msgstr "" + +#: interactions.client.models.component.TextInput:11 of +msgid "The style of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:12 of +msgid "The custom Id of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:13 of +msgid "The label of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:14 of +msgid "The pre-filled value of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:15 of +msgid "Whether the input is required or not." +msgstr "" + +#: interactions.client.models.component.TextInput:16 of +msgid "The placeholder of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:17 of +msgid "The minimum length of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:18 of +msgid "The maximum length of the input." +msgstr "" + +#: interactions.client.models.component.Modal:1 of +msgid "A class object representing a modal." +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid "The structure for a modal: ::" +msgstr "" + +#: interactions.client.models.component.Modal:6 of +msgid "interactions.Modal(" +msgstr "" + +#: interactions.client.models.component.Modal:5 of +msgid "" +"title=\"Application Form\", custom_id=\"mod_app_form\", " +"components=[interactions.TextInput(...)]," +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid ")" +msgstr "" + +#: interactions.client.models.component.Modal:10 of +msgid "The custom ID of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:11 of +msgid "The title of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:12 of +msgid "The components of the modal." +msgstr "" + +#: interactions.client.models.component.ActionRow:1 of +msgid "" +"A class object representing the action row for interaction responses " +"holding components." +msgstr "" + +#: interactions.client.models.component.ActionRow:4 of +msgid "" +"A message cannot have more than 5 ActionRow's supported. An ActionRow may" +" also support only 1 text input component only." +msgstr "" + +#: interactions.client.models.component.ActionRow:13 of +msgid "The structure for an action row: ::" +msgstr "" + +#: interactions.client.models.component.ActionRow:9 of +msgid "" +"# \"...\" represents a component object. # Method 1: " +"interactions.ActionRow(...) # Method 2: " +"interactions.ActionRow(components=[...])" +msgstr "" + +#: interactions.client.models.component.ActionRow:15 of +msgid "The type of component. Always defaults to ``1``." +msgstr "" + +#: interactions.client.models.component.ActionRow:16 of +msgid "A list of components the ActionRow has, if any." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/models.misc.po b/docs/locale/hi/LC_MESSAGES/models.misc.po new file mode 100644 index 000000000..f5d1bb814 --- /dev/null +++ b/docs/locale/hi/LC_MESSAGES/models.misc.po @@ -0,0 +1,145 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../models.misc.rst:4 +msgid "Miscellaneous Models" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:1 of +msgid "A class representing the resolved information of an interaction data." +msgstr "" + +#: interactions.client.models.misc.Interaction +#: interactions.client.models.misc.InteractionData +#: interactions.client.models.misc.InteractionResolvedData of +msgid "Variables" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:3 of +msgid "The resolved users data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:4 of +msgid "The resolved members data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:5 of +msgid "The resolved roles data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:6 of +msgid "The resolved channels data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:7 of +msgid "The resolved messages data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:8 of +msgid "The resolved attachments data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:1 of +msgid "A class object representing the data of an interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:3 of +msgid "The ID of the interaction data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:4 of +msgid "The name of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:5 of +msgid "The type of command from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:6 of +msgid "The resolved version of the data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:7 of +msgid "The options of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:8 of +msgid "The custom ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:9 of +msgid "The type of component from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:10 of +msgid "The values of the selected options in the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:11 of +msgid "The targeted ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:1 of +msgid "A class object representing an interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:3 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:4 of +msgid "The application's ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:5 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:6 of +msgid "The data of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:7 of +msgid "The guild ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:8 of +msgid "The channel ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:9 of +msgid "The member who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:10 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:11 of +msgid "The token of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:12 of +msgid "The version of the interaction as an autoincrement identifier." +msgstr "" + +#: interactions.client.models.misc.Interaction:13 of +msgid "The message of the interaction." +msgstr "" diff --git a/docs/locale/hi/LC_MESSAGES/models.po b/docs/locale/hi/LC_MESSAGES/models.po index fb08d7dd7..a322bcb50 100644 --- a/docs/locale/hi/LC_MESSAGES/models.po +++ b/docs/locale/hi/LC_MESSAGES/models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/hi/LC_MESSAGES/quickstart.po b/docs/locale/hi/LC_MESSAGES/quickstart.po index d3be63677..eff5b5f5a 100644 --- a/docs/locale/hi/LC_MESSAGES/quickstart.po +++ b/docs/locale/hi/LC_MESSAGES/quickstart.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,48 +22,134 @@ msgstr "" msgid "Quickstart" msgstr "" -#: ../../quickstart.rst:4 -msgid "" -"Looking into trying to get started with our library? Well, you've come to" -" the right page then!" +#: ../../quickstart.rst:5 +msgid "Installing" msgstr "" -#: ../../quickstart.rst:8 +#: ../../quickstart.rst:7 msgid "" -"This quickstart guide is extremely rough and contains experimental code. " -"Do not follow us strictly until v4.0 is released! Everything is subject " -"to change in here due to the development of the API wrapper continuously " -"being reflected." +"**discord-interactions** is a :ref:`Python library ` for the Discord Application Programming Interface. (API) A" +" library in Python has to be installed through the `pip` file. Run this " +"in your terminal/command line in order to install our library:" +msgstr "" + +#: ../../quickstart.rst:11 +msgid "``pip install -U discord-py-interactions``" msgstr "" #: ../../quickstart.rst:14 -msgid "Installing" +msgid "Creating a Bot" msgstr "" #: ../../quickstart.rst:16 msgid "" -"**discord-interactions** is a Python library for the Discord Artificial " -"Programming Interface. (API) A library in Python has to be installed " -"through the `pip` file. Run this in your terminal/command line in order " -"to install our library:" +"Before you can run your Bot, you have to create it first. If you did it " +"already, make sure you :ref:`invited ` your Bot properly." +msgstr "" + +#: ../../quickstart.rst:18 +msgid "" +"In order to create your Bot, you need to create an application first. Go " +"to the `discord applications page`_ for that. After you logged in, you " +"will see this at the top:" +msgstr "" + +#: ../../quickstart.rst:23 +msgid "" +"Click the ``New Application`` button, enter a name and then click " +"``create``." +msgstr "" + +#: ../../quickstart.rst:25 +msgid "The name you choose is going to be your Bots name." +msgstr "" + +#: ../../quickstart.rst:27 +msgid "You will be redirected to a new page. On the left you will see this:" +msgstr "" + +#: ../../quickstart.rst:31 +msgid "" +"Click on ``Bot``. You again will be redirected to another page, looking " +"like this:" +msgstr "" + +#: ../../quickstart.rst:35 +msgid "Click on ``Add Bot`` and then on ``Yes, do it!``." +msgstr "" + +#: ../../quickstart.rst:37 +msgid "And that's it! You created your Bot!" +msgstr "" + +#: ../../quickstart.rst:40 +msgid "" +"You will see a field called ``TOKEN``. This is the access token, used to " +"run your bot. You will need this later to start your Bot." +msgstr "" + +#: ../../quickstart.rst:43 +msgid "" +"**Do NOT give this to other persons! They can get full control over your " +"Bot with your token and execute what they want!**" +msgstr "" + +#: ../../quickstart.rst:45 +msgid "" +"If you revealed your token, you should **immediately** go to your Bots " +"application page and click the ``Regenerate`` Button under your token. " +"This will delete the old token, so your bot can't be run with it anymore." +msgstr "" + +#: ../../quickstart.rst:49 +msgid "Invite the Bot to your guild" +msgstr "" + +#: ../../quickstart.rst:50 +msgid "" +"Now you have a Bot, but you can't create commands because it isn't in any" +" guilds. So, let's invite it to your guild!" +msgstr "" + +#: ../../quickstart.rst:54 +msgid "Click on ``OAuth2``, then on ``URL Generator``." +msgstr "" + +#: ../../quickstart.rst:56 +msgid "" +"You have to enable the ``bot`` and ``application.commands`` scope, to " +"allow your bot to create slash commands." msgstr "" -#: ../../quickstart.rst:20 -msgid "``pip install -U discord-interactions``" +#: ../../quickstart.rst:60 +msgid "" +"After setting that up, a ``BOT PERMISSIONS`` field will appear. You can " +"choose permissions you want to have your bot there." msgstr "" -#: ../../quickstart.rst:22 +#: ../../quickstart.rst:62 msgid "" -"If you're unable to run it through your terminal/command line, you need " -"to make sure that it's accessible as an Environment Path. Search more on " -"Google for how to do this." +"When you are done with choosing the permissions, go to the bottom of the " +"page, copy the the url and open it in a new window." msgstr "" -#: ../../quickstart.rst:26 -msgid "Minimal Bot" +#: ../../quickstart.rst:64 +msgid "" +"You will be prompted to a new page. Select your guild, click " +"``Authorise`` and your Bot should show up in your guild." msgstr "" -#: ../../quickstart.rst:28 +#: ../../quickstart.rst:66 +msgid "Now you can go on with running your bot and creating your first commands!" +msgstr "" + +#: ../../quickstart.rst:71 +msgid "Running the Bot and creating commands" +msgstr "" + +#: ../../quickstart.rst:73 msgid "" "Bots can be a little confusing to create. That's why we've decided to try" " and make the process as streamlined as humanly possible, in order for it" @@ -73,58 +159,299 @@ msgid "" "first before this, as a Discord bot is not exactly beginner-friendly." msgstr "" -#: ../../quickstart.rst:34 -msgid "This code block below shows a simple bot being created:" +#: ../../quickstart.rst:81 +msgid "First, let's run the bot:" msgstr "" -#: ../../quickstart.rst:52 -msgid "" -"There's quite a lot of things that are going on here, so let's break it " -"down step-by-step:" +#: ../../quickstart.rst:92 +msgid "And that's it! Your bot should now turn online in discord!" msgstr "" -#: ../../quickstart.rst:54 +#: ../../quickstart.rst:94 +msgid "Let's take a look now at what is happening here:" +msgstr "" + +#: ../../quickstart.rst:96 msgid "" "``import interactions`` -- This is the import line. If this returns a " -"``ModuleNotFoundError``, please look at our `Installing`_ section here." +"``ModuleNotFoundError``, please look at our section on how to " +":ref:`install ` here." msgstr "" -#: ../../quickstart.rst:55 +#: ../../quickstart.rst:97 msgid "" -"``bot = interactions.Client(token=\"...\")`` -- This is the ``bot`` " -"variable that defines our bot. This basically instantiates the `Client`_ " -"class, which requires a ``token`` keyword-argument to be passed. In order" -" to get a token, please look at the image given below." +"``bot = interactions.Client(token=\"your_secret_bot_token\")`` -- This is" +" the ``bot`` variable that defines our bot. This basically instantiates " +"the :ref:`application client `, which requires a " +"``token`` keyword-argument to be passed. You have to put in your " +"(previously mentioned) secret token here." msgstr "" -#: ../../quickstart.rst:56 +#: ../../quickstart.rst:98 msgid "" -"``@bot.application_command()`` -- This is something known as a " -"*decorator* in Python. This decorator is in charge and responsible of " -"making sure that the Discord API is told about the slash/sub command that" -" you wish to create, and sends an HTTP request correspondingly. Any " -"changes to the information contained in this decorator will be " -"synchronously updated with the API automatically for you." +"``bot.start()`` -- Finally, this is what tells our library to turn your " +"bot from offline to online." msgstr "" -#: ../../quickstart.rst:57 +#: ../../quickstart.rst:102 +msgid "Now, let's create our first slash command:" +msgstr "" + +#: ../../quickstart.rst:120 +msgid "Now, let's look what the new parts of the code are doing:" +msgstr "" + +#: ../../quickstart.rst:122 msgid "" -"``await ctx.send(\"Hello world!\")`` -- This is what lets us send a " -"\"message\", or otherwise known as an interaction response back to the " -"Discord API for us. ``ctx`` is abbreviated as the \"context\" of the " -"command, so numerous fields and attributes such as channels, guilds; and " -"etc. are able to be inputted." +"``@bot.command()`` -- This is something known as a *decorator* in Python." +" This decorator is in charge and responsible of making sure that the " +"Discord API is told about the slash/sub command that you wish to create, " +"and sends an HTTP request correspondingly. Any changes to the information" +" contained in this decorator will be synchronously updated with the API " +"automatically for you. The ``scope`` field shown here is optional, which " +"represents a guild command if you wish to have a command appear in only " +"specific servers that bot is in. This can be a guild object or the ID." msgstr "" -#: ../../quickstart.rst:58 +#: ../../quickstart.rst:123 +msgid "``name`` -- This is the name of your command." +msgstr "" + +#: ../../quickstart.rst:124 +msgid "``description`` -- This is the description of your command." +msgstr "" + +#: ../../quickstart.rst:125 msgid "" -"``bot.start()`` -- Finally, this is what tells our library to turn your " -"bot from offline to online." +"``async def my_first_command(ctx: interactions.CommandContext):`` -- This" +" here is called our \"command coroutine,\" or what our library internally" +" calls upon each time it recognizes an interaction event from the Discord" +" API that affiliates with the data we've put into the decorator above it." +" Please note that ``ctx`` is an abbreviation for :ref:`context " +"`." msgstr "" -#: ../../quickstart.rst:62 +#: ../../quickstart.rst:126 +msgid "" +"``await ctx.send(\"Hi there!\")`` -- This sends the response to your " +"command." +msgstr "" + +#: ../../quickstart.rst:128 +msgid "``name`` and ``description`` are required." +msgstr "" + +#: ../../quickstart.rst:131 +msgid "Difference between global and guild slash commands:" +msgstr "" + +#: ../../quickstart.rst:133 +msgid "" +"guild slash commands are instantly available in the guild with the given " +"id. In order to copy your guild ID you have to enable the developer mode " +"in discord and then right-click on the guild. This is also shown in the " +"pictures beyond." +msgstr "" + +#: ../../quickstart.rst:134 +msgid "" +"global commands are created by *not* including the ``scope`` argument " +"into the ``@bot.command`` decorator. They will appear in all guilds your " +"Bot is in. This process can take up to one hour to be completed on all " +"guilds." +msgstr "" + +#: ../../quickstart.rst:141 +msgid "Next, let's create an Option" +msgstr "" + +#: ../../quickstart.rst:143 +msgid "" +":ref:`Options ` are extra " +"arguments of a command, filled in by the user executing the command." +msgstr "" + +#: ../../quickstart.rst:171 +msgid "The limit for options per command is 25." +msgstr "" + +#: ../../quickstart.rst:174 +msgid "Nested commands: subcommands" +msgstr "" + +#: ../../quickstart.rst:218 +msgid "You can add a SUB_COMMAND_GROUP in between the base and command." +msgstr "" + +#: ../../quickstart.rst:222 +msgid "Special type of commands: Context menus" +msgstr "" + +#: ../../quickstart.rst:224 +msgid "" +"While, granted that application commands are way more intuitive and " +"easier to work with as both a bot developer and user from a UX approach, " +"some may not want to always type the same command over and over again to " +"repeat a repetitive task. Introducing: **context menus.** Also known as " +"\"user\" and \"message\" respectively, this simple switch in command " +"structure allows you to quickly empower your bot with the ability to make" +" right-click actions with menial effort." +msgstr "" + +#: ../../quickstart.rst:230 +msgid "" +"In order to create a menu-based command, all you need to do is simply add" +" this one line into your ``@command`` decorator:" +msgstr "" + +#: ../../quickstart.rst:245 +msgid "" +"The structure of a menu command differs significantly from that of a " +"regular one:" +msgstr "" + +#: ../../quickstart.rst:247 +msgid "You cannot have any options or choices." +msgstr "" + +#: ../../quickstart.rst:248 +msgid "You cannot have a description." +msgstr "" + +#: ../../quickstart.rst:249 +msgid "The ``name`` filter follows a different regex pattern." +msgstr "" + +#: ../../quickstart.rst:252 +msgid "Creating and sending Components" +msgstr "" + +#: ../../quickstart.rst:254 +msgid "" +"Being able to run your own commands is very useful for a lot of " +"automation-related purposes as a bot developer, however, we also have " +"something that we're able to introduce for both the developer and a user " +"to use that will be the \"sprinkles\" on top of a cupcake, so-to-speak: " +"components." +msgstr "" + +#: ../../quickstart.rst:259 +msgid "" +"Components are ways of being able to select pre-defined data, or define " +"your own. They're very simple but quite powerful when put into practice " +"This code block below shows a simplified implementation of a component:" +msgstr "" + +#: ../../quickstart.rst:285 +msgid "" +"This is a design that we ended up choosing to simplify responding to " +"buttons when someone presses on one, and to allow bot developers to plug " +"in *which* button they want a response to. No more ``wait_for_component``" +" and ``wait_for`` functions with huge if-else chains; this removes " +"redundancy in your code and overall eases into the practice of " +"modularity." +msgstr "" + +#: ../../quickstart.rst:292 +msgid "What kinds of components are there?" +msgstr "" + +#: ../../quickstart.rst:294 +msgid "" +"As a bot developer, this may be fairly important for you to want to know." +" Different components provide difference user experiences, interactions " +"and results. Currently you can choose between three components that " +"Discord provides: a ``Button``, ``SelectMenu`` and ``TextInput``. You're " +"able to `find these component types`_ here." +msgstr "" + +#: ../../quickstart.rst:301 +msgid "How do I send components in a row?" +msgstr "" + +#: ../../quickstart.rst:303 +msgid "" +"You are also able to organize these components into rows, which are " +"defined as ``ActionRow``'s. It is worth noting that you can have only a " +"maximum of 5 per message that you send. This code block below shows how:" +msgstr "" + +#: ../../quickstart.rst:330 +msgid "" +"By default, the ``components`` keyword-argument field in the context " +"sending method will always support ``ActionRow``-less sending: you only " +"need to declare rows whenever you need or want to. This field will also " +"support raw arrays and tables, if you so wish to choose to not use our " +"class objects instead." +msgstr "" + +#: ../../quickstart.rst:336 +msgid "" +"You cannot use ``TextInput`` with the above shown method. Look :ref:`here" +" ` how to create and send them." +msgstr "" + +#: ../../quickstart.rst:341 +msgid "Creating a TextInput" +msgstr "" + +#: ../../quickstart.rst:342 +msgid "You want to get a Text from a user? You can use ``TextInput`` for that." +msgstr "" + +#: ../../quickstart.rst:354 +msgid "" +"But how to send it? You can't use ``ctx.send`` for it. Take a look at " +":ref:`Modals ` for that." +msgstr "" + +#: ../../quickstart.rst:358 +msgid "Modals" +msgstr "" + +#: ../../quickstart.rst:359 +msgid "" +"Modals are a new way to interact with a user. Currently only a " +"``TextInput`` component is supported. You can have up to five " +"``TextInput`` in a Modal." +msgstr "" + +#: ../../quickstart.rst:372 +msgid "with the ``TextInput`` example from above we get:" +msgstr "" + +#: ../../quickstart.rst:377 +msgid "Responding to a Modal interaction" +msgstr "" + +#: ../../quickstart.rst:385 +msgid "" +"You can respond to a modal the same way as you would respond to a normal " +"``chat-input`` command, except your function has an extra argument for " +"the text what was put into the modal." +msgstr "" + +#: ../../quickstart.rst:388 +msgid "Adding v2 Permissions" +msgstr "" + +#: ../../quickstart.rst:390 +msgid "" +"v2 permissions consist of the ``default_member_permissions`` and " +"``dm_permission`` keyword arguments. Similar to adding privileged " +"intents, you add permissions (like admin-only, ``BAN_MEMBERS``-only, " +"etc.) as follows:" +msgstr "" + +#: ../../quickstart.rst:429 +msgid "" +"Adding guild-only commands is easier as the only thing it takes is a " +"boolean. Here's an example of a guild-only command:" +msgstr "" + +#: ../../quickstart.rst:448 msgid "" -"And it's really as simple as that! If you would like to learn more about " -"what our library offers, or see more examples of our code, please be sure" -" to check out our `coding examples`_ page on our docs!" +"Likewise, setting ``dm_permission`` to ``True`` makes it usable in DMs. " +"Just to note that this argument's mainly used for global commands. Guild " +"commands with this argument will have no effect." msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.cache.po b/docs/locale/it/LC_MESSAGES/api.cache.po index f32d51085..43abb1314 100644 --- a/docs/locale/it/LC_MESSAGES/api.cache.po +++ b/docs/locale/it/LC_MESSAGES/api.cache.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,7 +31,7 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.cache.Item:3 of +#: interactions.api.cache.Item:3 interactions.api.cache.Storage.get:3 of msgid "The ID of the item." msgstr "" @@ -55,22 +55,8 @@ msgstr "" msgid "Adds a new item to the storage." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Parameters" msgstr "" @@ -78,27 +64,46 @@ msgstr "" msgid "The item to add." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Returns" msgstr "" #: interactions.api.cache.Storage.add:5 of -msgid "typing.List[interactions.api.cache.Item]" +msgid "The new storage." +msgstr "" + +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of +msgid "Return type" +msgstr "" + +#: interactions.api.cache.Storage.get:1 of +msgid "Gets an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.get:5 of +msgid "The item from the storage if any." +msgstr "" + +#: interactions.api.cache.Storage.update:1 of +msgid "Updates an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.update:3 of +msgid "The item to update." +msgstr "" + +#: interactions.api.cache.Storage.update:4 of +msgid "The updated item, if stored." +msgstr "" + +#: interactions.api.cache.Storage.view:1 of +msgid "Views all items from storage." +msgstr "" + +#: interactions.api.cache.Storage.view:3 of +msgid ":return The items stored. :rtype: List[dict]" msgstr "" #: interactions.api.cache.Cache:1 of @@ -138,169 +143,3 @@ msgstr "" #: interactions.api.cache.Cache:12 of msgid "The cached interactions upon interaction." msgstr "" - -#: interactions.api.cache.Cache.add_dm:1 of -msgid "Adds a DM to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_dm:3 of -msgid "The Direct Message to add." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:5 -#: interactions.api.cache.Cache.add_dm:5 -#: interactions.api.cache.Cache.add_guild:5 -#: interactions.api.cache.Cache.add_interaction:7 -#: interactions.api.cache.Cache.add_member:5 -#: interactions.api.cache.Cache.add_message:5 -#: interactions.api.cache.Cache.add_role:5 -#: interactions.api.cache.Cache.add_self_guild:5 -#: interactions.api.cache.Cache.add_user:5 -#: interactions.api.cache.Cache.get_channel:7 -#: interactions.api.cache.Cache.get_dm:5 -#: interactions.api.cache.Cache.get_guild:5 -#: interactions.api.cache.Cache.get_interaction:5 -#: interactions.api.cache.Cache.get_member:7 -#: interactions.api.cache.Cache.get_message:9 -#: interactions.api.cache.Cache.get_role:9 -#: interactions.api.cache.Cache.get_self_guild:5 -#: interactions.api.cache.Cache.get_user:5 of -msgid "interactions.api.cache.Item" -msgstr "" - -#: interactions.api.cache.Cache.get_dm:1 of -msgid "Gets a DM from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_dm:3 of -msgid "The ID of the Direct Message." -msgstr "" - -#: interactions.api.cache.Cache.add_self_guild:1 of -msgid "Adds a combed guild from the gateway to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:3 -#: interactions.api.cache.Cache.add_self_guild:3 of -msgid "The guild to add." -msgstr "" - -#: interactions.api.cache.Cache.get_self_guild:1 of -msgid "Gets a combed guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:3 -#: interactions.api.cache.Cache.get_guild:3 -#: interactions.api.cache.Cache.get_member:3 -#: interactions.api.cache.Cache.get_message:3 -#: interactions.api.cache.Cache.get_role:3 -#: interactions.api.cache.Cache.get_self_guild:3 of -msgid "The ID of the guild." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:1 of -msgid "Adds a guild after the ready event to the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_guild:1 of -msgid "Gets a new guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:1 of -msgid "Adds a channel to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:3 of -msgid "The channel to add." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:1 of -msgid "Gets a channel from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:5 -#: interactions.api.cache.Cache.get_message:5 of -msgid "The ID of the channel." -msgstr "" - -#: interactions.api.cache.Cache.add_role:1 of -msgid "Adds a role to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_role:3 of -msgid "The role to add." -msgstr "" - -#: interactions.api.cache.Cache.get_role:1 of -msgid "Gets a role from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_member:5 -#: interactions.api.cache.Cache.get_role:5 of -msgid "The ID of the member." -msgstr "" - -#: interactions.api.cache.Cache.get_role:7 of -msgid "The ID of the role." -msgstr "" - -#: interactions.api.cache.Cache.add_member:1 of -msgid "Adds a member to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_member:3 of -msgid "The member to add." -msgstr "" - -#: interactions.api.cache.Cache.get_member:1 of -msgid "Gets a member from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:1 of -msgid "Adds a message to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:3 of -msgid "The message to add." -msgstr "" - -#: interactions.api.cache.Cache.get_message:1 of -msgid "Gets a message from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_message:7 of -msgid "The ID of the message." -msgstr "" - -#: interactions.api.cache.Cache.add_user:1 of -msgid "Adds a user to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_user:3 of -msgid "The user to add." -msgstr "" - -#: interactions.api.cache.Cache.get_user:1 of -msgid "Gets a user from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_user:3 of -msgid "The ID of the user." -msgstr "" - -#: interactions.api.cache.Cache.get_interaction:1 of -msgid "Gets an application command/interaction from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:3 -#: interactions.api.cache.Cache.get_interaction:3 of -msgid "The application ID of the command." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:1 of -msgid "Adds an application command/interaction to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:5 of -msgid "The application command to add." -msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.dispatch.po b/docs/locale/it/LC_MESSAGES/api.dispatch.po index 1b084411b..b6707ea02 100644 --- a/docs/locale/it/LC_MESSAGES/api.dispatch.po +++ b/docs/locale/it/LC_MESSAGES/api.dispatch.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -59,16 +59,6 @@ msgstr "" msgid "Keyword-only arguments of the coroutine." msgstr "" -#: interactions.api.dispatch.Listener.dispatch -#: interactions.api.dispatch.Listener.register of -msgid "Returns" -msgstr "" - -#: interactions.api.dispatch.Listener.dispatch:9 -#: interactions.api.dispatch.Listener.register:9 of -msgid "None" -msgstr "" - #: interactions.api.dispatch.Listener.register:1 of msgid "" "Registers a given coroutine as an event to be listened to. If the name of" @@ -83,3 +73,7 @@ msgstr "" #: interactions.api.dispatch.Listener.register:7 of msgid "The coroutine to register as an event." msgstr "" + +#: interactions.api.dispatch.Listener.register:9 of +msgid "The name to associate the coroutine with. Defaults to None." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.enums.po b/docs/locale/it/LC_MESSAGES/api.enums.po index 284356c95..e77ec4bbc 100644 --- a/docs/locale/it/LC_MESSAGES/api.enums.po +++ b/docs/locale/it/LC_MESSAGES/api.enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,25 +22,6 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.api.enums.DefaultErrorType:1 of -msgid "" -"An enumerable object for the default errors that occur with interaction " -"creation." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:4 of -msgid "" -"This is a port from v3's errors, which basically delegate errors to a " -"unique error code. This enum's purpose is to help remember error codes. " -"Importing this class is not required." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:7 of -msgid "" -"i.e. : raise InteractionException(1) == raise " -"InteractionException(REQUEST_FAILURE)" -msgstr "" - #: interactions.api.enums.OpCodeType:1 of msgid "" "An enumerable object for the Gateway's OPCODE result state. This is " @@ -53,35 +34,3 @@ msgid "" "`_ in the Discord API." msgstr "" - -#: interactions.api.enums.WSCloseCodeType:1 of -msgid "" -"An enumerable object for the Gateway's closing connection codes. This is " -"representative of the Gateway responses generated by the WebSocket." -msgstr "" - -#: interactions.api.enums.WSCloseCodeType:5 of -msgid "" -"Equivalent of `Gateway Close Event Codes " -"`_ in the Discord API." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:1 of -msgid "An enumerable object for the HTTP response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:4 of -msgid "This enumerable does not list the documented \"5xx\", as it may vary." -msgstr "" - -#: interactions.api.enums.JSONResponseType:1 of -msgid "An enumerable object for the JSON error response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.JSONResponseType:4 of -msgid "" -"Equivalent of `JSON Error Codes " -"`_ in the Discord API." -msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.error.po b/docs/locale/it/LC_MESSAGES/api.error.po index 4dcbb1a1a..85101f5e4 100644 --- a/docs/locale/it/LC_MESSAGES/api.error.po +++ b/docs/locale/it/LC_MESSAGES/api.error.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -47,7 +47,7 @@ msgstr "" #: interactions.api.error.HTTPException:3 #: interactions.api.error.InteractionException:8 #: interactions.api.error.JSONException:3 of -msgid "The built in formatter." +msgid "The built-in formatter." msgstr "" #: interactions.api.error.GatewayException:4 diff --git a/docs/locale/it/LC_MESSAGES/api.gateway.po b/docs/locale/it/LC_MESSAGES/api.gateway.po index c2adf73a2..c64b34dd0 100644 --- a/docs/locale/it/LC_MESSAGES/api.gateway.po +++ b/docs/locale/it/LC_MESSAGES/api.gateway.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,125 +22,276 @@ msgstr "" msgid "Gateway" msgstr "" -#: interactions.api.gateway.Heartbeat:1 of -msgid "A class representing a consistent heartbeat connection with the gateway." +#: interactions.api.gateway:1 of +msgid "interactions.api.gateway" msgstr "" -#: interactions.api.gateway.Heartbeat interactions.api.gateway.WebSocket of +#: interactions.api.gateway:3 of +msgid "This section of the library maintains and handles all of the Gateway work." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:1 of +msgid "" +"A class representing the client's connection to the Gateway via. " +"WebSocket." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient of msgid "Variables" msgstr "" -#: interactions.api.gateway.Heartbeat:3 of -msgid "The WebSocket class to infer on." +#: interactions.api.gateway.client.WebSocketClient:3 of +msgid "The asynchronous event loop." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:4 of +msgid "The built-in event dispatcher." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:5 of +msgid "The user-facing HTTP client." msgstr "" -#: interactions.api.gateway.Heartbeat:4 of -msgid "The heartbeat interval determined by the gateway." +#: interactions.api.gateway.client.WebSocketClient:6 of +msgid "The WebSocket data of the connection." msgstr "" -#: interactions.api.gateway.Heartbeat:5 of -msgid "The multi-threading event." +#: interactions.api.gateway.client.WebSocketClient:7 of +msgid "Whether the connection has been closed or not." msgstr "" -#: interactions.api.gateway.Heartbeat.run:1 of -msgid "Starts the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:8 of +msgid "The connection options made during connection." msgstr "" -#: interactions.api.gateway.Heartbeat.stop:1 of -msgid "Stops the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:9 of +msgid "The gateway intents used for connection." msgstr "" -#: interactions.api.gateway.WebSocket:1 of -msgid "A class representing a websocket connection with the gateway." +#: interactions.api.gateway.client.WebSocketClient:10 of +msgid "The contents of the application returned when ready." msgstr "" -#: interactions.api.gateway.WebSocket:3 of -msgid "An instance of :class:`interactions.api.models.Intents`." +#: interactions.api.gateway.client.WebSocketClient:11 of +msgid "The context state of a \"heartbeat\" made to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket:4 of -msgid "The coroutine event loop established on." +#: interactions.api.gateway.client.WebSocketClient:12 of +msgid "The shards used during connection." msgstr "" -#: interactions.api.gateway.WebSocket:5 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.api.gateway.client.WebSocketClient:13 of +msgid "The presence used in connection." msgstr "" -#: interactions.api.gateway.WebSocket:6 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.api.gateway.client.WebSocketClient:14 of +msgid "The ready state of the client as an ``asyncio.Event``." msgstr "" -#: interactions.api.gateway.WebSocket:7 of -msgid "The current client session." +#: interactions.api.gateway.client.WebSocketClient:15 of +msgid "The closing task for ending connections." msgstr "" -#: interactions.api.gateway.WebSocket:8 of -msgid "The current ID of the gateway session." +#: interactions.api.gateway.client.WebSocketClient:16 of +msgid "The ID of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:9 of -msgid "The current sequence of the gateway connection." +#: interactions.api.gateway.client.WebSocketClient:17 of +msgid "The sequence identifier of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:10 of -msgid "An instance of :class:`interactions.api.gateway.Heartbeat`." +#: interactions.api.gateway.client.WebSocketClient:18 of +msgid "" +"The latest time of the last send_packet function call since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:11 of -msgid "The current connection state." +#: interactions.api.gateway.client.WebSocketClient:19 of +msgid "" +"The latest time of the last ``HEARTBEAT_ACK`` event since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:12 of -msgid "The internal HTTP client used to connect to the gateway." +#: interactions.api.gateway.client.WebSocketClient:20 of +msgid "The latency of the connection, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket.recv:1 of -msgid "Receives packets sent from the gateway." +#: interactions.api.gateway.client.WebSocketClient._manage_heartbeat:1 of +msgid "Manages the heartbeat loop." msgstr "" -#: interactions.api.gateway.WebSocket.connect:1 of -msgid "Establishes a connection to the gateway." +#: interactions.api.gateway.client.WebSocketClient.__restart:1 of +msgid "Restart the client's connection and heartbeat with the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of +#: interactions.api.gateway.client.WebSocketClient._establish_connection:1 of +msgid "Establishes a client connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__identify +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context +#: interactions.api.gateway.client.WebSocketClient._dispatch_event +#: interactions.api.gateway.client.WebSocketClient._establish_connection +#: interactions.api.gateway.client.WebSocketClient._handle_connection +#: interactions.api.gateway.client.WebSocketClient._send_packet +#: interactions.api.gateway.client.WebSocketClient._update_presence of msgid "Parameters" msgstr "" -#: interactions.api.gateway.WebSocket.connect:3 of -msgid "The token to use for identifying." +#: interactions.api.gateway.client.WebSocketClient._establish_connection:3 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:5 of +msgid "The shards to establish a connection with. Defaults to ``None``." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of -msgid "Returns" +#: interactions.api.gateway.client.WebSocketClient._establish_connection:5 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:7 of +msgid "The presence to carry with. Defaults to ``None``." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:1 of +msgid "Handles the client's connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:3 of +msgid "The packet stream to handle." msgstr "" -#: interactions.api.gateway.WebSocket.connect:5 -#: interactions.api.gateway.WebSocket.handle:7 of -msgid "None" +#: interactions.api.gateway.client.WebSocketClient.wait_until_ready:1 of +msgid "Waits for the client to become ready according to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:1 of -msgid "Handles the dispatched event data from a gateway event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:1 of +msgid "Dispatches an event from the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:3 of +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:3 of msgid "The name of the event." msgstr "" -#: interactions.api.gateway.WebSocket.handle:5 of -msgid "The data of the event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:5 of +msgid "The data for the event." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:1 of +msgid "" +"Takes raw data given back from the Gateway and gives \"context\" based " +"off of what it is." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:4 of +msgid "The data from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Returns" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:6 of +msgid "The context object." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Return type" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:1 of +msgid "" +"Checks if an application command schema has sub commands needed for " +"argument collection." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:4 of +msgid "The data structure of the option." msgstr "" -#: interactions.api.gateway.WebSocket.identify:1 of +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:6 of +msgid "The context to refer subcommands from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:8 of +msgid "A dictionary of the collected options, if any." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:1 of +msgid "Looks up the type of option respective to the existing option types." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:4 of +msgid "The context to refer types from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:6 of +msgid "The option type." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:8 of +msgid "The option type context." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:1 of +msgid "Receives a stream of packets sent from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:3 of +msgid "The packet stream." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:1 of +msgid "Sends a packet to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:3 of +msgid "The data to send to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:1 of msgid "Sends an ``IDENTIFY`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.resume:1 of +#: interactions.api.gateway.client.WebSocketClient.__identify:3 of +msgid "The shard ID to identify under." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:5 +#: interactions.api.gateway.client.WebSocketClient._update_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__resume:1 of msgid "Sends a ``RESUME`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.heartbeat:1 of +#: interactions.api.gateway.client.WebSocketClient.__heartbeat:1 of msgid "Sends a ``HEARTBEAT`` packet to the gateway." msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.shard:1 of +msgid "Returns the current shard" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.presence:1 of +msgid "Returns the current presence." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:1 of +msgid "Sends an ``UPDATE_PRESENCE`` packet to the gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.api.gateway.heartbeat._Heartbeat:1 of +msgid "An internal class representing the heartbeat in a WebSocket connection." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.http.po b/docs/locale/it/LC_MESSAGES/api.http.po index c550cad31..b637802cb 100644 --- a/docs/locale/it/LC_MESSAGES/api.http.po +++ b/docs/locale/it/LC_MESSAGES/api.http.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,1742 +19,2431 @@ msgstr "" "Generated-By: Babel 2.9.1\n" #: ../../api.http.rst:4 -msgid "HTTP Client" +msgid "HTTP" msgstr "" -#: interactions.api.http.Route:1 of +#: interactions.api.http.route.Route:1 of msgid "A class representing how an HTTP route is structured." msgstr "" -#: interactions.api.http.Padlock interactions.api.http.Request -#: interactions.api.http.Route of +#: interactions.api.http.client.HTTPClient +#: interactions.api.http.limiter.Limiter interactions.api.http.request._Request +#: interactions.api.http.route.Route of msgid "Variables" msgstr "" -#: interactions.api.http.Route:3 of +#: interactions.api.http.route.Route:3 of msgid "The HTTP route path." msgstr "" -#: interactions.api.http.Route:4 of +#: interactions.api.http.route.Route:4 of msgid "The HTTP method." msgstr "" -#: interactions.api.http.Route:5 of +#: interactions.api.http.route.Route:5 of msgid "The URL path." msgstr "" -#: interactions.api.http.Route:6 of +#: interactions.api.http.route.Route:6 of msgid "The channel ID from the bucket if given." msgstr "" -#: interactions.api.http.Route:7 of +#: interactions.api.http.route.Route:7 of msgid "The guild ID from the bucket if given." msgstr "" -#: interactions.api.http.Route.bucket:1 of -msgid "Returns the route's bucket." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_webhooks -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_webhook -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.Request.request interactions.api.http.Route.bucket of +#: interactions.api.http.route.Route.get_bucket:1 of +msgid "" +"Returns the route's bucket. If shared_bucket is None, returns the path " +"with major parameters. Otherwise, it relies on Discord's given bucket." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.delete_channel +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.channel.ChannelRequest.trigger_typing +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_ban +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_kick +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild +#: interactions.api.http.guild.GuildRequest.delete_guild_integration +#: interactions.api.http.guild.GuildRequest.delete_guild_role +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state +#: interactions.api.http.guild.GuildRequest.remove_guild_ban +#: interactions.api.http.guild.GuildRequest.remove_guild_member +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest._post_followup +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response +#: interactions.api.http.interaction.InteractionRequest.delete_application_command +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.add_member_role +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.member.MemberRequest.remove_member_role +#: interactions.api.http.member.MemberRequest.search_guild_members +#: interactions.api.http.message.MessageRequest.create_message +#: interactions.api.http.message.MessageRequest.delete_message +#: interactions.api.http.message.MessageRequest.delete_messages +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.pin_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.message.MessageRequest.unpin_message +#: interactions.api.http.reaction.ReactionRequest.create_reaction +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.join_thread +#: interactions.api.http.thread.ThreadRequest.leave_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message +#: interactions.api.http.webhook.WebhookRequest.delete_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of +msgid "Parameters" +msgstr "" + +#: interactions.api.http.route.Route.get_bucket:4 of +msgid "The bucket that Discord provides, if available." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.client.HTTPClient.get_bot_gateway +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_self +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of msgid "Returns" msgstr "" -#: interactions.api.http.Route.bucket:3 of -msgid "str" +#: interactions.api.http.route.Route.get_bucket:7 of +msgid "The route bucket." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket of +msgid "Return type" +msgstr "" + +#: interactions.api.http.route.Route.endpoint:1 of +msgid "Returns the route's endpoint." msgstr "" -#: interactions.api.http.Padlock:1 of -msgid "A class representing ratelimited sessions as a \"locked\" event." +#: interactions.api.http.route.Route.endpoint:3 of +msgid "The route endpoint." msgstr "" -#: interactions.api.http.Padlock:3 of -msgid "The lock coroutine event." +#: interactions.api.http.limiter.Limiter:1 of +msgid "A class representing a limitation for an HTTP request." msgstr "" -#: interactions.api.http.Padlock:4 of -msgid "Whether the lock should stay open or not." +#: interactions.api.http.limiter.Limiter:3 of +msgid "The \"lock\" or controller of the request." msgstr "" -#: interactions.api.http.Padlock.click:1 of -msgid "Re-closes the lock after the instiantiation and invocation ends." +#: interactions.api.http.limiter.Limiter:4 of +msgid "The remaining time before the request can be ran." msgstr "" -#: interactions.api.http.Request:1 of +#: interactions.api.http.request._Request:1 of msgid "A class representing how HTTP requests are sent/read." msgstr "" -#: interactions.api.http.Request:3 of +#: interactions.api.http.request._Request:3 of msgid "The current application token." msgstr "" -#: interactions.api.http.Request:4 of +#: interactions.api.http.request._Request:4 of msgid "The current coroutine event loop." msgstr "" -#: interactions.api.http.Request:5 of -msgid "The current ratelimits from the Discord API." +#: interactions.api.http.request._Request:5 of +msgid "The current per-route rate limiters from the API." +msgstr "" + +#: interactions.api.http.request._Request:6 of +msgid "The current endpoint to shared_bucket cache from the API." msgstr "" -#: interactions.api.http.Request:6 of +#: interactions.api.http.request._Request:7 of msgid "The current headers for an HTTP request." msgstr "" -#: interactions.api.http.Request:7 of +#: interactions.api.http.request._Request:8 of msgid "The current session for making requests." msgstr "" -#: interactions.api.http.Request:8 of -msgid "The ratelimit lock event." +#: interactions.api.http.request._Request:9 of +msgid "The global rate limiter." msgstr "" -#: interactions.api.http.Request.check_session:1 of +#: interactions.api.http.request._Request._check_session:1 of msgid "Ensures that we have a valid connection session." msgstr "" -#: interactions.api.http.Request.request:1 of -msgid "Sends a request to the Discord API." +#: interactions.api.http.request._Request._check_lock:1 of +msgid "Checks the global lock for its current state." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.add_member_role -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_kick -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_interaction_response -#: interactions.api.http.HTTPClient.create_message -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_application_command -#: interactions.api.http.HTTPClient.delete_channel -#: interactions.api.http.HTTPClient.delete_channel_permission -#: interactions.api.http.HTTPClient.delete_guild -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.delete_stage_instance -#: interactions.api.http.HTTPClient.delete_webhook_message -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_channel_permission -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_current_user_voice_state -#: interactions.api.http.HTTPClient.modify_guild -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_user_voice_state -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.remove_all_reactions -#: interactions.api.http.HTTPClient.remove_member_role -#: interactions.api.http.HTTPClient.remove_user_reaction -#: interactions.api.http.HTTPClient.search_guild_members -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.HTTPClient.trigger_typing -#: interactions.api.http.Request.request of -msgid "Parameters" +#: interactions.api.http.request._Request.request:1 of +msgid "Sends a request to the Discord API." msgstr "" -#: interactions.api.http.Request.request:3 of +#: interactions.api.http.request._Request.request:3 of msgid "The HTTP route to request." msgstr "" -#: interactions.api.http.Request.request:5 of +#: interactions.api.http.request._Request.request:5 of msgid "Optional keyword-only arguments to pass as information in the request." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:4 -#: interactions.api.http.Request.request:7 of -msgid "None" +#: interactions.api.http.request._Request.request:7 of +msgid "The contents of the request if any." msgstr "" -#: interactions.api.http.Request.close:1 of +#: interactions.api.http.request._Request.close:1 of msgid "Closes the current session." msgstr "" -#: interactions.api.http.HTTPClient:1 of -msgid "" -"A WIP class that represents the http Client that handles all major " -"endpoints to Discord API." +#: interactions.api.http.client.HTTPClient:1 of +msgid "The user-facing client of the Web API for individual endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:3 of +msgid "The token of the application." msgstr "" -#: interactions.api.http.HTTPClient.get_gateway:1 of +#: interactions.api.http.client.HTTPClient:4 of +msgid "The requesting interface for endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:5 of +msgid "The referenced cache." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_gateway:1 of msgid "" "This calls the Gateway endpoint and returns a v9 gateway link with JSON " "encoding." msgstr "" -#: interactions.api.http.HTTPClient.get_bot_gateway:1 of -msgid "" -"This calls the BOT Gateway endpoint. :return: A tuple denoting (shard, " -"gateway_url), url from API v9 and JSON encoding" +#: interactions.api.http.client.HTTPClient.get_bot_gateway:1 of +msgid "This calls the BOT Gateway endpoint." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_bot_gateway:3 of +msgid "A tuple denoting (shard, gateway_url), url from API v9 and JSON encoding" msgstr "" -#: interactions.api.http.HTTPClient.login:1 of +#: interactions.api.http.client.HTTPClient.login:1 of msgid "" "This 'logins' to the gateway, which makes it available to use any other " "endpoint." msgstr "" -#: interactions.api.http.HTTPClient.logout:1 of +#: interactions.api.http.client.HTTPClient.logout:1 of msgid "This 'log outs' the session." msgstr "" -#: interactions.api.http.HTTPClient.get_current_bot_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_bot_information:1 of msgid "Returns the bot user application object without flags." msgstr "" -#: interactions.api.http.HTTPClient.get_current_authorisation_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_authorisation_information:1 +#: of msgid "Returns info about the current authorization of the bot user" msgstr "" -#: interactions.api.http.HTTPClient.get_voice_regions:1 of +#: interactions.api.http.channel.ChannelRequest.get_channel:1 of msgid "" -"Gets a list from the API a list of voice regions. :return: An array of " -"Voice Region objects." +"Gets a channel by ID. If the channel is a thread, it also includes thread" +" members (and other thread attributes)." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:6 +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.get_channel:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:6 +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:3 +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.modify_channel:3 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.move_channel:4 +#: interactions.api.http.channel.ChannelRequest.trigger_typing:6 +#: interactions.api.http.message.MessageRequest.pin_message:3 +#: interactions.api.http.message.MessageRequest.unpin_message:3 +#: interactions.api.http.webhook.WebhookRequest.create_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:3 of +msgid "Channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_self:1 of -msgid "An alias to `get_user`, but only gets the current bot user." +#: interactions.api.http.channel.ChannelRequest.get_channel:4 of +msgid "Dictionary of the channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_self:3 of -msgid "" -":return A partial User object of the current bot user in the form of a " -"dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:1 of +msgid "Deletes a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_user:1 of -msgid "" -"Gets a user object for a given user ID. :param user_id: A user snowflake " -"ID. If omitted, this defaults to the current bot user. :return A partial " -"User object in the form of a dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:3 of +msgid "Channel ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_self:1 of -msgid "Modify the bot user account settings. :param payload: The data to send." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:1 of +msgid "Get messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:1 of -msgid "Changes a nickname of the current bot user in a guild." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:4 of +msgid "around, before, and after arguments are mutually exclusive." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:3 of -msgid "Guild snowflake ID." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:7 of +msgid "How many messages to get. Defaults to 50, the max is 100." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:4 of -msgid "The new nickname, if any." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:8 of +msgid "Get messages around this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:5 of -msgid "Nothing needed to be yielded." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:9 of +msgid "Get messages before this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.create_dm:1 of -msgid "" -"Creates a new DM channel with a user. :param recipient_id: User snowflake" -" ID. :return: Returns a dictionary representing a DM Channel object." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:10 of +msgid "Get messages after this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.send_message:1 of -msgid "" -"A higher level implementation of :meth:`create_message()` that handles " -"the payload dict internally. Does not integrate components into the " -"function, and is a port from v3.0.0" +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:11 of +msgid "An array of Message objects." msgstr "" -#: interactions.api.http.HTTPClient.create_message:1 of -msgid "Send a message to the specified channel." +#: interactions.api.http.channel.ChannelRequest.create_channel:1 of +msgid "Creates a channel within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_message:3 of -msgid "Dictionary contents of a message. (i.e. message payload)" +#: interactions.api.http.channel.ChannelRequest.create_channel:4 of +msgid "This does not handle payload in this method. Tread carefully." msgstr "" -#: interactions.api.http.HTTPClient.create_message:4 -#: interactions.api.http.HTTPClient.edit_message:3 of -msgid "Channel snowflake ID." +#: interactions.api.http.channel.ChannelRequest.create_channel:6 +#: interactions.api.http.channel.ChannelRequest.move_channel:3 +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:3 +#: interactions.api.http.guild.GuildRequest.add_guild_member:3 +#: interactions.api.http.guild.GuildRequest.create_guild_role:3 +#: interactions.api.http.guild.GuildRequest.create_guild_template:3 +#: interactions.api.http.guild.GuildRequest.delete_guild:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_role:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_template:3 +#: interactions.api.http.guild.GuildRequest.get_guild_bans:6 +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:3 +#: interactions.api.http.guild.GuildRequest.get_guild_invites:3 +#: interactions.api.http.guild.GuildRequest.get_guild_preview:3 +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:3 +#: interactions.api.http.guild.GuildRequest.get_guild_templates:3 +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:6 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:3 +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.modify_guild:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:3 +#: interactions.api.http.guild.GuildRequest.sync_guild_template:3 +#: interactions.api.http.member.MemberRequest.get_member:3 +#: interactions.api.http.member.MemberRequest.modify_member:5 +#: interactions.api.http.member.MemberRequest.search_guild_members:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:3 +#: of +msgid "Guild ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.create_message of -msgid "return dict" +#: interactions.api.http.channel.ChannelRequest.create_channel:7 of +msgid "Payload data." msgstr "" -#: interactions.api.http.HTTPClient.create_message:5 of -msgid "Dictionary representing a message (?)" +#: interactions.api.http.channel.ChannelRequest.create_channel:8 of +msgid "Reason to show in audit log, if needed." msgstr "" -#: interactions.api.http.HTTPClient.get_message:1 of -msgid "" -"Get a specific message in the channel. :param channel_id: the channel " -"this message belongs to :param message_id: the id of the message :return:" -" message if it exists." +#: interactions.api.http.channel.ChannelRequest.create_channel:9 of +msgid "Channel object as dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_message:1 of -msgid "" -"Deletes a message from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param reason: " -"Optional reason to show up in the audit log. Defaults to `None`." +#: interactions.api.http.channel.ChannelRequest.move_channel:1 of +msgid "Moves a channel to a new position." msgstr "" -#: interactions.api.http.HTTPClient.delete_messages:1 of +#: interactions.api.http.channel.ChannelRequest.move_channel:5 of +msgid "The new channel position." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:6 of +msgid "The category parent ID, if needed." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:7 of msgid "" -"Deletes messages from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_ids: An array of message snowflake IDs. " -":param reason: Optional reason to show up in the audit log. Defaults to " -"`None`." +"Sync permissions with the parent associated with parent_id. Defaults to " +"False." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:1 of -msgid "Edits a message that already exists." +#: interactions.api.http.channel.ChannelRequest.move_channel:8 of +msgid "Reason to display to the audit log, if any." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:4 of -msgid "Message snowflake ID." +#: interactions.api.http.channel.ChannelRequest.move_channel:9 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:7 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:7 of +msgid "?" msgstr "" -#: interactions.api.http.HTTPClient.edit_message:5 of -msgid "Any new data that needs to be changed." +#: interactions.api.http.channel.ChannelRequest.modify_channel:1 of +msgid "Update a channel's settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:7 of -msgid "A message object with edited attributes." +#: interactions.api.http.channel.ChannelRequest.modify_channel:4 of +msgid "Data representing updated settings." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:5 of +msgid "Reason, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:6 of +msgid "Channel with updated attributes, if successful." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:1 of +msgid "Get the invites for the channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:4 of +msgid "List of invite objects" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:1 of +msgid "Creates an invite for the given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:4 of +msgid "This method does not handle payload. It just sends it." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:7 of +msgid "Data representing the payload/invite attributes." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:8 of +msgid "Reason to show in the audit log, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:9 of +msgid "An invite object." msgstr "" -#: interactions.api.http.HTTPClient.pin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:1 of msgid "" -"Pin a message to a channel. :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"Edits the channel's permission overwrites for a user or role in a given " +"channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:4 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:4 of +msgid "The ID of the overridden object." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:5 of +msgid "the bitwise value of all allowed permissions" msgstr "" -#: interactions.api.http.HTTPClient.unpin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:6 of +msgid "the bitwise value of all disallowed permissions" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:7 of +msgid "0 for a role or 1 for a member" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:5 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:8 of +msgid "Reason to display in the Audit Log, if given." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:1 of +msgid "Deletes a channel permission overwrite for a user or role in a channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:1 of +msgid "Posts \"... is typing\" in a given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:4 of msgid "" -"Unpin a message to a channel :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"By default, this lib doesn't use this endpoint, however, this is listed " +"for third-party implementation." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:1 of +msgid "Get all pinned messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:1 of +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:4 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:1 of +msgid "Create a new stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:4 of +msgid "The topic of the stage instance. Limited to 1-120 characters." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:5 of +msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:6 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:4 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:6 of +msgid "The reason for the creating the stage instance, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:7 of +msgid "The new stage instance" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:1 of +msgid "Get the stage instance associated with a given channel, if it exists." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:4 of +msgid "A stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:1 of +msgid "Update the fields of a given stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:4 of msgid "" -"Publishes (API calls it crossposts) a message in a News channel to any " -"that is followed by." +"The new topic of the stage instance, if given. Limited to 1-120 " +"characters." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:3 of -msgid "Channel the message is in" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:5 of +msgid "The new privacy_level of the stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:4 of -msgid "The id of the message to publish" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:7 of +msgid "The updated stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:5 of -msgid "message object" +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:1 of +msgid "Delete a stage instance." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:1 of +msgid "Gets all emojis from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:4 of +msgid "A list of emojis." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:1 of +msgid "Gets an emote from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:4 of +msgid "Emoji ID snowflake." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:5 of +msgid "Emoji object" msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:1 of +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:1 of +msgid "Creates an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:4 of +msgid "Emoji parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:6 of +msgid "Optionally, give a reason." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:6 of +msgid "An emoji object with the included parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:1 of +msgid "Modifies an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:4 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:4 of +msgid "Emoji ID snowflake" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:5 of +msgid "Emoji parameters with updated attributes" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:7 of +msgid "An emoji object with updated attributes." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:1 of +msgid "Deletes an emoji." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_self_guilds:1 of msgid "Gets all guild objects associated with the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:3 of +#: interactions.api.http.guild.GuildRequest.get_self_guilds:3 of msgid ":return a list of partial guild objects the current bot user is a part of." msgstr "" -#: interactions.api.http.HTTPClient.get_guild:1 of -msgid "" -"Requests an individual guild from the API. :param guild_id: The guild " -"snowflake ID associated. :return: The guild object associated, if any." +#: interactions.api.http.guild.GuildRequest.get_guild:1 of +msgid "Requests an individual guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_preview:1 of -msgid "" -"Get a guild's preview. :param guild_id: Guild ID snowflake. :return: " -"Guild Preview object associated with the snowflake" +#: interactions.api.http.guild.GuildRequest.get_guild:3 +#: interactions.api.http.guild.GuildRequest.leave_guild:3 of +msgid "The guild snowflake ID associated." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:1 of -msgid "Modifies a guild's attributes." +#: interactions.api.http.guild.GuildRequest.get_guild:4 of +msgid "The guild object associated, if any." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 -#: interactions.api.http.HTTPClient.create_channel_invite:4 -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 -#: interactions.api.http.HTTPClient.get_channel_messages:4 -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid ".. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_preview:1 of +msgid "Get a guild's preview." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid "" -"This only sends the payload. You will have to check it when a higher-" -"level function calls this." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member:3 -#: interactions.api.http.HTTPClient.create_channel:6 -#: interactions.api.http.HTTPClient.create_guild_template:3 -#: interactions.api.http.HTTPClient.delete_guild:3 -#: interactions.api.http.HTTPClient.delete_guild_template:3 -#: interactions.api.http.HTTPClient.get_all_emoji:3 -#: interactions.api.http.HTTPClient.get_guild_templates:3 -#: interactions.api.http.HTTPClient.get_guild_widget_image:5 -#: interactions.api.http.HTTPClient.get_guild_widget_settings:3 -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:3 -#: interactions.api.http.HTTPClient.modify_guild:6 -#: interactions.api.http.HTTPClient.modify_guild_template:3 -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:3 -#: interactions.api.http.HTTPClient.modify_guild_widget:3 -#: interactions.api.http.HTTPClient.modify_member:5 -#: interactions.api.http.HTTPClient.modify_user_voice_state:3 -#: interactions.api.http.HTTPClient.move_channel:3 -#: interactions.api.http.HTTPClient.search_guild_members:3 -#: interactions.api.http.HTTPClient.sync_guild_template:3 of -msgid "Guild ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_preview:4 of +msgid "Guild Preview object associated with the snowflake" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild:1 of +msgid "Modifies a guild's attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild:4 of msgid "The parameters to change." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:8 of +#: interactions.api.http.guild.GuildRequest.modify_guild:5 of msgid "Reason to send to the audit log, if given." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild:6 of +msgid "The modified guild object as a dictionary" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.leave_guild:1 of msgid "Leaves a guild." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:3 of -msgid "The guild snowflake ID associated." +#: interactions.api.http.guild.GuildRequest.leave_guild:4 of +msgid "None" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild:1 of msgid "Deletes a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget:1 of -msgid "" -"Returns the widget for the guild. :param guild_id: Guild ID snowflake. " -":return: Guild Widget contents as a dict: {\"enabled\":bool, " -"\"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget:1 of +msgid "Returns the widget for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_widget:4 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:4 of +msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:1 of msgid "Get guild widget settings." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:4 of -msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:1 of +msgid "Get an url representing a png image widget for the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of -msgid "Get a url representing a png image widget for the guild. .. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:4 of +msgid "" +"See _ for list of styles." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:7 of msgid "The style of widget required, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:7 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:8 of msgid "A url pointing to this image" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:1 of msgid "Modify a guild widget." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:4 of msgid "Payload containing new widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:5 of msgid "Updated widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_invites:1 of -msgid "" -"Retrieves a list of invite objects with their own metadata. :param " -"guild_id: Guild ID snowflake. :return: A list of invite objects" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:1 of +msgid "Retrieves a list of invite objects with their own metadata." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_welcome_screen:1 of -msgid "" -"Retrieves from the API a welcome screen associated with the guild :param " -"guild_id: Guild ID snowflake. :return: Welcome Screen object" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:4 of +msgid "A list of invite objects" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:1 of +msgid "Retrieves from the API a welcome screen associated with the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:4 of +msgid "Welcome Screen object" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:1 of msgid "Modify the guild's welcome screen." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:4 of msgid "Whether the welcome screen is enabled or not." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:5 of msgid "" "The new channels (by their ID) linked in the welcome screen and their " "display options" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:6 of msgid "The new server description to show in the welcome screen" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:7 of msgid "Updated Welcome screen object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_integrations:1 of -msgid "" -"Gets a list of integration objects associated with the Guild from the " -"API. :param guild_id: Guild ID snowflake. :return: An array of " -"integration objects" +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:1 of +msgid "Gets a list of integration objects associated with the Guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_integration:1 of -msgid "" -"Deletes an integration from the guild. :param guild_id: Guild ID " -"snowflake. :param integration_id: Integration ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:4 of +msgid "An array of integration objects" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:1 of +msgid "Deletes an integration from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:4 of +msgid "Integration ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:1 +#: of msgid "Update the current user voice state." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:5 of msgid "Voice channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:5 +#: of msgid "Toggle the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:6 +#: of msgid "Sets the user's request to speak, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:1 of msgid "Modify the voice state of a user." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:4 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:4 +#: interactions.api.http.guild.GuildRequest.get_user_ban:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:4 of msgid "User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:6 of msgid "Toggles the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:1 of -msgid "Create a a new guild based on a template." +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:1 +#: of +msgid "Create a new guild based on a template." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:4 +#: of msgid "This endpoint can only be used by bots in less than 10 guilds." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:6 +#: of msgid "The code of the template to use." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:7 +#: of msgid "The name of the guild (2-100 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:8 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:8 +#: of msgid "Guild icon URI, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:9 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:9 +#: of msgid "The newly created guild object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:1 of msgid "Returns an array of guild templates." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:4 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:4 of msgid "An array of guild templates" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:1 of msgid "Create a guild template for the guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:5 of msgid "The name of the template" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:5 of msgid "The description of the template, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:6 of msgid "The created guild template" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:1 of msgid "Sync the template to the guild's current state." msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:4 of msgid "The code for the template to sync" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:5 of msgid "The updated guild template." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:1 of msgid "Modify a guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:4 of msgid "Template ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:6 of msgid "The description of the template" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:7 of msgid "The updated guild template" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:1 of msgid "Delete the guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:5 of msgid "The deleted template object" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:1 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:1 of msgid "Requests from the API to get all channels in the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:3 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:3 of msgid "Guild Snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:4 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:4 of msgid "A list of channels." msgstr "" -#: interactions.api.http.HTTPClient.get_all_roles:1 of -msgid "" -"Gets all roles from a Guild. :param guild_id: Guild ID snowflake :return:" -" An array of Role objects." +#: interactions.api.http.guild.GuildRequest.get_all_roles:1 of +msgid "Gets all roles from a Guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_role:1 of -msgid "" -"Create a new role for the guild. :param guild_id: Guild ID snowflake. " -":param data: A dict containing metadata for the role. :param reason: The " -"reason for this action, if given. :return: Role object" +#: interactions.api.http.guild.GuildRequest.create_guild_ban:3 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:3 +#: interactions.api.http.guild.GuildRequest.get_all_roles:3 +#: interactions.api.http.guild.GuildRequest.get_user_ban:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:3 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:8 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:4 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:4 +#: interactions.api.http.member.MemberRequest.get_list_of_members:3 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:3 of +msgid "Guild ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role_position:1 of -msgid "" -"Modify the position of a role in the guild. :param guild_id: Guild ID " -"snowflake. :param role_id: Role ID snowflake. :param position: The new " -"position of the associated role. :param reason: The reason for this " -"action, if given. :return: List of guild roles with updated hierarchy." +#: interactions.api.http.guild.GuildRequest.get_all_roles:4 of +msgid "An array of Role objects as dictionaries." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role:1 of -msgid "" -"Modify a given role for the guild. :param guild_id: Guild ID snowflake. " -":param role_id: Role ID snowflake. :param data: A dict containing updated" -" metadata for the role. :param reason: The reason for this action, if " -"given. :return: Updated role object." +#: interactions.api.http.guild.GuildRequest.create_guild_role:1 of +msgid "Create a new role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:4 of +msgid "A dict containing metadata for the role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:5 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:6 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:5 of +msgid "The reason for this action, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:6 of +msgid "Role object" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_role:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:1 of +msgid "Modify the position of a role in the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:4 of msgid "" -"Delete a guild role. :param guild_id: Guild ID snowflake. :param role_id:" -" Role ID snowflake. :param reason: The reason for this action, if any." +"A list of dicts containing the role IDs and new positions for all the " +"roles to be moved." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:1 of -msgid "Kicks a person from the guild." +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:6 of +msgid "List of guild roles with updated hierarchy." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.create_guild_kick:3 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_list_of_members:3 of -msgid "Guild ID snowflake" +#: interactions.api.http.guild.GuildRequest.modify_guild_role:1 of +msgid "Modify a given role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:4 of +msgid "Role ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role:5 of +msgid "A dict containing updated metadata for the role." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role:7 of +msgid "Updated role object." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:1 of +msgid "Delete a guild role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:5 of +msgid "The reason for this action, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_kick:1 of +msgid "Kicks a person from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:4 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:4 of msgid "User ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_kick:5 of msgid "Optional Reason argument." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_ban:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_ban:1 of msgid "" "Bans a person from the guild, and optionally deletes previous messages " -"sent by them. :param guild_id: Guild ID snowflake :param user_id: User ID" -" snowflake :param delete_message_days: Number of days to delete messages," -" from 0 to 7. Defaults to 0 :param reason: Optional reason to ban." +"sent by them." msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_ban:1 of -msgid "" -"Unbans someone using the API. :param guild_id: Guild ID snowflake :param " -"user_id: User ID snowflake :param reason: Optional reason to unban." +#: interactions.api.http.guild.GuildRequest.create_guild_ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:6 of +msgid "Optional reason to ban." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:1 of +msgid "Unbans someone using the API." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:5 of +msgid "Optional reason to unban." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_bans:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:4 of msgid "" -"Gets a list of banned users. :param guild_id: Guild ID snowflake. " -":return: A list of banned users." +"If both ``before`` and ``after`` are provided, only ``before`` is " +"respected." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:7 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:8 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:9 of +msgid "Consider only users after the given User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_user_ban:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:10 of +msgid "A list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:1 of msgid "" "Gets an object pertaining to the user, if it exists. Returns a 404 if it " -"doesn't. :param guild_id: Guild ID snowflake :param user_id: User ID " -"snowflake. :return: Ban object if it exists." +"doesn't." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:5 of +msgid "Ban object if it exists." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:1 of msgid "" "A low level method of adding a user to a guild with pre-defined " "attributes." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:5 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:5 of msgid "User access token." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:6 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:6 of msgid "User's nickname on join." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:7 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:7 of msgid "An array of roles that the user is assigned." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:8 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:8 of msgid "Whether the user is mute in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:9 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:9 of msgid "Whether the user is deafened in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:10 of -msgid "Guild member object (?)" +#: interactions.api.http.guild.GuildRequest.add_guild_member:10 of +msgid "Guild member object as dictionary" msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:1 of msgid "" "A low level method of removing a member from a guild. This is different " -"from banning them. :param guild_id: Guild ID snowflake. :param user_id: " -"User ID snowflake. :param reason: Reason to send to audit log, if any." +"from banning them." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_prune_count:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:5 of +msgid "Reason to send to audit log, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:1 of msgid "" "Retrieves a dict from an API that results in how many members would be " -"pruned given the amount of days. :param guild_id: Guild ID snowflake. " -":param days: Number of days to count. Defaults to ``7``. :param " -"include_roles: Role IDs to include, if given. :return: A dict denoting " -"`{\"pruned\": int}`" +"pruned given the amount of days." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:4 of +msgid "Number of days to count. Defaults to ``7``." msgstr "" -#: interactions.api.http.HTTPClient.get_member:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:5 of +msgid "Role IDs to include, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:6 of +msgid "A dict denoting `{\"pruned\": int}`" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_auditlog:1 of msgid "" -"Uses the API to fetch a member from a guild. :param guild_id: Guild ID " -"snowflake. :param member_id: Member ID snowflake. :return: A member " -"object, if any." +"Returns an audit log object for the guild. Requires the 'VIEW_AUDIT_LOG' " +"permission. :param guild_id: Guild ID snowflake. :param user_id: User ID " +"snowflake. filter the log for actions made by a user. :param action_type:" +" the type ID of audit log event. :param before: filter the log before a " +"certain entry id. :param limit: how many entries are returned (default " +"50, minimum 1, maximum 100)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:1 +#: of +msgid "Get all application commands from an application." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:7 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:3 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:6 +#: of +msgid "Application ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:4 +#: of +msgid "Guild to get commands from, if specified. Defaults to global (None)" msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:1 of +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:5 +#: of +msgid "" +"Whether to include full localization dictionaries (name_localizations and" +" description_localizations) in the returned objects, instead of the " +"name_localized and description_localized fields. Default false." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:6 +#: of +msgid "A list of Application commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:1 +#: of +msgid "Registers to the Discord API an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:4 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:7 +#: of +msgid "The dictionary that contains the command (name, description, etc)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:5 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:8 +#: of +msgid "Guild ID snowflake to put them in, if applicable." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:6 +#: of +msgid "An application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:1 +#: of +msgid "" +"Overwrites application command(s) from a scope to the new, updated " +"commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:4 +#: of +msgid "" +"This applies to all forms of application commands (slash and context " +"menus)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:9 +#: of +msgid "An array of application command objects." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:1 +#: of +msgid "Edits an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:4 +#: of +msgid "Application ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:4 +#: of +msgid "A dictionary containing updated attributes" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:5 +#: of +msgid "The application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:6 +#: of +msgid "Guild ID snowflake, if given. Defaults to None/global." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:7 +#: of +msgid "The updated application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:1 +#: of +msgid "Deletes an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:4 +#: of +msgid "Application command ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:5 +#: of +msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:1 +#: of +msgid "Edits permissions for an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:4 +#: of +msgid "" +"This requires authenticating with the Bearer token. Likewise, if this " +"function is used in a bot process with a bot token, this will fail." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:9 +#: of +msgid "Application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:10 +#: of +msgid "Permission data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:11 +#: of +msgid "Returns an updated Application Guild permission object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from a specific Guild application" +" command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:5 +#: of +msgid "Application Command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:6 +#: of +msgid "a Guild Application Command permissions object" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from all Application commands at " +"that Guild." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:5 +#: of +msgid "An array of Guild Application Command permissions" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:1 +#: of +msgid "Posts initial response to an interaction, but you need to add the token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:3 +#: of +msgid "Token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:5 +#: interactions.api.http.user.UserRequest.modify_self:3 of +msgid "The data to send." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:1 +#: of +msgid "Gets an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:3 +#: of +msgid "token" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:6 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:5 +#: of +msgid "" +"Message ID snowflake. Defaults to `@original` which represents the " +"initial response msg." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:6 +#: of +msgid "Message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:1 +#: of +msgid "" +"Edits an existing interaction message, but token needs to be manually " +"called." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:3 +#: of +msgid "A dictionary containing the new response." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:5 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:4 +#: of +msgid "the token of the interaction" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:7 +#: of +msgid "Updated message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:1 +#: of +msgid "Deletes an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:1 of +msgid "Send a followup to an interaction." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:3 of +msgid "the payload to send" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:4 of +msgid "the id of the application" +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:1 of +msgid "Uses the API to fetch a member from a guild." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:4 +#: interactions.api.http.member.MemberRequest.modify_member:4 of +msgid "Member ID snowflake." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:5 of +msgid "A member object, if any." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_list_of_members:1 of msgid "Lists the members of a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:4 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:4 of msgid "How many members to get from the API. Max is 1000. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:5 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:5 of msgid "Get Member IDs after this snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:6 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:6 of msgid "An array of Member objects." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:1 of +#: interactions.api.http.member.MemberRequest.search_guild_members:1 of msgid "" -"Search a guild for members who's username or nickname starts with " +"Search a guild for members whose username or nickname starts with " "provided string." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:4 of +#: interactions.api.http.member.MemberRequest.search_guild_members:4 of msgid "The string to search for" msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:5 of +#: interactions.api.http.member.MemberRequest.search_guild_members:5 of msgid "The number of members to return. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:1 of +#: interactions.api.http.member.MemberRequest.add_member_role:1 of msgid "Adds a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:3 -#: interactions.api.http.HTTPClient.remove_member_role:3 of +#: interactions.api.http.member.MemberRequest.add_member_role:3 +#: interactions.api.http.member.MemberRequest.remove_member_role:3 of msgid "The ID of the guild" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:4 -#: interactions.api.http.HTTPClient.remove_member_role:4 of +#: interactions.api.http.member.MemberRequest.add_member_role:4 +#: interactions.api.http.member.MemberRequest.remove_member_role:4 of msgid "The ID of the user" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:5 -#: interactions.api.http.HTTPClient.remove_member_role:5 of +#: interactions.api.http.member.MemberRequest.add_member_role:5 +#: interactions.api.http.member.MemberRequest.remove_member_role:5 of msgid "The ID of the role to add" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:6 -#: interactions.api.http.HTTPClient.remove_member_role:6 of +#: interactions.api.http.member.MemberRequest.add_member_role:6 +#: interactions.api.http.member.MemberRequest.modify_member:7 +#: interactions.api.http.member.MemberRequest.remove_member_role:6 of msgid "The reason for this action. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.remove_member_role:1 of +#: interactions.api.http.member.MemberRequest.remove_member_role:1 of msgid "Removes a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:1 of +#: interactions.api.http.member.MemberRequest.modify_member:1 of msgid "" "Edits a member. This can nick them, change their roles, mute/deafen (and " -"its contrary), and moving them across channels and/or disconnect them" -msgstr "" - -#: interactions.api.http.HTTPClient.modify_member:4 of -msgid "Member ID snowflake." +"its contrary), and moving them across channels and/or disconnect them." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:6 of +#: interactions.api.http.member.MemberRequest.modify_member:6 of msgid "Payload representing parameters (nick, roles, mute, deaf, channel_id)" msgstr "" -#: interactions.api.http.HTTPClient.modify_member:7 of -msgid "? (modified voice state? not sure)" +#: interactions.api.http.member.MemberRequest.modify_member:8 of +msgid "Modified member object." msgstr "" -#: interactions.api.http.HTTPClient.get_channel:1 of +#: interactions.api.http.message.MessageRequest.send_message:1 of msgid "" -"Gets a channel by ID. If the channel is a thread, it also includes thread" -" members (and other thread attributes) :param channel_id: Channel ID " -"snowflake. :return: Channel object." +"A higher level implementation of :meth:`create_message()` that handles " +"the payload dict internally. Does not integrate components into the " +"function, and is a port from v3.0.0" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:1 of +msgid "Send a message to the specified channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:3 of +msgid "Dictionary contents of a message. (i.e. message payload)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:4 +#: interactions.api.http.message.MessageRequest.delete_message:3 +#: interactions.api.http.message.MessageRequest.delete_messages:3 +#: interactions.api.http.message.MessageRequest.edit_message:3 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:3 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:3 of +msgid "Channel snowflake ID." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:5 +#: interactions.api.http.message.MessageRequest.edit_message:6 of +msgid "An optional list of files to send attached to the message." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message of +msgid "return dict" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:6 of +msgid "Dictionary representing a message (?)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:1 of +msgid "Get a specific message in the channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:3 of +msgid "the channel this message belongs to" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:4 of +msgid "the id of the message" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:5 of +msgid "message if it exists." +msgstr "" + +#: interactions.api.http.message.MessageRequest.delete_message:1 of +msgid "Deletes a message from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:1 of -msgid "Deletes a channel." +#: interactions.api.http.message.MessageRequest.delete_message:4 +#: interactions.api.http.message.MessageRequest.edit_message:4 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:4 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:4 of +msgid "Message snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:3 of -msgid "Channel ID snowflake" +#: interactions.api.http.message.MessageRequest.delete_message:5 +#: interactions.api.http.message.MessageRequest.delete_messages:5 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:1 of -msgid "Get messages from a channel." +#: interactions.api.http.message.MessageRequest.delete_messages:1 of +msgid "Deletes messages from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:4 of -msgid "around, before, and after arguments are mutually exclusive." +#: interactions.api.http.message.MessageRequest.delete_messages:4 of +msgid "An array of message snowflake IDs." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:6 -#: interactions.api.http.HTTPClient.create_stage_instance:3 -#: interactions.api.http.HTTPClient.delete_channel_permission:3 -#: interactions.api.http.HTTPClient.delete_stage_instance:3 -#: interactions.api.http.HTTPClient.edit_channel_permission:3 -#: interactions.api.http.HTTPClient.get_channel_messages:6 -#: interactions.api.http.HTTPClient.get_stage_instance:3 -#: interactions.api.http.HTTPClient.modify_stage_instance:3 -#: interactions.api.http.HTTPClient.move_channel:4 -#: interactions.api.http.HTTPClient.trigger_typing:5 of -msgid "Channel ID snowflake." +#: interactions.api.http.message.MessageRequest.edit_message:1 of +msgid "Edits a message that already exists." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:7 of -msgid "How many messages to get. Defaults to 50, the max is 100." +#: interactions.api.http.message.MessageRequest.edit_message:5 of +msgid "Any new data that needs to be changed." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:8 of -msgid "Get messages around this snowflake ID." +#: interactions.api.http.message.MessageRequest.edit_message:8 of +msgid "A message object with edited attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:9 of -msgid "Get messages before this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:1 of +msgid "Pin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:10 of -msgid "Get messages after this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:4 +#: interactions.api.http.message.MessageRequest.unpin_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:5 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:5 of +msgid "Message ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:11 of -msgid "An array of Message objects." +#: interactions.api.http.message.MessageRequest.unpin_message:1 of +msgid "Unpin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:1 of -msgid "Creates a channel within a guild." +#: interactions.api.http.message.MessageRequest.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in a News channel to any " +"that is followed by." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 of -msgid "This does not handle payload in this method. Tread carefully." +#: interactions.api.http.message.MessageRequest.publish_message:3 of +msgid "Channel the message is in" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:7 of -msgid "Payload data." +#: interactions.api.http.message.MessageRequest.publish_message:4 of +msgid "The id of the message to publish" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:8 of -msgid "Reason to show in audit log, if needed." +#: interactions.api.http.message.MessageRequest.publish_message:5 of +msgid "message object" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:9 of -msgid "Channel object." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:1 of +msgid "Create a reaction for a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:1 of -msgid "Moves a channel to a new position." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:5 of +msgid "The emoji to use (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:5 of -msgid "The new channel position." +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:1 of +msgid "Remove bot user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:6 of -msgid "The category parent ID, if needed." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:5 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:5 of +msgid "The emoji to remove (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:7 of -msgid "" -"Sync permissions with the parent associated with parent_id. Defaults to " -"False." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:1 of +msgid "Remove user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:8 of -msgid "Reason to display to the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:3 of +msgid "The channel this is taking place in" msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:7 -#: interactions.api.http.HTTPClient.execute_slack_webhook:7 -#: interactions.api.http.HTTPClient.move_channel:9 of -msgid "?" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:4 of +msgid "The message to remove the reaction on." msgstr "" -#: interactions.api.http.HTTPClient.modify_channel:1 of -msgid "" -"Update a channel's settings. :param channel_id: Channel ID snowflake. " -":param data: Data representing updated settings. :param reason: Reason, " -"if any. :return: Channel with updated attributes, if successful." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:5 of +msgid "The emoji to remove. (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.get_channel_invites:1 of -msgid "" -"Get the invites for the channel. :param channel_id: Channel ID snowflake." -" :return: List of invite objects" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:6 of +msgid "The user to remove reaction of." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:1 of -msgid "Creates an invite for the given channel." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:1 of +msgid "Remove all reactions from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:4 of -msgid "This method does not handle payload. It just sends it." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:3 of +msgid "The channel this is taking place in." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:7 of -msgid "Data representing the payload/invite attributes." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:4 of +msgid "The message to clear reactions from." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:8 of -msgid "Reason to show in the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:1 +#: of +msgid "Remove all reactions of a certain emoji from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:9 of -msgid "An invite object." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:1 of +msgid "Gets the users who reacted to the emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_invite:1 of -msgid "" -"Delete an invite. :param invite_code: The code of the invite to delete " -":param reason: Reason to show in the audit log, if any. :return: The " -"deleted invite object" +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:5 of +msgid "The emoji to get (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:1 of -msgid "" -"Edits the channel's permission overwrites for a user or role in a given " -"channel." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:6 of +msgid "A list of users who sent that emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:4 -#: interactions.api.http.HTTPClient.edit_channel_permission:4 of -msgid "The ID of the overridden object." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:1 +#: of +msgid "Creates a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:5 of -msgid "the bitwise value of all allowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:5 +#: of +msgid "" +"The dictionary containing the parameters and values to edit the " +"associated event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:6 of -msgid "the bitwise value of all disallowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:5 +#: of +msgid "A dictionary containing the new guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:7 of -msgid "0 for a role or 1 for a member" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:1 +#: of +msgid "Gets a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:5 -#: interactions.api.http.HTTPClient.edit_channel_permission:8 of -msgid "Reason to display in the Audit Log, if given." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:4 +#: of +msgid "Guild Scheduled Event ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:1 of -msgid "Deletes a channel permission overwrite for a user or role in a channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:5 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:4 +#: of +msgid "" +"A boolean to include number of users subscribed to the associated event, " +"if given." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:1 of -msgid "Posts \"... is typing\" in a given channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:6 +#: of +msgid "A dictionary containing the guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:4 -#: interactions.api.http.HTTPClient.trigger_typing:3 of -msgid "..note:" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:1 +#: of +msgid "Gets all guild scheduled events in a guild." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:4 of +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:5 +#: of msgid "" -"By default, this lib doesn't use this endpoint, however, this is listed " -"for third-party implementation." +"A List of a dictionary containing the guild scheduled event objects on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.get_pinned_messages:1 of -msgid "" -"Get all pinned messages from a channel. :param channel_id: Channel ID " -"snowflake. :return: A list of pinned message objects." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:1 +#: of +msgid "Modifies a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:1 of -msgid "Create a new stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:6 +#: of +msgid "" +"A dictionary containing the updated guild scheduled event object on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:4 of -msgid "The topic of the stage instance. Limited to 1-120 characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:1 +#: of +msgid "Deletes a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:5 of -msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:5 +#: of +msgid "Nothing on success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:6 -#: interactions.api.http.HTTPClient.delete_stage_instance:4 -#: interactions.api.http.HTTPClient.modify_stage_instance:6 of -msgid "The reason for the creating the stage instance, if any." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:1 +#: of +msgid "Get the registered users of a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:7 of -msgid "The new stage instance" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:4 +#: of +msgid "Guild Scheduled Event snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:1 of -msgid "Get the stage instance associated with a given channel, if it exists." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:5 +#: of +msgid "Limit of how many users to pull from the event. Defaults to 100." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:4 of -msgid "A stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:6 +#: of +msgid "Include guild member data if it exists. Defaults to False." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:1 of -msgid "Update the fields of a given stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:7 +#: of +msgid "Considers only users before given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:4 of -msgid "" -"The new topic of the stage instance, if given. Limited to 1-120 " -"characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:8 +#: of +msgid "Considers only users after given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:5 of -msgid "The new privacy_level of the stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:9 +#: of +msgid "Returns a list of guild scheduled event user objects on success." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:7 of -msgid "The updated stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:1 of +msgid "Get a specific sticker." msgstr "" -#: interactions.api.http.HTTPClient.delete_stage_instance:1 of -msgid "Delete a stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:3 of +msgid "The id of the sticker" msgstr "" -#: interactions.api.http.HTTPClient.join_thread:1 of -msgid "Have the bot user join a thread. :param thread_id: The thread to join." +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.get_sticker:4 of +msgid "Sticker or None" msgstr "" -#: interactions.api.http.HTTPClient.leave_thread:1 of -msgid "Have the bot user leave a thread. :param thread_id: The thread to leave." +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:1 of +msgid "Gets the list of sticker packs available to Nitro subscribers." msgstr "" -#: interactions.api.http.HTTPClient.add_member_to_thread:1 of -msgid "" -"Add another user to a thread. :param thread_id: The ID of the thread " -":param user_id: The ID of the user to add" +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:3 of +msgid "List of sticker packs" msgstr "" -#: interactions.api.http.HTTPClient.remove_member_from_thread:1 of -msgid "" -"Remove another user from a thread. :param thread_id: The ID of the thread" -" :param user_id: The ID of the user to remove" +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:1 of +msgid "Get the stickers for a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_thread_members:1 of -msgid "" -"Get a list of members in the thread. :param thread_id: the id of the " -"thread :return: a list of member objects" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:3 of +msgid "The guild to get stickers from" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:1 of -msgid "Get a list of archived public threads in a given channel." +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:4 of +msgid "List of Stickers or None" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:3 of -msgid "The channel to get threads from" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:1 of +msgid "Get a sticker from a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:4 of -msgid "Optional limit of threads to" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:4 of +msgid "The sticker to get from the guild" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:5 of -msgid "Get threads before this Thread snowflake ID" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:1 of +msgid "" +"Create a new sticker for the guild. Requires the " +"MANAGE_EMOJIS_AND_STICKERS permission." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:6 of -msgid "a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:3 of +msgid "the payload to send." msgstr "" -#: interactions.api.http.HTTPClient.list_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel. :param channel_id: " -"The channel to get threads from :param limit: Optional limit of threads " -"to :param before: Get threads before this Thread snowflake ID :return: a " -"list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:4 of +msgid "The guild to create sticker at." msgstr "" -#: interactions.api.http.HTTPClient.list_joined_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel that the bot has " -"joined. :param channel_id: The channel to get threads from :param limit: " -"Optional limit of threads to :param before: Get threads before this " -"snowflake ID :return: a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:6 of +msgid "The reason for this action." msgstr "" -#: interactions.api.http.HTTPClient.list_active_threads:1 of -msgid "" -"List active threads within a guild. :param guild_id: the guild id to get " -"threads from :return: A list of active threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:6 of +msgid "The new sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:1 of +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:1 of msgid "" -"From a given channel, create a Thread with an optional message to start " -"with.." +"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:3 of -msgid "The ID of the channel to create this thread in" +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:4 of +msgid "The guild of the target sticker." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:4 of -msgid "The name of the thread" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:5 of +msgid "The sticker to modify." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:5 of -msgid "" -"duration in minutes to automatically archive the thread after recent " -"activity, can be set to: 60, 1440, 4320, 10080" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:7 of +msgid "The updated sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:7 of +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:1 of msgid "" -"The type of thread, defaults to public. ignored if creating thread from a" -" message" +"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:8 of -msgid "Boolean to display if the Thread is open to join or private." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:4 of +msgid "The sticker to delete." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:9 of -msgid "An optional message to create a thread from." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:6 of +msgid "Returns 204 No Content on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:10 of -msgid "An optional reason for the audit log" +#: interactions.api.http.thread.ThreadRequest.join_thread:1 of +msgid "Have the bot user join a thread." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:11 of -msgid "The created thread" +#: interactions.api.http.thread.ThreadRequest.join_thread:3 of +msgid "The thread to join." msgstr "" -#: interactions.api.http.HTTPClient.create_reaction:1 of -msgid "" -"Create a reaction for a message. :param channel_id: Channel snowflake ID." -" :param message_id: Message snowflake ID. :param emoji: The emoji to use " -"(format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:1 of +msgid "Have the bot user leave a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_self_reaction:1 of -msgid "" -"Remove bot user's reaction from a message. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:3 of +msgid "The thread to leave." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:1 of -msgid "Remove user's reaction from a message" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:1 of +msgid "Add another user to a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:3 of -msgid "The channel this is taking place in" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:3 +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:3 +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:3 of +msgid "The ID of the thread" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:4 of -msgid "The message to remove the reaction on." +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:4 of +msgid "The ID of the user to add" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:5 of -msgid "The emoji to remove. (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:1 of +msgid "Remove another user from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:6 of -msgid "The user to remove reaction of." +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:4 of +msgid "The ID of the user to remove" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:1 of -msgid "Remove all reactions from a message." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:1 of +msgid "Get a member from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:3 of -msgid "The channel this is taking place in." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:4 of +msgid "The ID of the user to find" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:4 of -msgid "The message to clear reactions from." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:5 of +msgid "A thread member object, if they're in the thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions_of_emoji:1 of -msgid "" -"Remove all reactions of a certain emoji from a message. :param " -"channel_id: Channel snowflake ID. :param message_id: Message snowflake " -"ID. :param emoji: The emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:1 of +msgid "Get a list of members in the thread." msgstr "" -#: interactions.api.http.HTTPClient.get_reactions_of_emoji:1 of -msgid "" -"Gets the users who reacted to the emoji. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to get (format: `name:id`) :return A list of users who sent that " -"emoji." +#: interactions.api.http.thread.ThreadRequest.list_thread_members:3 of +msgid "the id of the thread" msgstr "" -#: interactions.api.http.HTTPClient.get_sticker:1 of -msgid "" -"Get a specific sticker. :param sticker_id: The id of the sticker :return:" -" Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:4 of +msgid "a list of thread member objects" msgstr "" -#: interactions.api.http.HTTPClient.list_nitro_sticker_packs:1 of -msgid "" -"Gets the list of sticker packs available to Nitro subscribers. :return: " -"List of sticker packs" +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:1 of +msgid "Get a list of archived public threads in a given channel." msgstr "" -#: interactions.api.http.HTTPClient.list_guild_stickers:1 of -msgid "" -"Get the stickers for a guild. :param guild_id: The guild to get stickers " -"from :return: List of Stickers or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:3 of +msgid "The channel to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_sticker:1 of -msgid "" -"Get a sticker from a guild. :param guild_id: The guild to get stickers " -"from :param sticker_id: The sticker to get from the guild :return: " -"Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:4 of +msgid "Optional limit of threads to" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_sticker:1 of -msgid "" -"Create a new sticker for the guild. Requires the " -"MANAGE_EMOJIS_AND_STICKERS permission. :param payload: the payload to " -"send. :param guild_id: The guild to create sticker at. :param reason: The" -" reason for this action. :return: The new sticker data on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:5 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:5 of +msgid "Get threads before this Thread snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_sticker:1 of -msgid "" -"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param payload: the payload to send. :param guild_id: The " -"guild of the target sticker. :param sticker_id: The sticker to modify. " -":param reason: The reason for this action. :return: The updated sticker " -"data on success." +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:6 of +msgid "a list of threads" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_sticker:1 of -msgid "" -"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param guild_id: The guild of the target sticker. :param " -"sticker_id: The sticker to delete. :param reason: The reason for this " -"action. :return: Returns 204 No Content on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:1 +#: of +msgid "Get a list of archived private threads in a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:1 +#: of msgid "" -"Get all application commands from an application :param application_id: " -"Application ID snowflake :param guild_id: Guild to get commands from, if " -"specified. Defaults to global (None) :return: A list of Application " -"commands." -msgstr "" - -#: interactions.api.http.HTTPClient.create_application_command:1 of -msgid "Registers to the Discord API an application command." +"Get a list of archived private threads in a channel that the bot has " +"joined." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.create_application_command:3 -#: interactions.api.http.HTTPClient.create_interaction_response:6 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_application_command_permissions:3 -#: interactions.api.http.HTTPClient.overwrite_application_command:6 of -msgid "Application ID snowflake" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:5 +#: of +msgid "Get threads before this snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:7 of -msgid "The dictionary that contains the command (name, description, etc)" +#: interactions.api.http.thread.ThreadRequest.list_active_threads:1 of +msgid "List active threads within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:5 -#: interactions.api.http.HTTPClient.overwrite_application_command:8 of -msgid "Guild ID snowflake to put them in, if applicable." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:3 of +msgid "the guild id to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:6 of -msgid "An application command object." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:4 of +msgid "A list of active threads" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.create_thread:1 of msgid "" -"Overwrites application command(s) from a scope to the new, updated " -"commands." +"From a given channel, create a Thread with an optional message to start " +"with.." msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:4 of -msgid "" -"This applies to all forms of application commands (slash and context " -"menus)" +#: interactions.api.http.thread.ThreadRequest.create_thread:3 of +msgid "The ID of the channel to create this thread in" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:9 of -msgid "An array of application command objects." +#: interactions.api.http.thread.ThreadRequest.create_thread:4 of +msgid "The name of the thread" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:1 of -msgid "Edits an application command." +#: interactions.api.http.thread.ThreadRequest.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:3 -#: interactions.api.http.HTTPClient.edit_application_command:3 of -msgid "Application ID snowflake." +#: interactions.api.http.thread.ThreadRequest.create_thread:7 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:4 of -msgid "A dictionary containing updated attributes" +#: interactions.api.http.thread.ThreadRequest.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:5 of -msgid "The application command ID snowflake" +#: interactions.api.http.thread.ThreadRequest.create_thread:9 of +msgid "An optional message to create a thread from." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:6 of -msgid "Guild ID snowflake, if given. Defaults to None/global." +#: interactions.api.http.thread.ThreadRequest.create_thread:10 of +msgid "An optional reason for the audit log" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:7 of -msgid "The updated application command object." +#: interactions.api.http.thread.ThreadRequest.create_thread:11 of +msgid "The created thread" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:1 of -msgid "Deletes an application command." +#: interactions.api.http.user.UserRequest.get_self:1 of +msgid "An alias to `get_user`, but only gets the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:4 of -msgid "Application command ID snowflake." +#: interactions.api.http.user.UserRequest.get_self:3 of +msgid "A partial User object of the current bot user in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:5 of -msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +#: interactions.api.http.user.UserRequest.get_user:1 of +msgid "Gets a user object for a given user ID." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:1 of -msgid "Edits permissions for an application command" +#: interactions.api.http.user.UserRequest.get_user:3 of +msgid "A user snowflake ID. If omitted, this defaults to the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:5 of -msgid "Application command ID snowflake" +#: interactions.api.http.user.UserRequest.get_user:4 of +msgid "A partial User object in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:6 of -msgid "Permission data." +#: interactions.api.http.user.UserRequest.modify_self:1 of +msgid "Modify the bot user account settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:7 of -msgid "Returns an updated Application Guild permission object." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:1 of +msgid "Changes a nickname of the current bot user in a guild." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:1 -#: of -msgid "Edits permissions for all Application Commands in a guild." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:3 of +msgid "Guild snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:5 -#: of -msgid "An array of permission dictionaries." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:4 of +msgid "The new nickname, if any." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:6 -#: of -msgid "An updated array of application array permissions." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:5 of +msgid "Nothing needed to be yielded." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:1 of -msgid "" -"Gets, from the Discord API, permissions from a specific Guild application" -" command." +#: interactions.api.http.user.UserRequest.create_dm:1 of +msgid "Creates a new DM channel with a user." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:5 of -msgid "Application Command ID snowflake" +#: interactions.api.http.user.UserRequest.create_dm:3 of +msgid "User snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:6 of -msgid "a Guild Application Command permissions object" +#: interactions.api.http.user.UserRequest.create_dm:4 of +msgid "Returns a dictionary representing a DM Channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:1 -#: of -msgid "" -"Gets, from the Discord API, permissions from all Application commands at " -"that Guild." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:1 of +msgid "Create a new webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:5 -#: of -msgid "An array of Guild Application Command permissions" +#: interactions.api.http.webhook.WebhookRequest.create_webhook:4 of +msgid "Name of the webhook (1-80 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:1 of -msgid "Posts initial response to an interaction." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:5 of +msgid "The image for the default webhook avatar, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 of -msgid "Internally handles token for you." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:7 of +msgid "Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:7 of -msgid "The data to send." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:1 of +msgid "Return a list of channel webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.get_original_interaction_response:1 of -msgid "" -"Gets an existing interaction message. :param application_id: Application " -"ID snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Message " -"data." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:4 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:4 of +msgid "List of webhook objects" msgstr "" -#: interactions.api.http.HTTPClient.edit_interaction_response:1 of -msgid "" -"Edits an existing interaction message. :param data: A dictionary " -"containing the new response. :param application_id: Application ID " -"snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Updated " -"message data." +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:1 of +msgid "Return a list of guild webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:1 of -msgid "" -"Create a new webhook. :param channel_id: Channel ID snowflake. :param " -"name: Name of the webhook (1-80 characters) :param avatar: The image for " -"the default webhook avatar, if given." +#: interactions.api.http.webhook.WebhookRequest.get_webhook:1 of +msgid "Return the new webhook object for the given id." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:6 of -msgid ":return Webhook object" +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:3 of +msgid "Webhook ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_webhooks:1 of -msgid "" -"Return a list of channel webhook objects. :param channel_id: Channel ID " -"snowflake. :return:List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:4 of +msgid "Webhook Token, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:1 of -msgid "" -"Return a list of guild webhook objects. :param guild_id: Guild ID " -"snowflake" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:6 of +msgid ":return:Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:4 of -msgid "List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:1 of +msgid "Modify a webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:1 of -msgid "" -"Return the new webhook object for the given id. :param webhook_id: " -"Webhook ID snowflake. :param webhook_token: Webhook Token, if given." +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:3 of +msgid "Webhook ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:5 of -msgid ":return:Webhook object" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:4 of +msgid "The payload for the webhook" msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:1 of -msgid "" -"Modify a webhook. :param webhook_id: Webhook ID snowflake :param name: " -"the default name of the webhook :param avatar: image for the default " -"webhook avatar :param channel_id: Channel ID snowflake of new destination" -" :param webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:5 of +msgid "The token for the webhook, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:7 of msgid "Modified webhook object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook:1 of -msgid "" -"Delete a webhook :param webhook_id: Webhook ID snowflake. :param " -"webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:1 of +msgid "Delete a webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:1 of msgid "Sends a message as a webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:3 -#: interactions.api.http.HTTPClient.edit_webhook_message:3 -#: interactions.api.http.HTTPClient.execute_github_webhook:3 -#: interactions.api.http.HTTPClient.execute_slack_webhook:3 -#: interactions.api.http.HTTPClient.execute_webhook:3 -#: interactions.api.http.HTTPClient.get_webhook_message:3 of -msgid "Webhook ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.execute_github_webhook:4 -#: interactions.api.http.HTTPClient.execute_slack_webhook:4 -#: interactions.api.http.HTTPClient.execute_webhook:4 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:4 of msgid "The token for the webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:5 -#: interactions.api.http.HTTPClient.execute_slack_webhook:5 -#: interactions.api.http.HTTPClient.execute_webhook:5 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:5 of msgid "Payload consisting of the message." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:6 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:6 of +msgid "The files to upload to the message." +msgstr "" + +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:7 of msgid "" "A bool that signifies waiting for server confirmation of a send before " "responding." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:7 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:8 of msgid "Optional, sends a message to the specified thread." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:9 of msgid "The message sent, if wait=True, else None." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:1 of msgid "Sends a message to a Slack-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:1 of msgid "Sends a message to a Github-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:1 of msgid "Retrieves a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:4 -#: interactions.api.http.HTTPClient.edit_webhook_message:4 -#: interactions.api.http.HTTPClient.get_webhook_message:4 of +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:4 of msgid "Webhook token." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:5 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:5 of msgid "Message ID snowflake," msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:6 of msgid "A Message object." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:1 of msgid "Edits a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:5 -#: interactions.api.http.HTTPClient.edit_webhook_message:5 of -msgid "Message ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.edit_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:6 of msgid "A payload consisting of new message attributes." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:7 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:7 of msgid "An updated message object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:1 of msgid "Deletes a message object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_emoji:1 of -msgid "Gets all emojis from a guild." -msgstr "" - -#: interactions.api.http.HTTPClient.get_all_emoji:4 of -msgid "A list of emojis." -msgstr "" - -#: interactions.api.http.HTTPClient.get_guild_emoji:1 of -msgid "" -"Gets an emote from a guild. :param guild_id: Guild ID snowflake. :param " -"emoji_id: Emoji ID snowflake. :return: Emoji object" -msgstr "" - -#: interactions.api.http.HTTPClient.create_guild_emoji:1 of -msgid "" -"Creates an emoji. :param guild_id: Guild ID snowflake. :param data: Emoji" -" parameters. :param reason: Optionally, give a reason. :return: An emoji " -"object with the included parameters." -msgstr "" - -#: interactions.api.http.HTTPClient.modify_guild_emoji:1 of -msgid "" -"Modifies an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param data: Emoji parameters with updated attributes " -":param reason: Optionally, give a reason. :return: An emoji object with " -"updated attributes." -msgstr "" - -#: interactions.api.http.HTTPClient.delete_guild_emoji:1 of -msgid "" -"Deletes an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param reason: Optionally, give a reason." +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:1 +#: of +msgid "Deletes the original message object sent." msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.channel.po b/docs/locale/it/LC_MESSAGES/api.models.channel.po index e4af3b294..529af7d9d 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.channel.po +++ b/docs/locale/it/LC_MESSAGES/api.models.channel.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,24 +26,24 @@ msgstr "" msgid "An enumerable object representing the type of channels." msgstr "" -#: interactions.api.models.channel.ChannelType:3 of -msgid ".. note::" +#: interactions.api.models.channel.Thread:1 of +msgid "An object representing a thread." msgstr "" -#: interactions.api.models.channel.ChannelType:4 of +#: interactions.api.models.channel.Thread:4 of msgid "" -"While all of them are listed, not all of them will be used at this " -"library's scope." +"This is a derivation of the base Channel, since a thread can be its own " +"event." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:1 of -msgid "A class object representing the metadata of a thread." +#: interactions.api.models.channel.Channel:1 of +msgid "A class object representing all types of channels." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:4 of +#: interactions.api.models.channel.Channel:4 of msgid "" -"``invitable`` will only show if the thread can have an invited created " -"with the current cached permissions." +"The purpose of this model is to be used as a base class, and is never " +"needed to be used directly." msgstr "" #: interactions.api.models.channel.Channel @@ -52,62 +52,6 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.channel.ThreadMetadata:7 of -msgid "The current thread accessibility state." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:8 of -msgid "The auto-archive time." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:9 of -msgid "The timestamp that the thread will be/has been closed at." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:10 of -msgid "The current message state of the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:11 of -msgid "The ability to invite users to the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:1 of -msgid "A class object representing a member in a thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:4 of -msgid "" -"``id`` only shows if there are active intents involved with the member in" -" the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:7 of -msgid "The \"ID\" or intents of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:8 of -msgid "The user ID of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:9 of -msgid "The timestamp of when the member joined the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:10 of -msgid "The bitshift flags for the member in the thread." -msgstr "" - -#: interactions.api.models.channel.Channel:1 of -msgid "A class object representing all types of channels." -msgstr "" - -#: interactions.api.models.channel.Channel:4 of -msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." -msgstr "" - #: interactions.api.models.channel.Channel:7 of msgid "The (snowflake) ID of the channel." msgstr "" @@ -214,20 +158,564 @@ msgstr "" msgid "The permissions of the channel." msgstr "" -#: interactions.api.models.channel.TextChannel:1 of +#: interactions.api.models.channel.Channel.mention:1 of +msgid "Returns a string that allows you to mention the given channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Returns" +msgstr "" + +#: interactions.api.models.channel.Channel.mention:3 of +msgid "The string of the mentioned channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Return type" +msgstr "" + +#: interactions.api.models.channel.Channel.send:1 of +msgid "Sends a message in the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_invite +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.pin_message +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit +#: interactions.api.models.channel.Channel.unpin_message of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.channel.Channel.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.channel.Channel.send:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.channel.Channel.send:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.channel.Channel.send:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.channel.Channel.delete:1 of +msgid "Deletes the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:1 of +msgid "Edits the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:6 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:8 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:10 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:12 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:14 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:16 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:18 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:20 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:24 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:26 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:3 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:28 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:30 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:32 of +msgid "The modified channel as new object" +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:1 of +msgid "Sets the name of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:3 of +msgid "The new name of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.lock:5 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:5 +#: interactions.api.models.channel.Channel.set_bitrate:5 +#: interactions.api.models.channel.Channel.set_name:5 +#: interactions.api.models.channel.Channel.set_nsfw:5 +#: interactions.api.models.channel.Channel.set_parent_id:5 +#: interactions.api.models.channel.Channel.set_position:5 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:5 +#: interactions.api.models.channel.Channel.set_topic:5 +#: interactions.api.models.channel.Channel.set_user_limit:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:7 +#: interactions.api.models.channel.Channel.lock:7 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:7 +#: interactions.api.models.channel.Channel.set_bitrate:7 +#: interactions.api.models.channel.Channel.set_name:7 +#: interactions.api.models.channel.Channel.set_nsfw:7 +#: interactions.api.models.channel.Channel.set_parent_id:7 +#: interactions.api.models.channel.Channel.set_position:7 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:7 +#: interactions.api.models.channel.Channel.set_topic:7 +#: interactions.api.models.channel.Channel.set_user_limit:7 of +msgid "The edited channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:1 of +msgid "Sets the topic of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:3 of +msgid "The new topic of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:1 of +msgid "Sets the bitrate of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:3 of +msgid "The new bitrate of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:1 of +msgid "Sets the user_limit of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:3 of +msgid "The new user limit of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:1 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:1 of +msgid "Sets the position of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:3 of +msgid "The new rate_limit_per_user of the channel (0-21600)" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:3 of +msgid "The new position of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:1 of +msgid "Sets the parent_id of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:3 of +msgid "The new parent_id of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:1 of +msgid "Sets the nsfw-flag of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:3 of +msgid "The new nsfw-flag of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:1 of +msgid "Sets the archived state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.archive:3 of +msgid "Whether the Thread is archived, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:5 of +msgid "The reason of the archiving" +msgstr "" + +#: interactions.api.models.channel.Channel.set_auto_archive_duration:1 of +msgid "Sets the time after the thread is automatically archived." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:1 of +msgid "Sets the locked state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:3 of +msgid "Whether the Thread is locked, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:1 of +msgid "This adds a member to the channel, if the channel is a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:3 of +msgid "The id of the member to add to the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:1 of +msgid "Pins a message to the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:3 of +msgid "The id of the message to pin" +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:1 of +msgid "Unpins a message from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:3 of +msgid "The id of the message to unpin" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in the channel to any that " +"is followed by." +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:3 of +msgid "The id of the message to publish" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:5 of +msgid "The message published" +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:1 of +msgid "Get all pinned messages from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:3 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:1 of +msgid "Gets a message sent in that channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:3 of +msgid "The message as object" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:1 of +msgid "" +"Purges a given amount of messages from a channel. You can specify a check" +" function to exclude specific messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:3 of +msgid "" +"Calling this method can lead to rate-limits when purging higher amounts " +"of messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:11 of +msgid "The amount of messages to delete" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:13 of +msgid "" +"The function used to check if a message should be deleted. The message is" +" only deleted if the check returns `True`" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:15 of +msgid "An id of a message to purge only messages before that message" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:17 of +msgid "" +"Whether to bulk delete the messages (you cannot delete messages older " +"than 14 days, default) or to delete every message seperately" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:18 of +msgid "Optional[bool]" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:19 of +msgid "The reason of the deletes" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:21 of +msgid "A list of the deleted messages" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:1 of +msgid "Creates a thread in the Channel." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:8 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:10 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:12 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:14 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:16 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:1 of +msgid "Creates an invite for the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:3 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for text channels." +"Duration of invite in seconds before expiry, or 0 for never. between 0 " +"and 604800 (7 days). Default 86400 (24h)" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:5 of +msgid "Max number of uses or 0 for unlimited. between 0 and 100. Default 0" msgstr "" -#: interactions.api.models.channel.DMChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:7 of +msgid "Whether this invite only grants temporary membership. Default False" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:9 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for DM channels." +"If true, don't try to reuse a similar invite (useful for creating many " +"unique one time use invites). Default False" msgstr "" -#: interactions.api.models.channel.ThreadChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:11 of +msgid "The type of target for this voice channel invite" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:13 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for thread channels." +"The id of the user whose stream to display for this invite, required if " +"target_type is STREAM, the user must be streaming in the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:15 of +msgid "" +"The id of the embedded application to open for this invite, required if " +"target_type is EMBEDDED_APPLICATION, the application must have the " +"EMBEDDED flag" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:17 of +msgid "The reason for the creation of the invite" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:1 of +msgid "Gets messages from the channel's history." +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:3 of +msgid "The amount of messages to get. Default 100" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:5 of +msgid "A list of messages" +msgstr "" + +#: interactions.api.models.channel.Channel.get_webhooks:1 of +msgid "Gets a list of webhooks of that channel" +msgstr "" + +#: interactions.api.models.channel.ThreadMember:1 of +msgid "A class object representing a member in a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:4 of +msgid "" +"``id`` only shows if there are active intents involved with the member in" +" the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:7 of +msgid "The \"ID\" or intents of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:8 of +msgid "The user ID of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:9 of +msgid "The timestamp of when the member joined the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:10 of +msgid "The bitshift flags for the member in the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:11 of +msgid "Whether the member is muted or not." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:1 of +msgid "A class object representing the metadata of a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:4 of +msgid "" +"``invitable`` will only show if the thread can have an invited created " +"with the current cached permissions." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:7 of +msgid "The current thread accessibility state." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:8 of +msgid "The auto-archive time." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:9 of +msgid "The timestamp that the thread will be/has been closed at." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:10 of +msgid "The current message state of the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:11 of +msgid "The ability to invite users to the thread." msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.flags.po b/docs/locale/it/LC_MESSAGES/api.models.flags.po new file mode 100644 index 000000000..6b44fd0d5 --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/api.models.flags.po @@ -0,0 +1,64 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.flags.rst:4 +msgid "Flag Bitshift Models" +msgstr "" + +#: interactions.api.models.flags.Intents:1 of +msgid "" +"An integer flag bitshift object representing flags respective for each " +"gateway intent type." +msgstr "" + +#: interactions.api.models.flags.AppFlags:1 of +msgid "" +"An integer flag bitshift object representing the different application " +"flags given by Discord." +msgstr "" + +#: interactions.api.models.flags.StatusType:1 of +msgid "" +"An enumerable object representing Discord status icons that a user may " +"have." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.api.models.flags.UserFlags:1 of +msgid "" +"An integer flag bitshift object representing the different user flags " +"given by Discord." +msgstr "" + +#: interactions.api.models.flags.Permissions:1 of +msgid "" +"An integer flag bitshift object representing the different member " +"permissions given by Discord." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.guild.po b/docs/locale/it/LC_MESSAGES/api.models.guild.po index f2c1dd57a..795f3c96e 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.guild.po +++ b/docs/locale/it/LC_MESSAGES/api.models.guild.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,68 +22,166 @@ msgstr "" msgid "Guild Models" msgstr "" -#: interactions.api.models.guild.GuildFeature:1 of -msgid "" -"An enumerable string-formatted class representing all of the features a " -"guild can have." +#: interactions.api.models.guild.VerificationLevel:1 of +msgid "An enumerable object representing the verification level of a guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:1 of -msgid "A class object representing a welcome channel on the welcome screen." +#: interactions.api.models.guild.EntityType:1 of +msgid "An enumerable object representing the type of event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:4 of +#: interactions.api.models.guild.DefaultMessageNotificationLevel:1 of msgid "" -"``emoji_id`` and ``emoji_name`` are given values respectively if the " -"welcome channel uses an emoji." +"An enumerable object representing the default message notification level " +"of a guild." +msgstr "" + +#: interactions.api.models.guild.EventMetadata:1 of +msgid "A class object representing the metadata of an event entity." msgstr "" +#: interactions.api.models.guild.EventMetadata #: interactions.api.models.guild.Guild #: interactions.api.models.guild.GuildPreview +#: interactions.api.models.guild.GuildTemplate +#: interactions.api.models.guild.Integration +#: interactions.api.models.guild.Invite +#: interactions.api.models.guild.ScheduledEvents #: interactions.api.models.guild.StageInstance +#: interactions.api.models.guild.UnavailableGuild #: interactions.api.models.guild.WelcomeChannels #: interactions.api.models.guild.WelcomeScreen of msgid "Variables" msgstr "" -#: interactions.api.models.guild.WelcomeChannels:7 of -msgid "The ID of the welcome channel." +#: interactions.api.models.guild.EventMetadata:3 of +msgid "The location of the event, if any." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:8 of -msgid "The description of the welcome channel." +#: interactions.api.models.guild.EventStatus:1 of +msgid "An enumerable object representing the status of an event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:9 of -msgid "The ID of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:1 of +msgid "An object representing the snapshot of an existing guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:10 of -msgid "The name of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:3 of +msgid "The code of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:1 of -msgid "A class object representing the welcome screen shown for community guilds." +#: interactions.api.models.guild.GuildTemplate:4 of +msgid "The name of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:4 of -msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +#: interactions.api.models.guild.GuildTemplate:5 of +msgid "The description of the guild template, if given." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:6 of -msgid "We assume it's for the welcome screen topic." +#: interactions.api.models.guild.GuildTemplate:6 of +msgid "The amount of uses on the template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:8 of -msgid "The description of the welcome sceen." +#: interactions.api.models.guild.GuildTemplate:7 of +msgid "User ID of the creator of this template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:9 of -msgid "A list of welcome channels of the welcome screen." +#: interactions.api.models.guild.GuildTemplate:8 of +msgid "The User object of the creator of this template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:9 of +msgid "The time when this template was created." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:10 of +msgid "The time when this template was updated." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:11 of +msgid "The Guild ID that the template sourced from." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:12 of +msgid "A partial Guild object from the sourced template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:13 of +msgid "A status that denotes if the changes are unsynced." +msgstr "" + +#: interactions.api.models.guild.Integration:1 of +msgid "A class object representing an integration in a guild." +msgstr "" + +#: interactions.api.models.guild.Integration:3 of +msgid "The ID of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:4 of +msgid "The name of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:5 of +msgid "The type of integration." +msgstr "" + +#: interactions.api.models.guild.Integration:6 of +msgid "Whether the integration is enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:7 of +msgid "Whether the integration is syncing or not." +msgstr "" + +#: interactions.api.models.guild.Integration:8 of +msgid "The role ID that the integration uses for \"subscribed\" users." +msgstr "" + +#: interactions.api.models.guild.Integration:9 of +msgid "Whether emoticons should be enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:10 of +msgid "The expiration behavior of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:11 of +msgid "" +"The \"grace period\" of the integration when expired -- how long it can " +"still be used." +msgstr "" + +#: interactions.api.models.guild.Integration:12 of +msgid "The user of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:13 of +msgid "The account of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:14 of +msgid "The time that the integration was last synced." +msgstr "" + +#: interactions.api.models.guild.Integration:15 of +msgid "The current subscriber count of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:16 of +msgid "Whether the integration was revoked for use or not." +msgstr "" + +#: interactions.api.models.guild.Integration:17 of +msgid "The application used for the integration." +msgstr "" + +#: interactions.api.models.guild.InviteTargetType:1 of +msgid "An enumerable object representing the different invite target types" msgstr "" #: interactions.api.models.guild.StageInstance:1 of -msgid "A class object representing an instace of a stage channel in a guild." +msgid "A class object representing an instance of a stage channel in a guild." msgstr "" #: interactions.api.models.guild.StageInstance:3 of @@ -110,6 +208,154 @@ msgstr "" msgid "Whether the stage can be seen from the stage discovery." msgstr "" +#: interactions.api.models.guild.UnavailableGuild:1 of +msgid "A class object representing how a guild that is unavailable." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:4 of +msgid "" +"This object only seems to show up during the connection process of the " +"client to the Gateway when the ``READY`` event is dispatched. This event " +"will pass fields with ``guilds`` where this becomes present." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:9 of +msgid "The ID of the unavailable guild." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:10 of +msgid "Whether the guild is unavailable or not." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:1 of +msgid "A class object representing a welcome channel on the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:4 of +msgid "" +"``emoji_id`` and ``emoji_name`` are given values respectively if the " +"welcome channel uses an emoji." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:7 of +msgid "The ID of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:8 of +msgid "The description of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:9 of +msgid "The ID of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:10 of +msgid "The name of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.ExplicitContentFilterLevel:1 of +msgid "" +"An enumerable object representing the explicit content filter level of a " +"guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:1 of +msgid "A class object representing the scheduled events of a guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:19 +#: interactions.api.models.guild.ScheduledEvents:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:1 of +msgid "A class object representing the welcome screen shown for community guilds." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:4 of +msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:6 of +msgid "We assume it's for the welcome screen topic." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:8 of +msgid "The description of the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:9 of +msgid "A list of welcome channels of the welcome screen." +msgstr "" + #: interactions.api.models.guild.Guild:1 of msgid "A class object representing how a guild is registered." msgstr "" @@ -122,17 +368,17 @@ msgid "" msgstr "" #: interactions.api.models.guild.Guild:8 -#: interactions.api.models.guild.GuildPreview:6 of +#: interactions.api.models.guild.GuildPreview:3 of msgid "The ID of the guild." msgstr "" #: interactions.api.models.guild.Guild:9 -#: interactions.api.models.guild.GuildPreview:7 of +#: interactions.api.models.guild.GuildPreview:4 of msgid "The name of the guild." msgstr "" #: interactions.api.models.guild.Guild:10 -#: interactions.api.models.guild.GuildPreview:8 of +#: interactions.api.models.guild.GuildPreview:5 of msgid "The icon of the guild." msgstr "" @@ -141,12 +387,12 @@ msgid "The hashed version of the icon of the guild." msgstr "" #: interactions.api.models.guild.Guild:12 -#: interactions.api.models.guild.GuildPreview:9 of +#: interactions.api.models.guild.GuildPreview:6 of msgid "The invite splash banner of the guild." msgstr "" #: interactions.api.models.guild.Guild:13 -#: interactions.api.models.guild.GuildPreview:10 of +#: interactions.api.models.guild.GuildPreview:7 of msgid "The discovery splash banner of the guild." msgstr "" @@ -199,12 +445,12 @@ msgid "The list of roles in the guild." msgstr "" #: interactions.api.models.guild.Guild:26 -#: interactions.api.models.guild.GuildPreview:11 of +#: interactions.api.models.guild.GuildPreview:8 of msgid "The list of emojis from the guild." msgstr "" #: interactions.api.models.guild.Guild:27 -#: interactions.api.models.guild.GuildPreview:12 of +#: interactions.api.models.guild.GuildPreview:9 of msgid "The list of features of the guild." msgstr "" @@ -241,96 +487,1250 @@ msgid "The amount of members in the guild." msgstr "" #: interactions.api.models.guild.Guild:36 of -msgid "The list of presences in the guild." +msgid "The members in the guild." msgstr "" #: interactions.api.models.guild.Guild:37 of -msgid "The maximum amount of presences allowed in the guild." +msgid "The channels in the guild." msgstr "" #: interactions.api.models.guild.Guild:38 of -msgid "The maximum amount of members allowed in the guild." +msgid "All known threads in the guild." msgstr "" #: interactions.api.models.guild.Guild:39 of +msgid "The list of presences in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:40 of +msgid "The maximum amount of presences allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:41 of +msgid "The maximum amount of members allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:42 of msgid "The vanity URL of the guild." msgstr "" -#: interactions.api.models.guild.Guild:40 -#: interactions.api.models.guild.GuildPreview:15 of +#: interactions.api.models.guild.Guild:43 +#: interactions.api.models.guild.GuildPreview:12 of msgid "The description of the guild." msgstr "" -#: interactions.api.models.guild.Guild:41 of +#: interactions.api.models.guild.Guild:44 of msgid "The banner of the guild." msgstr "" -#: interactions.api.models.guild.Guild:42 of +#: interactions.api.models.guild.Guild:45 of msgid "The server boost level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:43 of +#: interactions.api.models.guild.Guild:46 of msgid "The amount of server boosters in the guild." msgstr "" -#: interactions.api.models.guild.Guild:44 of +#: interactions.api.models.guild.Guild:47 of msgid "The \"preferred\" local region of the guild." msgstr "" -#: interactions.api.models.guild.Guild:45 of +#: interactions.api.models.guild.Guild:48 of msgid "The channel ID for community updates of the guild." msgstr "" -#: interactions.api.models.guild.Guild:46 of +#: interactions.api.models.guild.Guild:49 of msgid "" "The maximum amount of video streaming members in a channel allowed in a " "guild." msgstr "" -#: interactions.api.models.guild.Guild:47 -#: interactions.api.models.guild.GuildPreview:13 of +#: interactions.api.models.guild.Guild:50 +#: interactions.api.models.guild.GuildPreview:10 of msgid "The approximate amount of members in the guild." msgstr "" -#: interactions.api.models.guild.Guild:48 -#: interactions.api.models.guild.GuildPreview:14 of +#: interactions.api.models.guild.Guild:51 +#: interactions.api.models.guild.GuildPreview:11 of msgid "The approximate amount of presences in the guild." msgstr "" -#: interactions.api.models.guild.Guild:49 of +#: interactions.api.models.guild.Guild:52 of msgid "The welcome screen of the guild." msgstr "" -#: interactions.api.models.guild.Guild:50 of +#: interactions.api.models.guild.Guild:53 of msgid "The NSFW safety filter level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:51 of +#: interactions.api.models.guild.Guild:54 of msgid "The stage instance of the guild." msgstr "" -#: interactions.api.models.guild.Guild:52 of +#: interactions.api.models.guild.Guild:55 of msgid "The list of stickers from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:1 of -msgid "A model representing the preview of a guild." +#: interactions.api.models.guild.Guild:56 of +msgid "Whether the guild has the boost progress bar enabled." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of -msgid ".. note::" +#: interactions.api.models.guild.Guild.ban:1 of +msgid "Bans a member from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of +#: interactions.api.models.guild.Guild.add_member_role +#: interactions.api.models.guild.Guild.ban +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_emoji +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.delete_channel +#: interactions.api.models.guild.Guild.delete_emoji +#: interactions.api.models.guild.Guild.delete_role +#: interactions.api.models.guild.Guild.delete_scheduled_event +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.kick +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.remove_ban +#: interactions.api.models.guild.Guild.remove_member_role +#: interactions.api.models.guild.Guild.search_members +#: interactions.api.models.guild.Guild.set_afk_channel +#: interactions.api.models.guild.Guild.set_afk_timeout +#: interactions.api.models.guild.Guild.set_banner +#: interactions.api.models.guild.Guild.set_default_message_notifications +#: interactions.api.models.guild.Guild.set_description +#: interactions.api.models.guild.Guild.set_discovery_splash +#: interactions.api.models.guild.Guild.set_explicit_content_filter +#: interactions.api.models.guild.Guild.set_icon +#: interactions.api.models.guild.Guild.set_name +#: interactions.api.models.guild.Guild.set_preferred_locale +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled +#: interactions.api.models.guild.Guild.set_public_updates_channel +#: interactions.api.models.guild.Guild.set_rules_channel +#: interactions.api.models.guild.Guild.set_splash +#: interactions.api.models.guild.Guild.set_system_channel +#: interactions.api.models.guild.Guild.set_verification_level of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:3 of +msgid "The id of the member to ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:1 of +msgid "Removes the ban of a user." +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:3 of +msgid "The id of the user to remove the ban from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:5 of +msgid "The reason for the removal of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:1 of +msgid "Kicks a member from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.kick:3 of +msgid "The id of the member to kick" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:4 of msgid "" -"This refers to the documentation `here " -"_`" +":type role Union[Role, int] :param member_id: The id of the member to add" +" the roles to :type member_id: int :param reason?: The reason why the " +"roles are added :type reason: Optional[str]" msgstr "" -#: interactions.api.models.guild.Invite:1 of -msgid "The invite object." +#: interactions.api.models.guild.Guild.remove_member_role:1 of +msgid "This method removes a or multiple role(s) from a member." msgstr "" -#: interactions.api.models.guild.GuildTemplate:1 of -msgid "An object representing the snapshot of an existing guild." +#: interactions.api.models.guild.Guild.remove_member_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:5 of +msgid "The id of the member to remove the roles from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:1 of +msgid "Creates a new role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:3 of +msgid "The name of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:5 of +msgid "RGB color value as integer, default ``0``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:7 of +msgid "Bitwise value of the enabled/disabled permissions" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:9 of +msgid "" +"Whether the role should be displayed separately in the sidebar, default " +"``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:11 of +msgid "The role's icon image (if the guild has the ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:13 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:15 of +msgid "Whether the role should be mentionable, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:17 of +msgid "The reason why the role is created, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Returns" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:19 of +msgid "The created Role" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Return type" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:1 of +msgid "" +"Searches for the member with specified id in the guild and returns the " +"member as member object." +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:3 of +msgid "The id of the member to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:5 of +msgid "The member searched for" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:1 of +msgid "Deletes a channel from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:3 of +msgid "The id of the channel to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:1 of +msgid "Deletes a role from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:3 of +msgid "The id of the role to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:5 +#: interactions.api.models.guild.Guild.delete_role:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:1 of +msgid "Edits a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:3 of +msgid "The id of the role to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:9 of +msgid "" +"Bitwise value of the enabled/disabled permissions, defaults to the " +"current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:1 of +msgid "Creates a thread in the specified channel." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:5 of +msgid "The id of the channel to create the thread in" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:7 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:10 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:12 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:14 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:16 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:18 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:1 of +msgid "Creates a channel in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:3 of +msgid "The name of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:5 of +msgid "The type of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:7 of +msgid "The topic of that channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:9 of +msgid "(voice channel only) The bitrate (in bits) of the voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:11 of +msgid "(voice channel only) Maximum amount of users in the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:13 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:15 of +msgid "Sorting position of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:17 of +msgid "The id of the parent category for a channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:19 +#: interactions.api.models.guild.Guild.modify_channel:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:21 of +msgid "Whether the channel is nsfw or not, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:23 of +msgid "The reason for the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:25 of +msgid "The created channel" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:1 of +msgid "Clones a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:3 of +msgid "The id of the channel to clone" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:5 of +msgid "The cloned channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:1 of +msgid "Edits a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:6 of +msgid "The id of the channel to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:8 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:10 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:12 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:14 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:16 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:18 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:20 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:24 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:26 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:28 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:30 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:32 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:34 of +msgid "The modified channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:1 of +msgid "Modifies a member of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:3 of +msgid "The id of the member to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:19 of +msgid "The modified member" +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:1 of +msgid "Get the guild's preview." +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:3 of +msgid "the guild preview as object" +msgstr "" + +#: interactions.api.models.guild.Guild.leave:1 of +msgid "Removes the bot from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:1 of +msgid "Modifies the current guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:3 +#: interactions.api.models.guild.Guild.set_afk_channel:3 +#: interactions.api.models.guild.Guild.set_name:3 of +msgid "The new name of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:5 of +msgid "The verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:7 of +msgid "The default message notification level for members" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:9 of +msgid "The explicit content filter level for media content" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:11 of +msgid "The id for the afk voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:13 of +msgid "Afk timeout in seconds" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:15 of +msgid "" +"1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when" +" the server has the ANIMATED_ICON feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:17 of +msgid "" +"The id of the user to transfer the guild ownership to. You must be the " +"owner to perform this" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:19 of +msgid "" +"16:9 png/jpeg image for the guild splash (when the server has the " +"INVITE_SPLASH feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:21 of +msgid "" +"16:9 png/jpeg image for the guild discovery splash (when the server has " +"the DISCOVERABLE feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:23 of +msgid "" +"16:9 png/jpeg image for the guild banner (when the server has the BANNER " +"feature; can be animated gif when the server has the ANIMATED_BANNER " +"feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:25 of +msgid "" +"The id of the channel where guild notices such as welcome messages and " +"boost events are posted" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:27 of +msgid "Whether to suppress member join notifications in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:29 of +msgid "" +"Whether to suppress server boost notifications in the system channel or " +"not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:31 of +msgid "Whether to suppress server setup tips in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:33 of +msgid "" +"Whether to hide member join sticker reply buttons in the system channel " +"or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:35 of +msgid "The id of the channel where guilds display rules and/or guidelines" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:37 of +msgid "" +"The id of the channel where admins and moderators of community guilds " +"receive notices from Discord" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:39 of +msgid "" +"The preferred locale of a community guild used in server discovery and " +"notices from Discord; defaults to \"en-US\"" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:41 of +msgid "The description for the guild, if the guild is discoverable" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:43 of +msgid "Whether the guild's boost progress bar is enabled" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:45 +#: interactions.api.models.guild.Guild.modify_role_position:7 +#: interactions.api.models.guild.Guild.modify_role_positions:5 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:47 of +msgid "The modified guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_name:1 of +msgid "Sets the name of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:5 +#: interactions.api.models.guild.Guild.set_afk_timeout:5 +#: interactions.api.models.guild.Guild.set_banner:5 +#: interactions.api.models.guild.Guild.set_default_message_notifications:5 +#: interactions.api.models.guild.Guild.set_description:5 +#: interactions.api.models.guild.Guild.set_discovery_splash:5 +#: interactions.api.models.guild.Guild.set_explicit_content_filter:5 +#: interactions.api.models.guild.Guild.set_icon:5 +#: interactions.api.models.guild.Guild.set_name:5 +#: interactions.api.models.guild.Guild.set_preferred_locale:5 +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:5 +#: interactions.api.models.guild.Guild.set_public_updates_channel:5 +#: interactions.api.models.guild.Guild.set_rules_channel:5 +#: interactions.api.models.guild.Guild.set_splash:5 +#: interactions.api.models.guild.Guild.set_system_channel:5 +#: interactions.api.models.guild.Guild.set_verification_level:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:1 of +msgid "Sets the verification level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:3 of +msgid "The new verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:1 of +msgid "Sets the default message notifications level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:3 of +msgid "The new default message notification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:1 of +msgid "Sets the explicit content filter level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:3 of +msgid "The new explicit content filter level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:1 of +msgid "Sets the afk channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:1 of +msgid "Sets the afk timeout of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:3 of +msgid "The new afk timeout of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:1 of +msgid "Sets the system channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:3 of +msgid "The new system channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:1 of +msgid "Sets the rules channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:3 of +msgid "The new rules channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:1 of +msgid "Sets the public updates channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:3 of +msgid "The new public updates channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:1 of +msgid "Sets the preferred locale of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:3 of +msgid "The new preferredlocale of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:1 of +msgid "Sets the description of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:3 of +msgid "The new description of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:1 of +msgid "Sets the visibility of the premium progress bar of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:3 of +msgid "Whether the bar is enabled or not" +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:1 of +msgid "Sets the icon of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:3 of +msgid "The new icon of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:1 of +msgid "Sets the splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:3 of +msgid "The new splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:1 of +msgid "Sets the discovery_splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:3 of +msgid "The new discovery_splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:1 of +msgid "Sets the banner of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:3 of +msgid "The new banner of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:1 of +msgid "creates a scheduled event for the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:3 +#: interactions.api.models.guild.Guild.modify_scheduled_event:5 of +msgid "The name of the event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:5 +#: interactions.api.models.guild.Guild.modify_scheduled_event:7 of +msgid "The entity type of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:7 +#: interactions.api.models.guild.Guild.modify_scheduled_event:9 of +msgid "The time to schedule the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:9 +#: interactions.api.models.guild.Guild.modify_scheduled_event:11 of +msgid "The time when the scheduled event is scheduled to end" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:11 +#: interactions.api.models.guild.Guild.modify_scheduled_event:13 of +msgid "The entity metadata of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:13 +#: interactions.api.models.guild.Guild.modify_scheduled_event:15 of +msgid "The channel id of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:15 +#: interactions.api.models.guild.Guild.modify_scheduled_event:17 of +msgid "The description of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:17 +#: interactions.api.models.guild.Guild.modify_scheduled_event:21 of +msgid "The cover image of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:19 of +msgid "The created event" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:1 of +msgid "Edits a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:3 of +msgid "The id of the event to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:23 of +msgid "The modified event" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:1 of +msgid "Deletes a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:3 of +msgid "The id of the event to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:1 of +msgid "Gets all channels of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:3 of +msgid "The channels of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:1 of +msgid "Gets all roles of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:3 of +msgid "The roles of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:1 of +msgid "Gets a role of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:3 of +msgid "The id of the role to get" +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:5 of +msgid "The role as object" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:3 of +msgid "The id of the role to modify the position of" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:9 +#: interactions.api.models.guild.Guild.modify_role_positions:7 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:1 of +msgid "Modifies the positions of multiple roles in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:3 of +msgid "A list of dicts containing roles (id) and their new positions (position)" +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:3 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:5 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:7 of +msgid "Consider only users after the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:3 +#: interactions.api.models.guild.Guild.get_bans:9 of +msgid "List of banned users with reasons" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:1 of +msgid "Gets all bans of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:1 of +msgid "Gets an emoji of the guild and returns it." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:3 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:5 of +msgid "The specified Emoji, if found" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:1 of +msgid "Gets all emojis of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:3 of +msgid "All emojis of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:1 of +msgid "Creates an Emoji in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:3 of +msgid "The image of the emoji." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:5 of +msgid "The name of the emoji. If not specified, the filename will be used" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:7 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:9 of +msgid "The reason of the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:1 of +msgid "Deletes an emoji of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:3 of +msgid "The emoji or the id of the emoji to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:1 of +msgid "Lists the members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:3 of +msgid "How many members to get from the API. Max is 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:5 of +msgid "Get only Members after this member." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:7 of +msgid "A list of members" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:1 of +msgid "" +"Search the guild for members whose username or nickname starts with " +"provided string." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:3 of +msgid "The string to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:5 of +msgid "The number of members to return." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:7 of +msgid "A list of matching members" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:1 of +msgid "Gets all members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:3 of +msgid "Calling this method can lead to rate-limits in larger guilds." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:5 of +msgid "Returns a list of all members of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.icon_url:1 of +msgid "" +"Returns the URL of the guild's icon. :return: URL of the guild's icon " +"(None will be returned if no icon is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.banner_url:1 of +msgid "" +"Returns the URL of the guild's banner. :return: URL of the guild's banner" +" (None will be returned if no banner is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.splash_url:1 of +msgid "" +"Returns the URL of the guild's invite splash banner. :return: URL of the " +"guild's invite splash banner (None will be returned if no banner is set) " +":rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.discovery_splash_url:1 of +msgid "" +"Returns the URL of the guild's discovery splash banner. :return: URL of " +"the guild's discovery splash banner (None will be returned if no banner " +"is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.GuildPreview:1 of +msgid "A class object representing the preview of a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:1 of +msgid "The invite object." +msgstr "" + +#: interactions.api.models.guild.Invite:3 of +msgid "The amount of uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:4 of +msgid "The amount of maximum uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:5 of +msgid "The maximum age of this invite, in seconds." +msgstr "" + +#: interactions.api.models.guild.Invite:6 of +msgid "A detection of whether this invite only grants temporary membership." +msgstr "" + +#: interactions.api.models.guild.Invite:7 of +msgid "The time when this invite was created." +msgstr "" + +#: interactions.api.models.guild.Invite:8 of +msgid "The time when this invite will expire." +msgstr "" + +#: interactions.api.models.guild.Invite:9 of +msgid "The type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:10 of +msgid "The user who created this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:11 of +msgid "The code of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:12 of +msgid "The guild ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:13 of +msgid "The channel ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:14 of +msgid "The type of the target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:15 of +msgid "The target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:16 of +msgid "The target type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:17 of +msgid "The guild of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:18 of +msgid "The channel of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:19 of +msgid "The approximate amount of total members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:20 of +msgid "The aprpoximate amount of online members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:21 of +msgid "A scheduled guild event object included in the invite." +msgstr "" + +#: interactions.api.models.guild.Invite.delete:1 of +msgid "Deletes the invite" msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.gw.po b/docs/locale/it/LC_MESSAGES/api.models.gw.po new file mode 100644 index 000000000..ffa9c1972 --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/api.models.gw.po @@ -0,0 +1,678 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.gw.rst:4 +msgid "Gateway-specific Event Models" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:1 of +msgid "" +"A class object representing the gateway event " +"``APPLICATION_COMMAND_PERMISSIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:3 of +msgid "" +"This is undocumented by the Discord API, so these attribute docs may or " +"may not be finalised." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions +#: interactions.api.models.gw.ChannelPins +#: interactions.api.models.gw.EmbeddedActivity +#: interactions.api.models.gw.GuildBan interactions.api.models.gw.GuildEmojis +#: interactions.api.models.gw.GuildIntegrations +#: interactions.api.models.gw.GuildJoinRequest +#: interactions.api.models.gw.GuildMember +#: interactions.api.models.gw.GuildMembers interactions.api.models.gw.GuildRole +#: interactions.api.models.gw.GuildScheduledEvent +#: interactions.api.models.gw.GuildScheduledEventUser +#: interactions.api.models.gw.GuildStickers +#: interactions.api.models.gw.Integration +#: interactions.api.models.gw.MessageReaction +#: interactions.api.models.gw.Presence +#: interactions.api.models.gw.ReactionRemove +#: interactions.api.models.gw.ThreadList +#: interactions.api.models.gw.ThreadMembers interactions.api.models.gw.Webhooks +#: of +msgid "Variables" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:5 of +msgid "The application ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:6 of +msgid "The guild ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:7 of +msgid "The ID of the command associated with the event. (?)" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:8 of +msgid "The updated permissions of the associated command/event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:1 of +msgid "A class object representing the event ``EMBEDDED_ACTIVITY_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:4 +#: interactions.api.models.gw.GuildJoinRequest:4 of +msgid "This is entirely undocumented by the API." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:6 of +msgid "The list of users of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:3 +#: interactions.api.models.gw.EmbeddedActivity:7 +#: interactions.api.models.gw.GuildBan:3 +#: interactions.api.models.gw.GuildEmojis:3 +#: interactions.api.models.gw.GuildIntegrations:3 +#: interactions.api.models.gw.GuildJoinRequest:7 +#: interactions.api.models.gw.GuildMember:3 +#: interactions.api.models.gw.GuildMembers:3 +#: interactions.api.models.gw.GuildRole:3 +#: interactions.api.models.gw.GuildStickers:3 +#: interactions.api.models.gw.Integration:23 +#: interactions.api.models.gw.MessageReaction:6 +#: interactions.api.models.gw.Presence:4 +#: interactions.api.models.gw.ReactionRemove:10 +#: interactions.api.models.gw.ThreadList:3 +#: interactions.api.models.gw.ThreadMembers:4 of +msgid "The guild ID of the event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:8 of +msgid "The embedded presence activity of the associated event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:4 +#: interactions.api.models.gw.EmbeddedActivity:9 +#: interactions.api.models.gw.MessageReaction:4 +#: interactions.api.models.gw.ReactionRemove:8 of +msgid "The channel ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:1 of +msgid "" +"A class object representing the gateway events ``INTEGRATION_CREATE``, " +"``INTEGRATION_UPDATE`` and ``INTEGRATION_DELETE``." +msgstr "" + +#: interactions.api.models.gw.Integration:4 of +msgid "" +"The documentation of this event is the same as " +":class:`interactions.api.models.guild.Guild`. The only key missing " +"attribute is ``guild_id``. Likewise, the documentation below reflects " +"this." +msgstr "" + +#: interactions.api.models.gw.Integration:8 +#: interactions.api.models.gw.ThreadMembers:3 of +msgid "The ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:9 of +msgid "The name of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:10 of +msgid "The type of integration in the event." +msgstr "" + +#: interactions.api.models.gw.Integration:11 of +msgid "Whether the integration of the event is enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:12 of +msgid "Whether the integration of the event is syncing or not." +msgstr "" + +#: interactions.api.models.gw.Integration:13 of +msgid "" +"The role ID that the integration in the event uses for \"subscribed\" " +"users." +msgstr "" + +#: interactions.api.models.gw.Integration:14 of +msgid "Whether emoticons of the integration's event should be enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:15 of +msgid "The expiration behavior of the integration of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:16 of +msgid "" +"The \"grace period\" of the integration of the event when expired -- how " +"long it can still be used." +msgstr "" + +#: interactions.api.models.gw.GuildBan:4 +#: interactions.api.models.gw.GuildMember:5 +#: interactions.api.models.gw.Integration:17 +#: interactions.api.models.gw.Presence:3 of +msgid "The user of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:18 of +msgid "The account of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:19 of +msgid "The time that the integration of the event was last synced." +msgstr "" + +#: interactions.api.models.gw.Integration:20 of +msgid "The current subscriber count of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:21 of +msgid "Whether the integration of the event was revoked for use or not." +msgstr "" + +#: interactions.api.models.gw.Integration:22 of +msgid "The application used for the integration of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:1 of +msgid "A class object representing the gateway event ``CHANNEL_PINS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:5 of +msgid "The time that the event took place." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:1 of +msgid "A class object representing the gateway event ``THREAD_MEMBERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:5 of +msgid "The member count of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:6 of +msgid "The added members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:7 of +msgid "The removed IDs of members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:1 of +msgid "A class object representing the gateway event ``THREAD_LIST_SYNC``." +msgstr "" + +#: interactions.api.models.gw.ThreadList:4 of +msgid "The channel IDs of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:5 of +msgid "The threads of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:6 of +msgid "The members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:1 of +msgid "" +"A class object representing the gateway events " +"``MESSAGE_REACTION_REMOVE``, ``MESSAGE_REACTION_REMOVE_ALL`` and " +"``MESSAGE_REACTION_REMOVE_EMOJI``." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:4 of +msgid "" +"This class inherits the already existing attributes of " +":class:`interactions.api.models.gw.Reaction`. The main missing attribute " +"is ``member``." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:6 +#: interactions.api.models.gw.MessageReaction:3 +#: interactions.api.models.gw.ReactionRemove:7 of +msgid "The user ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:5 +#: interactions.api.models.gw.ReactionRemove:9 of +msgid "The message ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:8 +#: interactions.api.models.gw.ReactionRemove:11 of +msgid "The emoji of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:1 of +msgid "A class object representing the gateway event ``MESSAGE_REACTION_ADD``." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:7 of +msgid "The member of the event." +msgstr "" + +#: interactions.api.models.gw.GuildIntegrations:1 of +msgid "" +"A class object representing the gateway event " +"``GUILD_INTEGRATIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildBan:1 of +msgid "A class object representing the gateway event ``GUILD_BAN_ADD``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:1 of +msgid "A class object representing the gateway event ``WEBHOOKS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:3 of +msgid "The channel ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.Webhooks:4 of +msgid "The guild ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:1 of +msgid "A class object representing the gateway event ``GUILD_MEMBERS_CHUNK``." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:4 of +msgid "The members of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:5 of +msgid "The current chunk index of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:6 of +msgid "The total chunk count of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:7 of +msgid "A list of not found members in the event if an invalid request was made." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:8 of +msgid "A list of presences in the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:9 of +msgid "The \"nonce\" of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:1 of +msgid "" +"A class object representing the gateway events ``GUILD_MEMBER_ADD``, " +"``GUILD_MEMBER_UPDATE`` and ``GUILD_MEMBER_REMOVE``." +msgstr "" + +#: interactions.api.models.gw.GuildMember:4 of +msgid "The roles of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:6 of +msgid "The nickname of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:7 of +msgid "The avatar URL of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:8 of +msgid "The time that the user of the event joined at." +msgstr "" + +#: interactions.api.models.gw.GuildMember:9 of +msgid "The time that the user of the event has since had \"premium.\"" +msgstr "" + +#: interactions.api.models.gw.GuildMember:10 of +msgid "Whether the member of the event is deafened or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:11 of +msgid "Whether the member of the event is muted or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:12 of +msgid "" +"Whether the member of the event is still pending -- pass membership " +"screening -- or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role +#: interactions.api.models.gw.GuildMember.add_to_thread +#: interactions.api.models.gw.GuildMember.ban +#: interactions.api.models.gw.GuildMember.kick +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.remove_role +#: interactions.api.models.gw.GuildMember.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:3 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:3 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:5 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:5 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:3 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:5 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:7 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:9 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:11 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:13 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:15 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:17 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.gw.GuildStickers:1 of +msgid "A class object representing the gateway event ``GUILD_STICKERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildStickers:4 of +msgid "The stickers of the event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_SCHEDULED_EVENT_USER_ADD`` and " +"``GUILD_SCHEDULED_EVENT_USER_REMOVE``" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:3 of +msgid "The ID of the guild scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:4 of +msgid "The ID of the guild associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:5 of +msgid "The ID of the user associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:1 of +msgid "" +"A class object representing gateway events " +"``GUILD_SCHEDULED_EVENT_CREATE``, ``GUILD_SCHEDULED_EVENT_UPDATE``, " +"``GUILD_SCHEDULED_EVENT_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.gw.Presence:1 of +msgid "A class object representing the gateway event ``PRESENCE_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Presence:5 of +msgid "The status of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:6 of +msgid "The activities of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:7 of +msgid "The client status across platforms in the event." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_JOIN_REQUEST_CREATE``, ``GUILD_JOIN_REQUEST_UPDATE``, and " +"``GUILD_JOIN_REQUEST_DELETE``" +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:1 of +msgid "A class object representing the gateway event ``GUILD_EMOJIS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:4 of +msgid "The emojis of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:1 of +msgid "" +"A class object representing the gateway events ``GUILD_ROLE_CREATE``, " +"``GUILD_ROLE_UPDATE`` and ``GUILD_ROLE_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildRole:4 of +msgid "The role of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:5 of +msgid "The role ID of the event." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.intents.po b/docs/locale/it/LC_MESSAGES/api.models.intents.po deleted file mode 100644 index 0c9461d6f..000000000 --- a/docs/locale/it/LC_MESSAGES/api.models.intents.po +++ /dev/null @@ -1,36 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.intents.rst:4 -msgid "Intents Models" -msgstr "" - -#: interactions.api.models.intents.Intents:1 of -msgid "" -"A class objct representing the bitshift flags respective for each intents" -" type." -msgstr "" - -#: interactions.api.models.intents.Intents:4 of -msgid "" -"Equivalent of `Gateway Intents " -"`_ in" -" the Discord API." -msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.member.po b/docs/locale/it/LC_MESSAGES/api.models.member.po index 8c045b1b5..d616587fa 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.member.po +++ b/docs/locale/it/LC_MESSAGES/api.models.member.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,20 +23,10 @@ msgid "Member Models" msgstr "" #: interactions.api.models.member.Member:1 of -msgid "A class object representing the member of a guild." +msgid "A class object representing the user of a guild, known as a \"member.\"" msgstr "" #: interactions.api.models.member.Member:4 of -msgid "Also known as the guild member class object. (or partial)" -msgstr "" - -#: interactions.api.models.member.Member:6 of -msgid "" -"The methodology, instead of regular d.py conventions is to do member.user" -" to get the pure User object, instead of d.py's option of merging." -msgstr "" - -#: interactions.api.models.member.Member:10 of msgid "" "``pending`` and ``permissions`` only apply for members retroactively " "requiring to verify rules via. membership screening or lack permissions " @@ -47,38 +37,246 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.member.Member:14 of +#: interactions.api.models.member.Member:8 of msgid "The user of the guild." msgstr "" -#: interactions.api.models.member.Member:15 of +#: interactions.api.models.member.Member:9 of msgid "The nickname of the member." msgstr "" -#: interactions.api.models.member.Member:16 of +#: interactions.api.models.member.Member:10 of +msgid "The hash containing the user's guild avatar, if applicable." +msgstr "" + +#: interactions.api.models.member.Member:11 of msgid "The list of roles of the member." msgstr "" -#: interactions.api.models.member.Member:17 of +#: interactions.api.models.member.Member:12 of msgid "The timestamp the member joined the guild at." msgstr "" -#: interactions.api.models.member.Member:18 of +#: interactions.api.models.member.Member:13 of msgid "The timestamp the member has been a server booster since." msgstr "" -#: interactions.api.models.member.Member:19 of +#: interactions.api.models.member.Member:14 of msgid "Whether the member is deafened." msgstr "" -#: interactions.api.models.member.Member:20 of +#: interactions.api.models.member.Member:15 of msgid "Whether the member is muted." msgstr "" -#: interactions.api.models.member.Member:21 of +#: interactions.api.models.member.Member:16 of msgid "Whether the member is pending to pass membership screening." msgstr "" -#: interactions.api.models.member.Member:22 of +#: interactions.api.models.member.Member:17 of msgid "Whether the member has permissions." msgstr "" + +#: interactions.api.models.member.Member:18 of +msgid "How long until they're unmuted, if any." +msgstr "" + +#: interactions.api.models.member.Member.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.member.Member.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.member.Member.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.member.Member.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.member.Member.name:1 of +msgid "Returns the string of either the user's nickname or username." +msgstr "" + +#: interactions.api.models.member.Member.name:3 of +msgid "The name of the member" +msgstr "" + +#: interactions.api.models.member.Member.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.add_role +#: interactions.api.models.member.Member.add_to_thread +#: interactions.api.models.member.Member.ban +#: interactions.api.models.member.Member.kick +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.remove_role +#: interactions.api.models.member.Member.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.member.Member.ban:3 of +msgid "The id of the guild to ban the member from" +msgstr "" + +#: interactions.api.models.member.Member.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.member.Member.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.member.Member.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.kick:3 of +msgid "The id of the guild to kick the member from" +msgstr "" + +#: interactions.api.models.member.Member.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.member.Member.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.member.Member.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.add_role:5 of +msgid "The id of the guild to add the roles to the member" +msgstr "" + +#: interactions.api.models.member.Member.add_role:7 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.member.Member.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:5 of +msgid "The id of the guild to remove the roles of the member" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.member.Member.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.member.Member.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.member.Member.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.member.Member.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.member.Member.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.member.Member.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.member.Member.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.member.Member.modify:3 of +msgid "The id of the guild to modify the member on" +msgstr "" + +#: interactions.api.models.member.Member.modify:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.member.Member.modify:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.member.Member.modify:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.member.Member.modify:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.member.Member.modify:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.member.Member.modify:19 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.member.Member.get_avatar_url:1 of +msgid "" +"Returns the URL of the member's avatar for the specified guild. :param " +"guild_id: The id of the guild to get the member's avatar from :type " +"guild_id: int :return: URL of the members's avatar (None will be returned" +" if no avatar is set) :rtype: str" +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.message.po b/docs/locale/it/LC_MESSAGES/api.models.message.po index a831f2985..1f8521cd0 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.message.po +++ b/docs/locale/it/LC_MESSAGES/api.models.message.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,33 +26,36 @@ msgstr "" msgid "An enumerable object representing the types of messages." msgstr "" -#: interactions.api.models.message.MessageType:3 of -msgid ".. note::" -msgstr "" - -#: interactions.api.models.message.MessageType:4 of -msgid "" -"While all of them are listed, not all of them would be used at this lib's" -" scope." -msgstr "" - #: interactions.api.models.message.MessageActivity:1 of msgid "A class object representing the activity state of a message." msgstr "" #: interactions.api.models.message.MessageActivity:4 of -msgid "``party_id`` is ambigious -- Discord poorly documented this. :)" +msgid "``party_id`` is ambiguous -- Discord poorly documented this. :)" msgstr "" #: interactions.api.models.message.MessageActivity:6 of msgid "" -"We assume it's for game rich presence invites? i.e. : Phasmophobia, Call " -"of Duty" +"We assume it's for game rich presence invites? i.e. : Phasmophobia and " +"Call of Duty." msgstr "" #: interactions.api.models.message.Attachment +#: interactions.api.models.message.ChannelMention +#: interactions.api.models.message.Embed +#: interactions.api.models.message.EmbedAuthor +#: interactions.api.models.message.EmbedField +#: interactions.api.models.message.EmbedFooter +#: interactions.api.models.message.EmbedImageStruct +#: interactions.api.models.message.EmbedProvider +#: interactions.api.models.message.Emoji +#: interactions.api.models.message.Message #: interactions.api.models.message.MessageActivity -#: interactions.api.models.message.MessageReference of +#: interactions.api.models.message.MessageInteraction +#: interactions.api.models.message.MessageReference +#: interactions.api.models.message.PartialSticker +#: interactions.api.models.message.ReactionObject +#: interactions.api.models.message.Sticker of msgid "Variables" msgstr "" @@ -70,8 +73,8 @@ msgstr "" #: interactions.api.models.message.MessageReference:4 of msgid "" -"All of the class instances are optionals because a message can entirely " -"never be referenced." +"All of the attributes in this class are optionals because a message can " +"potentially never be referenced." msgstr "" #: interactions.api.models.message.MessageReference:7 of @@ -97,60 +100,919 @@ msgstr "" #: interactions.api.models.message.Attachment:4 of msgid "" "``height`` and ``width`` have values based off of ``content_type``, which" -" requires it to be a media file with viewabiltiy as a photo, animated " +" requires it to be a media file with viewabiltity as a photo, animated " "photo, GIF and/or video." msgstr "" #: interactions.api.models.message.Attachment:8 of +msgid "" +"If `ephemeral` is given, the attachments will automatically be removed " +"after a set period of time. In the case of regular messages, they're " +"available as long as the message associated with the attachment exists." +msgstr "" + +#: interactions.api.models.message.Attachment:11 of msgid "The ID of the attachment." msgstr "" -#: interactions.api.models.message.Attachment:9 of +#: interactions.api.models.message.Attachment:12 of msgid "The name of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:10 of +#: interactions.api.models.message.Attachment:13 of +msgid "The description of the file." +msgstr "" + +#: interactions.api.models.message.Attachment:14 of msgid "The type of attachment file." msgstr "" -#: interactions.api.models.message.Attachment:11 of +#: interactions.api.models.message.Attachment:15 of msgid "The size of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:12 of +#: interactions.api.models.message.Attachment:16 of msgid "The CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:13 of +#: interactions.api.models.message.Attachment:17 of msgid "The proxied/cached CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:14 of +#: interactions.api.models.message.Attachment:18 of msgid "The height of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:15 of +#: interactions.api.models.message.Attachment:19 of msgid "The width of the attachment file." msgstr "" -#: interactions.api.models.message.Message:1 of -msgid "The big Message model." +#: interactions.api.models.message.Attachment:20 of +msgid "Whether the attachment is ephemeral." msgstr "" -#: interactions.api.models.message.Message:3 of +#: interactions.api.models.message.MessageInteraction:1 of +msgid "" +"A class object that resembles the interaction used to generate the " +"associated message." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:4 of +msgid "ID of the interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:5 of +msgid "Type of interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:6 of +msgid "Name of the application command." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:7 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.api.models.message.ChannelMention:1 of +msgid "A class object that resembles the mention of a channel in a guild." +msgstr "" + +#: interactions.api.models.message.ChannelMention:4 of +msgid "The ID of the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:5 of +msgid "The ID of the guild that contains the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:6 of +msgid "The channel type." +msgstr "" + +#: interactions.api.models.message.ChannelMention:7 of +msgid "The name of the channel." +msgstr "" + +#: interactions.api.models.message.Emoji:1 of +msgid "A class objecting representing an emoji." +msgstr "" + +#: interactions.api.models.message.Emoji:3 of +msgid "Emoji id" +msgstr "" + +#: interactions.api.models.message.Emoji:4 of +msgid "Emoji name." +msgstr "" + +#: interactions.api.models.message.Emoji:5 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:6 of +msgid "User that created this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:7 of +msgid "Status denoting of this emoji must be wrapped in colons" +msgstr "" + +#: interactions.api.models.message.Emoji:8 of +msgid "Status denoting if this emoji is managed (by an integration)" +msgstr "" + +#: interactions.api.models.message.Emoji:9 of +msgid "Status denoting if this emoji is animated" +msgstr "" + +#: interactions.api.models.message.Emoji:10 of msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." +"Status denoting if this emoji can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Emoji.get:1 of +msgid "Gets an emoji." +msgstr "" + +#: interactions.api.models.message.Embed.add_field +#: interactions.api.models.message.Embed.insert_field_at +#: interactions.api.models.message.Embed.remove_field +#: interactions.api.models.message.Embed.set_author +#: interactions.api.models.message.Embed.set_field_at +#: interactions.api.models.message.Embed.set_footer +#: interactions.api.models.message.Embed.set_image +#: interactions.api.models.message.Embed.set_thumbnail +#: interactions.api.models.message.Embed.set_video +#: interactions.api.models.message.Emoji.delete +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Message.create_reaction +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.delete +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.remove_all_reactions_of +#: interactions.api.models.message.Message.remove_own_reaction_of +#: interactions.api.models.message.Message.remove_reaction_from +#: interactions.api.models.message.Message.reply of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.message.Emoji.get:3 of +msgid "The id of the guild of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:5 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:7 +#: interactions.api.models.message.Emoji.get_all_of_guild:5 of +msgid "The HTTPClient of your bot. Equals to ``bot._http``" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.message.Emoji.get:9 of +msgid "The Emoji as object" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_channel +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.get_guild +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Return type" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:1 of +msgid "Gets all emoji of a guild." +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:3 of +msgid "The id of the guild to get the emojis of" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:7 of +msgid "The Emoji as list" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:1 of +msgid "Deletes the emoji." +msgstr "" + +#: interactions.api.models.message.Emoji.delete:3 of +msgid "The guild id to delete the emoji from" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.message.Emoji.url:1 of +msgid "Returns the emoji's URL." +msgstr "" + +#: interactions.api.models.message.Emoji.url:3 of +msgid "URL of the emoji" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:1 of +msgid "A class object representing the structure of an image in an embed." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:3 of +msgid "The structure of an embed image:" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:13 of +msgid "Source URL of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:14 of +msgid "Proxied url of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:15 of +msgid "Height of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:16 of +msgid "Width of the object." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:1 of +msgid "A class object representing the provider of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:3 of +msgid "Name of provider" +msgstr "" + +#: interactions.api.models.message.EmbedProvider:4 of +msgid "URL of provider" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:1 of +msgid "A class object representing the author of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:3 of +msgid "The structure of an embed author:" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:11 of +msgid "Name of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:12 of +msgid "URL of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:13 of +msgid "URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:14 of +msgid "Proxied URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:1 of +msgid "A class object representing the footer of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedFooter:3 of +msgid "The structure of an embed footer:" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:11 of +msgid "Footer text" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:12 of +msgid "URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:13 of +msgid "Proxied URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedField:1 of +msgid "A class object representing the field of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedField:3 of +msgid "The structure of an embed field:" +msgstr "" + +#: interactions.api.models.message.EmbedField:13 of +msgid "Name of the field." +msgstr "" + +#: interactions.api.models.message.EmbedField:14 of +msgid "Value of the field" +msgstr "" + +#: interactions.api.models.message.EmbedField:15 of +msgid "A status denoting if the field should be displayed inline." +msgstr "" + +#: interactions.api.models.message.Embed:1 of +msgid "A class object representing an embed." +msgstr "" + +#: interactions.api.models.message.Embed:4 of +msgid "" +"The example provided below is for a very basic implementation of an " +"embed. Embeds are more unique than what is being shown." +msgstr "" + +#: interactions.api.models.message.Embed:8 of +msgid "The structure for an embed:" +msgstr "" + +#: interactions.api.models.message.Embed:17 of +msgid "Title of embed" +msgstr "" + +#: interactions.api.models.message.Embed:18 of +msgid "" +"Embed type, relevant by CDN file connected. This is only important to " +"rendering." +msgstr "" + +#: interactions.api.models.message.Embed:19 of +msgid "Embed description" +msgstr "" + +#: interactions.api.models.message.Embed:20 of +msgid "URL of embed" +msgstr "" + +#: interactions.api.models.message.Embed:21 of +msgid "Timestamp of embed content" +msgstr "" + +#: interactions.api.models.message.Embed:22 of +msgid "Color code of embed" +msgstr "" + +#: interactions.api.models.message.Embed:23 of +msgid "Footer information" +msgstr "" + +#: interactions.api.models.message.Embed:24 of +msgid "Image information" +msgstr "" + +#: interactions.api.models.message.Embed:25 of +msgid "Thumbnail information" +msgstr "" + +#: interactions.api.models.message.Embed:26 of +msgid "Video information" +msgstr "" + +#: interactions.api.models.message.Embed:27 of +msgid "Provider information" +msgstr "" + +#: interactions.api.models.message.Embed:28 of +msgid "Author information" +msgstr "" + +#: interactions.api.models.message.Embed:29 of +msgid "A list of fields denoting field information" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:1 of +msgid "Adds a field to the embed" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:3 +#: interactions.api.models.message.Embed.insert_field_at:5 +#: interactions.api.models.message.Embed.set_field_at:5 of +msgid "The name of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:5 +#: interactions.api.models.message.Embed.insert_field_at:7 +#: interactions.api.models.message.Embed.set_field_at:7 of +msgid "The value of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:7 +#: interactions.api.models.message.Embed.insert_field_at:9 +#: interactions.api.models.message.Embed.set_field_at:9 of +msgid "if the field is in the same line as the previous one" +msgstr "" + +#: interactions.api.models.message.Embed.clear_fields:1 of +msgid "Clears all the fields of the embed" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:1 of +msgid "Inserts a field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:3 +#: interactions.api.models.message.Embed.remove_field:3 +#: interactions.api.models.message.Embed.set_field_at:3 of +msgid "The new field's index" +msgstr "" + +#: interactions.api.models.message.Embed.set_field_at:1 of +msgid "Overwrites the field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_field:1 of +msgid "Remove field at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_author:1 of +msgid "Removes the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:1 of +msgid "Sets the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:3 of +msgid "The name of the author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:5 of +msgid "Url of author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:7 of +msgid "Url of author icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:9 of +msgid "A proxied url of author icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:1 of +msgid "Sets the embed's footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:3 of +msgid "The text of the footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:5 of +msgid "Url of footer icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:7 of +msgid "A proxied url of footer icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:1 of +msgid "Sets the embed's image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:3 of +msgid "Url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:5 of +msgid "A proxied url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:7 of +msgid "The image's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:9 of +msgid "The image's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:1 of +msgid "Sets the embed's video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:3 of +msgid "Url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:5 of +msgid "A proxied url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:7 of +msgid "The video's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:9 of +msgid "The video's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:1 of +msgid "Sets the embed's thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:3 of +msgid "Url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:5 of +msgid "A proxied url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:7 of +msgid "The thumbnail's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:9 of +msgid "The thumbnail's width" msgstr "" #: interactions.api.models.message.PartialSticker:1 of msgid "Partial object for a Sticker." msgstr "" +#: interactions.api.models.message.PartialSticker:3 +#: interactions.api.models.message.Sticker:3 of +msgid "ID of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:4 +#: interactions.api.models.message.Sticker:5 of +msgid "Name of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:5 +#: interactions.api.models.message.Sticker:10 of +msgid "Type of sticker format" +msgstr "" + #: interactions.api.models.message.Sticker:1 of -msgid "The full Sticker object." +msgid "A class object representing a full sticker apart from a partial." msgstr "" -#: interactions.api.models.message.EmbedImageStruct:1 of -msgid "This is the internal structure denoted for thumbnails, images or videos" +#: interactions.api.models.message.Sticker:4 of +msgid "ID of the pack the sticker is from." +msgstr "" + +#: interactions.api.models.message.Sticker:6 of +msgid "Description of the sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:7 of +msgid "Autocomplete/suggestion tags for the sticker (max 200 characters)" +msgstr "" + +#: interactions.api.models.message.Sticker:8 of +msgid "Previously a sticker asset hash, now an empty string." +msgstr "" + +#: interactions.api.models.message.Sticker:9 of +msgid "Type of sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:11 of +msgid "" +"Status denoting if this sticker can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Sticker:12 of +msgid "Guild ID that owns the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:13 of +msgid "The user that uploaded the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:14 of +msgid "The standard sticker's sort order within its pack" +msgstr "" + +#: interactions.api.models.message.ReactionObject:1 of +msgid "The reaction object." +msgstr "" + +#: interactions.api.models.message.ReactionObject:3 of +msgid "The amount of times this emoji has been used to react" +msgstr "" + +#: interactions.api.models.message.ReactionObject:4 of +msgid "A status denoting if the current user reacted using this emoji" +msgstr "" + +#: interactions.api.models.message.ReactionObject:5 of +msgid "Emoji information" +msgstr "" + +#: interactions.api.models.message.Message:1 of +msgid "A class object representing a message." +msgstr "" + +#: interactions.api.models.message.Message:3 of +msgid "ID of the message." +msgstr "" + +#: interactions.api.models.message.Message:4 of +msgid "ID of the channel the message was sent in" +msgstr "" + +#: interactions.api.models.message.Message:5 of +msgid "ID of the guild the message was sent in, if it exists." +msgstr "" + +#: interactions.api.models.message.Message:6 of +msgid "The author of the message." +msgstr "" + +#: interactions.api.models.message.Message:7 of +msgid "The member object associated with the author, if any." +msgstr "" + +#: interactions.api.models.message.Message:8 of +msgid "Message contents." +msgstr "" + +#: interactions.api.models.message.Message:9 of +msgid "Timestamp denoting when the message was sent." +msgstr "" + +#: interactions.api.models.message.Message:10 of +msgid "Timestamp denoting when the message was edited, if any." +msgstr "" + +#: interactions.api.models.message.Message:11 of +msgid "Status dictating if this was a TTS message or not." +msgstr "" + +#: interactions.api.models.message.Message:12 of +msgid "Status dictating of this message mentions everyone" +msgstr "" + +#: interactions.api.models.message.Message:13 of +msgid "Array of user objects with an additional partial member field." +msgstr "" + +#: interactions.api.models.message.Message:14 of +msgid "Array of roles mentioned in this message" +msgstr "" + +#: interactions.api.models.message.Message:15 of +msgid "Channels mentioned in this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:16 of +msgid "An array of attachments" +msgstr "" + +#: interactions.api.models.message.Message:17 of +msgid "An array of embeds" +msgstr "" + +#: interactions.api.models.message.Message:18 of +msgid "Reactions to the message." +msgstr "" + +#: interactions.api.models.message.Message:19 of +msgid "Used for message validation" +msgstr "" + +#: interactions.api.models.message.Message:20 of +msgid "Whether this message is pinned." +msgstr "" + +#: interactions.api.models.message.Message:21 of +msgid "Webhook ID if the message is generated by a webhook." +msgstr "" + +#: interactions.api.models.message.Message:22 of +msgid "Type of message" +msgstr "" + +#: interactions.api.models.message.Message:23 of +msgid "Message activity object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:24 of +msgid "Application object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:25 of +msgid "" +"Data showing the source of a message (crosspost, channel follow, add, " +"pin, or replied message)" +msgstr "" + +#: interactions.api.models.message.Message:26 of +msgid "The allowed mentions of roles attached in the message." +msgstr "" + +#: interactions.api.models.message.Message:27 of +msgid "Message flags" +msgstr "" + +#: interactions.api.models.message.Message:28 of +msgid "Message interaction object, if the message is sent by an interaction." +msgstr "" + +#: interactions.api.models.message.Message:29 of +msgid "" +"The thread that started from this message, if any, with a thread member " +"object embedded." +msgstr "" + +#: interactions.api.models.message.Message:30 of +msgid "Components associated with this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:31 of +msgid "An array of message sticker item objects, if sent with them." +msgstr "" + +#: interactions.api.models.message.Message:32 of +msgid "Array of sticker objects sent with the message if any. Deprecated." +msgstr "" + +#: interactions.api.models.message.Message.get_channel:1 of +msgid "Gets the channel where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.get_guild:1 of +msgid "Gets the guild where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.delete:1 of +msgid "Deletes the message." +msgstr "" + +#: interactions.api.models.message.Message.delete:3 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." +msgstr "" + +#: interactions.api.models.message.Message.edit:1 of +msgid "This method edits a message. Only available for messages sent by the bot." +msgstr "" + +#: interactions.api.models.message.Message.edit:3 +#: interactions.api.models.message.Message.reply:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.message.Message.edit:5 +#: interactions.api.models.message.Message.reply:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.message.Message.edit:7 +#: interactions.api.models.message.Message.reply:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:9 +#: interactions.api.models.message.Message.reply:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:11 +#: interactions.api.models.message.Message.reply:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.message.Message.edit:13 of +msgid "" +"A component, or list of components for the message. If `[]` the " +"components will be removed" +msgstr "" + +#: interactions.api.models.message.Message.edit:15 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.api.models.message.Message.reply:1 of +msgid "Sends a new message replying to the old." +msgstr "" + +#: interactions.api.models.message.Message.reply:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.message.Message.reply:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.message.Message.pin:1 of +msgid "Pins the message to its channel" +msgstr "" + +#: interactions.api.models.message.Message.unpin:1 of +msgid "Unpins the message from its channel" +msgstr "" + +#: interactions.api.models.message.Message.publish:1 of +msgid "" +"Publishes (API calls it crossposts) the message in its channel to any " +"that is followed by." +msgstr "" + +#: interactions.api.models.message.Message.publish:3 of +msgid "message object" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:1 of +msgid "Creates a thread from the message." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:10 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:12 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:1 of +msgid "Adds a reaction to the message." +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:3 +#: interactions.api.models.message.Message.remove_all_reactions_of:3 +#: interactions.api.models.message.Message.remove_own_reaction_of:3 +#: interactions.api.models.message.Message.remove_reaction_from:3 of +msgid "The Emoji as object or formatted as `name:id`" +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions:1 of +msgid "Removes all reactions of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions_of:1 of +msgid "Removes all reactions of one emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_own_reaction_of:1 of +msgid "Removes the own reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:1 of +msgid "Removes another reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:5 of +msgid "The user or user_id to remove the reaction of" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:1 of +msgid "Gets a Message based from its url." +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:3 of +msgid "The full url of the message" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:5 of +msgid "The HTTPClient of your bot. Set ` _client=botvar._http``" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:7 of +msgid "The message the URL points to" +msgstr "" + +#: interactions.api.models.message.Message.url:1 of +msgid "Returns the URL of the message." +msgstr "" + +#: interactions.api.models.message.Message.url:3 of +msgid "The URL of said message" msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.misc.po b/docs/locale/it/LC_MESSAGES/api.models.misc.po index 03b58e8a2..4c66ffbe1 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.misc.po +++ b/docs/locale/it/LC_MESSAGES/api.models.misc.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,6 +22,179 @@ msgstr "" msgid "Miscellanous Models" msgstr "" +#: interactions.api.models.misc.Snowflake:1 of +msgid "The Snowflake object." +msgstr "" + +#: interactions.api.models.misc.Snowflake:3 of +msgid "" +"This snowflake object will have features closely related to the API " +"schema. In turn, compared to regular d.py's treated snowflakes, these " +"will be treated as strings." +msgstr "" + +#: interactions.api.models.misc.Snowflake:8 of +msgid "(Basically, snowflakes will be treated as if they were from d.py 0.16.12)" +msgstr "" + +#: interactions.api.models.misc.Snowflake:11 of +msgid "" +"You can still provide integers to them, to ensure ease of use of " +"transition and/or if discord API for some odd reason will switch to " +"integer." +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:1 of +msgid "" +"This is the 'Increment' portion of the snowflake. This is incremented for" +" every ID generated on that process." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch +#: interactions.api.models.misc.Snowflake.increment +#: interactions.api.models.misc.Snowflake.timestamp of +msgid "Returns" +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:4 of +msgid "An integer denoting the increment." +msgstr "" + +#: interactions.api.models.misc.Snowflake.worker_id:1 of +msgid "" +"This is the Internal Worker ID of the snowflake. :return: An integer " +"denoting the internal worker ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.process_id:1 of +msgid "" +"This is the Internal Process ID of the snowflake. :return: An integer " +"denoting the internal process ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:1 of +msgid "This is the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:3 of +msgid "A float containing the seconds since Discord Epoch." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:1 of +msgid "The Datetime object variation of the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:3 of +msgid "The converted Datetime object from the Epoch. This respects UTC." +msgstr "" + +#: interactions.api.models.misc.Color:1 of +msgid "An object representing Discord branding colors." +msgstr "" + +#: interactions.api.models.misc.Color:4 of +msgid "" +"This object only intends to cover the branding colors and no others. The " +"main reason behind this is due to the current accepted standard of using " +"hex codes or other custom-defined colors." +msgstr "" + +#: interactions.api.models.misc.Color.blurple:1 of +msgid "Returns a hexadecimal value of the blurple color." +msgstr "" + +#: interactions.api.models.misc.Color.green:1 of +msgid "Returns a hexadecimal value of the green color." +msgstr "" + +#: interactions.api.models.misc.Color.yellow:1 of +msgid "Returns a hexadecimal value of the yellow color." +msgstr "" + +#: interactions.api.models.misc.Color.fuchsia:1 of +msgid "Returns a hexadecimal value of the fuchsia color." +msgstr "" + +#: interactions.api.models.misc.Color.red:1 of +msgid "Returns a hexadecimal value of the red color." +msgstr "" + +#: interactions.api.models.misc.Color.white:1 of +msgid "Returns a hexadecimal value of the white color." +msgstr "" + +#: interactions.api.models.misc.Color.black:1 of +msgid "Returns a hexadecimal value of the black color." +msgstr "" + +#: interactions.api.models.misc.ClientStatus:1 of +msgid "An object that symbolizes the status per client device per session." +msgstr "" + +#: interactions.api.models.misc.ClientStatus +#: interactions.api.models.misc.Overwrite of +msgid "Variables" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:3 of +msgid "User's status set for an active desktop application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:4 of +msgid "User's status set for an active mobile application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:5 of +msgid "User's status set for an active web application session" +msgstr "" + +#: interactions.api.models.misc.Image:1 of +msgid "This class object allows you to upload Images to the Discord API." +msgstr "" + +#: interactions.api.models.misc.Image:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'file' parameter." +msgstr "" + +#: interactions.api.models.misc.Image.filename:1 of +msgid "Returns the name of the file." +msgstr "" + +#: interactions.api.models.misc.File:1 of +msgid "A File object to be sent as an attachment along with a message." +msgstr "" + +#: interactions.api.models.misc.File:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'filename' parameter." +msgstr "" + +#: interactions.api.models.misc.File:7 of +msgid "If a description is not given the file's basename is used instead." +msgstr "" + #: interactions.api.models.misc.Overwrite:1 of -msgid "This is used for the PermissionOverride obj" +msgid "This is used for the PermissionOverride object." +msgstr "" + +#: interactions.api.models.misc.Overwrite:3 of +msgid "Role or User ID" +msgstr "" + +#: interactions.api.models.misc.Overwrite:4 of +msgid "Type that corresponds ot the ID; 0 for role and 1 for member." +msgstr "" + +#: interactions.api.models.misc.Overwrite:5 +#: interactions.api.models.misc.Overwrite:6 of +msgid "Permission bit set." +msgstr "" + +#: interactions.api.models.attrs_utils.MISSING:1 of +msgid "" +"A pseudosentinel based from an empty object. This does violate PEP, but, " +"I don't care." msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.po b/docs/locale/it/LC_MESSAGES/api.models.po index b0046fbcf..764507670 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.po +++ b/docs/locale/it/LC_MESSAGES/api.models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/it/LC_MESSAGES/api.models.presence.po b/docs/locale/it/LC_MESSAGES/api.models.presence.po index 71ec432f3..cd9426f00 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.presence.po +++ b/docs/locale/it/LC_MESSAGES/api.models.presence.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,196 @@ msgstr "" #: ../../api.models.presence.rst:4 msgid "Presence Models" msgstr "" + +#: interactions.api.models.presence.PresenceParty:1 of +msgid "A class object representing the party data of a presence." +msgstr "" + +#: interactions.api.models.presence.ClientPresence +#: interactions.api.models.presence.PresenceActivity +#: interactions.api.models.presence.PresenceAssets +#: interactions.api.models.presence.PresenceButtons +#: interactions.api.models.presence.PresenceParty +#: interactions.api.models.presence.PresenceSecrets +#: interactions.api.models.presence.PresenceTimestamp of +msgid "Variables" +msgstr "" + +#: interactions.api.models.presence.PresenceParty:3 of +msgid "ID of the party." +msgstr "" + +#: interactions.api.models.presence.PresenceParty:4 of +msgid "An array denoting the party's current and max size" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:1 of +msgid "A class object representing the assets of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:3 of +msgid "ID for a large asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:4 of +msgid "Text associated with the large asset" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:5 of +msgid "ID for a small asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:6 of +msgid "Text associated with the small asset" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:1 of +msgid "A class object representing \"secret\" join information of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:3 of +msgid "Join secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:4 of +msgid "Spectate secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:5 of +msgid "Instanced match secret" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:1 of +msgid "A class object representing the timestamp data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:3 of +msgid "Unix time in ms when the activity started" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:4 of +msgid "Unix time in ms when the activity ended" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:1 of +msgid "A class object representing the current activity data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:4 of +msgid "" +"When using this model to instantiate alongside the client, if you provide" +" a type 1 ( or PresenceActivityType.STREAMING ), then the ``url`` " +"attribute is necessary." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:7 of +msgid "The activity name" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:8 of +msgid "The activity type" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:9 of +msgid "stream url (if type is 1)" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:10 of +msgid "Unix timestamp of when the activity was created to the User's session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:11 of +msgid "Unix timestamps for start and/or end of the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:12 of +msgid "Application ID for the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:13 of +msgid "What the player is currently doing" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:14 of +msgid "Current party status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:15 of +msgid "The emoji used for the custom status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:16 of +msgid "Info for the current players' party" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:17 of +msgid "Images for the presence and their associated hover texts" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:18 of +msgid "for RPC join/spectate" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:19 of +msgid "A status denoting if the activity is a game session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:20 of +msgid "activity flags" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:21 of +msgid "Custom buttons shown in the RPC." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:1 of +msgid "" +"This returns the JSON representing the ClientPresence sending via the " +"Gateway." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:4 of +msgid "" +"This is NOT used for standard presence activity reading by other users, " +"i.e. User activity reading. You can use the `_json` attribute instead." +msgstr "" + +#: interactions.api.models.presence.PresenceActivityType:1 of +msgid "A class object representing all supported Discord activity types." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:1 of +msgid "A class object representing the buttons of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:3 of +msgid "Text of the button" +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:4 of +msgid "URL of the button" +msgstr "" + +#: interactions.api.models.presence.ClientPresence:1 of +msgid "" +"An object that symbolizes the presence of the current client's session " +"upon creation." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:3 of +msgid "" +"Unix time in milliseconds of when the client went idle. None if it is not" +" idle." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:4 of +msgid "Array of activity objects." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:5 of +msgid "The client's new status." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:6 of +msgid "Whether the client is afk or not." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.role.po b/docs/locale/it/LC_MESSAGES/api.models.role.po index 22011c993..9a3430734 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.role.po +++ b/docs/locale/it/LC_MESSAGES/api.models.role.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,177 @@ msgstr "" #: ../../api.models.role.rst:4 msgid "Role Models" msgstr "" + +#: interactions.api.models.role.Role:1 of +msgid "A class object representing a role." +msgstr "" + +#: interactions.api.models.role.Role interactions.api.models.role.RoleTags of +msgid "Variables" +msgstr "" + +#: interactions.api.models.role.Role:3 of +msgid "Role ID" +msgstr "" + +#: interactions.api.models.role.Role:4 of +msgid "Role name" +msgstr "" + +#: interactions.api.models.role.Role:5 of +msgid "Role color in integer representation" +msgstr "" + +#: interactions.api.models.role.Role:6 of +msgid "A status denoting if this role is hoisted" +msgstr "" + +#: interactions.api.models.role.Role:7 of +msgid "Role icon hash, if any." +msgstr "" + +#: interactions.api.models.role.Role:8 of +msgid "Role unicode emoji" +msgstr "" + +#: interactions.api.models.role.Role:9 of +msgid "Role position" +msgstr "" + +#: interactions.api.models.role.Role:10 of +msgid "Role permissions as a bit set" +msgstr "" + +#: interactions.api.models.role.Role:11 of +msgid "A status denoting if this role is managed by an integration" +msgstr "" + +#: interactions.api.models.role.Role:12 of +msgid "A status denoting if this role is mentionable" +msgstr "" + +#: interactions.api.models.role.Role:13 of +msgid "The tags this role has" +msgstr "" + +#: interactions.api.models.role.Role.mention:1 of +msgid "Returns a string that allows you to mention the given role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Returns" +msgstr "" + +#: interactions.api.models.role.Role.mention:3 of +msgid "The string of the mentioned role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Return type" +msgstr "" + +#: interactions.api.models.role.Role.delete:1 of +msgid "Deletes the role from the guild." +msgstr "" + +#: interactions.api.models.role.Role.delete +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.role.Role.delete:3 of +msgid "The id of the guild to delete the role from" +msgstr "" + +#: interactions.api.models.role.Role.delete:5 of +msgid "The reason for the deletion" +msgstr "" + +#: interactions.api.models.role.Role.modify:1 of +msgid "Edits the role in a guild." +msgstr "" + +#: interactions.api.models.role.Role.modify:3 of +msgid "The id of the guild to edit the role on" +msgstr "" + +#: interactions.api.models.role.Role.modify:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.role.Role.modify:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.role.Role.modify_position:3 of +msgid "The id of the guild to modify the role position on" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:7 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:9 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.role.RoleTags:1 of +msgid "A class object representing the tags of a role." +msgstr "" + +#: interactions.api.models.role.RoleTags:3 of +msgid "The id of the bot this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:4 of +msgid "The id of the integration this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:5 of +msgid "Whether if this is the guild's premium subscriber role" +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.team.po b/docs/locale/it/LC_MESSAGES/api.models.team.po index 8595a1d03..c058f10df 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.team.po +++ b/docs/locale/it/LC_MESSAGES/api.models.team.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,160 @@ msgstr "" #: ../../api.models.team.rst:4 msgid "Team Models" msgstr "" + +#: interactions.api.models.team.Team:1 of +msgid "A class object representing a team." +msgstr "" + +#: interactions.api.models.team.Application interactions.api.models.team.Team +#: interactions.api.models.team.TeamMember of +msgid "Variables" +msgstr "" + +#: interactions.api.models.team.Team:3 of +msgid "The hash of the team's icon" +msgstr "" + +#: interactions.api.models.team.Team:4 of +msgid "The team's unique ID" +msgstr "" + +#: interactions.api.models.team.Team:5 of +msgid "The members of the team" +msgstr "" + +#: interactions.api.models.team.Team:6 of +msgid "The team name" +msgstr "" + +#: interactions.api.models.team.Team:7 of +msgid "The User ID of the current team owner" +msgstr "" + +#: interactions.api.models.team.TeamMember:1 of +msgid "A class object representing the member of a team." +msgstr "" + +#: interactions.api.models.team.TeamMember:4 of +msgid "" +"The membership state is either a 1 for invited, or 2 for accepted. At the" +" moment, permissions will always be [\"*\"]." +msgstr "" + +#: interactions.api.models.team.TeamMember:7 of +msgid "The user's membership state on the team" +msgstr "" + +#: interactions.api.models.team.TeamMember:8 of +msgid "Team Member permissions" +msgstr "" + +#: interactions.api.models.team.TeamMember:9 of +msgid "ID of the team that they're a member of." +msgstr "" + +#: interactions.api.models.team.TeamMember:10 of +msgid "The user object." +msgstr "" + +#: interactions.api.models.team.Application:1 of +msgid "A class object representing an application." +msgstr "" + +#: interactions.api.models.team.Application:4 of +msgid "``type`` and ``hook`` are currently undocumented in the API." +msgstr "" + +#: interactions.api.models.team.Application:6 of +msgid "Application ID" +msgstr "" + +#: interactions.api.models.team.Application:7 of +msgid "Application Name" +msgstr "" + +#: interactions.api.models.team.Application:8 of +msgid "Icon hash of the application" +msgstr "" + +#: interactions.api.models.team.Application:9 of +msgid "Application Description" +msgstr "" + +#: interactions.api.models.team.Application:10 of +msgid "An array of rpc origin urls, if RPC is used." +msgstr "" + +#: interactions.api.models.team.Application:11 of +msgid "A status denoting if anyone can invite the bot to guilds" +msgstr "" + +#: interactions.api.models.team.Application:12 of +msgid "" +"A status denoting whether full Oauth2 is required for the app's bot to " +"join a guild" +msgstr "" + +#: interactions.api.models.team.Application:13 of +msgid "URL of the app's Terms of Service" +msgstr "" + +#: interactions.api.models.team.Application:14 of +msgid "URL of the app's Privacy Policy" +msgstr "" + +#: interactions.api.models.team.Application:15 of +msgid "User object of the owner" +msgstr "" + +#: interactions.api.models.team.Application:16 of +msgid "Summary of the store page, if this application is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:17 of +msgid "" +"Hex encoded key for verification in interactions and/or the GameSDK's " +"GetTicket" +msgstr "" + +#: interactions.api.models.team.Application:18 of +msgid "A list of team members, if this app belongs to a team." +msgstr "" + +#: interactions.api.models.team.Application:19 of +msgid "Guild ID linked, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:20 of +msgid "Game SKU ID, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:21 of +msgid "" +"URL slug that links to the store page, if this app is a game sold on " +"Discord" +msgstr "" + +#: interactions.api.models.team.Application:22 of +msgid "The app's default rich presence invite cover image" +msgstr "" + +#: interactions.api.models.team.Application:23 of +msgid "The application's public flags" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:1 of +msgid "Returns the URL of the application's icon" +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:3 of +msgid "URL of the application's icon." +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Return type" +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.user.po b/docs/locale/it/LC_MESSAGES/api.models.user.po index 35b554cf4..e9be179ff 100644 --- a/docs/locale/it/LC_MESSAGES/api.models.user.po +++ b/docs/locale/it/LC_MESSAGES/api.models.user.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,111 @@ msgstr "" #: ../../api.models.user.rst:4 msgid "User Models" msgstr "" + +#: interactions.api.models.user.User:1 of +msgid "A class object representing a user." +msgstr "" + +#: interactions.api.models.user.User of +msgid "Variables" +msgstr "" + +#: interactions.api.models.user.User:3 of +msgid "The User ID" +msgstr "" + +#: interactions.api.models.user.User:4 of +msgid "The Username associated (not necessarily unique across the platform)" +msgstr "" + +#: interactions.api.models.user.User:5 of +msgid "The User's 4-digit discord-tag (i.e.: XXXX)" +msgstr "" + +#: interactions.api.models.user.User:6 of +msgid "The user's avatar hash, if any" +msgstr "" + +#: interactions.api.models.user.User:7 of +msgid "A status denoting if the user is a bot" +msgstr "" + +#: interactions.api.models.user.User:8 of +msgid "A status denoting if the user is an Official Discord System user" +msgstr "" + +#: interactions.api.models.user.User:9 of +msgid "A status denoting if the user has 2fa on their account" +msgstr "" + +#: interactions.api.models.user.User:10 of +msgid "The user's banner hash, if any" +msgstr "" + +#: interactions.api.models.user.User:11 of +msgid "The user's banner color as a hex, if any" +msgstr "" + +#: interactions.api.models.user.User:12 of +msgid "The user's banner color as an integer represented of hex color codes" +msgstr "" + +#: interactions.api.models.user.User:13 of +msgid "The user's chosen language option" +msgstr "" + +#: interactions.api.models.user.User:14 of +msgid "Whether the email associated with this account has been verified" +msgstr "" + +#: interactions.api.models.user.User:15 of +msgid "The user's email, if any" +msgstr "" + +#: interactions.api.models.user.User:16 of +msgid "The user's flags" +msgstr "" + +#: interactions.api.models.user.User:17 of +msgid "The type of Nitro subscription the user has" +msgstr "" + +#: interactions.api.models.user.User:18 of +msgid "The user's public flags" +msgstr "" + +#: interactions.api.models.user.User.mention:1 of +msgid "Returns a string that allows you to mention the given user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Returns" +msgstr "" + +#: interactions.api.models.user.User.mention:3 of +msgid "The string of the mentioned user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Return type" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:1 of +msgid "Returns the URL of the user's avatar" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:3 of +msgid "URL of the user's avatar." +msgstr "" + +#: interactions.api.models.user.User.banner_url:1 of +msgid "Returns the URL of the user's banner." +msgstr "" + +#: interactions.api.models.user.User.banner_url:3 of +msgid "URL of the user's banner (None will be returned if no banner is set)" +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.voice.po b/docs/locale/it/LC_MESSAGES/api.models.voice.po deleted file mode 100644 index 848f7dde8..000000000 --- a/docs/locale/it/LC_MESSAGES/api.models.voice.po +++ /dev/null @@ -1,23 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.voice.rst:4 -msgid "Voice Models" -msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.models.webhook.po b/docs/locale/it/LC_MESSAGES/api.models.webhook.po new file mode 100644 index 000000000..1df6f27fe --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/api.models.webhook.po @@ -0,0 +1,239 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.webhook.rst:4 +msgid "Webhook Models" +msgstr "" + +#: interactions.api.models.webhook.Webhook:1 of +msgid "A class object representing a Webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook of +msgid "Variables" +msgstr "" + +#: interactions.api.models.webhook.Webhook:3 of +msgid "the id of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:4 of +msgid "the type of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:5 of +msgid "the guild id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:6 of +msgid "the channel id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:7 of +msgid "" +"the user this webhook was created by (not returned when getting a webhook" +" with its token)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:8 of +msgid "the default name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:9 of +msgid "the default user avatar hash of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:10 of +msgid "the secure token of the webhook (returned for Incoming Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:11 of +msgid "the bot/OAuth2 application that created this webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:12 of +msgid "" +"the guild of the channel that this webhook is following (returned for " +"Channel Follower Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:13 of +msgid "" +"the channel that this webhook is following (returned for Channel Follower" +" Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:14 of +msgid "" +"the url used for executing the webhook (returned by the webhooks OAuth2 " +"flow)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:1 of +msgid "Creates a webhook in a channel." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:3 +#: interactions.api.models.webhook.Webhook.get:3 of +msgid "The HTTPClient of the bot, has to be set to `bot._http`." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:5 of +msgid "The ID of the channel to create the webhook in." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:7 of +msgid "The name of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:9 of +msgid "The avatar of the Webhook, if any." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Returns" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:11 of +msgid "The created webhook as object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Return type" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:1 of +msgid "Gets an existing webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:5 of +msgid "The ID of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:7 of +msgid "The token of the webhook, optional" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:9 of +msgid "The Webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:1 of +msgid "Modifies the current webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:3 of +msgid "The new name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:5 of +msgid "" +"The channel id of the webhook. If not provided, the webhook token will be" +" used for authentication" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:7 of +msgid "The new avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:9 of +msgid "The modified webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:1 of +msgid "Executes the webhook. All parameters to this function are optional." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:4 of +msgid "The ``components`` argument requires an application-owned webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:6 of +msgid "the message contents (up to 2000 characters)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:8 of +msgid "override the default username of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:10 of +msgid "override the default avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:12 of +msgid "true if this is a TTS message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:14 of +msgid "embedded ``rich`` content" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:16 of +msgid "allowed mentions for the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:18 of +msgid "the components to include with the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:20 of +msgid "The files to attach to the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:22 of +msgid "" +"Send a message to a specified thread within a webhook's channel. The " +"thread will automatically be unarchived" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:24 of +msgid "The sent message, if present" +msgstr "" + +#: interactions.api.models.webhook.Webhook.delete:1 of +msgid "Deletes the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:1 of +msgid "Returns the URL of the webhook's avatar." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:3 of +msgid "URL of the webhook's avatar" +msgstr "" + +#: interactions.api.models.webhook.WebhookType:1 of +msgid "An enumeration." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/api.po b/docs/locale/it/LC_MESSAGES/api.po index b17ce38d1..cb74082a0 100644 --- a/docs/locale/it/LC_MESSAGES/api.po +++ b/docs/locale/it/LC_MESSAGES/api.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,19 +18,23 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../api.rst:17 +#: ../../api.rst:11 msgid "Client" msgstr "" -#: ../../api.rst:23 ../../api.rst:40 +#: ../../api.rst:17 +msgid "Frameworks/Commands" +msgstr "" + +#: ../../api.rst:24 ../../api.rst:41 msgid "Model/Design" msgstr "" -#: ../../api.rst:33 +#: ../../api.rst:34 msgid "Client Connections" msgstr "" -#: ../../api.rst:48 +#: ../../api.rst:49 msgid "Events" msgstr "" @@ -42,17 +46,10 @@ msgstr "" msgid "This page outlines the API wrapper of discord-interactions." msgstr "" -#: ../../api.rst:10 -msgid "" -"As of the time of this writing, version 4.0 of discord-interactions has " -"not yet been released, which this documentation currently reflects. The " -"documentation written here is subject to change and is not finalized." -msgstr "" - -#: ../../api.rst:15 +#: ../../api.rst:9 msgid "Interactions" msgstr "" -#: ../../api.rst:31 +#: ../../api.rst:32 msgid "Discord API" msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/client.po b/docs/locale/it/LC_MESSAGES/client.po index b168d9798..8e2fd324c 100644 --- a/docs/locale/it/LC_MESSAGES/client.po +++ b/docs/locale/it/LC_MESSAGES/client.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,63 +22,575 @@ msgstr "" msgid "Bot Client" msgstr "" -#: interactions.client.Client:1 of +#: interactions.client.bot.Client:1 of msgid "" "A class representing the client connection to Discord's gateway and API " "via. WebSocket and HTTP." msgstr "" -#: interactions.client.Client of +#: interactions.client.bot.Client of msgid "Variables" msgstr "" -#: interactions.client.Client:3 of -msgid "The main overall asynchronous coroutine loop in effect." +#: interactions.client.bot.Client:3 of +msgid "The asynchronous event loop of the client." msgstr "" -#: interactions.client.Client:4 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.client.bot.Client:4 of +msgid "" +"The user-facing HTTP connection to the Web API, as its own separate " +"client." msgstr "" -#: interactions.client.Client:5 of -msgid "The application's intents as :class:`interactions.api.models.Intents`." +#: interactions.client.bot.Client:5 of +msgid "An object-orientation of a websocket server connection to the Gateway." msgstr "" -#: interactions.client.Client:6 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.client.bot.Client:6 of +msgid "The Gateway intents of the application. Defaults to ``Intents.DEFAULT``." msgstr "" -#: interactions.client.Client:7 of -msgid "An instance of :class:`interactions.api.gateway.WebSocket`." +#: interactions.client.bot.Client:7 of +msgid "The list of bucketed shards for the application's connection." msgstr "" -#: interactions.client.Client:8 of -msgid "The application token." +#: interactions.client.bot.Client:8 of +msgid "The RPC-like presence shown on an application once connected." msgstr "" -#: interactions.client.Client.login:1 of -msgid "Makes a login with the Discord API." +#: interactions.client.bot.Client:9 of +msgid "The token of the application used for authentication when connecting." +msgstr "" + +#: interactions.client.bot.Client:10 of +msgid "The \"extensions\" or cog equivalence registered to the main client." +msgstr "" + +#: interactions.client.bot.Client:11 of +msgid "The application representation of the client." +msgstr "" + +#: interactions.client.bot.Client.guilds:1 of +msgid "Returns a list of guilds the bot is in." msgstr "" -#: interactions.client.Client.start:1 of +#: interactions.client.bot.Client.latency:1 of +msgid "Returns the connection latency in milliseconds." +msgstr "" + +#: interactions.client.bot.Client.start:1 of msgid "Starts the client session." msgstr "" -#: interactions.client.Client.event:1 of -msgid "A decorator for listening to dispatched events from the gateway." +#: interactions.client.bot.Client.__register_events:1 of +msgid "Registers all raw gateway events to the known events." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:1 of +msgid "Compares an application command during the synchronization process." msgstr "" -#: interactions.client.Client.event of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.change_presence +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload interactions.client.bot.Client.remove +#: interactions.client.bot.Client.user_command of +msgid "Parameters" +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:3 of +msgid "The application command to compare." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:5 of +msgid "The \"pool\" or list of commands to compare from." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of msgid "Returns" msgstr "" -#: interactions.client.Client.event:4 of -msgid "typing.Callable[..., typing.Any]" +#: interactions.client.bot.Client.__compare_sync:7 of +msgid "Whether the command has changed or not." msgstr "" -#: interactions.client.Client.command:1 of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of +msgid "Return type" +msgstr "" + +#: interactions.client.bot.Client._ready:1 of +msgid "" +"Prepares the client with an internal \"ready\" check to ensure that all " +"conditions have been met in a chronological order:" +msgstr "" + +#: interactions.client.bot.Client._login:1 of +msgid "Makes a login with the Discord API." +msgstr "" + +#: interactions.client.bot.Client.wait_until_ready:1 of +msgid "Helper method that waits until the websocket is ready." +msgstr "" + +#: interactions.client.bot.Client.__sync:1 of +msgid "Synchronizes all commands to the API." +msgstr "" + +#: interactions.client.bot.Client.__sync:4 of +msgid "" +"This is an internal method. Do not call it unless you know what you are " +"doing!" +msgstr "" + +#: interactions.client.bot.Client.event:1 of +msgid "A decorator for listening to events dispatched from the Gateway." +msgstr "" + +#: interactions.client.bot.Client.event:4 of +msgid "The coroutine of the event." +msgstr "" + +#: interactions.client.bot.Client.event:6 of +msgid "" +"The name of the event. If not given, this defaults to the coroutine's " +"name." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:20 +#: interactions.client.bot.Client.command:63 +#: interactions.client.bot.Client.component:27 +#: interactions.client.bot.Client.event:8 +#: interactions.client.bot.Client.message_command:28 +#: interactions.client.bot.Client.modal:24 +#: interactions.client.bot.Client.user_command:28 of +msgid "A callable response." +msgstr "" + +#: interactions.client.bot.Client.change_presence:1 of +msgid "A method that changes the current client's presence on runtime." +msgstr "" + +#: interactions.client.bot.Client.change_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.client.bot.Client.change_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.client.bot.Client.__check_command:1 of +msgid "Checks if a command is valid." +msgstr "" + +#: interactions.client.bot.Client.command:1 of msgid "" "A decorator for registering an application command to the Discord API, as" " well as being able to listen for ``INTERACTION_CREATE`` dispatched " "gateway events." msgstr "" + +#: interactions.client.bot.Client.command:5 of +msgid "The structure of a chat-input command:" +msgstr "" + +#: interactions.client.bot.Client.command:13 of +msgid "" +"You are also able to establish it as a message or user command by simply " +"passing the ``type`` kwarg field into the decorator:" +msgstr "" + +#: interactions.client.bot.Client.command:22 +#: interactions.client.bot.Client.message_command:13 +#: interactions.client.bot.Client.user_command:13 of +msgid "" +"The ``scope`` kwarg field may also be used to designate the command in " +"question applicable to a guild or set of guilds." +msgstr "" + +#: interactions.client.bot.Client.command:25 of +msgid "" +"To properly utilise the ``default_member_permissions`` kwarg, it requires" +" OR'ing the permission values, similar to instantiating the client with " +"Intents. For example:" +msgstr "" + +#: interactions.client.bot.Client.command:34 of +msgid "Another example below for instance is an admin-only command:" +msgstr "" + +#: interactions.client.bot.Client.command:43 of +msgid "" +"If ``default_member_permissions`` is not given, this will default to " +"anyone that is able to use the command." +msgstr "" + +#: interactions.client.bot.Client.command:45 of +msgid "" +"The type of application command. Defaults to " +":meth:`interactions.enums.ApplicationCommandType.CHAT_INPUT` or ``1``." +msgstr "" + +#: interactions.client.bot.Client.command:47 of +msgid "" +"The name of the application command. This *is* required but kept optional" +" to follow kwarg rules." +msgstr "" + +#: interactions.client.bot.Client.command:49 of +msgid "" +"The description of the application command. This should be left blank if " +"you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:51 of +msgid "The \"scope\"/applicable guilds the application command applies to." +msgstr "" + +#: interactions.client.bot.Client.command:53 of +msgid "" +"The \"arguments\"/options of an application command. This should be left " +"blank if you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:55 +#: interactions.client.bot.Client.message_command:22 +#: interactions.client.bot.Client.user_command:22 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.bot.Client.command:57 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.bot.Client.command:59 +#: interactions.client.bot.Client.message_command:24 +#: interactions.client.bot.Client.user_command:24 of +msgid "" +"The permissions bit value of " +"``interactions.api.model.flags.Permissions``. If not given, defaults to " +":meth:`interactions.api.model.flags.Permissions.USE_APPLICATION_COMMANDS`" +" or ``2147483648``" +msgstr "" + +#: interactions.client.bot.Client.command:61 +#: interactions.client.bot.Client.message_command:26 +#: interactions.client.bot.Client.user_command:26 of +msgid "" +"The application permissions if executed in a Direct Message. Defaults to " +"``True``." +msgstr "" + +#: interactions.client.bot.Client.message_command:1 of +msgid "" +"A decorator for registering a message context menu to the Discord API, as" +" well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.message_command:5 of +msgid "The structure of a message context menu:" +msgstr "" + +#: interactions.client.bot.Client.message_command:16 +#: interactions.client.bot.Client.user_command:16 of +msgid "The name of the application command." +msgstr "" + +#: interactions.client.bot.Client.message_command:18 +#: interactions.client.bot.Client.user_command:18 of +msgid "" +"The \"scope\"/applicable guilds the application command applies to. " +"Defaults to ``None``." +msgstr "" + +#: interactions.client.bot.Client.message_command:20 +#: interactions.client.bot.Client.user_command:20 of +msgid "" +"The default permission of accessibility for the application command. " +"Defaults to ``True``." +msgstr "" + +#: interactions.client.bot.Client.user_command:1 of +msgid "" +"A decorator for registering a user context menu to the Discord API, as " +"well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.user_command:5 of +msgid "The structure of a user context menu:" +msgstr "" + +#: interactions.client.bot.Client.component:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving components." +msgstr "" + +#: interactions.client.bot.Client.component:4 of +msgid "The structure for a component callback:" +msgstr "" + +#: interactions.client.bot.Client.component:22 of +msgid "" +"The context of the component callback decorator inherits the same as of " +"the command decorator." +msgstr "" + +#: interactions.client.bot.Client.component:25 of +msgid "The component you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client._find_command:1 of +msgid "" +"Iterates over `commands` and returns an :class:`ApplicationCommand` if it" +" matches the name from `command`" +msgstr "" + +#: interactions.client.bot.Client._find_command:3 of +msgid "The name of the command to match" +msgstr "" + +#: interactions.client.bot.Client._find_command:5 of +msgid "An ApplicationCommand model" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving autocompletion fields." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:4 of +msgid "The structure for an autocomplete callback:" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:16 of +msgid "The command, command ID, or command name with the option." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:18 of +msgid "The name of the option to autocomplete." +msgstr "" + +#: interactions.client.bot.Client.modal:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving modals." +msgstr "" + +#: interactions.client.bot.Client.modal:4 of +msgid "The structure for a modal callback:" +msgstr "" + +#: interactions.client.bot.Client.modal:19 of +msgid "" +"The context of the modal callback decorator inherits the same as of the " +"component decorator." +msgstr "" + +#: interactions.client.bot.Client.modal:22 of +msgid "The modal or custom_id of modal you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client.load:1 of +msgid "" +"\"Loads\" an extension off of the current client by adding a new class " +"which is imported from the library." +msgstr "" + +#: interactions.client.bot.Client.load:4 +#: interactions.client.bot.Client.remove:3 of +msgid "The name of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:6 +#: interactions.client.bot.Client.remove:7 of +msgid "The package of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:8 +#: interactions.client.bot.Client.reload:14 of +msgid "Optional arguments to pass to the extension" +msgstr "" + +#: interactions.client.bot.Client.load:10 +#: interactions.client.bot.Client.reload:16 of +msgid "Optional keyword-only arguments to pass to the extension." +msgstr "" + +#: interactions.client.bot.Client.load:12 of +msgid "The loaded extension." +msgstr "" + +#: interactions.client.bot.Client.remove:1 of +msgid "Removes an extension out of the current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.remove:5 of +msgid "Whether to remove commands before reloading. Defaults to True." +msgstr "" + +#: interactions.client.bot.Client.reload:1 of +msgid "\"Reloads\" an extension off of current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.reload:4 of +msgid "" +"This will remove and re-add application commands, counting towards your " +"daily application command creation limit, as long as you have the " +"``remove_commands`` argument set to ``True``, what it is by default." +msgstr "" + +#: interactions.client.bot.Client.reload:8 of +msgid "The name of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:10 of +msgid "The package of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:12 of +msgid "Whether to remove commands before reloading. Defaults to True" +msgstr "" + +#: interactions.client.bot.Client.reload:18 of +msgid "The reloaded extension." +msgstr "" + +#: interactions.client.bot.Client.modify:1 of +msgid "Modify the bot user account settings." +msgstr "" + +#: interactions.client.bot.Client.modify:3 of +msgid "The new username of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:5 of +msgid "The new avatar of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:7 of +msgid "The modified User object" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:1 of +msgid "" +"This is an internal function that takes any gateway socket event and then" +" returns the data purely based off of what it does in the client " +"instantiation class." +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:5 of +msgid "The data that is returned" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:7 of +msgid "A dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:1 of +msgid "" +"This is an internal function that caches the channel creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:3 of +msgid "The channel object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:5 of +msgid "The channel as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:1 of +msgid "" +"This is an internal function that caches the message creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:3 of +msgid "The message object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:5 of +msgid "The message as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:1 of +msgid "This is an internal function that caches the guild creates on ready." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:3 of +msgid "The guild object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:5 of +msgid "The guild as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Extension:1 of +msgid "" +"A class that allows you to represent \"extensions\" of your code, or " +"essentially cogs that can be ran independent of the root file in an " +"object-oriented structure." +msgstr "" + +#: interactions.client.bot.Extension:5 of +msgid "The structure of an extension:" +msgstr "" + +#: interactions.client.decor.command:1 of +msgid "" +"A wrapper designed to interpret the client-facing API for how a command " +"is to be created and used." +msgstr "" + +#: interactions.client.decor.command:4 of +msgid "A list of command payloads." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/components.po b/docs/locale/it/LC_MESSAGES/components.po deleted file mode 100644 index 93031b801..000000000 --- a/docs/locale/it/LC_MESSAGES/components.po +++ /dev/null @@ -1,192 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../components.rst:2 -msgid "How to use components" -msgstr "" - -#: ../../components.rst:5 -msgid "" -"So you've seen the new fancy buttons and want to give them a try, but " -"dont know where to start. No problem!" -msgstr "" - -#: ../../components.rst:7 -msgid "" -"First lets cover the basics. Discord messages can have *components*, such" -" as buttons, dropdowns etc. These components sit in whats called an " -"\"action row\". An action row can hold 5 components at a time. Your " -"message can have 5 action rows, so thats a total of 25 components!" -msgstr "" - -#: ../../components.rst:10 -msgid "Sending some components" -msgstr "" - -#: ../../components.rst:12 -msgid "This will work in both slash commands, and discord.py commands" -msgstr "" - -#: ../../components.rst:14 -msgid "" -"First we need to create some buttons, lets put them in a list for now. " -"We'll use :meth:`create_button() `" -" to create a green button" -msgstr "" - -#: ../../components.rst:28 -msgid "" -"So we have a button, but where do we use it. Let's create an action row " -"with :func:`create_actionrow() ` " -"and put our buttons in it" -msgstr "" - -#: ../../components.rst:35 -msgid "" -"Fantastic, we now have an action row with a green button in it, now lets " -"get it sent in discord" -msgstr "" - -#: ../../components.rst:42 -msgid "And to bring it all together, you could use this:" -msgstr "" - -#: ../../components.rst:54 -msgid "" -"Now if you've followed along, you have a green button in discord! But " -"theres a problem, whenever you click it you see that the ``interaction " -"failed``. Why is that? Well, in Discord, clicking buttons and using slash" -" commands are called ``interactions``, and Discord doesn't know if we've " -"received them or not unless we tell Discord. So how do we do that?" -msgstr "" - -#: ../../components.rst:58 -msgid "Responding to interactions" -msgstr "" - -#: ../../components.rst:60 -msgid "" -"When responding, you have 3 choices in how you handle interactions. You " -"can either wait for them in the command itself, or listen for them in a " -"global event handler (similar to :func:`on_slash_command_error`), or " -"register async function as component callback." -msgstr "" - -#: ../../components.rst:63 -msgid "Wait_for" -msgstr "" - -#: ../../components.rst:65 -msgid "" -"Lets go through the most common method first, responding in the command " -"itself. We simply need to :func:`wait_for` the event, just like you do " -"for reactions. For this we're going to use :func:`wait_for_component() " -"`, and we're going to only wait " -"for events from the action row we just sent. This method will return a " -":class:`ComponentContext ` object" -" that we can use to respond. For this example, we'll just edit the " -"original message (:meth:`edit_origin() " -"`, uses same logic as" -" :func:`edit()`)" -msgstr "" - -#: ../../components.rst:77 -msgid "" -"It's worth being aware that if you handle the event in the command " -"itself, it will not persist reboots. As such when you restart the bot, " -"the interaction will fail" -msgstr "" - -#: ../../components.rst:80 -msgid "Global event handler" -msgstr "" - -#: ../../components.rst:82 -msgid "" -"Next we'll go over the alternative, a global event handler. This works " -"just the same as :func:`on_slash_command_error` or `on_ready`. But note " -"that this code will be triggered on any components interaction." -msgstr "" - -#: ../../components.rst:92 -msgid "Component callbacks" -msgstr "" - -#: ../../components.rst:94 -msgid "" -"There is one more method - making a function that'll be component " -"callback - triggered when components in a specified message or specific " -"``custom_id`` are used. Let's register our callback function via " -"decorator :meth:`component_callback() " -"`, in similar ways " -"to slash commands." -msgstr "" - -#: ../../components.rst:103 -msgid "" -"In this example, :func:`hello` will be triggered when you receive " -"interaction event from a component with a `custom_id` set to `\"hello\"`." -" Just like slash commands, the callback's `custom_id` defaults to the " -"function name. You can also register such callbacks in cogs using " -":func:`cog_component() ` Additionally, component " -"callbacks can be dynamically added, removed or edited - see " -":class:`SlashCommand `" -msgstr "" - -#: ../../components.rst:108 -msgid "But [writer], I dont want to edit the message" -msgstr "" - -#: ../../components.rst:110 -msgid "" -"Well lucky for you, you don't have to. You can either respond silently, " -"with a thinking animation, or send a whole new message. Take a look here:" -" :class:`ComponentContext `" -msgstr "" - -#: ../../components.rst:113 -msgid "How do I know which button was pressed?" -msgstr "" - -#: ../../components.rst:115 -msgid "" -"Each button gets a ``custom_id`` (which is always a string), this is a " -"unique identifier of which button is being pressed. You can specify what " -"the ID is when you define your button, if you don't; a random one will be" -" generated. When handling the event, simply check the custom_id, and " -"handle accordingly." -msgstr "" - -#: ../../components.rst:118 -msgid "What about selects / Dropdowns?" -msgstr "" - -#: ../../components.rst:120 -msgid "" -"Yep we support those too. You use them much the same as buttons. You can " -"only have 1 select per action row, but each select can have up to 25 " -"options in it!" -msgstr "" - -#: ../../components.rst:144 -msgid "" -"Additionally, you can pass ``description`` as a keyword-argument for " -"``create_select_option()`` if you so wish." -msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/context.po b/docs/locale/it/LC_MESSAGES/context.po new file mode 100644 index 000000000..9e1dfbc1e --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/context.po @@ -0,0 +1,320 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../context.rst:4 +msgid "Event Context" +msgstr "" + +#: interactions.client.context._Context:1 of +msgid "" +"The base class of \"context\" for dispatched event data from the gateway." +" The premise of having this class is so that the user-facing API is able " +"to allow developers to easily access information presented from any event" +" in a \"contextualized\" sense." +msgstr "" + +#: interactions.client.context.CommandContext +#: interactions.client.context._Context of +msgid "Variables" +msgstr "" + +#: interactions.client.context._Context:7 of +msgid "The message data model." +msgstr "" + +#: interactions.client.context._Context:8 of +msgid "The member data model." +msgstr "" + +#: interactions.client.context._Context:9 of +msgid "The user data model." +msgstr "" + +#: interactions.client.context._Context:10 of +msgid "The channel data model." +msgstr "" + +#: interactions.client.context._Context:11 of +msgid "The guild data model." +msgstr "" + +#: interactions.client.context._Context.get_channel:1 of +msgid "This gets the channel the context was invoked in." +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Returns" +msgstr "" + +#: interactions.client.context._Context.get_channel:3 of +msgid "The channel as object" +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Return type" +msgstr "" + +#: interactions.client.context._Context.get_guild:1 of +msgid "This gets the guild the context was invoked in." +msgstr "" + +#: interactions.client.context._Context.get_guild:3 of +msgid "The guild as object" +msgstr "" + +#: interactions.client.context.CommandContext.send:1 +#: interactions.client.context.ComponentContext.send:1 +#: interactions.client.context._Context.send:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update +#: interactions.client.context.CommandContext.defer +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.defer +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.popup +#: interactions.client.context._Context.send of +msgid "Parameters" +msgstr "" + +#: interactions.client.context.CommandContext.send:4 +#: interactions.client.context.ComponentContext.send:4 +#: interactions.client.context._Context.send:4 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.client.context.CommandContext.send:6 +#: interactions.client.context.ComponentContext.send:6 +#: interactions.client.context._Context.send:6 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:8 +#: interactions.client.context.ComponentContext.send:8 +#: interactions.client.context._Context.send:8 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:10 +#: interactions.client.context.ComponentContext.send:10 +#: interactions.client.context._Context.send:10 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.client.context.CommandContext.send:12 +#: interactions.client.context.ComponentContext.send:12 +#: interactions.client.context._Context.send:12 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:14 +#: interactions.client.context.ComponentContext.send:14 +#: interactions.client.context._Context.send:14 of +msgid "Whether the response is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:16 +#: interactions.client.context.ComponentContext.send:16 +#: interactions.client.context._Context.send:16 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.client.context.CommandContext.edit:1 +#: interactions.client.context.ComponentContext.edit:1 +#: interactions.client.context._Context.edit:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response. This inherits the arguments of the Context " +"``.send()`` method." +msgstr "" + +#: interactions.client.context.CommandContext.edit:5 +#: interactions.client.context.ComponentContext.edit:5 +#: interactions.client.context._Context.edit:5 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.client.context._Context.popup:1 of +msgid "This \"pops up\" a modal to present information back to the user." +msgstr "" + +#: interactions.client.context._Context.popup:4 of +msgid "The components you wish to show." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:1 of +msgid "" +"Update an object with new attributes. All data will be converted, and any" +" extra attributes will be put in _extras" +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:4 of +msgid "The dictionary to update from" +msgstr "" + +#: interactions.client.context.CommandContext:1 of +msgid "" +"A derivation of :class:`interactions.context.Context` designed " +"specifically for application command data." +msgstr "" + +#: interactions.client.context.CommandContext:5 of +msgid "" +"The ``guild`` attribute of the base context is not accessible for any " +"interaction-related events since the current Discord API schema does not " +"return this as a value, but instead ``guild_id``. You will need to " +"manually fetch for this data for the time being." +msgstr "" + +#: interactions.client.context.CommandContext:11 of +msgid "" +"You can fetch with ``client.get_guild(guild_id)`` which will return a " +"JSON dictionary, which you can then use ``interactions.Guild(**data)`` " +"for an object or continue with a dictionary for your own purposes." +msgstr "" + +#: interactions.client.context.CommandContext:16 of +msgid "the HTTP client" +msgstr "" + +#: interactions.client.context.CommandContext:17 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:18 of +msgid "The application ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:19 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.context.CommandContext:20 of +msgid "The application command data." +msgstr "" + +#: interactions.client.context.CommandContext:21 of +msgid "The target selected if this interaction is invoked as a context menu." +msgstr "" + +#: interactions.client.context.CommandContext:22 of +msgid "The token of the interaction response." +msgstr "" + +#: interactions.client.context.CommandContext:23 of +msgid "The ID of the current guild." +msgstr "" + +#: interactions.client.context.CommandContext:24 of +msgid "The ID of the current channel." +msgstr "" + +#: interactions.client.context.CommandContext:25 of +msgid "Whether an original response was made or not." +msgstr "" + +#: interactions.client.context.CommandContext:26 of +msgid "Whether the response was deferred or not." +msgstr "" + +#: interactions.client.context.CommandContext:27 of +msgid "The selected language of the user invoking the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:28 of +msgid "The guild's preferred language, if invoked in a guild." +msgstr "" + +#: interactions.client.context.CommandContext.defer:1 of +msgid "" +"This \"defers\" an interaction response, allowing up to a 15-minute delay" +" between invocation and responding." +msgstr "" + +#: interactions.client.context.CommandContext.defer:4 +#: interactions.client.context.ComponentContext.defer:4 of +msgid "Whether the deferred state is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.delete:1 of +msgid "" +"This deletes the interaction response of a message sent by the " +"contextually derived information from this class." +msgstr "" + +#: interactions.client.context.CommandContext.delete:5 of +msgid "Doing this will proceed in the context message no longer being present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:1 of +msgid "" +"This \"populates\" the list of choices that the client-end user will be " +"able to select from in the autocomplete field." +msgstr "" + +#: interactions.client.context.CommandContext.populate:5 of +msgid "" +"Only a maximum of ``25`` choices may be presented within an autocomplete " +"option." +msgstr "" + +#: interactions.client.context.CommandContext.populate:8 of +msgid "The choices you wish to present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:10 of +msgid "The list of choices you've given." +msgstr "" + +#: interactions.client.context.ComponentContext:1 of +msgid "" +"A derivation of :class:`interactions.context.CommandContext` designed " +"specifically for component data." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:1 of +msgid "" +"This \"defers\" a component response, allowing up to a 15-minute delay " +"between invocation and responding." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:6 of +msgid "Whether you want to edit the original message or send a followup message" +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/enums.po b/docs/locale/it/LC_MESSAGES/enums.po index 1add6393c..33035829d 100644 --- a/docs/locale/it/LC_MESSAGES/enums.po +++ b/docs/locale/it/LC_MESSAGES/enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,87 +22,140 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.enums.ApplicationCommandType:1 of +#: interactions.client.enums.ApplicationCommandType:1 of msgid "An enumerable object representing the types of application commands." msgstr "" -#: interactions.enums.OptionType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a slash" -" command's option(s)." +#: interactions.client.enums.ApplicationCommandType +#: interactions.client.enums.ButtonStyle +#: interactions.client.enums.ComponentType +#: interactions.client.enums.InteractionCallbackType +#: interactions.client.enums.InteractionType +#: interactions.client.enums.OptionType +#: interactions.client.enums.PermissionType +#: interactions.client.enums.TextStyleType of +msgid "Variables" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:3 +#: interactions.client.enums.ButtonStyle:3 +#: interactions.client.enums.ComponentType:3 +#: interactions.client.enums.InteractionCallbackType:3 +#: interactions.client.enums.InteractionType:3 +#: interactions.client.enums.OptionType:3 +#: interactions.client.enums.PermissionType:3 +#: interactions.client.enums.TextStyleType:3 of +msgid "1" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:4 +#: interactions.client.enums.ButtonStyle:4 +#: interactions.client.enums.ComponentType:4 +#: interactions.client.enums.InteractionType:4 +#: interactions.client.enums.OptionType:4 +#: interactions.client.enums.PermissionType:4 +#: interactions.client.enums.TextStyleType:4 of +msgid "2" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:5 +#: interactions.client.enums.ButtonStyle:5 +#: interactions.client.enums.ComponentType:5 +#: interactions.client.enums.InteractionType:5 +#: interactions.client.enums.OptionType:5 +#: interactions.client.enums.PermissionType:5 of +msgid "3" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:6 +#: interactions.client.enums.ButtonStyle:6 +#: interactions.client.enums.ComponentType:6 +#: interactions.client.enums.InteractionCallbackType:4 +#: interactions.client.enums.InteractionType:6 +#: interactions.client.enums.OptionType:6 of +msgid "4" +msgstr "" + +#: interactions.client.enums.InteractionType:1 of +msgid "An enumerable object representing the types of interactions." msgstr "" -#: interactions.enums.OptionType:5 of +#: interactions.client.enums.ButtonStyle:7 +#: interactions.client.enums.InteractionCallbackType:5 +#: interactions.client.enums.InteractionType:7 +#: interactions.client.enums.OptionType:7 of +msgid "5" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:1 of msgid "" -"Equivalent of `ApplicationCommandOptionType " -"`_ in the " -"Discord API." +"An enumerable object representing the callback types of interaction " +"responses." +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:6 +#: interactions.client.enums.OptionType:8 of +msgid "6" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:7 +#: interactions.client.enums.OptionType:9 of +msgid "7" msgstr "" -#: interactions.enums.OptionType.from_type:1 of -msgid "Get a specific enumerable from a type or object." +#: interactions.client.enums.InteractionCallbackType:8 +#: interactions.client.enums.OptionType:10 of +msgid "8" msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Parameters" +#: interactions.client.enums.InteractionCallbackType:9 +#: interactions.client.enums.OptionType:11 of +msgid "9" msgstr "" -#: interactions.enums.OptionType.from_type:3 of -msgid "The type or object to get an enumerable integer for." +#: interactions.client.enums.OptionType:1 of +msgid "" +"An enumerable object representing the types of an application command " +"option." msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Returns" +#: interactions.client.enums.OptionType:12 of +msgid "10" msgstr "" -#: interactions.enums.OptionType.from_type:5 of -msgid "enum.IntEnum." +#: interactions.client.enums.OptionType:13 of +msgid "11" msgstr "" -#: interactions.enums.PermissionType:1 of +#: interactions.client.enums.PermissionType:1 of msgid "" "Enumerable object of literal integers holding equivocal values of a slash" " command's permission(s)." msgstr "" -#: interactions.enums.PermissionType:4 of -msgid "" -"Equivalent of `ApplicationCommandPermissionType " -"`_ in the Discord API." +#: interactions.client.enums.ComponentType:1 of +msgid "An enumerable object representing the types of a component." msgstr "" -#: interactions.enums.PermissionType.from_type:1 of -msgid "" -"Get a specific enumerable from a type or object. :param _type: The type " -"or object to get an enumerable integer for. :type _type: type :return: " -"enum.IntEnum." +#: interactions.client.enums.ButtonStyle:1 of +msgid "An enumerable object representing the styles of button components." msgstr "" -#: interactions.enums.ComponentType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"component(s) type." +#: interactions.client.enums.TextStyleType:1 of +msgid "An enumerable object representing the styles of text inputs." msgstr "" -#: interactions.enums.ComponentType:4 of -msgid "" -"Equivalent of `Component Types " -"`_ in the Discord API." +#: interactions.client.enums.Locale:1 of +msgid "An enumerable object representing Discord locales." msgstr "" -#: interactions.enums.ButtonType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"button(s) type." +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." msgstr "" -#: interactions.enums.ButtonType:4 of +#: enum.Enum._generate_next_value_:3 of msgid "" -"Equivalent of `Button Styles " -"`_ in the Discord API." +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/ext.base.po b/docs/locale/it/LC_MESSAGES/ext.base.po new file mode 100644 index 000000000..b0275dd49 --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/ext.base.po @@ -0,0 +1,150 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.base.rst:4 +msgid "Core Model" +msgstr "" + +#: interactions.ext.base.Base:1 of +msgid "A class representing the base structure of a 3rd party." +msgstr "" + +#: interactions.ext.base.Base of +msgid "Variables" +msgstr "" + +#: interactions.ext.base.Base:3 of +msgid "The version of the library." +msgstr "" + +#: interactions.ext.base.Base:4 of +msgid "The name of the library." +msgstr "" + +#: interactions.ext.base.Base:5 of +msgid "The description of the library." +msgstr "" + +#: interactions.ext.base.Base:6 of +msgid "The long description of the library." +msgstr "" + +#: interactions.ext.base.Base:7 of +msgid "The repository link or the library." +msgstr "" + +#: interactions.ext.base.Base:8 of +msgid "The packages of the library." +msgstr "" + +#: interactions.ext.base.Base:9 of +msgid "The modules in the library required." +msgstr "" + +#: interactions.ext.base.Base:10 of +msgid "The objects running under the service." +msgstr "" + +#: interactions.ext.base.Base._check_service:1 of +msgid "Checks whether the service already exists within the list or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service of +msgid "Parameters" +msgstr "" + +#: interactions.ext.base.Base._check_service:3 of +msgid "The name of the service to check." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Returns" +msgstr "" + +#: interactions.ext.base.Base._check_service:5 of +msgid "Whether the service exists or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Return type" +msgstr "" + +#: interactions.ext.base.Base.add_service:1 of +msgid "" +"Adds a service to the 3rd party for ease of accessibility in calling. The" +" code theory behind this is to simplify the way you handle and manage the" +" calling of other objects, as well as accessing their information." +msgstr "" + +#: interactions.ext.base.Base.add_service:5 of +msgid "The object to add as a service." +msgstr "" + +#: interactions.ext.base.Base.add_service:7 of +msgid "The name of the object to map under." +msgstr "" + +#: interactions.ext.base.Base.add_service:9 of +msgid "The mapped relation between the object and name." +msgstr "" + +#: interactions.ext.base.Base.remove_service:1 of +msgid "" +"Removes a service from the 3rd party in the event that it is no longer " +"needed to be referred to for data." +msgstr "" + +#: interactions.ext.base.Base.remove_service:4 of +msgid "The name of the service to remove." +msgstr "" + +#: interactions.ext.base.Base.remove_service:6 of +msgid "If the service has been removed or not." +msgstr "" + +#: interactions.ext.base.Base.remove_service of +msgid "Raises" +msgstr "" + +#: interactions.ext.base.Base.remove_service:8 of +msgid "An unknown service in the base." +msgstr "" + +#: interactions.ext.base.Base.services:1 of +msgid "" +"Returns a view on all of the services currently stored under the 3rd " +"party." +msgstr "" + +#: interactions.ext.base.Base.services:3 of +msgid "A dictionary of objects sorted by their name." +msgstr "" + +#: interactions.ext.base.build:1 of +msgid "Builds the base 3rd party the same way as ``setup`` from ``setuptools``." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/ext.converter.po b/docs/locale/it/LC_MESSAGES/ext.converter.po new file mode 100644 index 000000000..8f0df6d4b --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/ext.converter.po @@ -0,0 +1,114 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.converter.rst:4 +msgid "Converter Model" +msgstr "" + +#: interactions.ext.converter.Converter:1 of +msgid "" +"A class representing the \"conversion\" or consistent mapping between two" +" objects' attributes." +msgstr "" + +#: interactions.ext.converter.Converter of +msgid "Variables" +msgstr "" + +#: interactions.ext.converter.Converter:4 of +msgid "The first object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter:5 of +msgid "The second object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:1 of +msgid "Maps the attributes between the models for conversion reference." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Returns" +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:3 of +msgid "A dictionary of attributes mapped." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Return type" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:1 of +msgid "Gets a mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr of +msgid "Parameters" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:3 of +msgid "The attribute to get." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:5 of +msgid "The mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:1 of +msgid "Gets a list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:3 of +msgid "The list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.ref:1 of +msgid "Gets the \"referenced\" model, or first." +msgstr "" + +#: interactions.ext.converter.Converter.ref:3 of +msgid "The referenced model." +msgstr "" + +#: interactions.ext.converter.Converter.difference:1 of +msgid "Gets a list of keys and values that the models don't share in common." +msgstr "" + +#: interactions.ext.converter.Converter.difference:3 +#: interactions.ext.converter.Converter.missing:3 of +msgid "A list of dictionaries" +msgstr "" + +#: interactions.ext.converter.Converter.missing:1 of +msgid "" +"Gets a list of keys and values missing from the \"referenced\" or first " +"model." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/ext.error.po b/docs/locale/it/LC_MESSAGES/ext.error.po new file mode 100644 index 000000000..763b1799e --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/ext.error.po @@ -0,0 +1,84 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.error.rst:4 +msgid "Error Exceptions" +msgstr "" + +#: interactions.ext.error.ErrorType:1 of +msgid "An enumerable object representing the type of error responses raised." +msgstr "" + +#: interactions.ext.error.ErrorType of +msgid "Variables" +msgstr "" + +#: interactions.ext.error.ErrorType:3 of +msgid "" +"You cannot have more than one alphanumeric identifier, or identifier with" +" a missing value." +msgstr "" + +#: interactions.ext.error.ErrorType:4 of +msgid "You cannot have a missing numerical value." +msgstr "" + +#: interactions.ext.error.ErrorType:5 of +msgid "" +"A version can only have one main author. The rest of the authors must be " +"co-authors." +msgstr "" + +#: interactions.ext.error.ErrorType:6 of +msgid "The service specified does not exist." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.error.IncorrectAlphanumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"alphanumeric formatting." +msgstr "" + +#: interactions.ext.error.MissingNumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"numerical formatting." +msgstr "" + +#: interactions.ext.error.TooManyAuthors:1 of +msgid "" +"An exception raised whenever a ``VersionAuthor`` object have too many " +"\"main\" authors." +msgstr "" + +#: interactions.ext.error.UnknownService:1 of +msgid "An exception raised whenever a ``Base`` object cannot find a service." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/ext.gettingstarted.po b/docs/locale/it/LC_MESSAGES/ext.gettingstarted.po new file mode 100644 index 000000000..1c21e3eb3 --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/ext.gettingstarted.po @@ -0,0 +1,225 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.gettingstarted.rst:2 +msgid "Getting started." +msgstr "" + +#: ../../ext.gettingstarted.rst:5 +msgid "Developing a 3rd party." +msgstr "" + +#: ../../ext.gettingstarted.rst:7 +msgid "" +"Getting started with making a 3rd party library is pretty hard. Most of " +"the time, you'll find yourself often checking the source code and " +"directly making changes to the library. We want to make a change to that," +" and additionally, make it easier for developers to find creativity in " +"the simplicity of our overengineered product." +msgstr "" + +#: ../../ext.gettingstarted.rst:14 +msgid "" +"If you're not familiar with the source code of the library, you should " +"probably read the documentation first." +msgstr "" + +#: ../../ext.gettingstarted.rst:17 +msgid "" +"Basing your 3rd party libraries off of our ``unstable`` branch is a bad " +"practice as this is regarded as our development branch. Breaking changes " +"may become common, and as a result pose a risk in affecting your 3rd " +"party. For this reason, we recommend you use the latest PyPI release or " +"``stable`` branch." +msgstr "" + +#: ../../ext.gettingstarted.rst:24 +msgid "Installing" +msgstr "" + +#: ../../ext.gettingstarted.rst:26 +msgid "" +"Installing the external framework is a rather trivial process. You do not" +" need to run any special installation on the library, as this comes built" +" into our main core. However, you will need to install the dependencies " +"involved with the library." +msgstr "" + +#: ../../ext.gettingstarted.rst:31 +msgid "" +"If you do not already have this library installed, you can do with this " +"line below:" +msgstr "" + +#: ../../ext.gettingstarted.rst:39 +msgid "Creating the base." +msgstr "" + +#: ../../ext.gettingstarted.rst:41 +msgid "" +"For every official 3rd party library of interactions.py, we have a " +"\"core\" for it, otherwise known as the base. This base is what we use to" +" allow developers to easily setup their project onto PyPI and build, as " +"well as storing additional information that bot developers can read off " +"of for their bots." +msgstr "" + +#: ../../ext.gettingstarted.rst:46 +msgid "This code shows a basic example for creating the base of a 3rd party:" +msgstr "" + +#: ../../ext.gettingstarted.rst:71 +msgid "" +"This configures the base of the library in a rather simple manner: you " +"give the name and description of the 3rd party, as well as its own " +"official version and link for reference. This is all that is required to " +"build the library. The rest of the field that can be filled in are " +"optional. You can look at the :ref:`Base class ` for" +" more information." +msgstr "" + +#: ../../ext.gettingstarted.rst:78 +msgid "Defining a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:80 +msgid "" +"As you may have noticed in the ``Base`` class, we have a ``Version`` " +"class that helps define the version of the 3rd party. This is required to" +" be written in our class for numerous reasons:" +msgstr "" + +#: ../../ext.gettingstarted.rst:83 +msgid "To help enforce consistency in the formatting of 3rd party versions." +msgstr "" + +#: ../../ext.gettingstarted.rst:84 +msgid "To allow for easy version comparison." +msgstr "" + +#: ../../ext.gettingstarted.rst:85 +msgid "Forced semantic versioning." +msgstr "" + +#: ../../ext.gettingstarted.rst:87 +msgid "" +"This class is our most advanced and complicated one due to the abundant " +"nature in emphasising a proper versioning system. We have a few options " +"for versioning, and we have a few rules to follow." +msgstr "" + +#: ../../ext.gettingstarted.rst:90 +msgid "" +"Major, minor and patch versions **must** be declared as either their " +"respective key-word arguments, or under the ``version`` kwarg." +msgstr "" + +#: ../../ext.gettingstarted.rst:91 +msgid "" +"The version should not be author-less. Every library has an author behind" +" a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:92 +msgid "" +"The version should not be a pre-release. Pre-releases are not supported " +"by the official PyPI. To release as alpha or beta, use the " +"``extend_version()`` method." +msgstr "" + +#: ../../ext.gettingstarted.rst:93 +msgid "" +"A version cannot contain more than 1 main author. If you have multiple " +"authors, you should label them as co-authors instead." +msgstr "" + +#: ../../ext.gettingstarted.rst:94 +msgid "An alphanumeric version can only contain one instance of its own." +msgstr "" + +#: ../../ext.gettingstarted.rst:96 +msgid "" +"With these rules out of the way, let's look at a simple implementation of" +" the ``Version`` class alongside its brother, ``VersionAuthor`` for " +"adding authors of a version:" +msgstr "" + +#: ../../ext.gettingstarted.rst:120 +msgid "" +"This code example can also show you the ways of retreiving information " +"from a version. As seen here, this is a highly versatile class. These " +"following are the shown methods and their purposes:" +msgstr "" + +#: ../../ext.gettingstarted.rst:124 +msgid "The ``version`` attribute is the version string." +msgstr "" + +#: ../../ext.gettingstarted.rst:125 +msgid "The ``major`` attribute is the major version number, e.g. \"x.0.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:126 +msgid "The ``minor`` attribute is the minor version number, e.g. \"0.x.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:127 +msgid "The ``patch`` attribute is the patch version number, e.g. \"0.0.x\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:128 +msgid "" +"The ``authors`` property method is a list of authors, regardless of if " +"one is a co-author or not." +msgstr "" + +#: ../../ext.gettingstarted.rst:129 +msgid "" +"The ``is_alphanumeric`` property method is a boolean that indicates if " +"the version is alphanumeric." +msgstr "" + +#: ../../ext.gettingstarted.rst:132 +msgid "Converting models from one to another." +msgstr "" + +#: ../../ext.gettingstarted.rst:134 +msgid "" +"The term \"conversion\" is a gross exaggeration of what we're actually " +"doing here. The problem that we've found with bot developers cross-" +"referencing from different libraries is that their data models are simply" +" different in design and structure. In order to combat against this, we " +"have decided to create a conversion tool that will allow us to convert " +"between models. This tool also allows for better comparison that will " +"save the average developer many lines of code from having to be written. " +"This is a basic example of how we \"convert\" these models:" +msgstr "" + +#: ../../ext.gettingstarted.rst:162 +msgid "What about errors?" +msgstr "" + +#: ../../ext.gettingstarted.rst:164 +msgid "" +"Don't worry---we've got you covered there. Each of our tools will raise " +"special error exceptions that you can listen to. Since this is a pretty " +"self-explanitory subject, we recommend :ref:`reading the documentation " +"` on this." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/ext.po b/docs/locale/it/LC_MESSAGES/ext.po new file mode 100644 index 000000000..ee17491a5 --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/ext.po @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.rst:19 +msgid "Tools:" +msgstr "" + +#: ../../ext.rst:4 +msgid "External Framework" +msgstr "" + +#: ../../ext.rst:6 +msgid "" +"Are you trying to build your own 3rd party library, but you don't want to" +" monkey-patch your own solutions into the current existing library " +"codebase? Are you wanting to avoid having to modify the architecture of " +"the library to specifically suit you or others needs? Well, now we have " +"something to introduce to you: ``interactions.ext``. The officially given" +" software development kit (SDK) tools suite made by developers; for " +"developers." +msgstr "" + +#: ../../ext.rst:13 +msgid "How does the framework... work?" +msgstr "" + +#: ../../ext.rst:15 +msgid "" +"Great question! We're glad you asked. The framework is a set of tools " +"that are designed to make your life easier. There are a few tools that we" +" provide out of the box, but you can also create some of your own. We'll " +"be covering each one of these tools in great detail." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/ext.version.po b/docs/locale/it/LC_MESSAGES/ext.version.po new file mode 100644 index 000000000..7ad8f183b --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/ext.version.po @@ -0,0 +1,182 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.version.rst:4 +msgid "Versioning Models" +msgstr "" + +#: interactions.ext.version.VersionAuthor:1 of +msgid "A class representing the author involved in a version." +msgstr "" + +#: interactions.ext.version.Version interactions.ext.version.VersionAuthor of +msgid "Variables" +msgstr "" + +#: interactions.ext.version.VersionAuthor:3 of +msgid "The hashed representation of the class." +msgstr "" + +#: interactions.ext.version.VersionAuthor:4 of +msgid "Whether this is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:5 of +msgid "Whether the author is active or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:6 of +msgid "The email of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor:7 of +msgid "The name of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor.is_co_author:1 of +msgid "Returns whether the author is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAlphanumericType:1 of +msgid "An enumeration." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.version.Version:1 of +msgid "A class representing how a version is structured for a 3rd party library." +msgstr "" + +#: interactions.ext.version.Version:4 of +msgid "" +"This class respects the design and application of Semantic Versioning " +"2.0.0, (SemVer) a widely accepted standardisation of version control for " +"modules and projects." +msgstr "" + +#: interactions.ext.version.Version:8 of +msgid "The major version." +msgstr "" + +#: interactions.ext.version.Version:9 of +msgid "The minor version." +msgstr "" + +#: interactions.ext.version.Version:10 of +msgid "The patch version." +msgstr "" + +#: interactions.ext.version.Version:11 of +msgid "The authors tied to the version release." +msgstr "" + +#: interactions.ext.version.Version:12 of +msgid "The representation of the version." +msgstr "" + +#: interactions.ext.version.Version:13 of +msgid "The alphanumeric typing of the version." +msgstr "" + +#: interactions.ext.version.Version.major:1 of +msgid "Returns the major version." +msgstr "" + +#: interactions.ext.version.Version.minor:1 of +msgid "Returns the minor version." +msgstr "" + +#: interactions.ext.version.Version.patch:1 of +msgid "Returns the patch version." +msgstr "" + +#: interactions.ext.version.Version.author:1 of +msgid "" +"Returns the author of the version. If multiple authors exist, it will " +"choose the only one that is not a co-author." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Returns" +msgstr "" + +#: interactions.ext.version.Version.author:4 of +msgid "The author of the version, if one exists." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Return type" +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.extend_version of +msgid "Raises" +msgstr "" + +#: interactions.ext.version.Version.author:6 of +msgid "Too many main authors were found." +msgstr "" + +#: interactions.ext.version.Version.authors:1 of +msgid "Returns the list of authors under the version." +msgstr "" + +#: interactions.ext.version.Version.authors:3 of +msgid "The authors of the version, if any exist." +msgstr "" + +#: interactions.ext.version.Version.is_alphanumeric:1 of +msgid "Returns whether the version is alphanumeric or not." +msgstr "" + +#: interactions.ext.version.Version.extend_version:1 of +msgid "Allows the version to be extended upon with an alphanumeric format." +msgstr "" + +#: interactions.ext.version.Version.extend_version of +msgid "Parameters" +msgstr "" + +#: interactions.ext.version.Version.extend_version:3 of +msgid "" +"Key-word arguments to be supplied as ``alpha``, ``beta`` or ``rc`` " +"respectively." +msgstr "" + +#: interactions.ext.version.Version.extend_version:5 of +msgid "The new version with the alphanumeric." +msgstr "" + +#: interactions.ext.version.Version.extend_version:7 of +msgid "The alphanumeric version was incorrectly formatted." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/faq.po b/docs/locale/it/LC_MESSAGES/faq.po index aa58e9a37..be61d009d 100644 --- a/docs/locale/it/LC_MESSAGES/faq.po +++ b/docs/locale/it/LC_MESSAGES/faq.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,28 +30,21 @@ msgstr "" #: ../../faq.rst:8 msgid "" -"This page is maintained by the Helpers of the Discord server, and updated" -" by the library developer at their discretion. For any comments, feedback" -" or concerns please consider joining our server and bringing it up in our" -" support channels." +"This page is maintained by the Helpers of the Discord server, and " +"developers at their discretion. For any comments, feedback or concerns " +"please consider joining our server and bringing it up in our support " +"channels." msgstr "" -#: ../../faq.rst:15 -msgid "" -"This FAQ list currently reflects v4.0 as of the time of this writing, all" -" other versions are considered deprecated. Because of this, there will " -"not be any answers for questions regarding v3.0 and below." -msgstr "" - -#: ../../faq.rst:20 +#: ../../faq.rst:14 msgid "discord.py is dead! Will this library die too?" msgstr "" -#: ../../faq.rst:21 ../../faq.rst:31 +#: ../../faq.rst:15 ../../faq.rst:25 msgid "The short answer is: **no**." msgstr "" -#: ../../faq.rst:23 +#: ../../faq.rst:17 msgid "" "The decision to become a standalone library that is now an API wrapper " "for the Discord API was made before Danny posted his gist on GitHub about" @@ -59,24 +52,24 @@ msgid "" "the library developer regarding this:" msgstr "" -#: ../../faq.rst:30 +#: ../../faq.rst:24 msgid "Are you going to/will/consider fork(ing) discord.py?" msgstr "" -#: ../../faq.rst:33 +#: ../../faq.rst:27 msgid "" "The long answer is a list of numerous reasons as to why this decision was" " made:" msgstr "" -#: ../../faq.rst:35 +#: ../../faq.rst:29 msgid "" "There are/will be numerous forks out there for discord.py, and because of" " that, we cannot safely guarantee our ability to help users out who may " "be using their own form of modified code." msgstr "" -#: ../../faq.rst:36 +#: ../../faq.rst:30 msgid "" "The original purpose of this library was to act as an extension of " "discord.py, but due to the issue of constantly having to monkeypatch " @@ -85,7 +78,7 @@ msgid "" "not change anything from our issue of avoiding this." msgstr "" -#: ../../faq.rst:37 +#: ../../faq.rst:31 msgid "" "The goal of this library is to solely implement support and integrate the" " use of interactions from the Discord API. Making this library unique in " @@ -93,7 +86,7 @@ msgid "" "standards at the time." msgstr "" -#: ../../faq.rst:38 +#: ../../faq.rst:32 msgid "" "The message intent will inevitably be forced as a privileged intent in " "April 2022. The practicality of trying to support message commands will " @@ -102,7 +95,7 @@ msgid "" "reason for applying for this privileged intent." msgstr "" -#: ../../faq.rst:39 +#: ../../faq.rst:33 msgid "" "Forking discord.py would be a massive change to our current codebase, " "throwing away all of the effort we've put into it so far, and basically " @@ -112,39 +105,51 @@ msgid "" " this is pointless." msgstr "" -#: ../../faq.rst:42 +#: ../../faq.rst:36 msgid "Will discord.py be able to work with this library?" msgstr "" -#: ../../faq.rst:43 +#: ../../faq.rst:37 msgid "The short answer is: **yes.**" msgstr "" -#: ../../faq.rst:45 +#: ../../faq.rst:39 msgid "" "However, the term \"work\" is loosely structured here. Imagine it like " "taping a hole in the wall instead of repairing the wall. We're " "essentially \"plastering\" support for discord.py instead of doing the " "surgery on its internal organs to make it work well with our library. As " -"it currently stands, **discord-interactions and discord.py** are API " -"wrappers. You will be able to run code *alongside* one another, and you " -"will be able to plug in some classes, but the data conversion **must be " -"exact.**" +"it currently stands, **interactions.py and discord.py** are API wrappers." +" You will be able to run code *alongside* one another, and you will be " +"able to plug in some classes, but the data conversion **must be exact.**" msgstr "" -#: ../../faq.rst:50 +#: ../../faq.rst:44 msgid "What does that mean? Well, we'll show you:" msgstr "" -#: ../../faq.rst:74 +#: ../../faq.rst:73 msgid "" "Both of these variables ``interactions`` and ``dpy`` will be able to run " "in the same established environment, and additionally will both function " -"properly as their respective libraries intend them to. What about the " -"models, though? That's a simple answer:" +"properly as their respective libraries intend them to. This " +"implementation uses asyncio.gather to execute both starts simultaneously " +"as asyncio tasks, and runs them under one singular loop." msgstr "" -#: ../../faq.rst:90 +#: ../../faq.rst:77 +msgid "" +"Compared to traditional startup commands, ``interactions.ready()`` and " +"``dpy.start()`` is used instead of the typical ``interactions.start()`` " +"and ``dpy.run()`` methods because of synchronous/async functions. " +"``asyncio.gather()`` works with coroutines, hence the transition." +msgstr "" + +#: ../../faq.rst:81 +msgid "What about the models, though? That's a simple answer:" +msgstr "" + +#: ../../faq.rst:96 msgid "" "Both of these will be able to both run and give their proper value. It is" " *very* important to note here, though, that you **must** be returning " @@ -153,22 +158,76 @@ msgid "" "that is going on here." msgstr "" -#: ../../faq.rst:95 +#: ../../faq.rst:101 +msgid "Where should we go with discord.py being gone?" +msgstr "" + +#: ../../faq.rst:102 +msgid "" +"The most *biased* answer would be to, of course, *use interactions.py.* " +"We already offer a lot of the integral API wrapper aspects as discord.py " +"does, however, we only specialize in interactions. Which means things " +"such as these won't be supported officially by us (but might be available" +" as 3rd parties):" +msgstr "" + +#: ../../faq.rst:106 +msgid "Cooldowns" +msgstr "" + +#: ../../faq.rst:107 +msgid "Message commands" +msgstr "" + +#: ../../faq.rst:108 +msgid "Voice clients" +msgstr "" + +#: ../../faq.rst:110 +msgid "" +"There are other libraries of course though. As a general rule of thumb, " +"if you're looking to do mainly slash commands and that tidbit then we " +"highly recommend using our library, especially as **discord-components** " +"merges as of version 4.0. But if you want something way more open and " +"versatile, then we recommend these sources:" +msgstr "" + +#: ../../faq.rst:114 +msgid "`Pycord`_ (the most actively maintained)." +msgstr "" + +#: ../../faq.rst:115 +msgid "`NAFF`_ (high level, \"hackable\" API wrapper with ease of modification)." +msgstr "" + +#: ../../faq.rst:116 +msgid "`nextcord`_ (more abstract and fast approach to the Discord API)." +msgstr "" + +#: ../../faq.rst:118 +msgid "" +"It's personally recommended from the library developer to seek these " +"paths instead of sticking to an older version of a library, e.g. " +"discord.py 1.7.3 or 2.0.0a as they can eventually become deprecated with " +"more pending changes to the API by Discord engineers." +msgstr "" + +#: ../../faq.rst:122 msgid "Why are you not supporting cooldowns?" msgstr "" -#: ../../faq.rst:96 +#: ../../faq.rst:123 msgid "" "Cooldowns aren't really an actual feature of the Discord API itself, but " "rather more of a convienent feature implemented in discord.py in order to" " avoid spamming of commands." msgstr "" -#: ../../faq.rst:99 +#: ../../faq.rst:126 msgid "**What if people spam slash/sub commands?**" msgstr "" -#: ../../faq.rst:101 +#: ../../faq.rst:128 msgid "" "That's the neat part: it's really hard to do that, and most of the time, " "they won't. Unless they copy the exact string that was used when you open" @@ -181,11 +240,11 @@ msgid "" "library." msgstr "" -#: ../../faq.rst:108 +#: ../../faq.rst:135 msgid "Will we not be able to create message commands?" msgstr "" -#: ../../faq.rst:109 +#: ../../faq.rst:136 msgid "" "This is a tricky question to really answer. If you want the *technical* " "answer: you can definitely create them with our library, however, you'll " @@ -197,16 +256,51 @@ msgid "" "handler framework before in their entire life." msgstr "" -#: ../../faq.rst:118 +#: ../../faq.rst:144 +msgid "" +"I'm getting \"``AttributeError: HTTPClient not found!``\" when I try to " +"execute helper methods!" +msgstr "" + +#: ../../faq.rst:145 +msgid "Probably you are doing something like this:" +msgstr "" + +#: ../../faq.rst:152 +msgid "" +"And the error occurs in the line where you try to send something. You can" +" fix this easy by adding one argument:" +msgstr "" + +#: ../../faq.rst:159 +msgid "" +"You have to add this extra argument for every object you instantiate by " +"yourself if you want to use it's methods" +msgstr "" + +#: ../../faq.rst:163 +msgid "" +"Context and Messages don't have the ``Channel`` and ``Guild`` attributes!" +" Why?" +msgstr "" + +#: ../../faq.rst:164 +msgid "" +"At the moment the Discord API does *not* include them into their " +"responses. You can get those object via the ``get_channel()`` and " +"``get_guild()`` methods of the Context and Message model." +msgstr "" + +#: ../../faq.rst:169 msgid "My question is not answered on here!" msgstr "" -#: ../../faq.rst:119 +#: ../../faq.rst:170 msgid "" "Please join our Discord server for any further support regarding our " "library and/or any integration code depending on it." msgstr "" -#: ../../faq.rst:121 +#: ../../faq.rst:172 msgid "Invite Link: https://discord.gg/KkgMBVuEkx" msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/gettingstarted.po b/docs/locale/it/LC_MESSAGES/gettingstarted.po deleted file mode 100644 index 68d69eec9..000000000 --- a/docs/locale/it/LC_MESSAGES/gettingstarted.po +++ /dev/null @@ -1,646 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../gettingstarted.rst:2 -msgid "Getting Started" -msgstr "" - -#: ../../gettingstarted.rst:5 -msgid "Where do we start?" -msgstr "" - -#: ../../gettingstarted.rst:7 -msgid "" -"Before we begin getting started on everything else, it is recommended to " -"check out the `quickstart`_ page first to get a basic grip on making " -"slash commands for your bot." -msgstr "" - -#: ../../gettingstarted.rst:12 -msgid "Making a slash command." -msgstr "" - -#: ../../gettingstarted.rst:15 -msgid "The basics." -msgstr "" - -#: ../../gettingstarted.rst:17 -msgid "" -"First, let's explain by how commands are parsed through the Discord Bot " -"API." -msgstr "" - -#: ../../gettingstarted.rst:19 -msgid "" -"As you may know, Discord relies a lot on the interaction of HTTP Requests" -" and JSON tables. As is with the case here, commands are the exact same " -"way with having JSON tables to structure the design of it for Discord to " -"understand. We can apply this information likewise with how slash " -"commands are to be designed in the Python code. Below attached is from " -"the *Discord Developer Portal* on Slash Commands for showing how they are" -" designed." -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Field**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Type**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Description**" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -msgid "name" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:31 -#: ../../gettingstarted.rst:79 ../../gettingstarted.rst:81 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -#: ../../gettingstarted.rst:413 ../../gettingstarted.rst:415 -#: ../../gettingstarted.rst:417 ../../gettingstarted.rst:419 -msgid "string" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -msgid "1-32 character name matching ``^[\\w-]{1,32}$``." -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "description" -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "1-100 character description." -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "options?" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "array of `ApplicationCommandOption`_" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "" -"if the option is a subcommand or subcommand group type, this nested " -"options will be the parameters." -msgstr "" - -#: ../../gettingstarted.rst:36 -msgid "" -"This table shows us the way that Discord handles the structure of " -"commands for slash commands through their Bot API. For visualization " -"purposes, we'll quickly make a JSON example (although we won't be using " -"it) in order to explain how this works:" -msgstr "" - -#: ../../gettingstarted.rst:48 -msgid "" -"Now that we have a basic understanding of how the JSON table works, we " -"can take this knowledge and convert it into a decorator method for the " -"Python code as shown below:" -msgstr "" - -#: ../../gettingstarted.rst:59 -msgid "" -"Now that we've gone over how Discord handles the declaration of slash " -"commands through their Bot API, let's go over what some of the other " -"things mean within the *logical* part of our code, the command function:" -msgstr "" - -#: ../../gettingstarted.rst:65 -msgid "Giving some options for variety." -msgstr "" - -#: ../../gettingstarted.rst:67 -msgid "" -"The next thing that we will begin to talk about is the implementation of " -"options, otherwise well-known as \"arguments\" in discord.py commands." -msgstr "" - -#: ../../gettingstarted.rst:70 -msgid "" -"The JSON structure of options are designed up to be similar to the same " -"premise of how a slash command is declared. Below is the given table of " -"how an option JSON would appear as:" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:245 -#: ../../gettingstarted.rst:333 -msgid "type" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:243 -#: ../../gettingstarted.rst:245 ../../gettingstarted.rst:333 -msgid "int" -msgstr "" - -#: ../../gettingstarted.rst:77 -msgid "value of `ApplicationCommandOptionType`_." -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "default?" -msgstr "" - -#: ../../gettingstarted.rst:83 ../../gettingstarted.rst:85 -msgid "bool" -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "" -"the first required option for the user to complete--only one option can " -"be default." -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "required?" -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "if the parameter is required or optional--default ``false``." -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices?" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "array of `ApplicationCommandOptionChoice`_" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices for ``string`` and ``int`` types for the user to pick from." -msgstr "" - -#: ../../gettingstarted.rst:92 -msgid "" -"Now we have an idea of how options are declared. With this in mind, let's" -" quickly make a JSON example in order to visualize this concept even " -"further:" -msgstr "" - -#: ../../gettingstarted.rst:110 -msgid "" -"While the table in the basics mentions an array in particular called " -"``ApplicationCommandOptionType``, there isn't that much of an explanation" -" on how this works. Let's put this into better laymen terms on what this " -"means with a table below showing all of these values:" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Name**" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Value**" -msgstr "" - -#: ../../gettingstarted.rst:117 -msgid "SUB_COMMAND" -msgstr "" - -#: ../../gettingstarted.rst:117 ../../gettingstarted.rst:257 -#: ../../gettingstarted.rst:352 -msgid "1" -msgstr "" - -#: ../../gettingstarted.rst:119 -msgid "SUB_COMMAND_GROUP" -msgstr "" - -#: ../../gettingstarted.rst:119 ../../gettingstarted.rst:259 -#: ../../gettingstarted.rst:354 -msgid "2" -msgstr "" - -#: ../../gettingstarted.rst:121 -msgid "STRING" -msgstr "" - -#: ../../gettingstarted.rst:121 ../../gettingstarted.rst:356 -msgid "3" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "INTEGER" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "4" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "BOOLEAN" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "5" -msgstr "" - -#: ../../gettingstarted.rst:127 ../../gettingstarted.rst:354 -msgid "USER" -msgstr "" - -#: ../../gettingstarted.rst:127 -msgid "6" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "CHANNEL" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "7" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "ROLE" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "8" -msgstr "" - -#: ../../gettingstarted.rst:134 -msgid "" -"The purpose of having the ``ApplicationCommandOptionType`` value passed " -"into our option JSON structure is so that we can help the Discord UI " -"understand what kind of value we're inputting here. For instance, if " -"we're wanting to put in a string response, we'll pass the ID 3 so that " -"the UI of Discord chat bar knows to format it visually this way. If we're" -" looking for a user, then we'll pass ID 6 so that it presents us with a " -"list of users in our server instead, making it easier on our lives." -msgstr "" - -#: ../../gettingstarted.rst:140 -msgid "" -"This is not to be confused, however, with formatting the response type " -"itself. This is merely a method so that the API wrapper can help us with " -"passing the correct type or instance variable with the arguments of the " -"command function's code." -msgstr "" - -#: ../../gettingstarted.rst:144 -msgid "" -"Now, we can finally visualize this by coding an example of this being " -"used in the Python code shown below." -msgstr "" - -#: ../../gettingstarted.rst:163 -msgid "" -"Additionally, we could also declare the type of our command's option " -"through this method shown here:" -msgstr "" - -#: ../../gettingstarted.rst:174 -msgid "More in the option? Give them a choice." -msgstr "" - -#: ../../gettingstarted.rst:176 -msgid "" -"Alas, there is also a way to give even more information to options with " -"Discord's Slash Commands: a choice. Not like something that you're given " -"at birth of when you become of legal age as an adult, we're not here to " -"give you *that* kind of life advice, but the choice of what value you " -"want your option to rather pass. Below is a table that shows the JSON " -"structure of how choices are represented for an option:" -msgstr "" - -#: ../../gettingstarted.rst:185 -msgid "1-32 character choice name." -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "string or int" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value of the choice, up to 100 characters if string." -msgstr "" - -#: ../../gettingstarted.rst:190 -msgid "" -"This time, only 2 fields are able to be passed for this. Below is a JSON " -"example of how this would be designed:" -msgstr "" - -#: ../../gettingstarted.rst:200 -msgid "" -"To make it really simple, the ``name`` field is only to be used for how " -"you want the choice to be presented through Discord's UI. It's the " -"\"appearance\" of how you want your choice shown, not the actual returned" -" value of it. Hence, this is why ``value`` is the second field passed for" -" that, which can be either in the form of a string or integer. Below is " -"an implementation of this design in the Python code:" -msgstr "" - -#: ../../gettingstarted.rst:233 -msgid "Want to restrict access? Setup permissions!" -msgstr "" - -#: ../../gettingstarted.rst:235 -msgid "" -"Slash commands also support the ability to set permissions to allow only " -"certain roles and/or users to run a slash command. Permissions can be " -"applied to both global and guild based commands. They are defined per " -"guild, per top-level command (the base command for subcommands), and each" -" guild can have multiple permissions. Here is the table that shows the " -"JSON structure of how permissions are represented:" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "id" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "" -"Snowflake value of type specified. Represents the target to apply " -"permissions on." -msgstr "" - -#: ../../gettingstarted.rst:245 -msgid "An `ApplicationCommandPermissionType`_." -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "permission" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "boolean" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "``True`` to allow, ``False`` to disallow." -msgstr "" - -#: ../../gettingstarted.rst:250 -msgid "" -"How the type parameter works is very simple. Discord has many ids to " -"represent different things. As you can set permissions to apply for User " -"or Role, `ApplicationCommandPermissionType`_ is used. It's a number and " -"following table shows the supported id types for permissions:" -msgstr "" - -#: ../../gettingstarted.rst:257 -msgid "Role" -msgstr "" - -#: ../../gettingstarted.rst:259 -msgid "User" -msgstr "" - -#: ../../gettingstarted.rst:262 -msgid "" -"This is an example of how a single permission will look when represented " -"as a json object:" -msgstr "" - -#: ../../gettingstarted.rst:272 -msgid "" -"Now, let take a look at an example. The slash command decorator has a " -"permissions parameter where it takes in a dictionary. The key being the " -"guild id to apply permissions on, and value being the list of permissions" -" to apply. For each permission, we can use the handy " -"``create_permission`` method to build the permission json explained " -"above." -msgstr "" - -#: ../../gettingstarted.rst:277 -msgid "" -"In this case, we are setting 2 permissions for a guild with an id of " -"``12345678``. Firstly, we are allowing role with id ``99999999`` and " -"disallowing user with id ``88888888`` from running the slash command." -msgstr "" - -#: ../../gettingstarted.rst:296 -msgid "" -"Alternatively, you can use the ``@slash.permission`` decorator to define " -"your guild permissions for the command as show in the following example:" -msgstr "" - -#: ../../gettingstarted.rst:315 -msgid "But what about buttons?" -msgstr "" - -#: ../../gettingstarted.rst:316 -msgid "" -"This library supports components (buttons, actionrows, selects, etc.). " -"Take a look here: `components`_." -msgstr "" - -#: ../../gettingstarted.rst:319 -msgid "Making a message/menu command." -msgstr "" - -#: ../../gettingstarted.rst:320 -msgid "" -"Lucky for you, this library has recently added support for context menus!" -" Let's take a look into how they're designed." -msgstr "" - -#: ../../gettingstarted.rst:322 -msgid "" -"Please note that the current limit for context menus with the Discord API" -" is **5.**" -msgstr "" - -#: ../../gettingstarted.rst:324 -msgid "" -"A menu command (context menu) is an easy way for bot developers to " -"program optionless and choiceless commands into their bot which can be " -"easily accessible by right clicking on a user and/or message present. " -"Below is a table of the supported keys and values:" -msgstr "" - -#: ../../gettingstarted.rst:331 -msgid "The name of the context menu command." -msgstr "" - -#: ../../gettingstarted.rst:333 -msgid "An `ApplicationCommandType`_." -msgstr "" - -#: ../../gettingstarted.rst:336 -msgid "" -"The following table below represents how it would be shown as a JSON " -"object:" -msgstr "" - -#: ../../gettingstarted.rst:345 -msgid "" -"The following table explains more about the ``type`` parameter being " -"passed, which there are three of: ``CHAT_INPUT``, ``USER`` and " -"``MESSAGE``. By default, the type will always be the first. This is " -"because it is a registered type that is used to process slash commands, " -"and should not be used for when you are declaring context menu commands " -"in your bot's code at all:" -msgstr "" - -#: ../../gettingstarted.rst:352 -msgid "CHAT_INPUT" -msgstr "" - -#: ../../gettingstarted.rst:356 -msgid "MESSAGE" -msgstr "" - -#: ../../gettingstarted.rst:359 -msgid "" -"Unlike ``manage_commands`` and ``manage_components``, you will have to " -"use a decorator for now to register them:" -msgstr "" - -#: ../../gettingstarted.rst:375 -msgid "" -"The ``@slash.context_menu`` decorator takes in the context type as given " -"(to either appear when you right-click on a user or when you right-click " -"on a message) as well as the name of the command, and any guild IDs if " -"given if you would like to make it applicable to only a guild. **We only " -"accept connected names** for the time being, although context menus will " -"have the ability to have spaces in their name in the future when " -"development further progresses." -msgstr "" - -#: ../../gettingstarted.rst:379 -msgid "" -"You are able to also use the ``@cog_ext.cog_context_menu`` path which " -"will require an import from ``cog_ext.py`` respectively, however, it is " -"worth nothing that the ``target`` kwarg for the decorator **must** be " -"brought to the very end." -msgstr "" - -#: ../../gettingstarted.rst:383 -msgid "Can I use components with context menus?" -msgstr "" - -#: ../../gettingstarted.rst:384 -msgid "" -"Of course! However, you will need to add in some additional code in order" -" for both of the separate contexts to work seamlessly. Below is the given" -" code of what will need to be changed:" -msgstr "" - -#: ../../gettingstarted.rst:399 -msgid "Hey, what about component/[X] listening?" -msgstr "" - -#: ../../gettingstarted.rst:400 -msgid "" -"The decision has been made that this will not be implemented because of " -"two reasons: context menus currently have no ability to hold any options " -"or choices, so listening for any responses would be currently pointless. " -"Additionally, component listening is already a built-in feature that does" -" not require further customized and new decorators for explicitly context" -" menus, as they're more universal." -msgstr "" - -#: ../../gettingstarted.rst:405 -msgid "Nested commands as subcommands." -msgstr "" - -#: ../../gettingstarted.rst:406 -msgid "" -"Before you get into learning how to create a subcommand, please be sure " -"to read up on the documentation above given for how slash commands are " -"made." -msgstr "" - -#: ../../gettingstarted.rst:408 -msgid "" -"Subcommands are way to \"nest\" your slash commands under one (or more) " -"given names, as either a \"base\" name or a \"grouping\" of an existing " -"base. When this is said, it will initially appear very confusing. Let's " -"use the table shown below as a way to introduce the new fields/properties" -" that can be applied for a slash command to become a subcommand:" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "base" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "The name of the subcommand \"base.\"" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "subcommand_group" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "The name for the group of commands under the \"base.\" Field is optional." -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "base_description" -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "" -"The description when the base is active in the UX chat bar. Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "subcommand_group_description" -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "" -"The name for the group of commands under the \"base.\" Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:423 -msgid "Handling my errors." -msgstr "" - -#: ../../gettingstarted.rst:425 -msgid "" -"Thankfully, we try to make a majority of our error handling very simple. " -"If you would like to learn more about how to handle your errors, please " -"refer to our `errors`_ page. If you are looking for listener events, then" -" check our `listeners`_ page instead." -msgstr "" - -#: ../../gettingstarted.rst:428 -msgid "" -"As a side-note, as of version 3.0, message/menu commands (context menus) " -"are handled under the ``on_slash_command_error`` event." -msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/index.po b/docs/locale/it/LC_MESSAGES/index.po index 270a136d5..62d4c17de 100644 --- a/docs/locale/it/LC_MESSAGES/index.po +++ b/docs/locale/it/LC_MESSAGES/index.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,108 +18,243 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../index.rst:38 +#: ../../index.rst:47 msgid "Pages:" msgstr "" #: ../../index.rst:4 -msgid "discord-interactions" +msgid "interactions.py" msgstr "" #: ../../index.rst:5 msgid "" -"No more hassle with trying to get interactions to work with your Python " -"Discord bot -- **discord-interactions** is now here." +"Ever since December 2019, this open-source project has become the " +"culmination of dedication and research towards figuring out the best way " +"to bring **interactions from Discord to you:** we are an easy, simple, " +"scalable and modular library for Discord interactions." +msgstr "" + +#: ../../index.rst:7 +msgid "" +"Tired of using numerous module dependencies for slash commands and " +"buttons?" msgstr "" #: ../../index.rst:8 +msgid "Looking for a compatible library that implements all interactions?" +msgstr "" + +#: ../../index.rst:9 +msgid "Itching to get your hands on slash commands, but in a simple manner?" +msgstr "" + +#: ../../index.rst:11 msgid "" -"**discord-interactions** is a simple API wrapper for Discord " -"interactions. We're not here to replace discord.py or any other fork, but" -" we are here to be the very best Python Discord library there is that " -"implements interactions very well. This is what our library is all about." +"Look no more! The goal of this library is to make all three of these " +"questions go from possibilites to trivial matters." msgstr "" #: ../../index.rst:14 -msgid "What are we good for?" +msgid "What can we do?" msgstr "" #: ../../index.rst:15 -msgid "We offer a **lot** of benefits with using our library:" +msgid "" +"Our library---inside and out, offers numerous benefits and presents " +"itself as a worthy module in your bot's dependencies:" msgstr "" #: ../../index.rst:17 -msgid "Modern pythonic design that is scalable and modular." -msgstr "" - -#: ../../index.rst:18 -msgid "Asynchronous coroutines and multi-threading capabilities." +msgid "The base features of our library, built with our API include:" msgstr "" #: ../../index.rst:19 -msgid "Optimal class object reference with little overhead." +msgid "" +"**Dynamic object data generation**: all event data dispatched from the " +"Gateway is dynamically transformed and generated into two-way " +"serializable JSON objects." msgstr "" #: ../../index.rst:20 -msgid "Easily accessible codebase source." +msgid "" +"**Sane rate limiting**: our HTTP client implements pre-emptive rate limit" +" avoidance, so your bot is guaranteed to never hit HTTP ``429``." msgstr "" #: ../../index.rst:21 -msgid "Stable/unstable branches for managing module stability when importing." +msgid "" +"**On-demand cache**: every HTTP request and Gateway event made is cached " +"when needed, so you never have to save information yourself." +msgstr "" + +#: ../../index.rst:22 +msgid "" +"**Simplified data models**: every object presented is accessible as " +"either a raw dictionary/``application/json`` or list of recursive " +"attributes." msgstr "" #: ../../index.rst:24 -msgid "What does that mean?" +msgid "Some more unique features that are exclusive to our interactions include:" msgstr "" -#: ../../index.rst:25 -msgid "Basically, we're good and bad for these things:" +#: ../../index.rst:26 +msgid "" +"**Event-triggered callbacks**: whether a component, application command " +"or interaction response, you'll never need to worry about bridging " +"responses." msgstr "" #: ../../index.rst:27 -msgid "✔️ Working with application commands." +msgid "" +"**Dual-way decorator logic**: a decorator can act as both a constructor " +"for an interaction, as well as a callback." msgstr "" #: ../../index.rst:28 -msgid "✔️ Handling contextual data cached from all channels." +msgid "" +"**API-strict naming**: no more confusion with the naming approach of many" +" libraries; we follow the naming style of interactions from the " +"officially curated Discord Developers documentation." msgstr "" #: ../../index.rst:29 -msgid "✔️ General/basic assignment of guild properties to members." +msgid "" +"**Extensive framework structure**: build your own tools and technologies " +"for our library to develop and integrate community creations." msgstr "" -#: ../../index.rst:30 -msgid "✔️ Responsive callbacks for buttons and select menus." +#: ../../index.rst:32 +msgid "What do we not offer?" msgstr "" -#: ../../index.rst:31 -msgid "✔️ Voice client capabilities." +#: ../../index.rst:33 +msgid "" +"While we certainly offer a lot of benefits, we unfortunately have our own" +" downsides:" msgstr "" -#: ../../index.rst:32 -msgid "❌ Cooldowns/bucket types." +#: ../../index.rst:36 +msgid "" +"This list is subject to change as time goes on: some of these items may " +"be added to the core of the library in the future." +msgstr "" + +#: ../../index.rst:40 +msgid "No native cooldown decorator/method." msgstr "" -#: ../../index.rst:35 +#: ../../index.rst:41 +msgid "Lack of automatic sharding and voice clients." +msgstr "" + +#: ../../index.rst:44 msgid "Where do I start?" msgstr "" -#: ../../index.rst:36 -msgid "Please look at our pages below to find out where to go further." +#: ../../index.rst:45 +msgid "Please look at our pages below to find out where to go." msgstr "" -#: ../../index.rst:47 +#: ../../index.rst:57 +msgid "How can I contribute?" +msgstr "" + +#: ../../index.rst:58 +msgid "" +"Please read up on our `contribution requirements`_ for the project. This " +"open-source project also enforces the `MIT License`_." +msgstr "" + +#: ../../index.rst:60 +msgid "This open-source project utilizes the following workflows for development:" +msgstr "" + +#: ../../index.rst:62 +msgid "" +"**pre-commit** ``2.16.0``: the architecture uses this before every commit" +" to format and check for severity/QOL-breaking changes." +msgstr "" + +#: ../../index.rst:64 +msgid "**black** ``21.11b1``" +msgstr "" + +#: ../../index.rst:65 +msgid "**flake8** ``3.9.2``" +msgstr "" + +#: ../../index.rst:66 +msgid "**isort** ``5.9.3``" +msgstr "" + +#: ../../index.rst:68 +msgid "" +"**Sphinx** ``4.1.2``: all of our documentation is powered off of " +"autogenerated documentation of the Sphinx engine." +msgstr "" + +#: ../../index.rst:69 +msgid "" +"**colorama** ``0.4.4``: our internal logger uses a customized coloring " +"formatter to make looking for specific conditions easier when running " +"tests." +msgstr "" + +#: ../../index.rst:70 +msgid "" +"**Conventional Commits** ``1.0.0``: every commit that we make to our " +"branches use the official specification of CC 1.0.0 to make git graphs " +"easier when improving and refining communication between code reviews, " +"Pull Requests and commits." +msgstr "" + +#: ../../index.rst:73 +msgid "When can I start?" +msgstr "" + +#: ../../index.rst:74 +msgid "" +"We also have some extra ground rules about making any specific " +"contributions involving:" +msgstr "" + +#: ../../index.rst:76 +msgid "" +"We do not accept abstraction-based requests. (e.g. ``colour`` for " +"``color``)" +msgstr "" + +#: ../../index.rst:77 +msgid "A request has to be approved by at least one developer." +msgstr "" + +#: ../../index.rst:78 +msgid "" +"You must be willing to change/adhere to reviews from participants **where" +" necessary.**" +msgstr "" + +#: ../../index.rst:81 +msgid "I think I'm all ready!" +msgstr "" + +#: ../../index.rst:82 +msgid "Feel free to begin making `Pull Requests`_ and `Issues`_ on our GitHub!" +msgstr "" + +#: ../../index.rst:85 msgid "Advanced Search" msgstr "" -#: ../../index.rst:49 +#: ../../index.rst:87 msgid ":ref:`genindex`" msgstr "" -#: ../../index.rst:50 +#: ../../index.rst:88 msgid ":ref:`modindex`" msgstr "" -#: ../../index.rst:51 +#: ../../index.rst:89 msgid ":ref:`search`" msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/migration.po b/docs/locale/it/LC_MESSAGES/migration.po new file mode 100644 index 000000000..d07c11207 --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/migration.po @@ -0,0 +1,101 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../migration.rst:2 +msgid "Migration" +msgstr "" + +#: ../../migration.rst:4 +msgid "" +"This page aims to serve as a guide towards helping users understand any " +"breaking or otherwise important design choices made between versions to " +"guide towards easy migration between one another." +msgstr "" + +#: ../../migration.rst:8 +msgid "4.0.1 → 4.0.2" +msgstr "" + +#: ../../migration.rst:10 +msgid "" +"The biggest major change between these two versions is the way " +"``HTTPClient`` and modelled API schema objects are used. In ``4.0.2``, a " +"new ``_client`` attribute is added in model objects in order to use " +"helper methods. This will not be needed if you're working with dispatched" +" events from the Gateway, however, manually generating your own model " +"object for use will need it appended as a key-word argument. The example " +"below shows this change:" +msgstr "" + +#: ../../migration.rst:25 +msgid "" +"This change was added in favor for being able to use endpoints in an " +"abstracted state." +msgstr "" + +#: ../../migration.rst:28 +msgid "4.0.2 → 4.1.0" +msgstr "" + +#: ../../migration.rst:30 +msgid "" +"``4.1.0`` introduces numerous breaking changes that affect the bot " +"developers' ability to work with mainly modifying the way our Gateway " +"processes information, as well as supplying a ``reason`` argument to " +"``HTTPClient``-based methods." +msgstr "" + +#: ../../migration.rst:33 +msgid "" +"In this version, you are no longer required to give a ``reason`` for " +"every HTTP request. You can instead send it as an optional, which will " +"work to keep any existing modifications of our codebase from breaking." +msgstr "" + +#: ../../migration.rst:36 +msgid "" +"Additionally, modifying the way information is dispatched from the " +"Gateway must be done like this now:" +msgstr "" + +#: ../../migration.rst:49 +msgid "" +"We recommend that working in correspondence with this, you should be " +"making use of our ``interactions.ext`` SDK framework." +msgstr "" + +#: ../../migration.rst:51 +msgid "" +"A slight, yet another breaking change we made was dundering numerous " +"attributes in our internal models. You will now need to refer to the " +"client's HTTP object as ``_http`` instead of ``http``. In order to view " +"the full list of these, we highly encourage you to view the documentation" +" readily available." +msgstr "" + +#: ../../migration.rst:55 +msgid "" +"The last, and most major change is the introduction of the " +"``MESSAGE_CONTENT`` privileged intent in the library. Because of " +"``4.1.0`` using version 10 of the Discord API, this intent is now " +"required for reading all message content. In order to make sure your bot " +"works still, you will need to enable this intent in your bot's developer " +"portal and add the intent to your current intents when connecting:" +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/models.command.po b/docs/locale/it/LC_MESSAGES/models.command.po index e7707bfba..063440091 100644 --- a/docs/locale/it/LC_MESSAGES/models.command.po +++ b/docs/locale/it/LC_MESSAGES/models.command.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,122 +22,195 @@ msgstr "" msgid "Application Command Models" msgstr "" -#: interactions.models.command.Choice:1 of -msgid "A class object repesenting the choice of an option." +#: interactions.client.models.command.Choice:1 of +msgid "A class object representing the choice of an option." msgstr "" -#: interactions.models.command.Choice:4 of +#: interactions.client.models.command.Choice:4 of msgid "" "``value`` allows ``float`` as a passable value type, whereas it's " "supposed to be ``double``." msgstr "" -#: interactions.models.command.ApplicationCommand -#: interactions.models.command.Choice interactions.models.command.Option -#: interactions.models.command.Permission of +#: interactions.client.models.command.Choice:7 of +msgid "The structure for a choice: ::" +msgstr "" + +#: interactions.client.models.command.ApplicationCommand +#: interactions.client.models.command.Choice +#: interactions.client.models.command.Option +#: interactions.client.models.command.Permission of msgid "Variables" msgstr "" -#: interactions.models.command.Choice:7 of +#: interactions.client.models.command.Choice:11 of msgid "The name of the choice." msgstr "" -#: interactions.models.command.Choice:8 of +#: interactions.client.models.command.Choice:12 of msgid "The returned value of the choice." msgstr "" -#: interactions.models.command.Option:1 of +#: interactions.client.models.command.Choice:13 +#: interactions.client.models.command.Option:32 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.models.command.Option:1 of msgid "A class object representing the option of an application command." msgstr "" -#: interactions.models.command.Option:4 of +#: interactions.client.models.command.Option:4 of msgid "``options`` is only present for when a subcommand has been established." msgstr "" -#: interactions.models.command.Option:7 of +#: interactions.client.models.command.Option:7 of +msgid "" +"``min_values`` and ``max_values`` are useful primarily for integer based " +"options." +msgstr "" + +#: interactions.client.models.command.Option:10 of +msgid "The structure for an option: ::" +msgstr "" + +#: interactions.client.models.command.Option:20 of msgid "The type of option." msgstr "" -#: interactions.models.command.Option:8 of +#: interactions.client.models.command.Option:21 of msgid "The name of the option." msgstr "" -#: interactions.models.command.Option:9 of +#: interactions.client.models.command.Option:22 of msgid "The description of the option." msgstr "" -#: interactions.models.command.Option:10 of +#: interactions.client.models.command.Option:23 of msgid "Whether the option is currently being autocompleted or not." msgstr "" -#: interactions.models.command.Option:11 of +#: interactions.client.models.command.Option:24 of msgid "Whether the option has to be filled out." msgstr "" -#: interactions.models.command.Option:12 of +#: interactions.client.models.command.Option:25 of msgid "The value that's currently typed out, if autocompleting." msgstr "" -#: interactions.models.command.Option:13 of +#: interactions.client.models.command.Option:26 of msgid "The list of choices to select from." msgstr "" -#: interactions.models.command.Option:14 of +#: interactions.client.models.command.Option:27 of msgid "The list of subcommand options included." msgstr "" -#: interactions.models.command.Option:15 of +#: interactions.client.models.command.Option:28 of msgid "Restrictive shown channel types, if given." msgstr "" -#: interactions.models.command.Permission:1 of +#: interactions.client.models.command.Option:29 of +msgid "The minimum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:30 of +msgid "The maximum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:31 of +msgid "A status denoting whether this option is an autocomplete option." +msgstr "" + +#: interactions.client.models.command.Option:33 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.models.command.Permission:1 of msgid "A class object representing the permission of an application command." msgstr "" -#: interactions.models.command.Permission:3 of +#: interactions.client.models.command.Permission:3 of +msgid "The structure for a permission: ::" +msgstr "" + +#: interactions.client.models.command.Permission:10 of msgid "The ID of the permission." msgstr "" -#: interactions.models.command.Permission:4 of +#: interactions.client.models.command.Permission:11 of msgid "The type of permission." msgstr "" -#: interactions.models.command.Permission:5 of +#: interactions.client.models.command.Permission:12 of msgid "The permission state. ``True`` for allow, ``False`` for disallow." msgstr "" -#: interactions.models.command.ApplicationCommand:1 of +#: interactions.client.models.command.ApplicationCommand:1 of msgid "A class object representing all types of commands." msgstr "" -#: interactions.models.command.ApplicationCommand:3 of +#: interactions.client.models.command.ApplicationCommand:4 of +msgid "" +"This object is inferred upon whenever the client is caching information " +"about commands from an HTTP request and/or the Gateway. Do not use this " +"object for declaring commands." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:8 of msgid "The ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:4 of +#: interactions.client.models.command.ApplicationCommand:9 of msgid "The application command type." msgstr "" -#: interactions.models.command.ApplicationCommand:5 of +#: interactions.client.models.command.ApplicationCommand:10 of msgid "The general application ID of the command itself." msgstr "" -#: interactions.models.command.ApplicationCommand:6 of +#: interactions.client.models.command.ApplicationCommand:11 of msgid "The guild ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:7 of +#: interactions.client.models.command.ApplicationCommand:12 of msgid "The name of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:8 of +#: interactions.client.models.command.ApplicationCommand:13 of msgid "The description of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:9 of +#: interactions.client.models.command.ApplicationCommand:14 of msgid "The \"options\"/arguments of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:10 of +#: interactions.client.models.command.ApplicationCommand:15 of msgid "The default permission accessibility state of the application command." msgstr "" + +#: interactions.client.models.command.ApplicationCommand:16 of +msgid "The Application Command version autoincrement identifier." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:17 of +msgid "The default member permission state of the application command." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:18 of +msgid "The application permissions if executed in a Direct Message." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:19 of +msgid "The localisation dictionary for the application command name, if any." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:20 of +msgid "" +"The localisation dictionary for the application command description, if " +"any." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/models.component.po b/docs/locale/it/LC_MESSAGES/models.component.po index 8e89bd571..97de1c249 100644 --- a/docs/locale/it/LC_MESSAGES/models.component.po +++ b/docs/locale/it/LC_MESSAGES/models.component.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,150 +22,290 @@ msgstr "" msgid "Component Models" msgstr "" -#: interactions.models.component.SelectOption:1 of -msgid "A class object representing the select option of a select menu." +#: interactions.client.models.component.SelectOption:1 of +msgid "" +"A class object representing the select option of a select menu. The " +"structure for a select option: ::" msgstr "" -#: interactions.models.component.Button interactions.models.component.Component -#: interactions.models.component.SelectMenu -#: interactions.models.component.SelectOption of +#: interactions.client.models.component.ActionRow +#: interactions.client.models.component.Button +#: interactions.client.models.component.Component +#: interactions.client.models.component.Modal +#: interactions.client.models.component.SelectMenu +#: interactions.client.models.component.SelectOption +#: interactions.client.models.component.TextInput of msgid "Variables" msgstr "" -#: interactions.models.component.SelectOption:3 of +#: interactions.client.models.component.SelectOption:8 of msgid "The label of the select option." msgstr "" -#: interactions.models.component.SelectOption:4 of +#: interactions.client.models.component.SelectOption:9 of msgid "The returned value of the select option." msgstr "" -#: interactions.models.component.SelectOption:5 of +#: interactions.client.models.component.SelectOption:10 of msgid "The description of the select option." msgstr "" -#: interactions.models.component.SelectOption:6 of +#: interactions.client.models.component.SelectOption:11 of msgid "The emoji used alongside the label of the select option." msgstr "" -#: interactions.models.component.SelectOption:7 of +#: interactions.client.models.component.SelectOption:12 of msgid "Whether the select option is the default for the select menu." msgstr "" -#: interactions.models.component.SelectMenu:1 of -msgid "A class object representing the select menu of a component." +#: interactions.client.models.component.SelectMenu:1 of +msgid "" +"A class object representing the select menu of a component. The structure" +" for a select menu: ::" msgstr "" -#: interactions.models.component.SelectMenu:3 of -msgid "The type of select menu." +#: interactions.client.models.component.SelectMenu:8 of +msgid "The type of select menu. Always defaults to ``3``." msgstr "" -#: interactions.models.component.SelectMenu:4 of +#: interactions.client.models.component.SelectMenu:9 of msgid "The customized \"ID\" of the select menu." msgstr "" -#: interactions.models.component.SelectMenu:5 of +#: interactions.client.models.component.SelectMenu:10 of msgid "The list of select options in the select menu." msgstr "" -#: interactions.models.component.SelectMenu:6 of +#: interactions.client.models.component.SelectMenu:11 of msgid "The placeholder of the select menu." msgstr "" -#: interactions.models.component.Component:16 -#: interactions.models.component.SelectMenu:7 of +#: interactions.client.models.component.Component:19 +#: interactions.client.models.component.SelectMenu:12 of msgid "The minimum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.Component:17 -#: interactions.models.component.SelectMenu:8 of +#: interactions.client.models.component.Component:20 +#: interactions.client.models.component.SelectMenu:13 of msgid "The maximum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.SelectMenu:9 of +#: interactions.client.models.component.SelectMenu:14 of msgid "Whether the select menu is unable to be used." msgstr "" -#: interactions.models.component.Button:1 of -msgid "A class object representing the button of a component." +#: interactions.client.models.component.Button:1 of +msgid "" +"A class object representing the button of a component. The structure for " +"a button: ::" msgstr "" -#: interactions.models.component.Button:3 of -msgid "The type of button." +#: interactions.client.models.component.Button:8 of +msgid "The type of button. Always defaults to ``2``." msgstr "" -#: interactions.models.component.Button:4 of +#: interactions.client.models.component.Button:9 of msgid "The style of the button." msgstr "" -#: interactions.models.component.Button:5 of +#: interactions.client.models.component.Button:10 of msgid "The label of the button." msgstr "" -#: interactions.models.component.Button:6 of -msgid "The emoji used alongside the laebl of the button." +#: interactions.client.models.component.Button:11 of +msgid "The emoji used alongside the label of the button." msgstr "" -#: interactions.models.component.Button:7 of +#: interactions.client.models.component.Button:12 of msgid "The customized \"ID\" of the button." msgstr "" -#: interactions.models.component.Button:8 of +#: interactions.client.models.component.Button:13 of msgid "The URL route/path of the button." msgstr "" -#: interactions.models.component.Button:9 of +#: interactions.client.models.component.Button:14 of msgid "Whether the button is unable to be used." msgstr "" -#: interactions.models.component.Component:1 of +#: interactions.client.models.component.Component:1 of msgid "" -"A class object representing the componeent in an interaction " +"A class object representing the component in an interaction " "response/followup." msgstr "" -#: interactions.models.component.Component:4 of +#: interactions.client.models.component.Component:4 of msgid "" "``components`` is only applicable if an ActionRow is supported, otherwise" " ActionRow-less will be opted. ``list`` is in reference to the class." msgstr "" -#: interactions.models.component.Component:7 of +#: interactions.client.models.component.Component:7 of +msgid "" +"This object class is only inferred upon when the gateway is processing " +"back information involving a component. Do not use this object for " +"sending." +msgstr "" + +#: interactions.client.models.component.Component:10 of msgid "The type of component." msgstr "" -#: interactions.models.component.Component:8 of +#: interactions.client.models.component.Component:11 of msgid "The customized \"ID\" of the component." msgstr "" -#: interactions.models.component.Component:9 of +#: interactions.client.models.component.Component:12 of msgid "Whether the component is unable to be used." msgstr "" -#: interactions.models.component.Component:10 of +#: interactions.client.models.component.Component:13 of msgid "The style of the component." msgstr "" -#: interactions.models.component.Component:11 of +#: interactions.client.models.component.Component:14 of msgid "The label of the component." msgstr "" -#: interactions.models.component.Component:12 of +#: interactions.client.models.component.Component:15 of msgid "The emoji used alongside the label of the component." msgstr "" -#: interactions.models.component.Component:13 of +#: interactions.client.models.component.Component:16 of msgid "The URl route/path of the component." msgstr "" -#: interactions.models.component.Component:14 of +#: interactions.client.models.component.Component:17 of msgid "The \"choices\"/options of the component." msgstr "" -#: interactions.models.component.Component:15 of +#: interactions.client.models.component.Component:18 of msgid "The placeholder text/value of the component." msgstr "" -#: interactions.models.component.Component:18 of +#: interactions.client.models.component.Component:21 of msgid "A list of components nested in the component." msgstr "" + +#: interactions.client.models.component.Component:22 of +msgid "The minimum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:23 of +msgid "The maximum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:24 of +msgid "Whether this component is required to be filled." +msgstr "" + +#: interactions.client.models.component.Component:25 of +msgid "The pre-filled value of the component." +msgstr "" + +#: interactions.client.models.component.TextInput:1 of +msgid "" +"A class object representing the text input of a modal. The structure for " +"a text input: ::" +msgstr "" + +#: interactions.client.models.component.TextInput:10 of +msgid "The type of input. Always defaults to ``4``." +msgstr "" + +#: interactions.client.models.component.TextInput:11 of +msgid "The style of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:12 of +msgid "The custom Id of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:13 of +msgid "The label of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:14 of +msgid "The pre-filled value of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:15 of +msgid "Whether the input is required or not." +msgstr "" + +#: interactions.client.models.component.TextInput:16 of +msgid "The placeholder of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:17 of +msgid "The minimum length of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:18 of +msgid "The maximum length of the input." +msgstr "" + +#: interactions.client.models.component.Modal:1 of +msgid "A class object representing a modal." +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid "The structure for a modal: ::" +msgstr "" + +#: interactions.client.models.component.Modal:6 of +msgid "interactions.Modal(" +msgstr "" + +#: interactions.client.models.component.Modal:5 of +msgid "" +"title=\"Application Form\", custom_id=\"mod_app_form\", " +"components=[interactions.TextInput(...)]," +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid ")" +msgstr "" + +#: interactions.client.models.component.Modal:10 of +msgid "The custom ID of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:11 of +msgid "The title of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:12 of +msgid "The components of the modal." +msgstr "" + +#: interactions.client.models.component.ActionRow:1 of +msgid "" +"A class object representing the action row for interaction responses " +"holding components." +msgstr "" + +#: interactions.client.models.component.ActionRow:4 of +msgid "" +"A message cannot have more than 5 ActionRow's supported. An ActionRow may" +" also support only 1 text input component only." +msgstr "" + +#: interactions.client.models.component.ActionRow:13 of +msgid "The structure for an action row: ::" +msgstr "" + +#: interactions.client.models.component.ActionRow:9 of +msgid "" +"# \"...\" represents a component object. # Method 1: " +"interactions.ActionRow(...) # Method 2: " +"interactions.ActionRow(components=[...])" +msgstr "" + +#: interactions.client.models.component.ActionRow:15 of +msgid "The type of component. Always defaults to ``1``." +msgstr "" + +#: interactions.client.models.component.ActionRow:16 of +msgid "A list of components the ActionRow has, if any." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/models.misc.po b/docs/locale/it/LC_MESSAGES/models.misc.po new file mode 100644 index 000000000..f5d1bb814 --- /dev/null +++ b/docs/locale/it/LC_MESSAGES/models.misc.po @@ -0,0 +1,145 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../models.misc.rst:4 +msgid "Miscellaneous Models" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:1 of +msgid "A class representing the resolved information of an interaction data." +msgstr "" + +#: interactions.client.models.misc.Interaction +#: interactions.client.models.misc.InteractionData +#: interactions.client.models.misc.InteractionResolvedData of +msgid "Variables" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:3 of +msgid "The resolved users data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:4 of +msgid "The resolved members data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:5 of +msgid "The resolved roles data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:6 of +msgid "The resolved channels data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:7 of +msgid "The resolved messages data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:8 of +msgid "The resolved attachments data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:1 of +msgid "A class object representing the data of an interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:3 of +msgid "The ID of the interaction data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:4 of +msgid "The name of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:5 of +msgid "The type of command from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:6 of +msgid "The resolved version of the data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:7 of +msgid "The options of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:8 of +msgid "The custom ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:9 of +msgid "The type of component from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:10 of +msgid "The values of the selected options in the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:11 of +msgid "The targeted ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:1 of +msgid "A class object representing an interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:3 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:4 of +msgid "The application's ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:5 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:6 of +msgid "The data of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:7 of +msgid "The guild ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:8 of +msgid "The channel ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:9 of +msgid "The member who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:10 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:11 of +msgid "The token of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:12 of +msgid "The version of the interaction as an autoincrement identifier." +msgstr "" + +#: interactions.client.models.misc.Interaction:13 of +msgid "The message of the interaction." +msgstr "" diff --git a/docs/locale/it/LC_MESSAGES/models.po b/docs/locale/it/LC_MESSAGES/models.po index fb08d7dd7..a322bcb50 100644 --- a/docs/locale/it/LC_MESSAGES/models.po +++ b/docs/locale/it/LC_MESSAGES/models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/it/LC_MESSAGES/quickstart.po b/docs/locale/it/LC_MESSAGES/quickstart.po index d3be63677..eff5b5f5a 100644 --- a/docs/locale/it/LC_MESSAGES/quickstart.po +++ b/docs/locale/it/LC_MESSAGES/quickstart.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,48 +22,134 @@ msgstr "" msgid "Quickstart" msgstr "" -#: ../../quickstart.rst:4 -msgid "" -"Looking into trying to get started with our library? Well, you've come to" -" the right page then!" +#: ../../quickstart.rst:5 +msgid "Installing" msgstr "" -#: ../../quickstart.rst:8 +#: ../../quickstart.rst:7 msgid "" -"This quickstart guide is extremely rough and contains experimental code. " -"Do not follow us strictly until v4.0 is released! Everything is subject " -"to change in here due to the development of the API wrapper continuously " -"being reflected." +"**discord-interactions** is a :ref:`Python library ` for the Discord Application Programming Interface. (API) A" +" library in Python has to be installed through the `pip` file. Run this " +"in your terminal/command line in order to install our library:" +msgstr "" + +#: ../../quickstart.rst:11 +msgid "``pip install -U discord-py-interactions``" msgstr "" #: ../../quickstart.rst:14 -msgid "Installing" +msgid "Creating a Bot" msgstr "" #: ../../quickstart.rst:16 msgid "" -"**discord-interactions** is a Python library for the Discord Artificial " -"Programming Interface. (API) A library in Python has to be installed " -"through the `pip` file. Run this in your terminal/command line in order " -"to install our library:" +"Before you can run your Bot, you have to create it first. If you did it " +"already, make sure you :ref:`invited ` your Bot properly." +msgstr "" + +#: ../../quickstart.rst:18 +msgid "" +"In order to create your Bot, you need to create an application first. Go " +"to the `discord applications page`_ for that. After you logged in, you " +"will see this at the top:" +msgstr "" + +#: ../../quickstart.rst:23 +msgid "" +"Click the ``New Application`` button, enter a name and then click " +"``create``." +msgstr "" + +#: ../../quickstart.rst:25 +msgid "The name you choose is going to be your Bots name." +msgstr "" + +#: ../../quickstart.rst:27 +msgid "You will be redirected to a new page. On the left you will see this:" +msgstr "" + +#: ../../quickstart.rst:31 +msgid "" +"Click on ``Bot``. You again will be redirected to another page, looking " +"like this:" +msgstr "" + +#: ../../quickstart.rst:35 +msgid "Click on ``Add Bot`` and then on ``Yes, do it!``." +msgstr "" + +#: ../../quickstart.rst:37 +msgid "And that's it! You created your Bot!" +msgstr "" + +#: ../../quickstart.rst:40 +msgid "" +"You will see a field called ``TOKEN``. This is the access token, used to " +"run your bot. You will need this later to start your Bot." +msgstr "" + +#: ../../quickstart.rst:43 +msgid "" +"**Do NOT give this to other persons! They can get full control over your " +"Bot with your token and execute what they want!**" +msgstr "" + +#: ../../quickstart.rst:45 +msgid "" +"If you revealed your token, you should **immediately** go to your Bots " +"application page and click the ``Regenerate`` Button under your token. " +"This will delete the old token, so your bot can't be run with it anymore." +msgstr "" + +#: ../../quickstart.rst:49 +msgid "Invite the Bot to your guild" +msgstr "" + +#: ../../quickstart.rst:50 +msgid "" +"Now you have a Bot, but you can't create commands because it isn't in any" +" guilds. So, let's invite it to your guild!" +msgstr "" + +#: ../../quickstart.rst:54 +msgid "Click on ``OAuth2``, then on ``URL Generator``." +msgstr "" + +#: ../../quickstart.rst:56 +msgid "" +"You have to enable the ``bot`` and ``application.commands`` scope, to " +"allow your bot to create slash commands." msgstr "" -#: ../../quickstart.rst:20 -msgid "``pip install -U discord-interactions``" +#: ../../quickstart.rst:60 +msgid "" +"After setting that up, a ``BOT PERMISSIONS`` field will appear. You can " +"choose permissions you want to have your bot there." msgstr "" -#: ../../quickstart.rst:22 +#: ../../quickstart.rst:62 msgid "" -"If you're unable to run it through your terminal/command line, you need " -"to make sure that it's accessible as an Environment Path. Search more on " -"Google for how to do this." +"When you are done with choosing the permissions, go to the bottom of the " +"page, copy the the url and open it in a new window." msgstr "" -#: ../../quickstart.rst:26 -msgid "Minimal Bot" +#: ../../quickstart.rst:64 +msgid "" +"You will be prompted to a new page. Select your guild, click " +"``Authorise`` and your Bot should show up in your guild." msgstr "" -#: ../../quickstart.rst:28 +#: ../../quickstart.rst:66 +msgid "Now you can go on with running your bot and creating your first commands!" +msgstr "" + +#: ../../quickstart.rst:71 +msgid "Running the Bot and creating commands" +msgstr "" + +#: ../../quickstart.rst:73 msgid "" "Bots can be a little confusing to create. That's why we've decided to try" " and make the process as streamlined as humanly possible, in order for it" @@ -73,58 +159,299 @@ msgid "" "first before this, as a Discord bot is not exactly beginner-friendly." msgstr "" -#: ../../quickstart.rst:34 -msgid "This code block below shows a simple bot being created:" +#: ../../quickstart.rst:81 +msgid "First, let's run the bot:" msgstr "" -#: ../../quickstart.rst:52 -msgid "" -"There's quite a lot of things that are going on here, so let's break it " -"down step-by-step:" +#: ../../quickstart.rst:92 +msgid "And that's it! Your bot should now turn online in discord!" msgstr "" -#: ../../quickstart.rst:54 +#: ../../quickstart.rst:94 +msgid "Let's take a look now at what is happening here:" +msgstr "" + +#: ../../quickstart.rst:96 msgid "" "``import interactions`` -- This is the import line. If this returns a " -"``ModuleNotFoundError``, please look at our `Installing`_ section here." +"``ModuleNotFoundError``, please look at our section on how to " +":ref:`install ` here." msgstr "" -#: ../../quickstart.rst:55 +#: ../../quickstart.rst:97 msgid "" -"``bot = interactions.Client(token=\"...\")`` -- This is the ``bot`` " -"variable that defines our bot. This basically instantiates the `Client`_ " -"class, which requires a ``token`` keyword-argument to be passed. In order" -" to get a token, please look at the image given below." +"``bot = interactions.Client(token=\"your_secret_bot_token\")`` -- This is" +" the ``bot`` variable that defines our bot. This basically instantiates " +"the :ref:`application client `, which requires a " +"``token`` keyword-argument to be passed. You have to put in your " +"(previously mentioned) secret token here." msgstr "" -#: ../../quickstart.rst:56 +#: ../../quickstart.rst:98 msgid "" -"``@bot.application_command()`` -- This is something known as a " -"*decorator* in Python. This decorator is in charge and responsible of " -"making sure that the Discord API is told about the slash/sub command that" -" you wish to create, and sends an HTTP request correspondingly. Any " -"changes to the information contained in this decorator will be " -"synchronously updated with the API automatically for you." +"``bot.start()`` -- Finally, this is what tells our library to turn your " +"bot from offline to online." msgstr "" -#: ../../quickstart.rst:57 +#: ../../quickstart.rst:102 +msgid "Now, let's create our first slash command:" +msgstr "" + +#: ../../quickstart.rst:120 +msgid "Now, let's look what the new parts of the code are doing:" +msgstr "" + +#: ../../quickstart.rst:122 msgid "" -"``await ctx.send(\"Hello world!\")`` -- This is what lets us send a " -"\"message\", or otherwise known as an interaction response back to the " -"Discord API for us. ``ctx`` is abbreviated as the \"context\" of the " -"command, so numerous fields and attributes such as channels, guilds; and " -"etc. are able to be inputted." +"``@bot.command()`` -- This is something known as a *decorator* in Python." +" This decorator is in charge and responsible of making sure that the " +"Discord API is told about the slash/sub command that you wish to create, " +"and sends an HTTP request correspondingly. Any changes to the information" +" contained in this decorator will be synchronously updated with the API " +"automatically for you. The ``scope`` field shown here is optional, which " +"represents a guild command if you wish to have a command appear in only " +"specific servers that bot is in. This can be a guild object or the ID." msgstr "" -#: ../../quickstart.rst:58 +#: ../../quickstart.rst:123 +msgid "``name`` -- This is the name of your command." +msgstr "" + +#: ../../quickstart.rst:124 +msgid "``description`` -- This is the description of your command." +msgstr "" + +#: ../../quickstart.rst:125 msgid "" -"``bot.start()`` -- Finally, this is what tells our library to turn your " -"bot from offline to online." +"``async def my_first_command(ctx: interactions.CommandContext):`` -- This" +" here is called our \"command coroutine,\" or what our library internally" +" calls upon each time it recognizes an interaction event from the Discord" +" API that affiliates with the data we've put into the decorator above it." +" Please note that ``ctx`` is an abbreviation for :ref:`context " +"`." msgstr "" -#: ../../quickstart.rst:62 +#: ../../quickstart.rst:126 +msgid "" +"``await ctx.send(\"Hi there!\")`` -- This sends the response to your " +"command." +msgstr "" + +#: ../../quickstart.rst:128 +msgid "``name`` and ``description`` are required." +msgstr "" + +#: ../../quickstart.rst:131 +msgid "Difference between global and guild slash commands:" +msgstr "" + +#: ../../quickstart.rst:133 +msgid "" +"guild slash commands are instantly available in the guild with the given " +"id. In order to copy your guild ID you have to enable the developer mode " +"in discord and then right-click on the guild. This is also shown in the " +"pictures beyond." +msgstr "" + +#: ../../quickstart.rst:134 +msgid "" +"global commands are created by *not* including the ``scope`` argument " +"into the ``@bot.command`` decorator. They will appear in all guilds your " +"Bot is in. This process can take up to one hour to be completed on all " +"guilds." +msgstr "" + +#: ../../quickstart.rst:141 +msgid "Next, let's create an Option" +msgstr "" + +#: ../../quickstart.rst:143 +msgid "" +":ref:`Options ` are extra " +"arguments of a command, filled in by the user executing the command." +msgstr "" + +#: ../../quickstart.rst:171 +msgid "The limit for options per command is 25." +msgstr "" + +#: ../../quickstart.rst:174 +msgid "Nested commands: subcommands" +msgstr "" + +#: ../../quickstart.rst:218 +msgid "You can add a SUB_COMMAND_GROUP in between the base and command." +msgstr "" + +#: ../../quickstart.rst:222 +msgid "Special type of commands: Context menus" +msgstr "" + +#: ../../quickstart.rst:224 +msgid "" +"While, granted that application commands are way more intuitive and " +"easier to work with as both a bot developer and user from a UX approach, " +"some may not want to always type the same command over and over again to " +"repeat a repetitive task. Introducing: **context menus.** Also known as " +"\"user\" and \"message\" respectively, this simple switch in command " +"structure allows you to quickly empower your bot with the ability to make" +" right-click actions with menial effort." +msgstr "" + +#: ../../quickstart.rst:230 +msgid "" +"In order to create a menu-based command, all you need to do is simply add" +" this one line into your ``@command`` decorator:" +msgstr "" + +#: ../../quickstart.rst:245 +msgid "" +"The structure of a menu command differs significantly from that of a " +"regular one:" +msgstr "" + +#: ../../quickstart.rst:247 +msgid "You cannot have any options or choices." +msgstr "" + +#: ../../quickstart.rst:248 +msgid "You cannot have a description." +msgstr "" + +#: ../../quickstart.rst:249 +msgid "The ``name`` filter follows a different regex pattern." +msgstr "" + +#: ../../quickstart.rst:252 +msgid "Creating and sending Components" +msgstr "" + +#: ../../quickstart.rst:254 +msgid "" +"Being able to run your own commands is very useful for a lot of " +"automation-related purposes as a bot developer, however, we also have " +"something that we're able to introduce for both the developer and a user " +"to use that will be the \"sprinkles\" on top of a cupcake, so-to-speak: " +"components." +msgstr "" + +#: ../../quickstart.rst:259 +msgid "" +"Components are ways of being able to select pre-defined data, or define " +"your own. They're very simple but quite powerful when put into practice " +"This code block below shows a simplified implementation of a component:" +msgstr "" + +#: ../../quickstart.rst:285 +msgid "" +"This is a design that we ended up choosing to simplify responding to " +"buttons when someone presses on one, and to allow bot developers to plug " +"in *which* button they want a response to. No more ``wait_for_component``" +" and ``wait_for`` functions with huge if-else chains; this removes " +"redundancy in your code and overall eases into the practice of " +"modularity." +msgstr "" + +#: ../../quickstart.rst:292 +msgid "What kinds of components are there?" +msgstr "" + +#: ../../quickstart.rst:294 +msgid "" +"As a bot developer, this may be fairly important for you to want to know." +" Different components provide difference user experiences, interactions " +"and results. Currently you can choose between three components that " +"Discord provides: a ``Button``, ``SelectMenu`` and ``TextInput``. You're " +"able to `find these component types`_ here." +msgstr "" + +#: ../../quickstart.rst:301 +msgid "How do I send components in a row?" +msgstr "" + +#: ../../quickstart.rst:303 +msgid "" +"You are also able to organize these components into rows, which are " +"defined as ``ActionRow``'s. It is worth noting that you can have only a " +"maximum of 5 per message that you send. This code block below shows how:" +msgstr "" + +#: ../../quickstart.rst:330 +msgid "" +"By default, the ``components`` keyword-argument field in the context " +"sending method will always support ``ActionRow``-less sending: you only " +"need to declare rows whenever you need or want to. This field will also " +"support raw arrays and tables, if you so wish to choose to not use our " +"class objects instead." +msgstr "" + +#: ../../quickstart.rst:336 +msgid "" +"You cannot use ``TextInput`` with the above shown method. Look :ref:`here" +" ` how to create and send them." +msgstr "" + +#: ../../quickstart.rst:341 +msgid "Creating a TextInput" +msgstr "" + +#: ../../quickstart.rst:342 +msgid "You want to get a Text from a user? You can use ``TextInput`` for that." +msgstr "" + +#: ../../quickstart.rst:354 +msgid "" +"But how to send it? You can't use ``ctx.send`` for it. Take a look at " +":ref:`Modals ` for that." +msgstr "" + +#: ../../quickstart.rst:358 +msgid "Modals" +msgstr "" + +#: ../../quickstart.rst:359 +msgid "" +"Modals are a new way to interact with a user. Currently only a " +"``TextInput`` component is supported. You can have up to five " +"``TextInput`` in a Modal." +msgstr "" + +#: ../../quickstart.rst:372 +msgid "with the ``TextInput`` example from above we get:" +msgstr "" + +#: ../../quickstart.rst:377 +msgid "Responding to a Modal interaction" +msgstr "" + +#: ../../quickstart.rst:385 +msgid "" +"You can respond to a modal the same way as you would respond to a normal " +"``chat-input`` command, except your function has an extra argument for " +"the text what was put into the modal." +msgstr "" + +#: ../../quickstart.rst:388 +msgid "Adding v2 Permissions" +msgstr "" + +#: ../../quickstart.rst:390 +msgid "" +"v2 permissions consist of the ``default_member_permissions`` and " +"``dm_permission`` keyword arguments. Similar to adding privileged " +"intents, you add permissions (like admin-only, ``BAN_MEMBERS``-only, " +"etc.) as follows:" +msgstr "" + +#: ../../quickstart.rst:429 +msgid "" +"Adding guild-only commands is easier as the only thing it takes is a " +"boolean. Here's an example of a guild-only command:" +msgstr "" + +#: ../../quickstart.rst:448 msgid "" -"And it's really as simple as that! If you would like to learn more about " -"what our library offers, or see more examples of our code, please be sure" -" to check out our `coding examples`_ page on our docs!" +"Likewise, setting ``dm_permission`` to ``True`` makes it usable in DMs. " +"Just to note that this argument's mainly used for global commands. Guild " +"commands with this argument will have no effect." msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.cache.po b/docs/locale/pl/LC_MESSAGES/api.cache.po index f32d51085..43abb1314 100644 --- a/docs/locale/pl/LC_MESSAGES/api.cache.po +++ b/docs/locale/pl/LC_MESSAGES/api.cache.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,7 +31,7 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.cache.Item:3 of +#: interactions.api.cache.Item:3 interactions.api.cache.Storage.get:3 of msgid "The ID of the item." msgstr "" @@ -55,22 +55,8 @@ msgstr "" msgid "Adds a new item to the storage." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Parameters" msgstr "" @@ -78,27 +64,46 @@ msgstr "" msgid "The item to add." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Returns" msgstr "" #: interactions.api.cache.Storage.add:5 of -msgid "typing.List[interactions.api.cache.Item]" +msgid "The new storage." +msgstr "" + +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of +msgid "Return type" +msgstr "" + +#: interactions.api.cache.Storage.get:1 of +msgid "Gets an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.get:5 of +msgid "The item from the storage if any." +msgstr "" + +#: interactions.api.cache.Storage.update:1 of +msgid "Updates an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.update:3 of +msgid "The item to update." +msgstr "" + +#: interactions.api.cache.Storage.update:4 of +msgid "The updated item, if stored." +msgstr "" + +#: interactions.api.cache.Storage.view:1 of +msgid "Views all items from storage." +msgstr "" + +#: interactions.api.cache.Storage.view:3 of +msgid ":return The items stored. :rtype: List[dict]" msgstr "" #: interactions.api.cache.Cache:1 of @@ -138,169 +143,3 @@ msgstr "" #: interactions.api.cache.Cache:12 of msgid "The cached interactions upon interaction." msgstr "" - -#: interactions.api.cache.Cache.add_dm:1 of -msgid "Adds a DM to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_dm:3 of -msgid "The Direct Message to add." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:5 -#: interactions.api.cache.Cache.add_dm:5 -#: interactions.api.cache.Cache.add_guild:5 -#: interactions.api.cache.Cache.add_interaction:7 -#: interactions.api.cache.Cache.add_member:5 -#: interactions.api.cache.Cache.add_message:5 -#: interactions.api.cache.Cache.add_role:5 -#: interactions.api.cache.Cache.add_self_guild:5 -#: interactions.api.cache.Cache.add_user:5 -#: interactions.api.cache.Cache.get_channel:7 -#: interactions.api.cache.Cache.get_dm:5 -#: interactions.api.cache.Cache.get_guild:5 -#: interactions.api.cache.Cache.get_interaction:5 -#: interactions.api.cache.Cache.get_member:7 -#: interactions.api.cache.Cache.get_message:9 -#: interactions.api.cache.Cache.get_role:9 -#: interactions.api.cache.Cache.get_self_guild:5 -#: interactions.api.cache.Cache.get_user:5 of -msgid "interactions.api.cache.Item" -msgstr "" - -#: interactions.api.cache.Cache.get_dm:1 of -msgid "Gets a DM from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_dm:3 of -msgid "The ID of the Direct Message." -msgstr "" - -#: interactions.api.cache.Cache.add_self_guild:1 of -msgid "Adds a combed guild from the gateway to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:3 -#: interactions.api.cache.Cache.add_self_guild:3 of -msgid "The guild to add." -msgstr "" - -#: interactions.api.cache.Cache.get_self_guild:1 of -msgid "Gets a combed guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:3 -#: interactions.api.cache.Cache.get_guild:3 -#: interactions.api.cache.Cache.get_member:3 -#: interactions.api.cache.Cache.get_message:3 -#: interactions.api.cache.Cache.get_role:3 -#: interactions.api.cache.Cache.get_self_guild:3 of -msgid "The ID of the guild." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:1 of -msgid "Adds a guild after the ready event to the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_guild:1 of -msgid "Gets a new guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:1 of -msgid "Adds a channel to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:3 of -msgid "The channel to add." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:1 of -msgid "Gets a channel from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:5 -#: interactions.api.cache.Cache.get_message:5 of -msgid "The ID of the channel." -msgstr "" - -#: interactions.api.cache.Cache.add_role:1 of -msgid "Adds a role to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_role:3 of -msgid "The role to add." -msgstr "" - -#: interactions.api.cache.Cache.get_role:1 of -msgid "Gets a role from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_member:5 -#: interactions.api.cache.Cache.get_role:5 of -msgid "The ID of the member." -msgstr "" - -#: interactions.api.cache.Cache.get_role:7 of -msgid "The ID of the role." -msgstr "" - -#: interactions.api.cache.Cache.add_member:1 of -msgid "Adds a member to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_member:3 of -msgid "The member to add." -msgstr "" - -#: interactions.api.cache.Cache.get_member:1 of -msgid "Gets a member from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:1 of -msgid "Adds a message to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:3 of -msgid "The message to add." -msgstr "" - -#: interactions.api.cache.Cache.get_message:1 of -msgid "Gets a message from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_message:7 of -msgid "The ID of the message." -msgstr "" - -#: interactions.api.cache.Cache.add_user:1 of -msgid "Adds a user to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_user:3 of -msgid "The user to add." -msgstr "" - -#: interactions.api.cache.Cache.get_user:1 of -msgid "Gets a user from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_user:3 of -msgid "The ID of the user." -msgstr "" - -#: interactions.api.cache.Cache.get_interaction:1 of -msgid "Gets an application command/interaction from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:3 -#: interactions.api.cache.Cache.get_interaction:3 of -msgid "The application ID of the command." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:1 of -msgid "Adds an application command/interaction to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:5 of -msgid "The application command to add." -msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.dispatch.po b/docs/locale/pl/LC_MESSAGES/api.dispatch.po index 1b084411b..b6707ea02 100644 --- a/docs/locale/pl/LC_MESSAGES/api.dispatch.po +++ b/docs/locale/pl/LC_MESSAGES/api.dispatch.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -59,16 +59,6 @@ msgstr "" msgid "Keyword-only arguments of the coroutine." msgstr "" -#: interactions.api.dispatch.Listener.dispatch -#: interactions.api.dispatch.Listener.register of -msgid "Returns" -msgstr "" - -#: interactions.api.dispatch.Listener.dispatch:9 -#: interactions.api.dispatch.Listener.register:9 of -msgid "None" -msgstr "" - #: interactions.api.dispatch.Listener.register:1 of msgid "" "Registers a given coroutine as an event to be listened to. If the name of" @@ -83,3 +73,7 @@ msgstr "" #: interactions.api.dispatch.Listener.register:7 of msgid "The coroutine to register as an event." msgstr "" + +#: interactions.api.dispatch.Listener.register:9 of +msgid "The name to associate the coroutine with. Defaults to None." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.enums.po b/docs/locale/pl/LC_MESSAGES/api.enums.po index 284356c95..e77ec4bbc 100644 --- a/docs/locale/pl/LC_MESSAGES/api.enums.po +++ b/docs/locale/pl/LC_MESSAGES/api.enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,25 +22,6 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.api.enums.DefaultErrorType:1 of -msgid "" -"An enumerable object for the default errors that occur with interaction " -"creation." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:4 of -msgid "" -"This is a port from v3's errors, which basically delegate errors to a " -"unique error code. This enum's purpose is to help remember error codes. " -"Importing this class is not required." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:7 of -msgid "" -"i.e. : raise InteractionException(1) == raise " -"InteractionException(REQUEST_FAILURE)" -msgstr "" - #: interactions.api.enums.OpCodeType:1 of msgid "" "An enumerable object for the Gateway's OPCODE result state. This is " @@ -53,35 +34,3 @@ msgid "" "`_ in the Discord API." msgstr "" - -#: interactions.api.enums.WSCloseCodeType:1 of -msgid "" -"An enumerable object for the Gateway's closing connection codes. This is " -"representative of the Gateway responses generated by the WebSocket." -msgstr "" - -#: interactions.api.enums.WSCloseCodeType:5 of -msgid "" -"Equivalent of `Gateway Close Event Codes " -"`_ in the Discord API." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:1 of -msgid "An enumerable object for the HTTP response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:4 of -msgid "This enumerable does not list the documented \"5xx\", as it may vary." -msgstr "" - -#: interactions.api.enums.JSONResponseType:1 of -msgid "An enumerable object for the JSON error response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.JSONResponseType:4 of -msgid "" -"Equivalent of `JSON Error Codes " -"`_ in the Discord API." -msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.error.po b/docs/locale/pl/LC_MESSAGES/api.error.po index 4dcbb1a1a..85101f5e4 100644 --- a/docs/locale/pl/LC_MESSAGES/api.error.po +++ b/docs/locale/pl/LC_MESSAGES/api.error.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -47,7 +47,7 @@ msgstr "" #: interactions.api.error.HTTPException:3 #: interactions.api.error.InteractionException:8 #: interactions.api.error.JSONException:3 of -msgid "The built in formatter." +msgid "The built-in formatter." msgstr "" #: interactions.api.error.GatewayException:4 diff --git a/docs/locale/pl/LC_MESSAGES/api.gateway.po b/docs/locale/pl/LC_MESSAGES/api.gateway.po index c2adf73a2..c64b34dd0 100644 --- a/docs/locale/pl/LC_MESSAGES/api.gateway.po +++ b/docs/locale/pl/LC_MESSAGES/api.gateway.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,125 +22,276 @@ msgstr "" msgid "Gateway" msgstr "" -#: interactions.api.gateway.Heartbeat:1 of -msgid "A class representing a consistent heartbeat connection with the gateway." +#: interactions.api.gateway:1 of +msgid "interactions.api.gateway" msgstr "" -#: interactions.api.gateway.Heartbeat interactions.api.gateway.WebSocket of +#: interactions.api.gateway:3 of +msgid "This section of the library maintains and handles all of the Gateway work." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:1 of +msgid "" +"A class representing the client's connection to the Gateway via. " +"WebSocket." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient of msgid "Variables" msgstr "" -#: interactions.api.gateway.Heartbeat:3 of -msgid "The WebSocket class to infer on." +#: interactions.api.gateway.client.WebSocketClient:3 of +msgid "The asynchronous event loop." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:4 of +msgid "The built-in event dispatcher." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:5 of +msgid "The user-facing HTTP client." msgstr "" -#: interactions.api.gateway.Heartbeat:4 of -msgid "The heartbeat interval determined by the gateway." +#: interactions.api.gateway.client.WebSocketClient:6 of +msgid "The WebSocket data of the connection." msgstr "" -#: interactions.api.gateway.Heartbeat:5 of -msgid "The multi-threading event." +#: interactions.api.gateway.client.WebSocketClient:7 of +msgid "Whether the connection has been closed or not." msgstr "" -#: interactions.api.gateway.Heartbeat.run:1 of -msgid "Starts the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:8 of +msgid "The connection options made during connection." msgstr "" -#: interactions.api.gateway.Heartbeat.stop:1 of -msgid "Stops the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:9 of +msgid "The gateway intents used for connection." msgstr "" -#: interactions.api.gateway.WebSocket:1 of -msgid "A class representing a websocket connection with the gateway." +#: interactions.api.gateway.client.WebSocketClient:10 of +msgid "The contents of the application returned when ready." msgstr "" -#: interactions.api.gateway.WebSocket:3 of -msgid "An instance of :class:`interactions.api.models.Intents`." +#: interactions.api.gateway.client.WebSocketClient:11 of +msgid "The context state of a \"heartbeat\" made to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket:4 of -msgid "The coroutine event loop established on." +#: interactions.api.gateway.client.WebSocketClient:12 of +msgid "The shards used during connection." msgstr "" -#: interactions.api.gateway.WebSocket:5 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.api.gateway.client.WebSocketClient:13 of +msgid "The presence used in connection." msgstr "" -#: interactions.api.gateway.WebSocket:6 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.api.gateway.client.WebSocketClient:14 of +msgid "The ready state of the client as an ``asyncio.Event``." msgstr "" -#: interactions.api.gateway.WebSocket:7 of -msgid "The current client session." +#: interactions.api.gateway.client.WebSocketClient:15 of +msgid "The closing task for ending connections." msgstr "" -#: interactions.api.gateway.WebSocket:8 of -msgid "The current ID of the gateway session." +#: interactions.api.gateway.client.WebSocketClient:16 of +msgid "The ID of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:9 of -msgid "The current sequence of the gateway connection." +#: interactions.api.gateway.client.WebSocketClient:17 of +msgid "The sequence identifier of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:10 of -msgid "An instance of :class:`interactions.api.gateway.Heartbeat`." +#: interactions.api.gateway.client.WebSocketClient:18 of +msgid "" +"The latest time of the last send_packet function call since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:11 of -msgid "The current connection state." +#: interactions.api.gateway.client.WebSocketClient:19 of +msgid "" +"The latest time of the last ``HEARTBEAT_ACK`` event since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:12 of -msgid "The internal HTTP client used to connect to the gateway." +#: interactions.api.gateway.client.WebSocketClient:20 of +msgid "The latency of the connection, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket.recv:1 of -msgid "Receives packets sent from the gateway." +#: interactions.api.gateway.client.WebSocketClient._manage_heartbeat:1 of +msgid "Manages the heartbeat loop." msgstr "" -#: interactions.api.gateway.WebSocket.connect:1 of -msgid "Establishes a connection to the gateway." +#: interactions.api.gateway.client.WebSocketClient.__restart:1 of +msgid "Restart the client's connection and heartbeat with the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of +#: interactions.api.gateway.client.WebSocketClient._establish_connection:1 of +msgid "Establishes a client connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__identify +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context +#: interactions.api.gateway.client.WebSocketClient._dispatch_event +#: interactions.api.gateway.client.WebSocketClient._establish_connection +#: interactions.api.gateway.client.WebSocketClient._handle_connection +#: interactions.api.gateway.client.WebSocketClient._send_packet +#: interactions.api.gateway.client.WebSocketClient._update_presence of msgid "Parameters" msgstr "" -#: interactions.api.gateway.WebSocket.connect:3 of -msgid "The token to use for identifying." +#: interactions.api.gateway.client.WebSocketClient._establish_connection:3 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:5 of +msgid "The shards to establish a connection with. Defaults to ``None``." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of -msgid "Returns" +#: interactions.api.gateway.client.WebSocketClient._establish_connection:5 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:7 of +msgid "The presence to carry with. Defaults to ``None``." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:1 of +msgid "Handles the client's connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:3 of +msgid "The packet stream to handle." msgstr "" -#: interactions.api.gateway.WebSocket.connect:5 -#: interactions.api.gateway.WebSocket.handle:7 of -msgid "None" +#: interactions.api.gateway.client.WebSocketClient.wait_until_ready:1 of +msgid "Waits for the client to become ready according to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:1 of -msgid "Handles the dispatched event data from a gateway event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:1 of +msgid "Dispatches an event from the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:3 of +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:3 of msgid "The name of the event." msgstr "" -#: interactions.api.gateway.WebSocket.handle:5 of -msgid "The data of the event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:5 of +msgid "The data for the event." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:1 of +msgid "" +"Takes raw data given back from the Gateway and gives \"context\" based " +"off of what it is." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:4 of +msgid "The data from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Returns" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:6 of +msgid "The context object." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Return type" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:1 of +msgid "" +"Checks if an application command schema has sub commands needed for " +"argument collection." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:4 of +msgid "The data structure of the option." msgstr "" -#: interactions.api.gateway.WebSocket.identify:1 of +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:6 of +msgid "The context to refer subcommands from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:8 of +msgid "A dictionary of the collected options, if any." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:1 of +msgid "Looks up the type of option respective to the existing option types." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:4 of +msgid "The context to refer types from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:6 of +msgid "The option type." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:8 of +msgid "The option type context." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:1 of +msgid "Receives a stream of packets sent from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:3 of +msgid "The packet stream." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:1 of +msgid "Sends a packet to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:3 of +msgid "The data to send to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:1 of msgid "Sends an ``IDENTIFY`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.resume:1 of +#: interactions.api.gateway.client.WebSocketClient.__identify:3 of +msgid "The shard ID to identify under." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:5 +#: interactions.api.gateway.client.WebSocketClient._update_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__resume:1 of msgid "Sends a ``RESUME`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.heartbeat:1 of +#: interactions.api.gateway.client.WebSocketClient.__heartbeat:1 of msgid "Sends a ``HEARTBEAT`` packet to the gateway." msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.shard:1 of +msgid "Returns the current shard" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.presence:1 of +msgid "Returns the current presence." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:1 of +msgid "Sends an ``UPDATE_PRESENCE`` packet to the gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.api.gateway.heartbeat._Heartbeat:1 of +msgid "An internal class representing the heartbeat in a WebSocket connection." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.http.po b/docs/locale/pl/LC_MESSAGES/api.http.po index c550cad31..b637802cb 100644 --- a/docs/locale/pl/LC_MESSAGES/api.http.po +++ b/docs/locale/pl/LC_MESSAGES/api.http.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,1742 +19,2431 @@ msgstr "" "Generated-By: Babel 2.9.1\n" #: ../../api.http.rst:4 -msgid "HTTP Client" +msgid "HTTP" msgstr "" -#: interactions.api.http.Route:1 of +#: interactions.api.http.route.Route:1 of msgid "A class representing how an HTTP route is structured." msgstr "" -#: interactions.api.http.Padlock interactions.api.http.Request -#: interactions.api.http.Route of +#: interactions.api.http.client.HTTPClient +#: interactions.api.http.limiter.Limiter interactions.api.http.request._Request +#: interactions.api.http.route.Route of msgid "Variables" msgstr "" -#: interactions.api.http.Route:3 of +#: interactions.api.http.route.Route:3 of msgid "The HTTP route path." msgstr "" -#: interactions.api.http.Route:4 of +#: interactions.api.http.route.Route:4 of msgid "The HTTP method." msgstr "" -#: interactions.api.http.Route:5 of +#: interactions.api.http.route.Route:5 of msgid "The URL path." msgstr "" -#: interactions.api.http.Route:6 of +#: interactions.api.http.route.Route:6 of msgid "The channel ID from the bucket if given." msgstr "" -#: interactions.api.http.Route:7 of +#: interactions.api.http.route.Route:7 of msgid "The guild ID from the bucket if given." msgstr "" -#: interactions.api.http.Route.bucket:1 of -msgid "Returns the route's bucket." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_webhooks -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_webhook -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.Request.request interactions.api.http.Route.bucket of +#: interactions.api.http.route.Route.get_bucket:1 of +msgid "" +"Returns the route's bucket. If shared_bucket is None, returns the path " +"with major parameters. Otherwise, it relies on Discord's given bucket." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.delete_channel +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.channel.ChannelRequest.trigger_typing +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_ban +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_kick +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild +#: interactions.api.http.guild.GuildRequest.delete_guild_integration +#: interactions.api.http.guild.GuildRequest.delete_guild_role +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state +#: interactions.api.http.guild.GuildRequest.remove_guild_ban +#: interactions.api.http.guild.GuildRequest.remove_guild_member +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest._post_followup +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response +#: interactions.api.http.interaction.InteractionRequest.delete_application_command +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.add_member_role +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.member.MemberRequest.remove_member_role +#: interactions.api.http.member.MemberRequest.search_guild_members +#: interactions.api.http.message.MessageRequest.create_message +#: interactions.api.http.message.MessageRequest.delete_message +#: interactions.api.http.message.MessageRequest.delete_messages +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.pin_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.message.MessageRequest.unpin_message +#: interactions.api.http.reaction.ReactionRequest.create_reaction +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.join_thread +#: interactions.api.http.thread.ThreadRequest.leave_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message +#: interactions.api.http.webhook.WebhookRequest.delete_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of +msgid "Parameters" +msgstr "" + +#: interactions.api.http.route.Route.get_bucket:4 of +msgid "The bucket that Discord provides, if available." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.client.HTTPClient.get_bot_gateway +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_self +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of msgid "Returns" msgstr "" -#: interactions.api.http.Route.bucket:3 of -msgid "str" +#: interactions.api.http.route.Route.get_bucket:7 of +msgid "The route bucket." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket of +msgid "Return type" +msgstr "" + +#: interactions.api.http.route.Route.endpoint:1 of +msgid "Returns the route's endpoint." msgstr "" -#: interactions.api.http.Padlock:1 of -msgid "A class representing ratelimited sessions as a \"locked\" event." +#: interactions.api.http.route.Route.endpoint:3 of +msgid "The route endpoint." msgstr "" -#: interactions.api.http.Padlock:3 of -msgid "The lock coroutine event." +#: interactions.api.http.limiter.Limiter:1 of +msgid "A class representing a limitation for an HTTP request." msgstr "" -#: interactions.api.http.Padlock:4 of -msgid "Whether the lock should stay open or not." +#: interactions.api.http.limiter.Limiter:3 of +msgid "The \"lock\" or controller of the request." msgstr "" -#: interactions.api.http.Padlock.click:1 of -msgid "Re-closes the lock after the instiantiation and invocation ends." +#: interactions.api.http.limiter.Limiter:4 of +msgid "The remaining time before the request can be ran." msgstr "" -#: interactions.api.http.Request:1 of +#: interactions.api.http.request._Request:1 of msgid "A class representing how HTTP requests are sent/read." msgstr "" -#: interactions.api.http.Request:3 of +#: interactions.api.http.request._Request:3 of msgid "The current application token." msgstr "" -#: interactions.api.http.Request:4 of +#: interactions.api.http.request._Request:4 of msgid "The current coroutine event loop." msgstr "" -#: interactions.api.http.Request:5 of -msgid "The current ratelimits from the Discord API." +#: interactions.api.http.request._Request:5 of +msgid "The current per-route rate limiters from the API." +msgstr "" + +#: interactions.api.http.request._Request:6 of +msgid "The current endpoint to shared_bucket cache from the API." msgstr "" -#: interactions.api.http.Request:6 of +#: interactions.api.http.request._Request:7 of msgid "The current headers for an HTTP request." msgstr "" -#: interactions.api.http.Request:7 of +#: interactions.api.http.request._Request:8 of msgid "The current session for making requests." msgstr "" -#: interactions.api.http.Request:8 of -msgid "The ratelimit lock event." +#: interactions.api.http.request._Request:9 of +msgid "The global rate limiter." msgstr "" -#: interactions.api.http.Request.check_session:1 of +#: interactions.api.http.request._Request._check_session:1 of msgid "Ensures that we have a valid connection session." msgstr "" -#: interactions.api.http.Request.request:1 of -msgid "Sends a request to the Discord API." +#: interactions.api.http.request._Request._check_lock:1 of +msgid "Checks the global lock for its current state." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.add_member_role -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_kick -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_interaction_response -#: interactions.api.http.HTTPClient.create_message -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_application_command -#: interactions.api.http.HTTPClient.delete_channel -#: interactions.api.http.HTTPClient.delete_channel_permission -#: interactions.api.http.HTTPClient.delete_guild -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.delete_stage_instance -#: interactions.api.http.HTTPClient.delete_webhook_message -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_channel_permission -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_current_user_voice_state -#: interactions.api.http.HTTPClient.modify_guild -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_user_voice_state -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.remove_all_reactions -#: interactions.api.http.HTTPClient.remove_member_role -#: interactions.api.http.HTTPClient.remove_user_reaction -#: interactions.api.http.HTTPClient.search_guild_members -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.HTTPClient.trigger_typing -#: interactions.api.http.Request.request of -msgid "Parameters" +#: interactions.api.http.request._Request.request:1 of +msgid "Sends a request to the Discord API." msgstr "" -#: interactions.api.http.Request.request:3 of +#: interactions.api.http.request._Request.request:3 of msgid "The HTTP route to request." msgstr "" -#: interactions.api.http.Request.request:5 of +#: interactions.api.http.request._Request.request:5 of msgid "Optional keyword-only arguments to pass as information in the request." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:4 -#: interactions.api.http.Request.request:7 of -msgid "None" +#: interactions.api.http.request._Request.request:7 of +msgid "The contents of the request if any." msgstr "" -#: interactions.api.http.Request.close:1 of +#: interactions.api.http.request._Request.close:1 of msgid "Closes the current session." msgstr "" -#: interactions.api.http.HTTPClient:1 of -msgid "" -"A WIP class that represents the http Client that handles all major " -"endpoints to Discord API." +#: interactions.api.http.client.HTTPClient:1 of +msgid "The user-facing client of the Web API for individual endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:3 of +msgid "The token of the application." msgstr "" -#: interactions.api.http.HTTPClient.get_gateway:1 of +#: interactions.api.http.client.HTTPClient:4 of +msgid "The requesting interface for endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:5 of +msgid "The referenced cache." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_gateway:1 of msgid "" "This calls the Gateway endpoint and returns a v9 gateway link with JSON " "encoding." msgstr "" -#: interactions.api.http.HTTPClient.get_bot_gateway:1 of -msgid "" -"This calls the BOT Gateway endpoint. :return: A tuple denoting (shard, " -"gateway_url), url from API v9 and JSON encoding" +#: interactions.api.http.client.HTTPClient.get_bot_gateway:1 of +msgid "This calls the BOT Gateway endpoint." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_bot_gateway:3 of +msgid "A tuple denoting (shard, gateway_url), url from API v9 and JSON encoding" msgstr "" -#: interactions.api.http.HTTPClient.login:1 of +#: interactions.api.http.client.HTTPClient.login:1 of msgid "" "This 'logins' to the gateway, which makes it available to use any other " "endpoint." msgstr "" -#: interactions.api.http.HTTPClient.logout:1 of +#: interactions.api.http.client.HTTPClient.logout:1 of msgid "This 'log outs' the session." msgstr "" -#: interactions.api.http.HTTPClient.get_current_bot_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_bot_information:1 of msgid "Returns the bot user application object without flags." msgstr "" -#: interactions.api.http.HTTPClient.get_current_authorisation_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_authorisation_information:1 +#: of msgid "Returns info about the current authorization of the bot user" msgstr "" -#: interactions.api.http.HTTPClient.get_voice_regions:1 of +#: interactions.api.http.channel.ChannelRequest.get_channel:1 of msgid "" -"Gets a list from the API a list of voice regions. :return: An array of " -"Voice Region objects." +"Gets a channel by ID. If the channel is a thread, it also includes thread" +" members (and other thread attributes)." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:6 +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.get_channel:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:6 +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:3 +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.modify_channel:3 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.move_channel:4 +#: interactions.api.http.channel.ChannelRequest.trigger_typing:6 +#: interactions.api.http.message.MessageRequest.pin_message:3 +#: interactions.api.http.message.MessageRequest.unpin_message:3 +#: interactions.api.http.webhook.WebhookRequest.create_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:3 of +msgid "Channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_self:1 of -msgid "An alias to `get_user`, but only gets the current bot user." +#: interactions.api.http.channel.ChannelRequest.get_channel:4 of +msgid "Dictionary of the channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_self:3 of -msgid "" -":return A partial User object of the current bot user in the form of a " -"dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:1 of +msgid "Deletes a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_user:1 of -msgid "" -"Gets a user object for a given user ID. :param user_id: A user snowflake " -"ID. If omitted, this defaults to the current bot user. :return A partial " -"User object in the form of a dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:3 of +msgid "Channel ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_self:1 of -msgid "Modify the bot user account settings. :param payload: The data to send." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:1 of +msgid "Get messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:1 of -msgid "Changes a nickname of the current bot user in a guild." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:4 of +msgid "around, before, and after arguments are mutually exclusive." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:3 of -msgid "Guild snowflake ID." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:7 of +msgid "How many messages to get. Defaults to 50, the max is 100." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:4 of -msgid "The new nickname, if any." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:8 of +msgid "Get messages around this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:5 of -msgid "Nothing needed to be yielded." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:9 of +msgid "Get messages before this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.create_dm:1 of -msgid "" -"Creates a new DM channel with a user. :param recipient_id: User snowflake" -" ID. :return: Returns a dictionary representing a DM Channel object." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:10 of +msgid "Get messages after this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.send_message:1 of -msgid "" -"A higher level implementation of :meth:`create_message()` that handles " -"the payload dict internally. Does not integrate components into the " -"function, and is a port from v3.0.0" +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:11 of +msgid "An array of Message objects." msgstr "" -#: interactions.api.http.HTTPClient.create_message:1 of -msgid "Send a message to the specified channel." +#: interactions.api.http.channel.ChannelRequest.create_channel:1 of +msgid "Creates a channel within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_message:3 of -msgid "Dictionary contents of a message. (i.e. message payload)" +#: interactions.api.http.channel.ChannelRequest.create_channel:4 of +msgid "This does not handle payload in this method. Tread carefully." msgstr "" -#: interactions.api.http.HTTPClient.create_message:4 -#: interactions.api.http.HTTPClient.edit_message:3 of -msgid "Channel snowflake ID." +#: interactions.api.http.channel.ChannelRequest.create_channel:6 +#: interactions.api.http.channel.ChannelRequest.move_channel:3 +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:3 +#: interactions.api.http.guild.GuildRequest.add_guild_member:3 +#: interactions.api.http.guild.GuildRequest.create_guild_role:3 +#: interactions.api.http.guild.GuildRequest.create_guild_template:3 +#: interactions.api.http.guild.GuildRequest.delete_guild:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_role:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_template:3 +#: interactions.api.http.guild.GuildRequest.get_guild_bans:6 +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:3 +#: interactions.api.http.guild.GuildRequest.get_guild_invites:3 +#: interactions.api.http.guild.GuildRequest.get_guild_preview:3 +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:3 +#: interactions.api.http.guild.GuildRequest.get_guild_templates:3 +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:6 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:3 +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.modify_guild:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:3 +#: interactions.api.http.guild.GuildRequest.sync_guild_template:3 +#: interactions.api.http.member.MemberRequest.get_member:3 +#: interactions.api.http.member.MemberRequest.modify_member:5 +#: interactions.api.http.member.MemberRequest.search_guild_members:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:3 +#: of +msgid "Guild ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.create_message of -msgid "return dict" +#: interactions.api.http.channel.ChannelRequest.create_channel:7 of +msgid "Payload data." msgstr "" -#: interactions.api.http.HTTPClient.create_message:5 of -msgid "Dictionary representing a message (?)" +#: interactions.api.http.channel.ChannelRequest.create_channel:8 of +msgid "Reason to show in audit log, if needed." msgstr "" -#: interactions.api.http.HTTPClient.get_message:1 of -msgid "" -"Get a specific message in the channel. :param channel_id: the channel " -"this message belongs to :param message_id: the id of the message :return:" -" message if it exists." +#: interactions.api.http.channel.ChannelRequest.create_channel:9 of +msgid "Channel object as dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_message:1 of -msgid "" -"Deletes a message from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param reason: " -"Optional reason to show up in the audit log. Defaults to `None`." +#: interactions.api.http.channel.ChannelRequest.move_channel:1 of +msgid "Moves a channel to a new position." msgstr "" -#: interactions.api.http.HTTPClient.delete_messages:1 of +#: interactions.api.http.channel.ChannelRequest.move_channel:5 of +msgid "The new channel position." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:6 of +msgid "The category parent ID, if needed." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:7 of msgid "" -"Deletes messages from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_ids: An array of message snowflake IDs. " -":param reason: Optional reason to show up in the audit log. Defaults to " -"`None`." +"Sync permissions with the parent associated with parent_id. Defaults to " +"False." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:1 of -msgid "Edits a message that already exists." +#: interactions.api.http.channel.ChannelRequest.move_channel:8 of +msgid "Reason to display to the audit log, if any." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:4 of -msgid "Message snowflake ID." +#: interactions.api.http.channel.ChannelRequest.move_channel:9 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:7 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:7 of +msgid "?" msgstr "" -#: interactions.api.http.HTTPClient.edit_message:5 of -msgid "Any new data that needs to be changed." +#: interactions.api.http.channel.ChannelRequest.modify_channel:1 of +msgid "Update a channel's settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:7 of -msgid "A message object with edited attributes." +#: interactions.api.http.channel.ChannelRequest.modify_channel:4 of +msgid "Data representing updated settings." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:5 of +msgid "Reason, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:6 of +msgid "Channel with updated attributes, if successful." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:1 of +msgid "Get the invites for the channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:4 of +msgid "List of invite objects" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:1 of +msgid "Creates an invite for the given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:4 of +msgid "This method does not handle payload. It just sends it." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:7 of +msgid "Data representing the payload/invite attributes." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:8 of +msgid "Reason to show in the audit log, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:9 of +msgid "An invite object." msgstr "" -#: interactions.api.http.HTTPClient.pin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:1 of msgid "" -"Pin a message to a channel. :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"Edits the channel's permission overwrites for a user or role in a given " +"channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:4 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:4 of +msgid "The ID of the overridden object." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:5 of +msgid "the bitwise value of all allowed permissions" msgstr "" -#: interactions.api.http.HTTPClient.unpin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:6 of +msgid "the bitwise value of all disallowed permissions" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:7 of +msgid "0 for a role or 1 for a member" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:5 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:8 of +msgid "Reason to display in the Audit Log, if given." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:1 of +msgid "Deletes a channel permission overwrite for a user or role in a channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:1 of +msgid "Posts \"... is typing\" in a given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:4 of msgid "" -"Unpin a message to a channel :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"By default, this lib doesn't use this endpoint, however, this is listed " +"for third-party implementation." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:1 of +msgid "Get all pinned messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:1 of +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:4 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:1 of +msgid "Create a new stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:4 of +msgid "The topic of the stage instance. Limited to 1-120 characters." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:5 of +msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:6 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:4 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:6 of +msgid "The reason for the creating the stage instance, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:7 of +msgid "The new stage instance" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:1 of +msgid "Get the stage instance associated with a given channel, if it exists." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:4 of +msgid "A stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:1 of +msgid "Update the fields of a given stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:4 of msgid "" -"Publishes (API calls it crossposts) a message in a News channel to any " -"that is followed by." +"The new topic of the stage instance, if given. Limited to 1-120 " +"characters." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:3 of -msgid "Channel the message is in" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:5 of +msgid "The new privacy_level of the stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:4 of -msgid "The id of the message to publish" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:7 of +msgid "The updated stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:5 of -msgid "message object" +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:1 of +msgid "Delete a stage instance." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:1 of +msgid "Gets all emojis from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:4 of +msgid "A list of emojis." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:1 of +msgid "Gets an emote from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:4 of +msgid "Emoji ID snowflake." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:5 of +msgid "Emoji object" msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:1 of +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:1 of +msgid "Creates an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:4 of +msgid "Emoji parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:6 of +msgid "Optionally, give a reason." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:6 of +msgid "An emoji object with the included parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:1 of +msgid "Modifies an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:4 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:4 of +msgid "Emoji ID snowflake" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:5 of +msgid "Emoji parameters with updated attributes" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:7 of +msgid "An emoji object with updated attributes." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:1 of +msgid "Deletes an emoji." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_self_guilds:1 of msgid "Gets all guild objects associated with the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:3 of +#: interactions.api.http.guild.GuildRequest.get_self_guilds:3 of msgid ":return a list of partial guild objects the current bot user is a part of." msgstr "" -#: interactions.api.http.HTTPClient.get_guild:1 of -msgid "" -"Requests an individual guild from the API. :param guild_id: The guild " -"snowflake ID associated. :return: The guild object associated, if any." +#: interactions.api.http.guild.GuildRequest.get_guild:1 of +msgid "Requests an individual guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_preview:1 of -msgid "" -"Get a guild's preview. :param guild_id: Guild ID snowflake. :return: " -"Guild Preview object associated with the snowflake" +#: interactions.api.http.guild.GuildRequest.get_guild:3 +#: interactions.api.http.guild.GuildRequest.leave_guild:3 of +msgid "The guild snowflake ID associated." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:1 of -msgid "Modifies a guild's attributes." +#: interactions.api.http.guild.GuildRequest.get_guild:4 of +msgid "The guild object associated, if any." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 -#: interactions.api.http.HTTPClient.create_channel_invite:4 -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 -#: interactions.api.http.HTTPClient.get_channel_messages:4 -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid ".. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_preview:1 of +msgid "Get a guild's preview." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid "" -"This only sends the payload. You will have to check it when a higher-" -"level function calls this." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member:3 -#: interactions.api.http.HTTPClient.create_channel:6 -#: interactions.api.http.HTTPClient.create_guild_template:3 -#: interactions.api.http.HTTPClient.delete_guild:3 -#: interactions.api.http.HTTPClient.delete_guild_template:3 -#: interactions.api.http.HTTPClient.get_all_emoji:3 -#: interactions.api.http.HTTPClient.get_guild_templates:3 -#: interactions.api.http.HTTPClient.get_guild_widget_image:5 -#: interactions.api.http.HTTPClient.get_guild_widget_settings:3 -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:3 -#: interactions.api.http.HTTPClient.modify_guild:6 -#: interactions.api.http.HTTPClient.modify_guild_template:3 -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:3 -#: interactions.api.http.HTTPClient.modify_guild_widget:3 -#: interactions.api.http.HTTPClient.modify_member:5 -#: interactions.api.http.HTTPClient.modify_user_voice_state:3 -#: interactions.api.http.HTTPClient.move_channel:3 -#: interactions.api.http.HTTPClient.search_guild_members:3 -#: interactions.api.http.HTTPClient.sync_guild_template:3 of -msgid "Guild ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_preview:4 of +msgid "Guild Preview object associated with the snowflake" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild:1 of +msgid "Modifies a guild's attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild:4 of msgid "The parameters to change." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:8 of +#: interactions.api.http.guild.GuildRequest.modify_guild:5 of msgid "Reason to send to the audit log, if given." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild:6 of +msgid "The modified guild object as a dictionary" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.leave_guild:1 of msgid "Leaves a guild." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:3 of -msgid "The guild snowflake ID associated." +#: interactions.api.http.guild.GuildRequest.leave_guild:4 of +msgid "None" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild:1 of msgid "Deletes a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget:1 of -msgid "" -"Returns the widget for the guild. :param guild_id: Guild ID snowflake. " -":return: Guild Widget contents as a dict: {\"enabled\":bool, " -"\"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget:1 of +msgid "Returns the widget for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_widget:4 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:4 of +msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:1 of msgid "Get guild widget settings." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:4 of -msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:1 of +msgid "Get an url representing a png image widget for the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of -msgid "Get a url representing a png image widget for the guild. .. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:4 of +msgid "" +"See _ for list of styles." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:7 of msgid "The style of widget required, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:7 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:8 of msgid "A url pointing to this image" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:1 of msgid "Modify a guild widget." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:4 of msgid "Payload containing new widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:5 of msgid "Updated widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_invites:1 of -msgid "" -"Retrieves a list of invite objects with their own metadata. :param " -"guild_id: Guild ID snowflake. :return: A list of invite objects" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:1 of +msgid "Retrieves a list of invite objects with their own metadata." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_welcome_screen:1 of -msgid "" -"Retrieves from the API a welcome screen associated with the guild :param " -"guild_id: Guild ID snowflake. :return: Welcome Screen object" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:4 of +msgid "A list of invite objects" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:1 of +msgid "Retrieves from the API a welcome screen associated with the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:4 of +msgid "Welcome Screen object" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:1 of msgid "Modify the guild's welcome screen." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:4 of msgid "Whether the welcome screen is enabled or not." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:5 of msgid "" "The new channels (by their ID) linked in the welcome screen and their " "display options" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:6 of msgid "The new server description to show in the welcome screen" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:7 of msgid "Updated Welcome screen object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_integrations:1 of -msgid "" -"Gets a list of integration objects associated with the Guild from the " -"API. :param guild_id: Guild ID snowflake. :return: An array of " -"integration objects" +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:1 of +msgid "Gets a list of integration objects associated with the Guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_integration:1 of -msgid "" -"Deletes an integration from the guild. :param guild_id: Guild ID " -"snowflake. :param integration_id: Integration ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:4 of +msgid "An array of integration objects" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:1 of +msgid "Deletes an integration from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:4 of +msgid "Integration ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:1 +#: of msgid "Update the current user voice state." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:5 of msgid "Voice channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:5 +#: of msgid "Toggle the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:6 +#: of msgid "Sets the user's request to speak, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:1 of msgid "Modify the voice state of a user." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:4 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:4 +#: interactions.api.http.guild.GuildRequest.get_user_ban:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:4 of msgid "User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:6 of msgid "Toggles the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:1 of -msgid "Create a a new guild based on a template." +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:1 +#: of +msgid "Create a new guild based on a template." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:4 +#: of msgid "This endpoint can only be used by bots in less than 10 guilds." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:6 +#: of msgid "The code of the template to use." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:7 +#: of msgid "The name of the guild (2-100 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:8 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:8 +#: of msgid "Guild icon URI, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:9 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:9 +#: of msgid "The newly created guild object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:1 of msgid "Returns an array of guild templates." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:4 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:4 of msgid "An array of guild templates" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:1 of msgid "Create a guild template for the guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:5 of msgid "The name of the template" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:5 of msgid "The description of the template, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:6 of msgid "The created guild template" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:1 of msgid "Sync the template to the guild's current state." msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:4 of msgid "The code for the template to sync" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:5 of msgid "The updated guild template." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:1 of msgid "Modify a guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:4 of msgid "Template ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:6 of msgid "The description of the template" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:7 of msgid "The updated guild template" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:1 of msgid "Delete the guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:5 of msgid "The deleted template object" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:1 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:1 of msgid "Requests from the API to get all channels in the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:3 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:3 of msgid "Guild Snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:4 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:4 of msgid "A list of channels." msgstr "" -#: interactions.api.http.HTTPClient.get_all_roles:1 of -msgid "" -"Gets all roles from a Guild. :param guild_id: Guild ID snowflake :return:" -" An array of Role objects." +#: interactions.api.http.guild.GuildRequest.get_all_roles:1 of +msgid "Gets all roles from a Guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_role:1 of -msgid "" -"Create a new role for the guild. :param guild_id: Guild ID snowflake. " -":param data: A dict containing metadata for the role. :param reason: The " -"reason for this action, if given. :return: Role object" +#: interactions.api.http.guild.GuildRequest.create_guild_ban:3 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:3 +#: interactions.api.http.guild.GuildRequest.get_all_roles:3 +#: interactions.api.http.guild.GuildRequest.get_user_ban:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:3 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:8 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:4 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:4 +#: interactions.api.http.member.MemberRequest.get_list_of_members:3 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:3 of +msgid "Guild ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role_position:1 of -msgid "" -"Modify the position of a role in the guild. :param guild_id: Guild ID " -"snowflake. :param role_id: Role ID snowflake. :param position: The new " -"position of the associated role. :param reason: The reason for this " -"action, if given. :return: List of guild roles with updated hierarchy." +#: interactions.api.http.guild.GuildRequest.get_all_roles:4 of +msgid "An array of Role objects as dictionaries." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role:1 of -msgid "" -"Modify a given role for the guild. :param guild_id: Guild ID snowflake. " -":param role_id: Role ID snowflake. :param data: A dict containing updated" -" metadata for the role. :param reason: The reason for this action, if " -"given. :return: Updated role object." +#: interactions.api.http.guild.GuildRequest.create_guild_role:1 of +msgid "Create a new role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:4 of +msgid "A dict containing metadata for the role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:5 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:6 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:5 of +msgid "The reason for this action, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:6 of +msgid "Role object" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_role:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:1 of +msgid "Modify the position of a role in the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:4 of msgid "" -"Delete a guild role. :param guild_id: Guild ID snowflake. :param role_id:" -" Role ID snowflake. :param reason: The reason for this action, if any." +"A list of dicts containing the role IDs and new positions for all the " +"roles to be moved." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:1 of -msgid "Kicks a person from the guild." +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:6 of +msgid "List of guild roles with updated hierarchy." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.create_guild_kick:3 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_list_of_members:3 of -msgid "Guild ID snowflake" +#: interactions.api.http.guild.GuildRequest.modify_guild_role:1 of +msgid "Modify a given role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:4 of +msgid "Role ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role:5 of +msgid "A dict containing updated metadata for the role." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role:7 of +msgid "Updated role object." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:1 of +msgid "Delete a guild role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:5 of +msgid "The reason for this action, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_kick:1 of +msgid "Kicks a person from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:4 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:4 of msgid "User ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_kick:5 of msgid "Optional Reason argument." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_ban:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_ban:1 of msgid "" "Bans a person from the guild, and optionally deletes previous messages " -"sent by them. :param guild_id: Guild ID snowflake :param user_id: User ID" -" snowflake :param delete_message_days: Number of days to delete messages," -" from 0 to 7. Defaults to 0 :param reason: Optional reason to ban." +"sent by them." msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_ban:1 of -msgid "" -"Unbans someone using the API. :param guild_id: Guild ID snowflake :param " -"user_id: User ID snowflake :param reason: Optional reason to unban." +#: interactions.api.http.guild.GuildRequest.create_guild_ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:6 of +msgid "Optional reason to ban." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:1 of +msgid "Unbans someone using the API." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:5 of +msgid "Optional reason to unban." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_bans:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:4 of msgid "" -"Gets a list of banned users. :param guild_id: Guild ID snowflake. " -":return: A list of banned users." +"If both ``before`` and ``after`` are provided, only ``before`` is " +"respected." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:7 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:8 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:9 of +msgid "Consider only users after the given User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_user_ban:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:10 of +msgid "A list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:1 of msgid "" "Gets an object pertaining to the user, if it exists. Returns a 404 if it " -"doesn't. :param guild_id: Guild ID snowflake :param user_id: User ID " -"snowflake. :return: Ban object if it exists." +"doesn't." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:5 of +msgid "Ban object if it exists." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:1 of msgid "" "A low level method of adding a user to a guild with pre-defined " "attributes." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:5 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:5 of msgid "User access token." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:6 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:6 of msgid "User's nickname on join." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:7 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:7 of msgid "An array of roles that the user is assigned." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:8 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:8 of msgid "Whether the user is mute in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:9 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:9 of msgid "Whether the user is deafened in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:10 of -msgid "Guild member object (?)" +#: interactions.api.http.guild.GuildRequest.add_guild_member:10 of +msgid "Guild member object as dictionary" msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:1 of msgid "" "A low level method of removing a member from a guild. This is different " -"from banning them. :param guild_id: Guild ID snowflake. :param user_id: " -"User ID snowflake. :param reason: Reason to send to audit log, if any." +"from banning them." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_prune_count:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:5 of +msgid "Reason to send to audit log, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:1 of msgid "" "Retrieves a dict from an API that results in how many members would be " -"pruned given the amount of days. :param guild_id: Guild ID snowflake. " -":param days: Number of days to count. Defaults to ``7``. :param " -"include_roles: Role IDs to include, if given. :return: A dict denoting " -"`{\"pruned\": int}`" +"pruned given the amount of days." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:4 of +msgid "Number of days to count. Defaults to ``7``." msgstr "" -#: interactions.api.http.HTTPClient.get_member:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:5 of +msgid "Role IDs to include, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:6 of +msgid "A dict denoting `{\"pruned\": int}`" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_auditlog:1 of msgid "" -"Uses the API to fetch a member from a guild. :param guild_id: Guild ID " -"snowflake. :param member_id: Member ID snowflake. :return: A member " -"object, if any." +"Returns an audit log object for the guild. Requires the 'VIEW_AUDIT_LOG' " +"permission. :param guild_id: Guild ID snowflake. :param user_id: User ID " +"snowflake. filter the log for actions made by a user. :param action_type:" +" the type ID of audit log event. :param before: filter the log before a " +"certain entry id. :param limit: how many entries are returned (default " +"50, minimum 1, maximum 100)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:1 +#: of +msgid "Get all application commands from an application." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:7 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:3 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:6 +#: of +msgid "Application ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:4 +#: of +msgid "Guild to get commands from, if specified. Defaults to global (None)" msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:1 of +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:5 +#: of +msgid "" +"Whether to include full localization dictionaries (name_localizations and" +" description_localizations) in the returned objects, instead of the " +"name_localized and description_localized fields. Default false." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:6 +#: of +msgid "A list of Application commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:1 +#: of +msgid "Registers to the Discord API an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:4 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:7 +#: of +msgid "The dictionary that contains the command (name, description, etc)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:5 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:8 +#: of +msgid "Guild ID snowflake to put them in, if applicable." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:6 +#: of +msgid "An application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:1 +#: of +msgid "" +"Overwrites application command(s) from a scope to the new, updated " +"commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:4 +#: of +msgid "" +"This applies to all forms of application commands (slash and context " +"menus)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:9 +#: of +msgid "An array of application command objects." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:1 +#: of +msgid "Edits an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:4 +#: of +msgid "Application ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:4 +#: of +msgid "A dictionary containing updated attributes" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:5 +#: of +msgid "The application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:6 +#: of +msgid "Guild ID snowflake, if given. Defaults to None/global." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:7 +#: of +msgid "The updated application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:1 +#: of +msgid "Deletes an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:4 +#: of +msgid "Application command ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:5 +#: of +msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:1 +#: of +msgid "Edits permissions for an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:4 +#: of +msgid "" +"This requires authenticating with the Bearer token. Likewise, if this " +"function is used in a bot process with a bot token, this will fail." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:9 +#: of +msgid "Application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:10 +#: of +msgid "Permission data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:11 +#: of +msgid "Returns an updated Application Guild permission object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from a specific Guild application" +" command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:5 +#: of +msgid "Application Command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:6 +#: of +msgid "a Guild Application Command permissions object" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from all Application commands at " +"that Guild." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:5 +#: of +msgid "An array of Guild Application Command permissions" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:1 +#: of +msgid "Posts initial response to an interaction, but you need to add the token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:3 +#: of +msgid "Token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:5 +#: interactions.api.http.user.UserRequest.modify_self:3 of +msgid "The data to send." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:1 +#: of +msgid "Gets an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:3 +#: of +msgid "token" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:6 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:5 +#: of +msgid "" +"Message ID snowflake. Defaults to `@original` which represents the " +"initial response msg." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:6 +#: of +msgid "Message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:1 +#: of +msgid "" +"Edits an existing interaction message, but token needs to be manually " +"called." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:3 +#: of +msgid "A dictionary containing the new response." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:5 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:4 +#: of +msgid "the token of the interaction" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:7 +#: of +msgid "Updated message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:1 +#: of +msgid "Deletes an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:1 of +msgid "Send a followup to an interaction." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:3 of +msgid "the payload to send" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:4 of +msgid "the id of the application" +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:1 of +msgid "Uses the API to fetch a member from a guild." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:4 +#: interactions.api.http.member.MemberRequest.modify_member:4 of +msgid "Member ID snowflake." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:5 of +msgid "A member object, if any." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_list_of_members:1 of msgid "Lists the members of a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:4 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:4 of msgid "How many members to get from the API. Max is 1000. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:5 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:5 of msgid "Get Member IDs after this snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:6 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:6 of msgid "An array of Member objects." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:1 of +#: interactions.api.http.member.MemberRequest.search_guild_members:1 of msgid "" -"Search a guild for members who's username or nickname starts with " +"Search a guild for members whose username or nickname starts with " "provided string." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:4 of +#: interactions.api.http.member.MemberRequest.search_guild_members:4 of msgid "The string to search for" msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:5 of +#: interactions.api.http.member.MemberRequest.search_guild_members:5 of msgid "The number of members to return. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:1 of +#: interactions.api.http.member.MemberRequest.add_member_role:1 of msgid "Adds a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:3 -#: interactions.api.http.HTTPClient.remove_member_role:3 of +#: interactions.api.http.member.MemberRequest.add_member_role:3 +#: interactions.api.http.member.MemberRequest.remove_member_role:3 of msgid "The ID of the guild" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:4 -#: interactions.api.http.HTTPClient.remove_member_role:4 of +#: interactions.api.http.member.MemberRequest.add_member_role:4 +#: interactions.api.http.member.MemberRequest.remove_member_role:4 of msgid "The ID of the user" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:5 -#: interactions.api.http.HTTPClient.remove_member_role:5 of +#: interactions.api.http.member.MemberRequest.add_member_role:5 +#: interactions.api.http.member.MemberRequest.remove_member_role:5 of msgid "The ID of the role to add" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:6 -#: interactions.api.http.HTTPClient.remove_member_role:6 of +#: interactions.api.http.member.MemberRequest.add_member_role:6 +#: interactions.api.http.member.MemberRequest.modify_member:7 +#: interactions.api.http.member.MemberRequest.remove_member_role:6 of msgid "The reason for this action. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.remove_member_role:1 of +#: interactions.api.http.member.MemberRequest.remove_member_role:1 of msgid "Removes a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:1 of +#: interactions.api.http.member.MemberRequest.modify_member:1 of msgid "" "Edits a member. This can nick them, change their roles, mute/deafen (and " -"its contrary), and moving them across channels and/or disconnect them" -msgstr "" - -#: interactions.api.http.HTTPClient.modify_member:4 of -msgid "Member ID snowflake." +"its contrary), and moving them across channels and/or disconnect them." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:6 of +#: interactions.api.http.member.MemberRequest.modify_member:6 of msgid "Payload representing parameters (nick, roles, mute, deaf, channel_id)" msgstr "" -#: interactions.api.http.HTTPClient.modify_member:7 of -msgid "? (modified voice state? not sure)" +#: interactions.api.http.member.MemberRequest.modify_member:8 of +msgid "Modified member object." msgstr "" -#: interactions.api.http.HTTPClient.get_channel:1 of +#: interactions.api.http.message.MessageRequest.send_message:1 of msgid "" -"Gets a channel by ID. If the channel is a thread, it also includes thread" -" members (and other thread attributes) :param channel_id: Channel ID " -"snowflake. :return: Channel object." +"A higher level implementation of :meth:`create_message()` that handles " +"the payload dict internally. Does not integrate components into the " +"function, and is a port from v3.0.0" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:1 of +msgid "Send a message to the specified channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:3 of +msgid "Dictionary contents of a message. (i.e. message payload)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:4 +#: interactions.api.http.message.MessageRequest.delete_message:3 +#: interactions.api.http.message.MessageRequest.delete_messages:3 +#: interactions.api.http.message.MessageRequest.edit_message:3 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:3 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:3 of +msgid "Channel snowflake ID." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:5 +#: interactions.api.http.message.MessageRequest.edit_message:6 of +msgid "An optional list of files to send attached to the message." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message of +msgid "return dict" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:6 of +msgid "Dictionary representing a message (?)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:1 of +msgid "Get a specific message in the channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:3 of +msgid "the channel this message belongs to" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:4 of +msgid "the id of the message" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:5 of +msgid "message if it exists." +msgstr "" + +#: interactions.api.http.message.MessageRequest.delete_message:1 of +msgid "Deletes a message from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:1 of -msgid "Deletes a channel." +#: interactions.api.http.message.MessageRequest.delete_message:4 +#: interactions.api.http.message.MessageRequest.edit_message:4 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:4 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:4 of +msgid "Message snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:3 of -msgid "Channel ID snowflake" +#: interactions.api.http.message.MessageRequest.delete_message:5 +#: interactions.api.http.message.MessageRequest.delete_messages:5 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:1 of -msgid "Get messages from a channel." +#: interactions.api.http.message.MessageRequest.delete_messages:1 of +msgid "Deletes messages from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:4 of -msgid "around, before, and after arguments are mutually exclusive." +#: interactions.api.http.message.MessageRequest.delete_messages:4 of +msgid "An array of message snowflake IDs." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:6 -#: interactions.api.http.HTTPClient.create_stage_instance:3 -#: interactions.api.http.HTTPClient.delete_channel_permission:3 -#: interactions.api.http.HTTPClient.delete_stage_instance:3 -#: interactions.api.http.HTTPClient.edit_channel_permission:3 -#: interactions.api.http.HTTPClient.get_channel_messages:6 -#: interactions.api.http.HTTPClient.get_stage_instance:3 -#: interactions.api.http.HTTPClient.modify_stage_instance:3 -#: interactions.api.http.HTTPClient.move_channel:4 -#: interactions.api.http.HTTPClient.trigger_typing:5 of -msgid "Channel ID snowflake." +#: interactions.api.http.message.MessageRequest.edit_message:1 of +msgid "Edits a message that already exists." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:7 of -msgid "How many messages to get. Defaults to 50, the max is 100." +#: interactions.api.http.message.MessageRequest.edit_message:5 of +msgid "Any new data that needs to be changed." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:8 of -msgid "Get messages around this snowflake ID." +#: interactions.api.http.message.MessageRequest.edit_message:8 of +msgid "A message object with edited attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:9 of -msgid "Get messages before this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:1 of +msgid "Pin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:10 of -msgid "Get messages after this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:4 +#: interactions.api.http.message.MessageRequest.unpin_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:5 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:5 of +msgid "Message ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:11 of -msgid "An array of Message objects." +#: interactions.api.http.message.MessageRequest.unpin_message:1 of +msgid "Unpin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:1 of -msgid "Creates a channel within a guild." +#: interactions.api.http.message.MessageRequest.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in a News channel to any " +"that is followed by." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 of -msgid "This does not handle payload in this method. Tread carefully." +#: interactions.api.http.message.MessageRequest.publish_message:3 of +msgid "Channel the message is in" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:7 of -msgid "Payload data." +#: interactions.api.http.message.MessageRequest.publish_message:4 of +msgid "The id of the message to publish" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:8 of -msgid "Reason to show in audit log, if needed." +#: interactions.api.http.message.MessageRequest.publish_message:5 of +msgid "message object" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:9 of -msgid "Channel object." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:1 of +msgid "Create a reaction for a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:1 of -msgid "Moves a channel to a new position." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:5 of +msgid "The emoji to use (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:5 of -msgid "The new channel position." +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:1 of +msgid "Remove bot user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:6 of -msgid "The category parent ID, if needed." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:5 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:5 of +msgid "The emoji to remove (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:7 of -msgid "" -"Sync permissions with the parent associated with parent_id. Defaults to " -"False." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:1 of +msgid "Remove user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:8 of -msgid "Reason to display to the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:3 of +msgid "The channel this is taking place in" msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:7 -#: interactions.api.http.HTTPClient.execute_slack_webhook:7 -#: interactions.api.http.HTTPClient.move_channel:9 of -msgid "?" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:4 of +msgid "The message to remove the reaction on." msgstr "" -#: interactions.api.http.HTTPClient.modify_channel:1 of -msgid "" -"Update a channel's settings. :param channel_id: Channel ID snowflake. " -":param data: Data representing updated settings. :param reason: Reason, " -"if any. :return: Channel with updated attributes, if successful." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:5 of +msgid "The emoji to remove. (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.get_channel_invites:1 of -msgid "" -"Get the invites for the channel. :param channel_id: Channel ID snowflake." -" :return: List of invite objects" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:6 of +msgid "The user to remove reaction of." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:1 of -msgid "Creates an invite for the given channel." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:1 of +msgid "Remove all reactions from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:4 of -msgid "This method does not handle payload. It just sends it." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:3 of +msgid "The channel this is taking place in." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:7 of -msgid "Data representing the payload/invite attributes." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:4 of +msgid "The message to clear reactions from." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:8 of -msgid "Reason to show in the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:1 +#: of +msgid "Remove all reactions of a certain emoji from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:9 of -msgid "An invite object." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:1 of +msgid "Gets the users who reacted to the emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_invite:1 of -msgid "" -"Delete an invite. :param invite_code: The code of the invite to delete " -":param reason: Reason to show in the audit log, if any. :return: The " -"deleted invite object" +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:5 of +msgid "The emoji to get (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:1 of -msgid "" -"Edits the channel's permission overwrites for a user or role in a given " -"channel." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:6 of +msgid "A list of users who sent that emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:4 -#: interactions.api.http.HTTPClient.edit_channel_permission:4 of -msgid "The ID of the overridden object." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:1 +#: of +msgid "Creates a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:5 of -msgid "the bitwise value of all allowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:5 +#: of +msgid "" +"The dictionary containing the parameters and values to edit the " +"associated event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:6 of -msgid "the bitwise value of all disallowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:5 +#: of +msgid "A dictionary containing the new guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:7 of -msgid "0 for a role or 1 for a member" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:1 +#: of +msgid "Gets a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:5 -#: interactions.api.http.HTTPClient.edit_channel_permission:8 of -msgid "Reason to display in the Audit Log, if given." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:4 +#: of +msgid "Guild Scheduled Event ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:1 of -msgid "Deletes a channel permission overwrite for a user or role in a channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:5 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:4 +#: of +msgid "" +"A boolean to include number of users subscribed to the associated event, " +"if given." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:1 of -msgid "Posts \"... is typing\" in a given channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:6 +#: of +msgid "A dictionary containing the guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:4 -#: interactions.api.http.HTTPClient.trigger_typing:3 of -msgid "..note:" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:1 +#: of +msgid "Gets all guild scheduled events in a guild." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:4 of +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:5 +#: of msgid "" -"By default, this lib doesn't use this endpoint, however, this is listed " -"for third-party implementation." +"A List of a dictionary containing the guild scheduled event objects on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.get_pinned_messages:1 of -msgid "" -"Get all pinned messages from a channel. :param channel_id: Channel ID " -"snowflake. :return: A list of pinned message objects." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:1 +#: of +msgid "Modifies a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:1 of -msgid "Create a new stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:6 +#: of +msgid "" +"A dictionary containing the updated guild scheduled event object on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:4 of -msgid "The topic of the stage instance. Limited to 1-120 characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:1 +#: of +msgid "Deletes a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:5 of -msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:5 +#: of +msgid "Nothing on success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:6 -#: interactions.api.http.HTTPClient.delete_stage_instance:4 -#: interactions.api.http.HTTPClient.modify_stage_instance:6 of -msgid "The reason for the creating the stage instance, if any." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:1 +#: of +msgid "Get the registered users of a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:7 of -msgid "The new stage instance" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:4 +#: of +msgid "Guild Scheduled Event snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:1 of -msgid "Get the stage instance associated with a given channel, if it exists." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:5 +#: of +msgid "Limit of how many users to pull from the event. Defaults to 100." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:4 of -msgid "A stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:6 +#: of +msgid "Include guild member data if it exists. Defaults to False." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:1 of -msgid "Update the fields of a given stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:7 +#: of +msgid "Considers only users before given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:4 of -msgid "" -"The new topic of the stage instance, if given. Limited to 1-120 " -"characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:8 +#: of +msgid "Considers only users after given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:5 of -msgid "The new privacy_level of the stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:9 +#: of +msgid "Returns a list of guild scheduled event user objects on success." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:7 of -msgid "The updated stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:1 of +msgid "Get a specific sticker." msgstr "" -#: interactions.api.http.HTTPClient.delete_stage_instance:1 of -msgid "Delete a stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:3 of +msgid "The id of the sticker" msgstr "" -#: interactions.api.http.HTTPClient.join_thread:1 of -msgid "Have the bot user join a thread. :param thread_id: The thread to join." +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.get_sticker:4 of +msgid "Sticker or None" msgstr "" -#: interactions.api.http.HTTPClient.leave_thread:1 of -msgid "Have the bot user leave a thread. :param thread_id: The thread to leave." +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:1 of +msgid "Gets the list of sticker packs available to Nitro subscribers." msgstr "" -#: interactions.api.http.HTTPClient.add_member_to_thread:1 of -msgid "" -"Add another user to a thread. :param thread_id: The ID of the thread " -":param user_id: The ID of the user to add" +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:3 of +msgid "List of sticker packs" msgstr "" -#: interactions.api.http.HTTPClient.remove_member_from_thread:1 of -msgid "" -"Remove another user from a thread. :param thread_id: The ID of the thread" -" :param user_id: The ID of the user to remove" +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:1 of +msgid "Get the stickers for a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_thread_members:1 of -msgid "" -"Get a list of members in the thread. :param thread_id: the id of the " -"thread :return: a list of member objects" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:3 of +msgid "The guild to get stickers from" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:1 of -msgid "Get a list of archived public threads in a given channel." +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:4 of +msgid "List of Stickers or None" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:3 of -msgid "The channel to get threads from" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:1 of +msgid "Get a sticker from a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:4 of -msgid "Optional limit of threads to" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:4 of +msgid "The sticker to get from the guild" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:5 of -msgid "Get threads before this Thread snowflake ID" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:1 of +msgid "" +"Create a new sticker for the guild. Requires the " +"MANAGE_EMOJIS_AND_STICKERS permission." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:6 of -msgid "a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:3 of +msgid "the payload to send." msgstr "" -#: interactions.api.http.HTTPClient.list_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel. :param channel_id: " -"The channel to get threads from :param limit: Optional limit of threads " -"to :param before: Get threads before this Thread snowflake ID :return: a " -"list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:4 of +msgid "The guild to create sticker at." msgstr "" -#: interactions.api.http.HTTPClient.list_joined_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel that the bot has " -"joined. :param channel_id: The channel to get threads from :param limit: " -"Optional limit of threads to :param before: Get threads before this " -"snowflake ID :return: a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:6 of +msgid "The reason for this action." msgstr "" -#: interactions.api.http.HTTPClient.list_active_threads:1 of -msgid "" -"List active threads within a guild. :param guild_id: the guild id to get " -"threads from :return: A list of active threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:6 of +msgid "The new sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:1 of +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:1 of msgid "" -"From a given channel, create a Thread with an optional message to start " -"with.." +"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:3 of -msgid "The ID of the channel to create this thread in" +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:4 of +msgid "The guild of the target sticker." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:4 of -msgid "The name of the thread" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:5 of +msgid "The sticker to modify." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:5 of -msgid "" -"duration in minutes to automatically archive the thread after recent " -"activity, can be set to: 60, 1440, 4320, 10080" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:7 of +msgid "The updated sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:7 of +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:1 of msgid "" -"The type of thread, defaults to public. ignored if creating thread from a" -" message" +"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:8 of -msgid "Boolean to display if the Thread is open to join or private." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:4 of +msgid "The sticker to delete." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:9 of -msgid "An optional message to create a thread from." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:6 of +msgid "Returns 204 No Content on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:10 of -msgid "An optional reason for the audit log" +#: interactions.api.http.thread.ThreadRequest.join_thread:1 of +msgid "Have the bot user join a thread." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:11 of -msgid "The created thread" +#: interactions.api.http.thread.ThreadRequest.join_thread:3 of +msgid "The thread to join." msgstr "" -#: interactions.api.http.HTTPClient.create_reaction:1 of -msgid "" -"Create a reaction for a message. :param channel_id: Channel snowflake ID." -" :param message_id: Message snowflake ID. :param emoji: The emoji to use " -"(format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:1 of +msgid "Have the bot user leave a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_self_reaction:1 of -msgid "" -"Remove bot user's reaction from a message. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:3 of +msgid "The thread to leave." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:1 of -msgid "Remove user's reaction from a message" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:1 of +msgid "Add another user to a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:3 of -msgid "The channel this is taking place in" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:3 +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:3 +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:3 of +msgid "The ID of the thread" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:4 of -msgid "The message to remove the reaction on." +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:4 of +msgid "The ID of the user to add" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:5 of -msgid "The emoji to remove. (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:1 of +msgid "Remove another user from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:6 of -msgid "The user to remove reaction of." +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:4 of +msgid "The ID of the user to remove" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:1 of -msgid "Remove all reactions from a message." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:1 of +msgid "Get a member from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:3 of -msgid "The channel this is taking place in." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:4 of +msgid "The ID of the user to find" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:4 of -msgid "The message to clear reactions from." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:5 of +msgid "A thread member object, if they're in the thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions_of_emoji:1 of -msgid "" -"Remove all reactions of a certain emoji from a message. :param " -"channel_id: Channel snowflake ID. :param message_id: Message snowflake " -"ID. :param emoji: The emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:1 of +msgid "Get a list of members in the thread." msgstr "" -#: interactions.api.http.HTTPClient.get_reactions_of_emoji:1 of -msgid "" -"Gets the users who reacted to the emoji. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to get (format: `name:id`) :return A list of users who sent that " -"emoji." +#: interactions.api.http.thread.ThreadRequest.list_thread_members:3 of +msgid "the id of the thread" msgstr "" -#: interactions.api.http.HTTPClient.get_sticker:1 of -msgid "" -"Get a specific sticker. :param sticker_id: The id of the sticker :return:" -" Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:4 of +msgid "a list of thread member objects" msgstr "" -#: interactions.api.http.HTTPClient.list_nitro_sticker_packs:1 of -msgid "" -"Gets the list of sticker packs available to Nitro subscribers. :return: " -"List of sticker packs" +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:1 of +msgid "Get a list of archived public threads in a given channel." msgstr "" -#: interactions.api.http.HTTPClient.list_guild_stickers:1 of -msgid "" -"Get the stickers for a guild. :param guild_id: The guild to get stickers " -"from :return: List of Stickers or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:3 of +msgid "The channel to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_sticker:1 of -msgid "" -"Get a sticker from a guild. :param guild_id: The guild to get stickers " -"from :param sticker_id: The sticker to get from the guild :return: " -"Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:4 of +msgid "Optional limit of threads to" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_sticker:1 of -msgid "" -"Create a new sticker for the guild. Requires the " -"MANAGE_EMOJIS_AND_STICKERS permission. :param payload: the payload to " -"send. :param guild_id: The guild to create sticker at. :param reason: The" -" reason for this action. :return: The new sticker data on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:5 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:5 of +msgid "Get threads before this Thread snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_sticker:1 of -msgid "" -"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param payload: the payload to send. :param guild_id: The " -"guild of the target sticker. :param sticker_id: The sticker to modify. " -":param reason: The reason for this action. :return: The updated sticker " -"data on success." +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:6 of +msgid "a list of threads" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_sticker:1 of -msgid "" -"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param guild_id: The guild of the target sticker. :param " -"sticker_id: The sticker to delete. :param reason: The reason for this " -"action. :return: Returns 204 No Content on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:1 +#: of +msgid "Get a list of archived private threads in a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:1 +#: of msgid "" -"Get all application commands from an application :param application_id: " -"Application ID snowflake :param guild_id: Guild to get commands from, if " -"specified. Defaults to global (None) :return: A list of Application " -"commands." -msgstr "" - -#: interactions.api.http.HTTPClient.create_application_command:1 of -msgid "Registers to the Discord API an application command." +"Get a list of archived private threads in a channel that the bot has " +"joined." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.create_application_command:3 -#: interactions.api.http.HTTPClient.create_interaction_response:6 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_application_command_permissions:3 -#: interactions.api.http.HTTPClient.overwrite_application_command:6 of -msgid "Application ID snowflake" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:5 +#: of +msgid "Get threads before this snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:7 of -msgid "The dictionary that contains the command (name, description, etc)" +#: interactions.api.http.thread.ThreadRequest.list_active_threads:1 of +msgid "List active threads within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:5 -#: interactions.api.http.HTTPClient.overwrite_application_command:8 of -msgid "Guild ID snowflake to put them in, if applicable." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:3 of +msgid "the guild id to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:6 of -msgid "An application command object." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:4 of +msgid "A list of active threads" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.create_thread:1 of msgid "" -"Overwrites application command(s) from a scope to the new, updated " -"commands." +"From a given channel, create a Thread with an optional message to start " +"with.." msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:4 of -msgid "" -"This applies to all forms of application commands (slash and context " -"menus)" +#: interactions.api.http.thread.ThreadRequest.create_thread:3 of +msgid "The ID of the channel to create this thread in" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:9 of -msgid "An array of application command objects." +#: interactions.api.http.thread.ThreadRequest.create_thread:4 of +msgid "The name of the thread" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:1 of -msgid "Edits an application command." +#: interactions.api.http.thread.ThreadRequest.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:3 -#: interactions.api.http.HTTPClient.edit_application_command:3 of -msgid "Application ID snowflake." +#: interactions.api.http.thread.ThreadRequest.create_thread:7 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:4 of -msgid "A dictionary containing updated attributes" +#: interactions.api.http.thread.ThreadRequest.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:5 of -msgid "The application command ID snowflake" +#: interactions.api.http.thread.ThreadRequest.create_thread:9 of +msgid "An optional message to create a thread from." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:6 of -msgid "Guild ID snowflake, if given. Defaults to None/global." +#: interactions.api.http.thread.ThreadRequest.create_thread:10 of +msgid "An optional reason for the audit log" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:7 of -msgid "The updated application command object." +#: interactions.api.http.thread.ThreadRequest.create_thread:11 of +msgid "The created thread" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:1 of -msgid "Deletes an application command." +#: interactions.api.http.user.UserRequest.get_self:1 of +msgid "An alias to `get_user`, but only gets the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:4 of -msgid "Application command ID snowflake." +#: interactions.api.http.user.UserRequest.get_self:3 of +msgid "A partial User object of the current bot user in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:5 of -msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +#: interactions.api.http.user.UserRequest.get_user:1 of +msgid "Gets a user object for a given user ID." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:1 of -msgid "Edits permissions for an application command" +#: interactions.api.http.user.UserRequest.get_user:3 of +msgid "A user snowflake ID. If omitted, this defaults to the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:5 of -msgid "Application command ID snowflake" +#: interactions.api.http.user.UserRequest.get_user:4 of +msgid "A partial User object in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:6 of -msgid "Permission data." +#: interactions.api.http.user.UserRequest.modify_self:1 of +msgid "Modify the bot user account settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:7 of -msgid "Returns an updated Application Guild permission object." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:1 of +msgid "Changes a nickname of the current bot user in a guild." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:1 -#: of -msgid "Edits permissions for all Application Commands in a guild." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:3 of +msgid "Guild snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:5 -#: of -msgid "An array of permission dictionaries." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:4 of +msgid "The new nickname, if any." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:6 -#: of -msgid "An updated array of application array permissions." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:5 of +msgid "Nothing needed to be yielded." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:1 of -msgid "" -"Gets, from the Discord API, permissions from a specific Guild application" -" command." +#: interactions.api.http.user.UserRequest.create_dm:1 of +msgid "Creates a new DM channel with a user." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:5 of -msgid "Application Command ID snowflake" +#: interactions.api.http.user.UserRequest.create_dm:3 of +msgid "User snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:6 of -msgid "a Guild Application Command permissions object" +#: interactions.api.http.user.UserRequest.create_dm:4 of +msgid "Returns a dictionary representing a DM Channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:1 -#: of -msgid "" -"Gets, from the Discord API, permissions from all Application commands at " -"that Guild." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:1 of +msgid "Create a new webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:5 -#: of -msgid "An array of Guild Application Command permissions" +#: interactions.api.http.webhook.WebhookRequest.create_webhook:4 of +msgid "Name of the webhook (1-80 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:1 of -msgid "Posts initial response to an interaction." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:5 of +msgid "The image for the default webhook avatar, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 of -msgid "Internally handles token for you." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:7 of +msgid "Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:7 of -msgid "The data to send." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:1 of +msgid "Return a list of channel webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.get_original_interaction_response:1 of -msgid "" -"Gets an existing interaction message. :param application_id: Application " -"ID snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Message " -"data." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:4 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:4 of +msgid "List of webhook objects" msgstr "" -#: interactions.api.http.HTTPClient.edit_interaction_response:1 of -msgid "" -"Edits an existing interaction message. :param data: A dictionary " -"containing the new response. :param application_id: Application ID " -"snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Updated " -"message data." +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:1 of +msgid "Return a list of guild webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:1 of -msgid "" -"Create a new webhook. :param channel_id: Channel ID snowflake. :param " -"name: Name of the webhook (1-80 characters) :param avatar: The image for " -"the default webhook avatar, if given." +#: interactions.api.http.webhook.WebhookRequest.get_webhook:1 of +msgid "Return the new webhook object for the given id." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:6 of -msgid ":return Webhook object" +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:3 of +msgid "Webhook ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_webhooks:1 of -msgid "" -"Return a list of channel webhook objects. :param channel_id: Channel ID " -"snowflake. :return:List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:4 of +msgid "Webhook Token, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:1 of -msgid "" -"Return a list of guild webhook objects. :param guild_id: Guild ID " -"snowflake" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:6 of +msgid ":return:Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:4 of -msgid "List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:1 of +msgid "Modify a webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:1 of -msgid "" -"Return the new webhook object for the given id. :param webhook_id: " -"Webhook ID snowflake. :param webhook_token: Webhook Token, if given." +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:3 of +msgid "Webhook ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:5 of -msgid ":return:Webhook object" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:4 of +msgid "The payload for the webhook" msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:1 of -msgid "" -"Modify a webhook. :param webhook_id: Webhook ID snowflake :param name: " -"the default name of the webhook :param avatar: image for the default " -"webhook avatar :param channel_id: Channel ID snowflake of new destination" -" :param webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:5 of +msgid "The token for the webhook, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:7 of msgid "Modified webhook object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook:1 of -msgid "" -"Delete a webhook :param webhook_id: Webhook ID snowflake. :param " -"webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:1 of +msgid "Delete a webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:1 of msgid "Sends a message as a webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:3 -#: interactions.api.http.HTTPClient.edit_webhook_message:3 -#: interactions.api.http.HTTPClient.execute_github_webhook:3 -#: interactions.api.http.HTTPClient.execute_slack_webhook:3 -#: interactions.api.http.HTTPClient.execute_webhook:3 -#: interactions.api.http.HTTPClient.get_webhook_message:3 of -msgid "Webhook ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.execute_github_webhook:4 -#: interactions.api.http.HTTPClient.execute_slack_webhook:4 -#: interactions.api.http.HTTPClient.execute_webhook:4 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:4 of msgid "The token for the webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:5 -#: interactions.api.http.HTTPClient.execute_slack_webhook:5 -#: interactions.api.http.HTTPClient.execute_webhook:5 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:5 of msgid "Payload consisting of the message." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:6 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:6 of +msgid "The files to upload to the message." +msgstr "" + +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:7 of msgid "" "A bool that signifies waiting for server confirmation of a send before " "responding." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:7 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:8 of msgid "Optional, sends a message to the specified thread." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:9 of msgid "The message sent, if wait=True, else None." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:1 of msgid "Sends a message to a Slack-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:1 of msgid "Sends a message to a Github-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:1 of msgid "Retrieves a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:4 -#: interactions.api.http.HTTPClient.edit_webhook_message:4 -#: interactions.api.http.HTTPClient.get_webhook_message:4 of +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:4 of msgid "Webhook token." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:5 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:5 of msgid "Message ID snowflake," msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:6 of msgid "A Message object." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:1 of msgid "Edits a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:5 -#: interactions.api.http.HTTPClient.edit_webhook_message:5 of -msgid "Message ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.edit_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:6 of msgid "A payload consisting of new message attributes." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:7 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:7 of msgid "An updated message object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:1 of msgid "Deletes a message object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_emoji:1 of -msgid "Gets all emojis from a guild." -msgstr "" - -#: interactions.api.http.HTTPClient.get_all_emoji:4 of -msgid "A list of emojis." -msgstr "" - -#: interactions.api.http.HTTPClient.get_guild_emoji:1 of -msgid "" -"Gets an emote from a guild. :param guild_id: Guild ID snowflake. :param " -"emoji_id: Emoji ID snowflake. :return: Emoji object" -msgstr "" - -#: interactions.api.http.HTTPClient.create_guild_emoji:1 of -msgid "" -"Creates an emoji. :param guild_id: Guild ID snowflake. :param data: Emoji" -" parameters. :param reason: Optionally, give a reason. :return: An emoji " -"object with the included parameters." -msgstr "" - -#: interactions.api.http.HTTPClient.modify_guild_emoji:1 of -msgid "" -"Modifies an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param data: Emoji parameters with updated attributes " -":param reason: Optionally, give a reason. :return: An emoji object with " -"updated attributes." -msgstr "" - -#: interactions.api.http.HTTPClient.delete_guild_emoji:1 of -msgid "" -"Deletes an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param reason: Optionally, give a reason." +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:1 +#: of +msgid "Deletes the original message object sent." msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.channel.po b/docs/locale/pl/LC_MESSAGES/api.models.channel.po index e4af3b294..529af7d9d 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.channel.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.channel.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,24 +26,24 @@ msgstr "" msgid "An enumerable object representing the type of channels." msgstr "" -#: interactions.api.models.channel.ChannelType:3 of -msgid ".. note::" +#: interactions.api.models.channel.Thread:1 of +msgid "An object representing a thread." msgstr "" -#: interactions.api.models.channel.ChannelType:4 of +#: interactions.api.models.channel.Thread:4 of msgid "" -"While all of them are listed, not all of them will be used at this " -"library's scope." +"This is a derivation of the base Channel, since a thread can be its own " +"event." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:1 of -msgid "A class object representing the metadata of a thread." +#: interactions.api.models.channel.Channel:1 of +msgid "A class object representing all types of channels." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:4 of +#: interactions.api.models.channel.Channel:4 of msgid "" -"``invitable`` will only show if the thread can have an invited created " -"with the current cached permissions." +"The purpose of this model is to be used as a base class, and is never " +"needed to be used directly." msgstr "" #: interactions.api.models.channel.Channel @@ -52,62 +52,6 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.channel.ThreadMetadata:7 of -msgid "The current thread accessibility state." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:8 of -msgid "The auto-archive time." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:9 of -msgid "The timestamp that the thread will be/has been closed at." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:10 of -msgid "The current message state of the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:11 of -msgid "The ability to invite users to the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:1 of -msgid "A class object representing a member in a thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:4 of -msgid "" -"``id`` only shows if there are active intents involved with the member in" -" the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:7 of -msgid "The \"ID\" or intents of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:8 of -msgid "The user ID of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:9 of -msgid "The timestamp of when the member joined the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:10 of -msgid "The bitshift flags for the member in the thread." -msgstr "" - -#: interactions.api.models.channel.Channel:1 of -msgid "A class object representing all types of channels." -msgstr "" - -#: interactions.api.models.channel.Channel:4 of -msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." -msgstr "" - #: interactions.api.models.channel.Channel:7 of msgid "The (snowflake) ID of the channel." msgstr "" @@ -214,20 +158,564 @@ msgstr "" msgid "The permissions of the channel." msgstr "" -#: interactions.api.models.channel.TextChannel:1 of +#: interactions.api.models.channel.Channel.mention:1 of +msgid "Returns a string that allows you to mention the given channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Returns" +msgstr "" + +#: interactions.api.models.channel.Channel.mention:3 of +msgid "The string of the mentioned channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Return type" +msgstr "" + +#: interactions.api.models.channel.Channel.send:1 of +msgid "Sends a message in the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_invite +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.pin_message +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit +#: interactions.api.models.channel.Channel.unpin_message of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.channel.Channel.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.channel.Channel.send:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.channel.Channel.send:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.channel.Channel.send:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.channel.Channel.delete:1 of +msgid "Deletes the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:1 of +msgid "Edits the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:6 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:8 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:10 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:12 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:14 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:16 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:18 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:20 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:24 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:26 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:3 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:28 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:30 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:32 of +msgid "The modified channel as new object" +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:1 of +msgid "Sets the name of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:3 of +msgid "The new name of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.lock:5 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:5 +#: interactions.api.models.channel.Channel.set_bitrate:5 +#: interactions.api.models.channel.Channel.set_name:5 +#: interactions.api.models.channel.Channel.set_nsfw:5 +#: interactions.api.models.channel.Channel.set_parent_id:5 +#: interactions.api.models.channel.Channel.set_position:5 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:5 +#: interactions.api.models.channel.Channel.set_topic:5 +#: interactions.api.models.channel.Channel.set_user_limit:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:7 +#: interactions.api.models.channel.Channel.lock:7 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:7 +#: interactions.api.models.channel.Channel.set_bitrate:7 +#: interactions.api.models.channel.Channel.set_name:7 +#: interactions.api.models.channel.Channel.set_nsfw:7 +#: interactions.api.models.channel.Channel.set_parent_id:7 +#: interactions.api.models.channel.Channel.set_position:7 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:7 +#: interactions.api.models.channel.Channel.set_topic:7 +#: interactions.api.models.channel.Channel.set_user_limit:7 of +msgid "The edited channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:1 of +msgid "Sets the topic of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:3 of +msgid "The new topic of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:1 of +msgid "Sets the bitrate of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:3 of +msgid "The new bitrate of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:1 of +msgid "Sets the user_limit of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:3 of +msgid "The new user limit of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:1 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:1 of +msgid "Sets the position of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:3 of +msgid "The new rate_limit_per_user of the channel (0-21600)" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:3 of +msgid "The new position of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:1 of +msgid "Sets the parent_id of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:3 of +msgid "The new parent_id of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:1 of +msgid "Sets the nsfw-flag of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:3 of +msgid "The new nsfw-flag of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:1 of +msgid "Sets the archived state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.archive:3 of +msgid "Whether the Thread is archived, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:5 of +msgid "The reason of the archiving" +msgstr "" + +#: interactions.api.models.channel.Channel.set_auto_archive_duration:1 of +msgid "Sets the time after the thread is automatically archived." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:1 of +msgid "Sets the locked state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:3 of +msgid "Whether the Thread is locked, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:1 of +msgid "This adds a member to the channel, if the channel is a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:3 of +msgid "The id of the member to add to the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:1 of +msgid "Pins a message to the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:3 of +msgid "The id of the message to pin" +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:1 of +msgid "Unpins a message from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:3 of +msgid "The id of the message to unpin" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in the channel to any that " +"is followed by." +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:3 of +msgid "The id of the message to publish" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:5 of +msgid "The message published" +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:1 of +msgid "Get all pinned messages from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:3 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:1 of +msgid "Gets a message sent in that channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:3 of +msgid "The message as object" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:1 of +msgid "" +"Purges a given amount of messages from a channel. You can specify a check" +" function to exclude specific messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:3 of +msgid "" +"Calling this method can lead to rate-limits when purging higher amounts " +"of messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:11 of +msgid "The amount of messages to delete" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:13 of +msgid "" +"The function used to check if a message should be deleted. The message is" +" only deleted if the check returns `True`" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:15 of +msgid "An id of a message to purge only messages before that message" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:17 of +msgid "" +"Whether to bulk delete the messages (you cannot delete messages older " +"than 14 days, default) or to delete every message seperately" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:18 of +msgid "Optional[bool]" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:19 of +msgid "The reason of the deletes" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:21 of +msgid "A list of the deleted messages" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:1 of +msgid "Creates a thread in the Channel." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:8 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:10 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:12 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:14 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:16 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:1 of +msgid "Creates an invite for the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:3 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for text channels." +"Duration of invite in seconds before expiry, or 0 for never. between 0 " +"and 604800 (7 days). Default 86400 (24h)" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:5 of +msgid "Max number of uses or 0 for unlimited. between 0 and 100. Default 0" msgstr "" -#: interactions.api.models.channel.DMChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:7 of +msgid "Whether this invite only grants temporary membership. Default False" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:9 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for DM channels." +"If true, don't try to reuse a similar invite (useful for creating many " +"unique one time use invites). Default False" msgstr "" -#: interactions.api.models.channel.ThreadChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:11 of +msgid "The type of target for this voice channel invite" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:13 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for thread channels." +"The id of the user whose stream to display for this invite, required if " +"target_type is STREAM, the user must be streaming in the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:15 of +msgid "" +"The id of the embedded application to open for this invite, required if " +"target_type is EMBEDDED_APPLICATION, the application must have the " +"EMBEDDED flag" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:17 of +msgid "The reason for the creation of the invite" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:1 of +msgid "Gets messages from the channel's history." +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:3 of +msgid "The amount of messages to get. Default 100" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:5 of +msgid "A list of messages" +msgstr "" + +#: interactions.api.models.channel.Channel.get_webhooks:1 of +msgid "Gets a list of webhooks of that channel" +msgstr "" + +#: interactions.api.models.channel.ThreadMember:1 of +msgid "A class object representing a member in a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:4 of +msgid "" +"``id`` only shows if there are active intents involved with the member in" +" the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:7 of +msgid "The \"ID\" or intents of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:8 of +msgid "The user ID of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:9 of +msgid "The timestamp of when the member joined the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:10 of +msgid "The bitshift flags for the member in the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:11 of +msgid "Whether the member is muted or not." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:1 of +msgid "A class object representing the metadata of a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:4 of +msgid "" +"``invitable`` will only show if the thread can have an invited created " +"with the current cached permissions." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:7 of +msgid "The current thread accessibility state." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:8 of +msgid "The auto-archive time." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:9 of +msgid "The timestamp that the thread will be/has been closed at." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:10 of +msgid "The current message state of the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:11 of +msgid "The ability to invite users to the thread." msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.flags.po b/docs/locale/pl/LC_MESSAGES/api.models.flags.po new file mode 100644 index 000000000..6b44fd0d5 --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/api.models.flags.po @@ -0,0 +1,64 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.flags.rst:4 +msgid "Flag Bitshift Models" +msgstr "" + +#: interactions.api.models.flags.Intents:1 of +msgid "" +"An integer flag bitshift object representing flags respective for each " +"gateway intent type." +msgstr "" + +#: interactions.api.models.flags.AppFlags:1 of +msgid "" +"An integer flag bitshift object representing the different application " +"flags given by Discord." +msgstr "" + +#: interactions.api.models.flags.StatusType:1 of +msgid "" +"An enumerable object representing Discord status icons that a user may " +"have." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.api.models.flags.UserFlags:1 of +msgid "" +"An integer flag bitshift object representing the different user flags " +"given by Discord." +msgstr "" + +#: interactions.api.models.flags.Permissions:1 of +msgid "" +"An integer flag bitshift object representing the different member " +"permissions given by Discord." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.guild.po b/docs/locale/pl/LC_MESSAGES/api.models.guild.po index f2c1dd57a..795f3c96e 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.guild.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.guild.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,68 +22,166 @@ msgstr "" msgid "Guild Models" msgstr "" -#: interactions.api.models.guild.GuildFeature:1 of -msgid "" -"An enumerable string-formatted class representing all of the features a " -"guild can have." +#: interactions.api.models.guild.VerificationLevel:1 of +msgid "An enumerable object representing the verification level of a guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:1 of -msgid "A class object representing a welcome channel on the welcome screen." +#: interactions.api.models.guild.EntityType:1 of +msgid "An enumerable object representing the type of event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:4 of +#: interactions.api.models.guild.DefaultMessageNotificationLevel:1 of msgid "" -"``emoji_id`` and ``emoji_name`` are given values respectively if the " -"welcome channel uses an emoji." +"An enumerable object representing the default message notification level " +"of a guild." +msgstr "" + +#: interactions.api.models.guild.EventMetadata:1 of +msgid "A class object representing the metadata of an event entity." msgstr "" +#: interactions.api.models.guild.EventMetadata #: interactions.api.models.guild.Guild #: interactions.api.models.guild.GuildPreview +#: interactions.api.models.guild.GuildTemplate +#: interactions.api.models.guild.Integration +#: interactions.api.models.guild.Invite +#: interactions.api.models.guild.ScheduledEvents #: interactions.api.models.guild.StageInstance +#: interactions.api.models.guild.UnavailableGuild #: interactions.api.models.guild.WelcomeChannels #: interactions.api.models.guild.WelcomeScreen of msgid "Variables" msgstr "" -#: interactions.api.models.guild.WelcomeChannels:7 of -msgid "The ID of the welcome channel." +#: interactions.api.models.guild.EventMetadata:3 of +msgid "The location of the event, if any." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:8 of -msgid "The description of the welcome channel." +#: interactions.api.models.guild.EventStatus:1 of +msgid "An enumerable object representing the status of an event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:9 of -msgid "The ID of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:1 of +msgid "An object representing the snapshot of an existing guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:10 of -msgid "The name of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:3 of +msgid "The code of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:1 of -msgid "A class object representing the welcome screen shown for community guilds." +#: interactions.api.models.guild.GuildTemplate:4 of +msgid "The name of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:4 of -msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +#: interactions.api.models.guild.GuildTemplate:5 of +msgid "The description of the guild template, if given." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:6 of -msgid "We assume it's for the welcome screen topic." +#: interactions.api.models.guild.GuildTemplate:6 of +msgid "The amount of uses on the template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:8 of -msgid "The description of the welcome sceen." +#: interactions.api.models.guild.GuildTemplate:7 of +msgid "User ID of the creator of this template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:9 of -msgid "A list of welcome channels of the welcome screen." +#: interactions.api.models.guild.GuildTemplate:8 of +msgid "The User object of the creator of this template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:9 of +msgid "The time when this template was created." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:10 of +msgid "The time when this template was updated." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:11 of +msgid "The Guild ID that the template sourced from." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:12 of +msgid "A partial Guild object from the sourced template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:13 of +msgid "A status that denotes if the changes are unsynced." +msgstr "" + +#: interactions.api.models.guild.Integration:1 of +msgid "A class object representing an integration in a guild." +msgstr "" + +#: interactions.api.models.guild.Integration:3 of +msgid "The ID of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:4 of +msgid "The name of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:5 of +msgid "The type of integration." +msgstr "" + +#: interactions.api.models.guild.Integration:6 of +msgid "Whether the integration is enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:7 of +msgid "Whether the integration is syncing or not." +msgstr "" + +#: interactions.api.models.guild.Integration:8 of +msgid "The role ID that the integration uses for \"subscribed\" users." +msgstr "" + +#: interactions.api.models.guild.Integration:9 of +msgid "Whether emoticons should be enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:10 of +msgid "The expiration behavior of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:11 of +msgid "" +"The \"grace period\" of the integration when expired -- how long it can " +"still be used." +msgstr "" + +#: interactions.api.models.guild.Integration:12 of +msgid "The user of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:13 of +msgid "The account of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:14 of +msgid "The time that the integration was last synced." +msgstr "" + +#: interactions.api.models.guild.Integration:15 of +msgid "The current subscriber count of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:16 of +msgid "Whether the integration was revoked for use or not." +msgstr "" + +#: interactions.api.models.guild.Integration:17 of +msgid "The application used for the integration." +msgstr "" + +#: interactions.api.models.guild.InviteTargetType:1 of +msgid "An enumerable object representing the different invite target types" msgstr "" #: interactions.api.models.guild.StageInstance:1 of -msgid "A class object representing an instace of a stage channel in a guild." +msgid "A class object representing an instance of a stage channel in a guild." msgstr "" #: interactions.api.models.guild.StageInstance:3 of @@ -110,6 +208,154 @@ msgstr "" msgid "Whether the stage can be seen from the stage discovery." msgstr "" +#: interactions.api.models.guild.UnavailableGuild:1 of +msgid "A class object representing how a guild that is unavailable." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:4 of +msgid "" +"This object only seems to show up during the connection process of the " +"client to the Gateway when the ``READY`` event is dispatched. This event " +"will pass fields with ``guilds`` where this becomes present." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:9 of +msgid "The ID of the unavailable guild." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:10 of +msgid "Whether the guild is unavailable or not." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:1 of +msgid "A class object representing a welcome channel on the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:4 of +msgid "" +"``emoji_id`` and ``emoji_name`` are given values respectively if the " +"welcome channel uses an emoji." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:7 of +msgid "The ID of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:8 of +msgid "The description of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:9 of +msgid "The ID of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:10 of +msgid "The name of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.ExplicitContentFilterLevel:1 of +msgid "" +"An enumerable object representing the explicit content filter level of a " +"guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:1 of +msgid "A class object representing the scheduled events of a guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:19 +#: interactions.api.models.guild.ScheduledEvents:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:1 of +msgid "A class object representing the welcome screen shown for community guilds." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:4 of +msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:6 of +msgid "We assume it's for the welcome screen topic." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:8 of +msgid "The description of the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:9 of +msgid "A list of welcome channels of the welcome screen." +msgstr "" + #: interactions.api.models.guild.Guild:1 of msgid "A class object representing how a guild is registered." msgstr "" @@ -122,17 +368,17 @@ msgid "" msgstr "" #: interactions.api.models.guild.Guild:8 -#: interactions.api.models.guild.GuildPreview:6 of +#: interactions.api.models.guild.GuildPreview:3 of msgid "The ID of the guild." msgstr "" #: interactions.api.models.guild.Guild:9 -#: interactions.api.models.guild.GuildPreview:7 of +#: interactions.api.models.guild.GuildPreview:4 of msgid "The name of the guild." msgstr "" #: interactions.api.models.guild.Guild:10 -#: interactions.api.models.guild.GuildPreview:8 of +#: interactions.api.models.guild.GuildPreview:5 of msgid "The icon of the guild." msgstr "" @@ -141,12 +387,12 @@ msgid "The hashed version of the icon of the guild." msgstr "" #: interactions.api.models.guild.Guild:12 -#: interactions.api.models.guild.GuildPreview:9 of +#: interactions.api.models.guild.GuildPreview:6 of msgid "The invite splash banner of the guild." msgstr "" #: interactions.api.models.guild.Guild:13 -#: interactions.api.models.guild.GuildPreview:10 of +#: interactions.api.models.guild.GuildPreview:7 of msgid "The discovery splash banner of the guild." msgstr "" @@ -199,12 +445,12 @@ msgid "The list of roles in the guild." msgstr "" #: interactions.api.models.guild.Guild:26 -#: interactions.api.models.guild.GuildPreview:11 of +#: interactions.api.models.guild.GuildPreview:8 of msgid "The list of emojis from the guild." msgstr "" #: interactions.api.models.guild.Guild:27 -#: interactions.api.models.guild.GuildPreview:12 of +#: interactions.api.models.guild.GuildPreview:9 of msgid "The list of features of the guild." msgstr "" @@ -241,96 +487,1250 @@ msgid "The amount of members in the guild." msgstr "" #: interactions.api.models.guild.Guild:36 of -msgid "The list of presences in the guild." +msgid "The members in the guild." msgstr "" #: interactions.api.models.guild.Guild:37 of -msgid "The maximum amount of presences allowed in the guild." +msgid "The channels in the guild." msgstr "" #: interactions.api.models.guild.Guild:38 of -msgid "The maximum amount of members allowed in the guild." +msgid "All known threads in the guild." msgstr "" #: interactions.api.models.guild.Guild:39 of +msgid "The list of presences in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:40 of +msgid "The maximum amount of presences allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:41 of +msgid "The maximum amount of members allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:42 of msgid "The vanity URL of the guild." msgstr "" -#: interactions.api.models.guild.Guild:40 -#: interactions.api.models.guild.GuildPreview:15 of +#: interactions.api.models.guild.Guild:43 +#: interactions.api.models.guild.GuildPreview:12 of msgid "The description of the guild." msgstr "" -#: interactions.api.models.guild.Guild:41 of +#: interactions.api.models.guild.Guild:44 of msgid "The banner of the guild." msgstr "" -#: interactions.api.models.guild.Guild:42 of +#: interactions.api.models.guild.Guild:45 of msgid "The server boost level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:43 of +#: interactions.api.models.guild.Guild:46 of msgid "The amount of server boosters in the guild." msgstr "" -#: interactions.api.models.guild.Guild:44 of +#: interactions.api.models.guild.Guild:47 of msgid "The \"preferred\" local region of the guild." msgstr "" -#: interactions.api.models.guild.Guild:45 of +#: interactions.api.models.guild.Guild:48 of msgid "The channel ID for community updates of the guild." msgstr "" -#: interactions.api.models.guild.Guild:46 of +#: interactions.api.models.guild.Guild:49 of msgid "" "The maximum amount of video streaming members in a channel allowed in a " "guild." msgstr "" -#: interactions.api.models.guild.Guild:47 -#: interactions.api.models.guild.GuildPreview:13 of +#: interactions.api.models.guild.Guild:50 +#: interactions.api.models.guild.GuildPreview:10 of msgid "The approximate amount of members in the guild." msgstr "" -#: interactions.api.models.guild.Guild:48 -#: interactions.api.models.guild.GuildPreview:14 of +#: interactions.api.models.guild.Guild:51 +#: interactions.api.models.guild.GuildPreview:11 of msgid "The approximate amount of presences in the guild." msgstr "" -#: interactions.api.models.guild.Guild:49 of +#: interactions.api.models.guild.Guild:52 of msgid "The welcome screen of the guild." msgstr "" -#: interactions.api.models.guild.Guild:50 of +#: interactions.api.models.guild.Guild:53 of msgid "The NSFW safety filter level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:51 of +#: interactions.api.models.guild.Guild:54 of msgid "The stage instance of the guild." msgstr "" -#: interactions.api.models.guild.Guild:52 of +#: interactions.api.models.guild.Guild:55 of msgid "The list of stickers from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:1 of -msgid "A model representing the preview of a guild." +#: interactions.api.models.guild.Guild:56 of +msgid "Whether the guild has the boost progress bar enabled." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of -msgid ".. note::" +#: interactions.api.models.guild.Guild.ban:1 of +msgid "Bans a member from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of +#: interactions.api.models.guild.Guild.add_member_role +#: interactions.api.models.guild.Guild.ban +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_emoji +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.delete_channel +#: interactions.api.models.guild.Guild.delete_emoji +#: interactions.api.models.guild.Guild.delete_role +#: interactions.api.models.guild.Guild.delete_scheduled_event +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.kick +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.remove_ban +#: interactions.api.models.guild.Guild.remove_member_role +#: interactions.api.models.guild.Guild.search_members +#: interactions.api.models.guild.Guild.set_afk_channel +#: interactions.api.models.guild.Guild.set_afk_timeout +#: interactions.api.models.guild.Guild.set_banner +#: interactions.api.models.guild.Guild.set_default_message_notifications +#: interactions.api.models.guild.Guild.set_description +#: interactions.api.models.guild.Guild.set_discovery_splash +#: interactions.api.models.guild.Guild.set_explicit_content_filter +#: interactions.api.models.guild.Guild.set_icon +#: interactions.api.models.guild.Guild.set_name +#: interactions.api.models.guild.Guild.set_preferred_locale +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled +#: interactions.api.models.guild.Guild.set_public_updates_channel +#: interactions.api.models.guild.Guild.set_rules_channel +#: interactions.api.models.guild.Guild.set_splash +#: interactions.api.models.guild.Guild.set_system_channel +#: interactions.api.models.guild.Guild.set_verification_level of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:3 of +msgid "The id of the member to ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:1 of +msgid "Removes the ban of a user." +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:3 of +msgid "The id of the user to remove the ban from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:5 of +msgid "The reason for the removal of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:1 of +msgid "Kicks a member from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.kick:3 of +msgid "The id of the member to kick" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:4 of msgid "" -"This refers to the documentation `here " -"_`" +":type role Union[Role, int] :param member_id: The id of the member to add" +" the roles to :type member_id: int :param reason?: The reason why the " +"roles are added :type reason: Optional[str]" msgstr "" -#: interactions.api.models.guild.Invite:1 of -msgid "The invite object." +#: interactions.api.models.guild.Guild.remove_member_role:1 of +msgid "This method removes a or multiple role(s) from a member." msgstr "" -#: interactions.api.models.guild.GuildTemplate:1 of -msgid "An object representing the snapshot of an existing guild." +#: interactions.api.models.guild.Guild.remove_member_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:5 of +msgid "The id of the member to remove the roles from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:1 of +msgid "Creates a new role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:3 of +msgid "The name of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:5 of +msgid "RGB color value as integer, default ``0``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:7 of +msgid "Bitwise value of the enabled/disabled permissions" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:9 of +msgid "" +"Whether the role should be displayed separately in the sidebar, default " +"``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:11 of +msgid "The role's icon image (if the guild has the ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:13 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:15 of +msgid "Whether the role should be mentionable, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:17 of +msgid "The reason why the role is created, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Returns" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:19 of +msgid "The created Role" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Return type" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:1 of +msgid "" +"Searches for the member with specified id in the guild and returns the " +"member as member object." +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:3 of +msgid "The id of the member to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:5 of +msgid "The member searched for" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:1 of +msgid "Deletes a channel from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:3 of +msgid "The id of the channel to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:1 of +msgid "Deletes a role from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:3 of +msgid "The id of the role to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:5 +#: interactions.api.models.guild.Guild.delete_role:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:1 of +msgid "Edits a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:3 of +msgid "The id of the role to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:9 of +msgid "" +"Bitwise value of the enabled/disabled permissions, defaults to the " +"current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:1 of +msgid "Creates a thread in the specified channel." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:5 of +msgid "The id of the channel to create the thread in" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:7 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:10 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:12 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:14 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:16 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:18 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:1 of +msgid "Creates a channel in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:3 of +msgid "The name of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:5 of +msgid "The type of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:7 of +msgid "The topic of that channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:9 of +msgid "(voice channel only) The bitrate (in bits) of the voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:11 of +msgid "(voice channel only) Maximum amount of users in the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:13 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:15 of +msgid "Sorting position of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:17 of +msgid "The id of the parent category for a channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:19 +#: interactions.api.models.guild.Guild.modify_channel:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:21 of +msgid "Whether the channel is nsfw or not, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:23 of +msgid "The reason for the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:25 of +msgid "The created channel" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:1 of +msgid "Clones a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:3 of +msgid "The id of the channel to clone" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:5 of +msgid "The cloned channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:1 of +msgid "Edits a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:6 of +msgid "The id of the channel to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:8 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:10 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:12 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:14 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:16 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:18 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:20 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:24 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:26 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:28 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:30 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:32 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:34 of +msgid "The modified channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:1 of +msgid "Modifies a member of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:3 of +msgid "The id of the member to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:19 of +msgid "The modified member" +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:1 of +msgid "Get the guild's preview." +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:3 of +msgid "the guild preview as object" +msgstr "" + +#: interactions.api.models.guild.Guild.leave:1 of +msgid "Removes the bot from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:1 of +msgid "Modifies the current guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:3 +#: interactions.api.models.guild.Guild.set_afk_channel:3 +#: interactions.api.models.guild.Guild.set_name:3 of +msgid "The new name of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:5 of +msgid "The verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:7 of +msgid "The default message notification level for members" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:9 of +msgid "The explicit content filter level for media content" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:11 of +msgid "The id for the afk voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:13 of +msgid "Afk timeout in seconds" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:15 of +msgid "" +"1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when" +" the server has the ANIMATED_ICON feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:17 of +msgid "" +"The id of the user to transfer the guild ownership to. You must be the " +"owner to perform this" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:19 of +msgid "" +"16:9 png/jpeg image for the guild splash (when the server has the " +"INVITE_SPLASH feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:21 of +msgid "" +"16:9 png/jpeg image for the guild discovery splash (when the server has " +"the DISCOVERABLE feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:23 of +msgid "" +"16:9 png/jpeg image for the guild banner (when the server has the BANNER " +"feature; can be animated gif when the server has the ANIMATED_BANNER " +"feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:25 of +msgid "" +"The id of the channel where guild notices such as welcome messages and " +"boost events are posted" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:27 of +msgid "Whether to suppress member join notifications in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:29 of +msgid "" +"Whether to suppress server boost notifications in the system channel or " +"not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:31 of +msgid "Whether to suppress server setup tips in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:33 of +msgid "" +"Whether to hide member join sticker reply buttons in the system channel " +"or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:35 of +msgid "The id of the channel where guilds display rules and/or guidelines" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:37 of +msgid "" +"The id of the channel where admins and moderators of community guilds " +"receive notices from Discord" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:39 of +msgid "" +"The preferred locale of a community guild used in server discovery and " +"notices from Discord; defaults to \"en-US\"" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:41 of +msgid "The description for the guild, if the guild is discoverable" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:43 of +msgid "Whether the guild's boost progress bar is enabled" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:45 +#: interactions.api.models.guild.Guild.modify_role_position:7 +#: interactions.api.models.guild.Guild.modify_role_positions:5 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:47 of +msgid "The modified guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_name:1 of +msgid "Sets the name of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:5 +#: interactions.api.models.guild.Guild.set_afk_timeout:5 +#: interactions.api.models.guild.Guild.set_banner:5 +#: interactions.api.models.guild.Guild.set_default_message_notifications:5 +#: interactions.api.models.guild.Guild.set_description:5 +#: interactions.api.models.guild.Guild.set_discovery_splash:5 +#: interactions.api.models.guild.Guild.set_explicit_content_filter:5 +#: interactions.api.models.guild.Guild.set_icon:5 +#: interactions.api.models.guild.Guild.set_name:5 +#: interactions.api.models.guild.Guild.set_preferred_locale:5 +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:5 +#: interactions.api.models.guild.Guild.set_public_updates_channel:5 +#: interactions.api.models.guild.Guild.set_rules_channel:5 +#: interactions.api.models.guild.Guild.set_splash:5 +#: interactions.api.models.guild.Guild.set_system_channel:5 +#: interactions.api.models.guild.Guild.set_verification_level:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:1 of +msgid "Sets the verification level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:3 of +msgid "The new verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:1 of +msgid "Sets the default message notifications level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:3 of +msgid "The new default message notification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:1 of +msgid "Sets the explicit content filter level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:3 of +msgid "The new explicit content filter level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:1 of +msgid "Sets the afk channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:1 of +msgid "Sets the afk timeout of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:3 of +msgid "The new afk timeout of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:1 of +msgid "Sets the system channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:3 of +msgid "The new system channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:1 of +msgid "Sets the rules channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:3 of +msgid "The new rules channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:1 of +msgid "Sets the public updates channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:3 of +msgid "The new public updates channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:1 of +msgid "Sets the preferred locale of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:3 of +msgid "The new preferredlocale of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:1 of +msgid "Sets the description of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:3 of +msgid "The new description of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:1 of +msgid "Sets the visibility of the premium progress bar of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:3 of +msgid "Whether the bar is enabled or not" +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:1 of +msgid "Sets the icon of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:3 of +msgid "The new icon of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:1 of +msgid "Sets the splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:3 of +msgid "The new splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:1 of +msgid "Sets the discovery_splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:3 of +msgid "The new discovery_splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:1 of +msgid "Sets the banner of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:3 of +msgid "The new banner of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:1 of +msgid "creates a scheduled event for the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:3 +#: interactions.api.models.guild.Guild.modify_scheduled_event:5 of +msgid "The name of the event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:5 +#: interactions.api.models.guild.Guild.modify_scheduled_event:7 of +msgid "The entity type of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:7 +#: interactions.api.models.guild.Guild.modify_scheduled_event:9 of +msgid "The time to schedule the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:9 +#: interactions.api.models.guild.Guild.modify_scheduled_event:11 of +msgid "The time when the scheduled event is scheduled to end" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:11 +#: interactions.api.models.guild.Guild.modify_scheduled_event:13 of +msgid "The entity metadata of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:13 +#: interactions.api.models.guild.Guild.modify_scheduled_event:15 of +msgid "The channel id of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:15 +#: interactions.api.models.guild.Guild.modify_scheduled_event:17 of +msgid "The description of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:17 +#: interactions.api.models.guild.Guild.modify_scheduled_event:21 of +msgid "The cover image of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:19 of +msgid "The created event" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:1 of +msgid "Edits a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:3 of +msgid "The id of the event to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:23 of +msgid "The modified event" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:1 of +msgid "Deletes a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:3 of +msgid "The id of the event to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:1 of +msgid "Gets all channels of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:3 of +msgid "The channels of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:1 of +msgid "Gets all roles of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:3 of +msgid "The roles of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:1 of +msgid "Gets a role of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:3 of +msgid "The id of the role to get" +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:5 of +msgid "The role as object" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:3 of +msgid "The id of the role to modify the position of" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:9 +#: interactions.api.models.guild.Guild.modify_role_positions:7 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:1 of +msgid "Modifies the positions of multiple roles in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:3 of +msgid "A list of dicts containing roles (id) and their new positions (position)" +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:3 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:5 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:7 of +msgid "Consider only users after the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:3 +#: interactions.api.models.guild.Guild.get_bans:9 of +msgid "List of banned users with reasons" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:1 of +msgid "Gets all bans of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:1 of +msgid "Gets an emoji of the guild and returns it." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:3 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:5 of +msgid "The specified Emoji, if found" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:1 of +msgid "Gets all emojis of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:3 of +msgid "All emojis of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:1 of +msgid "Creates an Emoji in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:3 of +msgid "The image of the emoji." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:5 of +msgid "The name of the emoji. If not specified, the filename will be used" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:7 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:9 of +msgid "The reason of the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:1 of +msgid "Deletes an emoji of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:3 of +msgid "The emoji or the id of the emoji to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:1 of +msgid "Lists the members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:3 of +msgid "How many members to get from the API. Max is 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:5 of +msgid "Get only Members after this member." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:7 of +msgid "A list of members" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:1 of +msgid "" +"Search the guild for members whose username or nickname starts with " +"provided string." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:3 of +msgid "The string to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:5 of +msgid "The number of members to return." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:7 of +msgid "A list of matching members" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:1 of +msgid "Gets all members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:3 of +msgid "Calling this method can lead to rate-limits in larger guilds." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:5 of +msgid "Returns a list of all members of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.icon_url:1 of +msgid "" +"Returns the URL of the guild's icon. :return: URL of the guild's icon " +"(None will be returned if no icon is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.banner_url:1 of +msgid "" +"Returns the URL of the guild's banner. :return: URL of the guild's banner" +" (None will be returned if no banner is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.splash_url:1 of +msgid "" +"Returns the URL of the guild's invite splash banner. :return: URL of the " +"guild's invite splash banner (None will be returned if no banner is set) " +":rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.discovery_splash_url:1 of +msgid "" +"Returns the URL of the guild's discovery splash banner. :return: URL of " +"the guild's discovery splash banner (None will be returned if no banner " +"is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.GuildPreview:1 of +msgid "A class object representing the preview of a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:1 of +msgid "The invite object." +msgstr "" + +#: interactions.api.models.guild.Invite:3 of +msgid "The amount of uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:4 of +msgid "The amount of maximum uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:5 of +msgid "The maximum age of this invite, in seconds." +msgstr "" + +#: interactions.api.models.guild.Invite:6 of +msgid "A detection of whether this invite only grants temporary membership." +msgstr "" + +#: interactions.api.models.guild.Invite:7 of +msgid "The time when this invite was created." +msgstr "" + +#: interactions.api.models.guild.Invite:8 of +msgid "The time when this invite will expire." +msgstr "" + +#: interactions.api.models.guild.Invite:9 of +msgid "The type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:10 of +msgid "The user who created this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:11 of +msgid "The code of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:12 of +msgid "The guild ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:13 of +msgid "The channel ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:14 of +msgid "The type of the target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:15 of +msgid "The target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:16 of +msgid "The target type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:17 of +msgid "The guild of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:18 of +msgid "The channel of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:19 of +msgid "The approximate amount of total members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:20 of +msgid "The aprpoximate amount of online members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:21 of +msgid "A scheduled guild event object included in the invite." +msgstr "" + +#: interactions.api.models.guild.Invite.delete:1 of +msgid "Deletes the invite" msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.gw.po b/docs/locale/pl/LC_MESSAGES/api.models.gw.po new file mode 100644 index 000000000..ffa9c1972 --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/api.models.gw.po @@ -0,0 +1,678 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.gw.rst:4 +msgid "Gateway-specific Event Models" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:1 of +msgid "" +"A class object representing the gateway event " +"``APPLICATION_COMMAND_PERMISSIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:3 of +msgid "" +"This is undocumented by the Discord API, so these attribute docs may or " +"may not be finalised." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions +#: interactions.api.models.gw.ChannelPins +#: interactions.api.models.gw.EmbeddedActivity +#: interactions.api.models.gw.GuildBan interactions.api.models.gw.GuildEmojis +#: interactions.api.models.gw.GuildIntegrations +#: interactions.api.models.gw.GuildJoinRequest +#: interactions.api.models.gw.GuildMember +#: interactions.api.models.gw.GuildMembers interactions.api.models.gw.GuildRole +#: interactions.api.models.gw.GuildScheduledEvent +#: interactions.api.models.gw.GuildScheduledEventUser +#: interactions.api.models.gw.GuildStickers +#: interactions.api.models.gw.Integration +#: interactions.api.models.gw.MessageReaction +#: interactions.api.models.gw.Presence +#: interactions.api.models.gw.ReactionRemove +#: interactions.api.models.gw.ThreadList +#: interactions.api.models.gw.ThreadMembers interactions.api.models.gw.Webhooks +#: of +msgid "Variables" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:5 of +msgid "The application ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:6 of +msgid "The guild ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:7 of +msgid "The ID of the command associated with the event. (?)" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:8 of +msgid "The updated permissions of the associated command/event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:1 of +msgid "A class object representing the event ``EMBEDDED_ACTIVITY_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:4 +#: interactions.api.models.gw.GuildJoinRequest:4 of +msgid "This is entirely undocumented by the API." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:6 of +msgid "The list of users of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:3 +#: interactions.api.models.gw.EmbeddedActivity:7 +#: interactions.api.models.gw.GuildBan:3 +#: interactions.api.models.gw.GuildEmojis:3 +#: interactions.api.models.gw.GuildIntegrations:3 +#: interactions.api.models.gw.GuildJoinRequest:7 +#: interactions.api.models.gw.GuildMember:3 +#: interactions.api.models.gw.GuildMembers:3 +#: interactions.api.models.gw.GuildRole:3 +#: interactions.api.models.gw.GuildStickers:3 +#: interactions.api.models.gw.Integration:23 +#: interactions.api.models.gw.MessageReaction:6 +#: interactions.api.models.gw.Presence:4 +#: interactions.api.models.gw.ReactionRemove:10 +#: interactions.api.models.gw.ThreadList:3 +#: interactions.api.models.gw.ThreadMembers:4 of +msgid "The guild ID of the event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:8 of +msgid "The embedded presence activity of the associated event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:4 +#: interactions.api.models.gw.EmbeddedActivity:9 +#: interactions.api.models.gw.MessageReaction:4 +#: interactions.api.models.gw.ReactionRemove:8 of +msgid "The channel ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:1 of +msgid "" +"A class object representing the gateway events ``INTEGRATION_CREATE``, " +"``INTEGRATION_UPDATE`` and ``INTEGRATION_DELETE``." +msgstr "" + +#: interactions.api.models.gw.Integration:4 of +msgid "" +"The documentation of this event is the same as " +":class:`interactions.api.models.guild.Guild`. The only key missing " +"attribute is ``guild_id``. Likewise, the documentation below reflects " +"this." +msgstr "" + +#: interactions.api.models.gw.Integration:8 +#: interactions.api.models.gw.ThreadMembers:3 of +msgid "The ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:9 of +msgid "The name of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:10 of +msgid "The type of integration in the event." +msgstr "" + +#: interactions.api.models.gw.Integration:11 of +msgid "Whether the integration of the event is enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:12 of +msgid "Whether the integration of the event is syncing or not." +msgstr "" + +#: interactions.api.models.gw.Integration:13 of +msgid "" +"The role ID that the integration in the event uses for \"subscribed\" " +"users." +msgstr "" + +#: interactions.api.models.gw.Integration:14 of +msgid "Whether emoticons of the integration's event should be enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:15 of +msgid "The expiration behavior of the integration of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:16 of +msgid "" +"The \"grace period\" of the integration of the event when expired -- how " +"long it can still be used." +msgstr "" + +#: interactions.api.models.gw.GuildBan:4 +#: interactions.api.models.gw.GuildMember:5 +#: interactions.api.models.gw.Integration:17 +#: interactions.api.models.gw.Presence:3 of +msgid "The user of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:18 of +msgid "The account of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:19 of +msgid "The time that the integration of the event was last synced." +msgstr "" + +#: interactions.api.models.gw.Integration:20 of +msgid "The current subscriber count of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:21 of +msgid "Whether the integration of the event was revoked for use or not." +msgstr "" + +#: interactions.api.models.gw.Integration:22 of +msgid "The application used for the integration of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:1 of +msgid "A class object representing the gateway event ``CHANNEL_PINS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:5 of +msgid "The time that the event took place." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:1 of +msgid "A class object representing the gateway event ``THREAD_MEMBERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:5 of +msgid "The member count of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:6 of +msgid "The added members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:7 of +msgid "The removed IDs of members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:1 of +msgid "A class object representing the gateway event ``THREAD_LIST_SYNC``." +msgstr "" + +#: interactions.api.models.gw.ThreadList:4 of +msgid "The channel IDs of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:5 of +msgid "The threads of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:6 of +msgid "The members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:1 of +msgid "" +"A class object representing the gateway events " +"``MESSAGE_REACTION_REMOVE``, ``MESSAGE_REACTION_REMOVE_ALL`` and " +"``MESSAGE_REACTION_REMOVE_EMOJI``." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:4 of +msgid "" +"This class inherits the already existing attributes of " +":class:`interactions.api.models.gw.Reaction`. The main missing attribute " +"is ``member``." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:6 +#: interactions.api.models.gw.MessageReaction:3 +#: interactions.api.models.gw.ReactionRemove:7 of +msgid "The user ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:5 +#: interactions.api.models.gw.ReactionRemove:9 of +msgid "The message ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:8 +#: interactions.api.models.gw.ReactionRemove:11 of +msgid "The emoji of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:1 of +msgid "A class object representing the gateway event ``MESSAGE_REACTION_ADD``." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:7 of +msgid "The member of the event." +msgstr "" + +#: interactions.api.models.gw.GuildIntegrations:1 of +msgid "" +"A class object representing the gateway event " +"``GUILD_INTEGRATIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildBan:1 of +msgid "A class object representing the gateway event ``GUILD_BAN_ADD``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:1 of +msgid "A class object representing the gateway event ``WEBHOOKS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:3 of +msgid "The channel ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.Webhooks:4 of +msgid "The guild ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:1 of +msgid "A class object representing the gateway event ``GUILD_MEMBERS_CHUNK``." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:4 of +msgid "The members of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:5 of +msgid "The current chunk index of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:6 of +msgid "The total chunk count of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:7 of +msgid "A list of not found members in the event if an invalid request was made." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:8 of +msgid "A list of presences in the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:9 of +msgid "The \"nonce\" of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:1 of +msgid "" +"A class object representing the gateway events ``GUILD_MEMBER_ADD``, " +"``GUILD_MEMBER_UPDATE`` and ``GUILD_MEMBER_REMOVE``." +msgstr "" + +#: interactions.api.models.gw.GuildMember:4 of +msgid "The roles of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:6 of +msgid "The nickname of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:7 of +msgid "The avatar URL of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:8 of +msgid "The time that the user of the event joined at." +msgstr "" + +#: interactions.api.models.gw.GuildMember:9 of +msgid "The time that the user of the event has since had \"premium.\"" +msgstr "" + +#: interactions.api.models.gw.GuildMember:10 of +msgid "Whether the member of the event is deafened or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:11 of +msgid "Whether the member of the event is muted or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:12 of +msgid "" +"Whether the member of the event is still pending -- pass membership " +"screening -- or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role +#: interactions.api.models.gw.GuildMember.add_to_thread +#: interactions.api.models.gw.GuildMember.ban +#: interactions.api.models.gw.GuildMember.kick +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.remove_role +#: interactions.api.models.gw.GuildMember.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:3 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:3 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:5 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:5 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:3 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:5 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:7 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:9 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:11 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:13 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:15 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:17 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.gw.GuildStickers:1 of +msgid "A class object representing the gateway event ``GUILD_STICKERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildStickers:4 of +msgid "The stickers of the event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_SCHEDULED_EVENT_USER_ADD`` and " +"``GUILD_SCHEDULED_EVENT_USER_REMOVE``" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:3 of +msgid "The ID of the guild scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:4 of +msgid "The ID of the guild associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:5 of +msgid "The ID of the user associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:1 of +msgid "" +"A class object representing gateway events " +"``GUILD_SCHEDULED_EVENT_CREATE``, ``GUILD_SCHEDULED_EVENT_UPDATE``, " +"``GUILD_SCHEDULED_EVENT_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.gw.Presence:1 of +msgid "A class object representing the gateway event ``PRESENCE_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Presence:5 of +msgid "The status of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:6 of +msgid "The activities of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:7 of +msgid "The client status across platforms in the event." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_JOIN_REQUEST_CREATE``, ``GUILD_JOIN_REQUEST_UPDATE``, and " +"``GUILD_JOIN_REQUEST_DELETE``" +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:1 of +msgid "A class object representing the gateway event ``GUILD_EMOJIS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:4 of +msgid "The emojis of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:1 of +msgid "" +"A class object representing the gateway events ``GUILD_ROLE_CREATE``, " +"``GUILD_ROLE_UPDATE`` and ``GUILD_ROLE_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildRole:4 of +msgid "The role of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:5 of +msgid "The role ID of the event." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.intents.po b/docs/locale/pl/LC_MESSAGES/api.models.intents.po deleted file mode 100644 index 0c9461d6f..000000000 --- a/docs/locale/pl/LC_MESSAGES/api.models.intents.po +++ /dev/null @@ -1,36 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.intents.rst:4 -msgid "Intents Models" -msgstr "" - -#: interactions.api.models.intents.Intents:1 of -msgid "" -"A class objct representing the bitshift flags respective for each intents" -" type." -msgstr "" - -#: interactions.api.models.intents.Intents:4 of -msgid "" -"Equivalent of `Gateway Intents " -"`_ in" -" the Discord API." -msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.member.po b/docs/locale/pl/LC_MESSAGES/api.models.member.po index 8c045b1b5..d616587fa 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.member.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.member.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,20 +23,10 @@ msgid "Member Models" msgstr "" #: interactions.api.models.member.Member:1 of -msgid "A class object representing the member of a guild." +msgid "A class object representing the user of a guild, known as a \"member.\"" msgstr "" #: interactions.api.models.member.Member:4 of -msgid "Also known as the guild member class object. (or partial)" -msgstr "" - -#: interactions.api.models.member.Member:6 of -msgid "" -"The methodology, instead of regular d.py conventions is to do member.user" -" to get the pure User object, instead of d.py's option of merging." -msgstr "" - -#: interactions.api.models.member.Member:10 of msgid "" "``pending`` and ``permissions`` only apply for members retroactively " "requiring to verify rules via. membership screening or lack permissions " @@ -47,38 +37,246 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.member.Member:14 of +#: interactions.api.models.member.Member:8 of msgid "The user of the guild." msgstr "" -#: interactions.api.models.member.Member:15 of +#: interactions.api.models.member.Member:9 of msgid "The nickname of the member." msgstr "" -#: interactions.api.models.member.Member:16 of +#: interactions.api.models.member.Member:10 of +msgid "The hash containing the user's guild avatar, if applicable." +msgstr "" + +#: interactions.api.models.member.Member:11 of msgid "The list of roles of the member." msgstr "" -#: interactions.api.models.member.Member:17 of +#: interactions.api.models.member.Member:12 of msgid "The timestamp the member joined the guild at." msgstr "" -#: interactions.api.models.member.Member:18 of +#: interactions.api.models.member.Member:13 of msgid "The timestamp the member has been a server booster since." msgstr "" -#: interactions.api.models.member.Member:19 of +#: interactions.api.models.member.Member:14 of msgid "Whether the member is deafened." msgstr "" -#: interactions.api.models.member.Member:20 of +#: interactions.api.models.member.Member:15 of msgid "Whether the member is muted." msgstr "" -#: interactions.api.models.member.Member:21 of +#: interactions.api.models.member.Member:16 of msgid "Whether the member is pending to pass membership screening." msgstr "" -#: interactions.api.models.member.Member:22 of +#: interactions.api.models.member.Member:17 of msgid "Whether the member has permissions." msgstr "" + +#: interactions.api.models.member.Member:18 of +msgid "How long until they're unmuted, if any." +msgstr "" + +#: interactions.api.models.member.Member.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.member.Member.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.member.Member.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.member.Member.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.member.Member.name:1 of +msgid "Returns the string of either the user's nickname or username." +msgstr "" + +#: interactions.api.models.member.Member.name:3 of +msgid "The name of the member" +msgstr "" + +#: interactions.api.models.member.Member.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.add_role +#: interactions.api.models.member.Member.add_to_thread +#: interactions.api.models.member.Member.ban +#: interactions.api.models.member.Member.kick +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.remove_role +#: interactions.api.models.member.Member.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.member.Member.ban:3 of +msgid "The id of the guild to ban the member from" +msgstr "" + +#: interactions.api.models.member.Member.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.member.Member.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.member.Member.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.kick:3 of +msgid "The id of the guild to kick the member from" +msgstr "" + +#: interactions.api.models.member.Member.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.member.Member.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.member.Member.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.add_role:5 of +msgid "The id of the guild to add the roles to the member" +msgstr "" + +#: interactions.api.models.member.Member.add_role:7 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.member.Member.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:5 of +msgid "The id of the guild to remove the roles of the member" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.member.Member.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.member.Member.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.member.Member.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.member.Member.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.member.Member.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.member.Member.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.member.Member.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.member.Member.modify:3 of +msgid "The id of the guild to modify the member on" +msgstr "" + +#: interactions.api.models.member.Member.modify:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.member.Member.modify:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.member.Member.modify:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.member.Member.modify:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.member.Member.modify:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.member.Member.modify:19 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.member.Member.get_avatar_url:1 of +msgid "" +"Returns the URL of the member's avatar for the specified guild. :param " +"guild_id: The id of the guild to get the member's avatar from :type " +"guild_id: int :return: URL of the members's avatar (None will be returned" +" if no avatar is set) :rtype: str" +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.message.po b/docs/locale/pl/LC_MESSAGES/api.models.message.po index a831f2985..1f8521cd0 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.message.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.message.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,33 +26,36 @@ msgstr "" msgid "An enumerable object representing the types of messages." msgstr "" -#: interactions.api.models.message.MessageType:3 of -msgid ".. note::" -msgstr "" - -#: interactions.api.models.message.MessageType:4 of -msgid "" -"While all of them are listed, not all of them would be used at this lib's" -" scope." -msgstr "" - #: interactions.api.models.message.MessageActivity:1 of msgid "A class object representing the activity state of a message." msgstr "" #: interactions.api.models.message.MessageActivity:4 of -msgid "``party_id`` is ambigious -- Discord poorly documented this. :)" +msgid "``party_id`` is ambiguous -- Discord poorly documented this. :)" msgstr "" #: interactions.api.models.message.MessageActivity:6 of msgid "" -"We assume it's for game rich presence invites? i.e. : Phasmophobia, Call " -"of Duty" +"We assume it's for game rich presence invites? i.e. : Phasmophobia and " +"Call of Duty." msgstr "" #: interactions.api.models.message.Attachment +#: interactions.api.models.message.ChannelMention +#: interactions.api.models.message.Embed +#: interactions.api.models.message.EmbedAuthor +#: interactions.api.models.message.EmbedField +#: interactions.api.models.message.EmbedFooter +#: interactions.api.models.message.EmbedImageStruct +#: interactions.api.models.message.EmbedProvider +#: interactions.api.models.message.Emoji +#: interactions.api.models.message.Message #: interactions.api.models.message.MessageActivity -#: interactions.api.models.message.MessageReference of +#: interactions.api.models.message.MessageInteraction +#: interactions.api.models.message.MessageReference +#: interactions.api.models.message.PartialSticker +#: interactions.api.models.message.ReactionObject +#: interactions.api.models.message.Sticker of msgid "Variables" msgstr "" @@ -70,8 +73,8 @@ msgstr "" #: interactions.api.models.message.MessageReference:4 of msgid "" -"All of the class instances are optionals because a message can entirely " -"never be referenced." +"All of the attributes in this class are optionals because a message can " +"potentially never be referenced." msgstr "" #: interactions.api.models.message.MessageReference:7 of @@ -97,60 +100,919 @@ msgstr "" #: interactions.api.models.message.Attachment:4 of msgid "" "``height`` and ``width`` have values based off of ``content_type``, which" -" requires it to be a media file with viewabiltiy as a photo, animated " +" requires it to be a media file with viewabiltity as a photo, animated " "photo, GIF and/or video." msgstr "" #: interactions.api.models.message.Attachment:8 of +msgid "" +"If `ephemeral` is given, the attachments will automatically be removed " +"after a set period of time. In the case of regular messages, they're " +"available as long as the message associated with the attachment exists." +msgstr "" + +#: interactions.api.models.message.Attachment:11 of msgid "The ID of the attachment." msgstr "" -#: interactions.api.models.message.Attachment:9 of +#: interactions.api.models.message.Attachment:12 of msgid "The name of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:10 of +#: interactions.api.models.message.Attachment:13 of +msgid "The description of the file." +msgstr "" + +#: interactions.api.models.message.Attachment:14 of msgid "The type of attachment file." msgstr "" -#: interactions.api.models.message.Attachment:11 of +#: interactions.api.models.message.Attachment:15 of msgid "The size of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:12 of +#: interactions.api.models.message.Attachment:16 of msgid "The CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:13 of +#: interactions.api.models.message.Attachment:17 of msgid "The proxied/cached CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:14 of +#: interactions.api.models.message.Attachment:18 of msgid "The height of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:15 of +#: interactions.api.models.message.Attachment:19 of msgid "The width of the attachment file." msgstr "" -#: interactions.api.models.message.Message:1 of -msgid "The big Message model." +#: interactions.api.models.message.Attachment:20 of +msgid "Whether the attachment is ephemeral." msgstr "" -#: interactions.api.models.message.Message:3 of +#: interactions.api.models.message.MessageInteraction:1 of +msgid "" +"A class object that resembles the interaction used to generate the " +"associated message." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:4 of +msgid "ID of the interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:5 of +msgid "Type of interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:6 of +msgid "Name of the application command." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:7 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.api.models.message.ChannelMention:1 of +msgid "A class object that resembles the mention of a channel in a guild." +msgstr "" + +#: interactions.api.models.message.ChannelMention:4 of +msgid "The ID of the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:5 of +msgid "The ID of the guild that contains the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:6 of +msgid "The channel type." +msgstr "" + +#: interactions.api.models.message.ChannelMention:7 of +msgid "The name of the channel." +msgstr "" + +#: interactions.api.models.message.Emoji:1 of +msgid "A class objecting representing an emoji." +msgstr "" + +#: interactions.api.models.message.Emoji:3 of +msgid "Emoji id" +msgstr "" + +#: interactions.api.models.message.Emoji:4 of +msgid "Emoji name." +msgstr "" + +#: interactions.api.models.message.Emoji:5 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:6 of +msgid "User that created this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:7 of +msgid "Status denoting of this emoji must be wrapped in colons" +msgstr "" + +#: interactions.api.models.message.Emoji:8 of +msgid "Status denoting if this emoji is managed (by an integration)" +msgstr "" + +#: interactions.api.models.message.Emoji:9 of +msgid "Status denoting if this emoji is animated" +msgstr "" + +#: interactions.api.models.message.Emoji:10 of msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." +"Status denoting if this emoji can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Emoji.get:1 of +msgid "Gets an emoji." +msgstr "" + +#: interactions.api.models.message.Embed.add_field +#: interactions.api.models.message.Embed.insert_field_at +#: interactions.api.models.message.Embed.remove_field +#: interactions.api.models.message.Embed.set_author +#: interactions.api.models.message.Embed.set_field_at +#: interactions.api.models.message.Embed.set_footer +#: interactions.api.models.message.Embed.set_image +#: interactions.api.models.message.Embed.set_thumbnail +#: interactions.api.models.message.Embed.set_video +#: interactions.api.models.message.Emoji.delete +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Message.create_reaction +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.delete +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.remove_all_reactions_of +#: interactions.api.models.message.Message.remove_own_reaction_of +#: interactions.api.models.message.Message.remove_reaction_from +#: interactions.api.models.message.Message.reply of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.message.Emoji.get:3 of +msgid "The id of the guild of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:5 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:7 +#: interactions.api.models.message.Emoji.get_all_of_guild:5 of +msgid "The HTTPClient of your bot. Equals to ``bot._http``" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.message.Emoji.get:9 of +msgid "The Emoji as object" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_channel +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.get_guild +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Return type" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:1 of +msgid "Gets all emoji of a guild." +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:3 of +msgid "The id of the guild to get the emojis of" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:7 of +msgid "The Emoji as list" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:1 of +msgid "Deletes the emoji." +msgstr "" + +#: interactions.api.models.message.Emoji.delete:3 of +msgid "The guild id to delete the emoji from" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.message.Emoji.url:1 of +msgid "Returns the emoji's URL." +msgstr "" + +#: interactions.api.models.message.Emoji.url:3 of +msgid "URL of the emoji" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:1 of +msgid "A class object representing the structure of an image in an embed." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:3 of +msgid "The structure of an embed image:" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:13 of +msgid "Source URL of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:14 of +msgid "Proxied url of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:15 of +msgid "Height of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:16 of +msgid "Width of the object." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:1 of +msgid "A class object representing the provider of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:3 of +msgid "Name of provider" +msgstr "" + +#: interactions.api.models.message.EmbedProvider:4 of +msgid "URL of provider" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:1 of +msgid "A class object representing the author of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:3 of +msgid "The structure of an embed author:" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:11 of +msgid "Name of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:12 of +msgid "URL of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:13 of +msgid "URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:14 of +msgid "Proxied URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:1 of +msgid "A class object representing the footer of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedFooter:3 of +msgid "The structure of an embed footer:" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:11 of +msgid "Footer text" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:12 of +msgid "URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:13 of +msgid "Proxied URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedField:1 of +msgid "A class object representing the field of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedField:3 of +msgid "The structure of an embed field:" +msgstr "" + +#: interactions.api.models.message.EmbedField:13 of +msgid "Name of the field." +msgstr "" + +#: interactions.api.models.message.EmbedField:14 of +msgid "Value of the field" +msgstr "" + +#: interactions.api.models.message.EmbedField:15 of +msgid "A status denoting if the field should be displayed inline." +msgstr "" + +#: interactions.api.models.message.Embed:1 of +msgid "A class object representing an embed." +msgstr "" + +#: interactions.api.models.message.Embed:4 of +msgid "" +"The example provided below is for a very basic implementation of an " +"embed. Embeds are more unique than what is being shown." +msgstr "" + +#: interactions.api.models.message.Embed:8 of +msgid "The structure for an embed:" +msgstr "" + +#: interactions.api.models.message.Embed:17 of +msgid "Title of embed" +msgstr "" + +#: interactions.api.models.message.Embed:18 of +msgid "" +"Embed type, relevant by CDN file connected. This is only important to " +"rendering." +msgstr "" + +#: interactions.api.models.message.Embed:19 of +msgid "Embed description" +msgstr "" + +#: interactions.api.models.message.Embed:20 of +msgid "URL of embed" +msgstr "" + +#: interactions.api.models.message.Embed:21 of +msgid "Timestamp of embed content" +msgstr "" + +#: interactions.api.models.message.Embed:22 of +msgid "Color code of embed" +msgstr "" + +#: interactions.api.models.message.Embed:23 of +msgid "Footer information" +msgstr "" + +#: interactions.api.models.message.Embed:24 of +msgid "Image information" +msgstr "" + +#: interactions.api.models.message.Embed:25 of +msgid "Thumbnail information" +msgstr "" + +#: interactions.api.models.message.Embed:26 of +msgid "Video information" +msgstr "" + +#: interactions.api.models.message.Embed:27 of +msgid "Provider information" +msgstr "" + +#: interactions.api.models.message.Embed:28 of +msgid "Author information" +msgstr "" + +#: interactions.api.models.message.Embed:29 of +msgid "A list of fields denoting field information" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:1 of +msgid "Adds a field to the embed" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:3 +#: interactions.api.models.message.Embed.insert_field_at:5 +#: interactions.api.models.message.Embed.set_field_at:5 of +msgid "The name of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:5 +#: interactions.api.models.message.Embed.insert_field_at:7 +#: interactions.api.models.message.Embed.set_field_at:7 of +msgid "The value of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:7 +#: interactions.api.models.message.Embed.insert_field_at:9 +#: interactions.api.models.message.Embed.set_field_at:9 of +msgid "if the field is in the same line as the previous one" +msgstr "" + +#: interactions.api.models.message.Embed.clear_fields:1 of +msgid "Clears all the fields of the embed" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:1 of +msgid "Inserts a field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:3 +#: interactions.api.models.message.Embed.remove_field:3 +#: interactions.api.models.message.Embed.set_field_at:3 of +msgid "The new field's index" +msgstr "" + +#: interactions.api.models.message.Embed.set_field_at:1 of +msgid "Overwrites the field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_field:1 of +msgid "Remove field at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_author:1 of +msgid "Removes the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:1 of +msgid "Sets the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:3 of +msgid "The name of the author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:5 of +msgid "Url of author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:7 of +msgid "Url of author icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:9 of +msgid "A proxied url of author icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:1 of +msgid "Sets the embed's footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:3 of +msgid "The text of the footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:5 of +msgid "Url of footer icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:7 of +msgid "A proxied url of footer icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:1 of +msgid "Sets the embed's image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:3 of +msgid "Url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:5 of +msgid "A proxied url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:7 of +msgid "The image's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:9 of +msgid "The image's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:1 of +msgid "Sets the embed's video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:3 of +msgid "Url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:5 of +msgid "A proxied url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:7 of +msgid "The video's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:9 of +msgid "The video's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:1 of +msgid "Sets the embed's thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:3 of +msgid "Url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:5 of +msgid "A proxied url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:7 of +msgid "The thumbnail's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:9 of +msgid "The thumbnail's width" msgstr "" #: interactions.api.models.message.PartialSticker:1 of msgid "Partial object for a Sticker." msgstr "" +#: interactions.api.models.message.PartialSticker:3 +#: interactions.api.models.message.Sticker:3 of +msgid "ID of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:4 +#: interactions.api.models.message.Sticker:5 of +msgid "Name of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:5 +#: interactions.api.models.message.Sticker:10 of +msgid "Type of sticker format" +msgstr "" + #: interactions.api.models.message.Sticker:1 of -msgid "The full Sticker object." +msgid "A class object representing a full sticker apart from a partial." msgstr "" -#: interactions.api.models.message.EmbedImageStruct:1 of -msgid "This is the internal structure denoted for thumbnails, images or videos" +#: interactions.api.models.message.Sticker:4 of +msgid "ID of the pack the sticker is from." +msgstr "" + +#: interactions.api.models.message.Sticker:6 of +msgid "Description of the sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:7 of +msgid "Autocomplete/suggestion tags for the sticker (max 200 characters)" +msgstr "" + +#: interactions.api.models.message.Sticker:8 of +msgid "Previously a sticker asset hash, now an empty string." +msgstr "" + +#: interactions.api.models.message.Sticker:9 of +msgid "Type of sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:11 of +msgid "" +"Status denoting if this sticker can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Sticker:12 of +msgid "Guild ID that owns the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:13 of +msgid "The user that uploaded the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:14 of +msgid "The standard sticker's sort order within its pack" +msgstr "" + +#: interactions.api.models.message.ReactionObject:1 of +msgid "The reaction object." +msgstr "" + +#: interactions.api.models.message.ReactionObject:3 of +msgid "The amount of times this emoji has been used to react" +msgstr "" + +#: interactions.api.models.message.ReactionObject:4 of +msgid "A status denoting if the current user reacted using this emoji" +msgstr "" + +#: interactions.api.models.message.ReactionObject:5 of +msgid "Emoji information" +msgstr "" + +#: interactions.api.models.message.Message:1 of +msgid "A class object representing a message." +msgstr "" + +#: interactions.api.models.message.Message:3 of +msgid "ID of the message." +msgstr "" + +#: interactions.api.models.message.Message:4 of +msgid "ID of the channel the message was sent in" +msgstr "" + +#: interactions.api.models.message.Message:5 of +msgid "ID of the guild the message was sent in, if it exists." +msgstr "" + +#: interactions.api.models.message.Message:6 of +msgid "The author of the message." +msgstr "" + +#: interactions.api.models.message.Message:7 of +msgid "The member object associated with the author, if any." +msgstr "" + +#: interactions.api.models.message.Message:8 of +msgid "Message contents." +msgstr "" + +#: interactions.api.models.message.Message:9 of +msgid "Timestamp denoting when the message was sent." +msgstr "" + +#: interactions.api.models.message.Message:10 of +msgid "Timestamp denoting when the message was edited, if any." +msgstr "" + +#: interactions.api.models.message.Message:11 of +msgid "Status dictating if this was a TTS message or not." +msgstr "" + +#: interactions.api.models.message.Message:12 of +msgid "Status dictating of this message mentions everyone" +msgstr "" + +#: interactions.api.models.message.Message:13 of +msgid "Array of user objects with an additional partial member field." +msgstr "" + +#: interactions.api.models.message.Message:14 of +msgid "Array of roles mentioned in this message" +msgstr "" + +#: interactions.api.models.message.Message:15 of +msgid "Channels mentioned in this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:16 of +msgid "An array of attachments" +msgstr "" + +#: interactions.api.models.message.Message:17 of +msgid "An array of embeds" +msgstr "" + +#: interactions.api.models.message.Message:18 of +msgid "Reactions to the message." +msgstr "" + +#: interactions.api.models.message.Message:19 of +msgid "Used for message validation" +msgstr "" + +#: interactions.api.models.message.Message:20 of +msgid "Whether this message is pinned." +msgstr "" + +#: interactions.api.models.message.Message:21 of +msgid "Webhook ID if the message is generated by a webhook." +msgstr "" + +#: interactions.api.models.message.Message:22 of +msgid "Type of message" +msgstr "" + +#: interactions.api.models.message.Message:23 of +msgid "Message activity object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:24 of +msgid "Application object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:25 of +msgid "" +"Data showing the source of a message (crosspost, channel follow, add, " +"pin, or replied message)" +msgstr "" + +#: interactions.api.models.message.Message:26 of +msgid "The allowed mentions of roles attached in the message." +msgstr "" + +#: interactions.api.models.message.Message:27 of +msgid "Message flags" +msgstr "" + +#: interactions.api.models.message.Message:28 of +msgid "Message interaction object, if the message is sent by an interaction." +msgstr "" + +#: interactions.api.models.message.Message:29 of +msgid "" +"The thread that started from this message, if any, with a thread member " +"object embedded." +msgstr "" + +#: interactions.api.models.message.Message:30 of +msgid "Components associated with this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:31 of +msgid "An array of message sticker item objects, if sent with them." +msgstr "" + +#: interactions.api.models.message.Message:32 of +msgid "Array of sticker objects sent with the message if any. Deprecated." +msgstr "" + +#: interactions.api.models.message.Message.get_channel:1 of +msgid "Gets the channel where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.get_guild:1 of +msgid "Gets the guild where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.delete:1 of +msgid "Deletes the message." +msgstr "" + +#: interactions.api.models.message.Message.delete:3 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." +msgstr "" + +#: interactions.api.models.message.Message.edit:1 of +msgid "This method edits a message. Only available for messages sent by the bot." +msgstr "" + +#: interactions.api.models.message.Message.edit:3 +#: interactions.api.models.message.Message.reply:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.message.Message.edit:5 +#: interactions.api.models.message.Message.reply:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.message.Message.edit:7 +#: interactions.api.models.message.Message.reply:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:9 +#: interactions.api.models.message.Message.reply:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:11 +#: interactions.api.models.message.Message.reply:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.message.Message.edit:13 of +msgid "" +"A component, or list of components for the message. If `[]` the " +"components will be removed" +msgstr "" + +#: interactions.api.models.message.Message.edit:15 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.api.models.message.Message.reply:1 of +msgid "Sends a new message replying to the old." +msgstr "" + +#: interactions.api.models.message.Message.reply:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.message.Message.reply:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.message.Message.pin:1 of +msgid "Pins the message to its channel" +msgstr "" + +#: interactions.api.models.message.Message.unpin:1 of +msgid "Unpins the message from its channel" +msgstr "" + +#: interactions.api.models.message.Message.publish:1 of +msgid "" +"Publishes (API calls it crossposts) the message in its channel to any " +"that is followed by." +msgstr "" + +#: interactions.api.models.message.Message.publish:3 of +msgid "message object" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:1 of +msgid "Creates a thread from the message." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:10 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:12 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:1 of +msgid "Adds a reaction to the message." +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:3 +#: interactions.api.models.message.Message.remove_all_reactions_of:3 +#: interactions.api.models.message.Message.remove_own_reaction_of:3 +#: interactions.api.models.message.Message.remove_reaction_from:3 of +msgid "The Emoji as object or formatted as `name:id`" +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions:1 of +msgid "Removes all reactions of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions_of:1 of +msgid "Removes all reactions of one emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_own_reaction_of:1 of +msgid "Removes the own reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:1 of +msgid "Removes another reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:5 of +msgid "The user or user_id to remove the reaction of" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:1 of +msgid "Gets a Message based from its url." +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:3 of +msgid "The full url of the message" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:5 of +msgid "The HTTPClient of your bot. Set ` _client=botvar._http``" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:7 of +msgid "The message the URL points to" +msgstr "" + +#: interactions.api.models.message.Message.url:1 of +msgid "Returns the URL of the message." +msgstr "" + +#: interactions.api.models.message.Message.url:3 of +msgid "The URL of said message" msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.misc.po b/docs/locale/pl/LC_MESSAGES/api.models.misc.po index 03b58e8a2..4c66ffbe1 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.misc.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.misc.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,6 +22,179 @@ msgstr "" msgid "Miscellanous Models" msgstr "" +#: interactions.api.models.misc.Snowflake:1 of +msgid "The Snowflake object." +msgstr "" + +#: interactions.api.models.misc.Snowflake:3 of +msgid "" +"This snowflake object will have features closely related to the API " +"schema. In turn, compared to regular d.py's treated snowflakes, these " +"will be treated as strings." +msgstr "" + +#: interactions.api.models.misc.Snowflake:8 of +msgid "(Basically, snowflakes will be treated as if they were from d.py 0.16.12)" +msgstr "" + +#: interactions.api.models.misc.Snowflake:11 of +msgid "" +"You can still provide integers to them, to ensure ease of use of " +"transition and/or if discord API for some odd reason will switch to " +"integer." +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:1 of +msgid "" +"This is the 'Increment' portion of the snowflake. This is incremented for" +" every ID generated on that process." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch +#: interactions.api.models.misc.Snowflake.increment +#: interactions.api.models.misc.Snowflake.timestamp of +msgid "Returns" +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:4 of +msgid "An integer denoting the increment." +msgstr "" + +#: interactions.api.models.misc.Snowflake.worker_id:1 of +msgid "" +"This is the Internal Worker ID of the snowflake. :return: An integer " +"denoting the internal worker ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.process_id:1 of +msgid "" +"This is the Internal Process ID of the snowflake. :return: An integer " +"denoting the internal process ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:1 of +msgid "This is the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:3 of +msgid "A float containing the seconds since Discord Epoch." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:1 of +msgid "The Datetime object variation of the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:3 of +msgid "The converted Datetime object from the Epoch. This respects UTC." +msgstr "" + +#: interactions.api.models.misc.Color:1 of +msgid "An object representing Discord branding colors." +msgstr "" + +#: interactions.api.models.misc.Color:4 of +msgid "" +"This object only intends to cover the branding colors and no others. The " +"main reason behind this is due to the current accepted standard of using " +"hex codes or other custom-defined colors." +msgstr "" + +#: interactions.api.models.misc.Color.blurple:1 of +msgid "Returns a hexadecimal value of the blurple color." +msgstr "" + +#: interactions.api.models.misc.Color.green:1 of +msgid "Returns a hexadecimal value of the green color." +msgstr "" + +#: interactions.api.models.misc.Color.yellow:1 of +msgid "Returns a hexadecimal value of the yellow color." +msgstr "" + +#: interactions.api.models.misc.Color.fuchsia:1 of +msgid "Returns a hexadecimal value of the fuchsia color." +msgstr "" + +#: interactions.api.models.misc.Color.red:1 of +msgid "Returns a hexadecimal value of the red color." +msgstr "" + +#: interactions.api.models.misc.Color.white:1 of +msgid "Returns a hexadecimal value of the white color." +msgstr "" + +#: interactions.api.models.misc.Color.black:1 of +msgid "Returns a hexadecimal value of the black color." +msgstr "" + +#: interactions.api.models.misc.ClientStatus:1 of +msgid "An object that symbolizes the status per client device per session." +msgstr "" + +#: interactions.api.models.misc.ClientStatus +#: interactions.api.models.misc.Overwrite of +msgid "Variables" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:3 of +msgid "User's status set for an active desktop application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:4 of +msgid "User's status set for an active mobile application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:5 of +msgid "User's status set for an active web application session" +msgstr "" + +#: interactions.api.models.misc.Image:1 of +msgid "This class object allows you to upload Images to the Discord API." +msgstr "" + +#: interactions.api.models.misc.Image:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'file' parameter." +msgstr "" + +#: interactions.api.models.misc.Image.filename:1 of +msgid "Returns the name of the file." +msgstr "" + +#: interactions.api.models.misc.File:1 of +msgid "A File object to be sent as an attachment along with a message." +msgstr "" + +#: interactions.api.models.misc.File:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'filename' parameter." +msgstr "" + +#: interactions.api.models.misc.File:7 of +msgid "If a description is not given the file's basename is used instead." +msgstr "" + #: interactions.api.models.misc.Overwrite:1 of -msgid "This is used for the PermissionOverride obj" +msgid "This is used for the PermissionOverride object." +msgstr "" + +#: interactions.api.models.misc.Overwrite:3 of +msgid "Role or User ID" +msgstr "" + +#: interactions.api.models.misc.Overwrite:4 of +msgid "Type that corresponds ot the ID; 0 for role and 1 for member." +msgstr "" + +#: interactions.api.models.misc.Overwrite:5 +#: interactions.api.models.misc.Overwrite:6 of +msgid "Permission bit set." +msgstr "" + +#: interactions.api.models.attrs_utils.MISSING:1 of +msgid "" +"A pseudosentinel based from an empty object. This does violate PEP, but, " +"I don't care." msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.po b/docs/locale/pl/LC_MESSAGES/api.models.po index b0046fbcf..764507670 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.presence.po b/docs/locale/pl/LC_MESSAGES/api.models.presence.po index 71ec432f3..cd9426f00 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.presence.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.presence.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,196 @@ msgstr "" #: ../../api.models.presence.rst:4 msgid "Presence Models" msgstr "" + +#: interactions.api.models.presence.PresenceParty:1 of +msgid "A class object representing the party data of a presence." +msgstr "" + +#: interactions.api.models.presence.ClientPresence +#: interactions.api.models.presence.PresenceActivity +#: interactions.api.models.presence.PresenceAssets +#: interactions.api.models.presence.PresenceButtons +#: interactions.api.models.presence.PresenceParty +#: interactions.api.models.presence.PresenceSecrets +#: interactions.api.models.presence.PresenceTimestamp of +msgid "Variables" +msgstr "" + +#: interactions.api.models.presence.PresenceParty:3 of +msgid "ID of the party." +msgstr "" + +#: interactions.api.models.presence.PresenceParty:4 of +msgid "An array denoting the party's current and max size" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:1 of +msgid "A class object representing the assets of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:3 of +msgid "ID for a large asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:4 of +msgid "Text associated with the large asset" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:5 of +msgid "ID for a small asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:6 of +msgid "Text associated with the small asset" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:1 of +msgid "A class object representing \"secret\" join information of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:3 of +msgid "Join secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:4 of +msgid "Spectate secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:5 of +msgid "Instanced match secret" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:1 of +msgid "A class object representing the timestamp data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:3 of +msgid "Unix time in ms when the activity started" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:4 of +msgid "Unix time in ms when the activity ended" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:1 of +msgid "A class object representing the current activity data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:4 of +msgid "" +"When using this model to instantiate alongside the client, if you provide" +" a type 1 ( or PresenceActivityType.STREAMING ), then the ``url`` " +"attribute is necessary." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:7 of +msgid "The activity name" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:8 of +msgid "The activity type" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:9 of +msgid "stream url (if type is 1)" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:10 of +msgid "Unix timestamp of when the activity was created to the User's session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:11 of +msgid "Unix timestamps for start and/or end of the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:12 of +msgid "Application ID for the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:13 of +msgid "What the player is currently doing" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:14 of +msgid "Current party status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:15 of +msgid "The emoji used for the custom status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:16 of +msgid "Info for the current players' party" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:17 of +msgid "Images for the presence and their associated hover texts" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:18 of +msgid "for RPC join/spectate" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:19 of +msgid "A status denoting if the activity is a game session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:20 of +msgid "activity flags" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:21 of +msgid "Custom buttons shown in the RPC." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:1 of +msgid "" +"This returns the JSON representing the ClientPresence sending via the " +"Gateway." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:4 of +msgid "" +"This is NOT used for standard presence activity reading by other users, " +"i.e. User activity reading. You can use the `_json` attribute instead." +msgstr "" + +#: interactions.api.models.presence.PresenceActivityType:1 of +msgid "A class object representing all supported Discord activity types." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:1 of +msgid "A class object representing the buttons of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:3 of +msgid "Text of the button" +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:4 of +msgid "URL of the button" +msgstr "" + +#: interactions.api.models.presence.ClientPresence:1 of +msgid "" +"An object that symbolizes the presence of the current client's session " +"upon creation." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:3 of +msgid "" +"Unix time in milliseconds of when the client went idle. None if it is not" +" idle." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:4 of +msgid "Array of activity objects." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:5 of +msgid "The client's new status." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:6 of +msgid "Whether the client is afk or not." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.role.po b/docs/locale/pl/LC_MESSAGES/api.models.role.po index 22011c993..9a3430734 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.role.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.role.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,177 @@ msgstr "" #: ../../api.models.role.rst:4 msgid "Role Models" msgstr "" + +#: interactions.api.models.role.Role:1 of +msgid "A class object representing a role." +msgstr "" + +#: interactions.api.models.role.Role interactions.api.models.role.RoleTags of +msgid "Variables" +msgstr "" + +#: interactions.api.models.role.Role:3 of +msgid "Role ID" +msgstr "" + +#: interactions.api.models.role.Role:4 of +msgid "Role name" +msgstr "" + +#: interactions.api.models.role.Role:5 of +msgid "Role color in integer representation" +msgstr "" + +#: interactions.api.models.role.Role:6 of +msgid "A status denoting if this role is hoisted" +msgstr "" + +#: interactions.api.models.role.Role:7 of +msgid "Role icon hash, if any." +msgstr "" + +#: interactions.api.models.role.Role:8 of +msgid "Role unicode emoji" +msgstr "" + +#: interactions.api.models.role.Role:9 of +msgid "Role position" +msgstr "" + +#: interactions.api.models.role.Role:10 of +msgid "Role permissions as a bit set" +msgstr "" + +#: interactions.api.models.role.Role:11 of +msgid "A status denoting if this role is managed by an integration" +msgstr "" + +#: interactions.api.models.role.Role:12 of +msgid "A status denoting if this role is mentionable" +msgstr "" + +#: interactions.api.models.role.Role:13 of +msgid "The tags this role has" +msgstr "" + +#: interactions.api.models.role.Role.mention:1 of +msgid "Returns a string that allows you to mention the given role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Returns" +msgstr "" + +#: interactions.api.models.role.Role.mention:3 of +msgid "The string of the mentioned role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Return type" +msgstr "" + +#: interactions.api.models.role.Role.delete:1 of +msgid "Deletes the role from the guild." +msgstr "" + +#: interactions.api.models.role.Role.delete +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.role.Role.delete:3 of +msgid "The id of the guild to delete the role from" +msgstr "" + +#: interactions.api.models.role.Role.delete:5 of +msgid "The reason for the deletion" +msgstr "" + +#: interactions.api.models.role.Role.modify:1 of +msgid "Edits the role in a guild." +msgstr "" + +#: interactions.api.models.role.Role.modify:3 of +msgid "The id of the guild to edit the role on" +msgstr "" + +#: interactions.api.models.role.Role.modify:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.role.Role.modify:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.role.Role.modify_position:3 of +msgid "The id of the guild to modify the role position on" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:7 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:9 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.role.RoleTags:1 of +msgid "A class object representing the tags of a role." +msgstr "" + +#: interactions.api.models.role.RoleTags:3 of +msgid "The id of the bot this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:4 of +msgid "The id of the integration this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:5 of +msgid "Whether if this is the guild's premium subscriber role" +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.team.po b/docs/locale/pl/LC_MESSAGES/api.models.team.po index 8595a1d03..c058f10df 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.team.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.team.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,160 @@ msgstr "" #: ../../api.models.team.rst:4 msgid "Team Models" msgstr "" + +#: interactions.api.models.team.Team:1 of +msgid "A class object representing a team." +msgstr "" + +#: interactions.api.models.team.Application interactions.api.models.team.Team +#: interactions.api.models.team.TeamMember of +msgid "Variables" +msgstr "" + +#: interactions.api.models.team.Team:3 of +msgid "The hash of the team's icon" +msgstr "" + +#: interactions.api.models.team.Team:4 of +msgid "The team's unique ID" +msgstr "" + +#: interactions.api.models.team.Team:5 of +msgid "The members of the team" +msgstr "" + +#: interactions.api.models.team.Team:6 of +msgid "The team name" +msgstr "" + +#: interactions.api.models.team.Team:7 of +msgid "The User ID of the current team owner" +msgstr "" + +#: interactions.api.models.team.TeamMember:1 of +msgid "A class object representing the member of a team." +msgstr "" + +#: interactions.api.models.team.TeamMember:4 of +msgid "" +"The membership state is either a 1 for invited, or 2 for accepted. At the" +" moment, permissions will always be [\"*\"]." +msgstr "" + +#: interactions.api.models.team.TeamMember:7 of +msgid "The user's membership state on the team" +msgstr "" + +#: interactions.api.models.team.TeamMember:8 of +msgid "Team Member permissions" +msgstr "" + +#: interactions.api.models.team.TeamMember:9 of +msgid "ID of the team that they're a member of." +msgstr "" + +#: interactions.api.models.team.TeamMember:10 of +msgid "The user object." +msgstr "" + +#: interactions.api.models.team.Application:1 of +msgid "A class object representing an application." +msgstr "" + +#: interactions.api.models.team.Application:4 of +msgid "``type`` and ``hook`` are currently undocumented in the API." +msgstr "" + +#: interactions.api.models.team.Application:6 of +msgid "Application ID" +msgstr "" + +#: interactions.api.models.team.Application:7 of +msgid "Application Name" +msgstr "" + +#: interactions.api.models.team.Application:8 of +msgid "Icon hash of the application" +msgstr "" + +#: interactions.api.models.team.Application:9 of +msgid "Application Description" +msgstr "" + +#: interactions.api.models.team.Application:10 of +msgid "An array of rpc origin urls, if RPC is used." +msgstr "" + +#: interactions.api.models.team.Application:11 of +msgid "A status denoting if anyone can invite the bot to guilds" +msgstr "" + +#: interactions.api.models.team.Application:12 of +msgid "" +"A status denoting whether full Oauth2 is required for the app's bot to " +"join a guild" +msgstr "" + +#: interactions.api.models.team.Application:13 of +msgid "URL of the app's Terms of Service" +msgstr "" + +#: interactions.api.models.team.Application:14 of +msgid "URL of the app's Privacy Policy" +msgstr "" + +#: interactions.api.models.team.Application:15 of +msgid "User object of the owner" +msgstr "" + +#: interactions.api.models.team.Application:16 of +msgid "Summary of the store page, if this application is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:17 of +msgid "" +"Hex encoded key for verification in interactions and/or the GameSDK's " +"GetTicket" +msgstr "" + +#: interactions.api.models.team.Application:18 of +msgid "A list of team members, if this app belongs to a team." +msgstr "" + +#: interactions.api.models.team.Application:19 of +msgid "Guild ID linked, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:20 of +msgid "Game SKU ID, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:21 of +msgid "" +"URL slug that links to the store page, if this app is a game sold on " +"Discord" +msgstr "" + +#: interactions.api.models.team.Application:22 of +msgid "The app's default rich presence invite cover image" +msgstr "" + +#: interactions.api.models.team.Application:23 of +msgid "The application's public flags" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:1 of +msgid "Returns the URL of the application's icon" +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:3 of +msgid "URL of the application's icon." +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Return type" +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.user.po b/docs/locale/pl/LC_MESSAGES/api.models.user.po index 35b554cf4..e9be179ff 100644 --- a/docs/locale/pl/LC_MESSAGES/api.models.user.po +++ b/docs/locale/pl/LC_MESSAGES/api.models.user.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,111 @@ msgstr "" #: ../../api.models.user.rst:4 msgid "User Models" msgstr "" + +#: interactions.api.models.user.User:1 of +msgid "A class object representing a user." +msgstr "" + +#: interactions.api.models.user.User of +msgid "Variables" +msgstr "" + +#: interactions.api.models.user.User:3 of +msgid "The User ID" +msgstr "" + +#: interactions.api.models.user.User:4 of +msgid "The Username associated (not necessarily unique across the platform)" +msgstr "" + +#: interactions.api.models.user.User:5 of +msgid "The User's 4-digit discord-tag (i.e.: XXXX)" +msgstr "" + +#: interactions.api.models.user.User:6 of +msgid "The user's avatar hash, if any" +msgstr "" + +#: interactions.api.models.user.User:7 of +msgid "A status denoting if the user is a bot" +msgstr "" + +#: interactions.api.models.user.User:8 of +msgid "A status denoting if the user is an Official Discord System user" +msgstr "" + +#: interactions.api.models.user.User:9 of +msgid "A status denoting if the user has 2fa on their account" +msgstr "" + +#: interactions.api.models.user.User:10 of +msgid "The user's banner hash, if any" +msgstr "" + +#: interactions.api.models.user.User:11 of +msgid "The user's banner color as a hex, if any" +msgstr "" + +#: interactions.api.models.user.User:12 of +msgid "The user's banner color as an integer represented of hex color codes" +msgstr "" + +#: interactions.api.models.user.User:13 of +msgid "The user's chosen language option" +msgstr "" + +#: interactions.api.models.user.User:14 of +msgid "Whether the email associated with this account has been verified" +msgstr "" + +#: interactions.api.models.user.User:15 of +msgid "The user's email, if any" +msgstr "" + +#: interactions.api.models.user.User:16 of +msgid "The user's flags" +msgstr "" + +#: interactions.api.models.user.User:17 of +msgid "The type of Nitro subscription the user has" +msgstr "" + +#: interactions.api.models.user.User:18 of +msgid "The user's public flags" +msgstr "" + +#: interactions.api.models.user.User.mention:1 of +msgid "Returns a string that allows you to mention the given user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Returns" +msgstr "" + +#: interactions.api.models.user.User.mention:3 of +msgid "The string of the mentioned user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Return type" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:1 of +msgid "Returns the URL of the user's avatar" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:3 of +msgid "URL of the user's avatar." +msgstr "" + +#: interactions.api.models.user.User.banner_url:1 of +msgid "Returns the URL of the user's banner." +msgstr "" + +#: interactions.api.models.user.User.banner_url:3 of +msgid "URL of the user's banner (None will be returned if no banner is set)" +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.voice.po b/docs/locale/pl/LC_MESSAGES/api.models.voice.po deleted file mode 100644 index 848f7dde8..000000000 --- a/docs/locale/pl/LC_MESSAGES/api.models.voice.po +++ /dev/null @@ -1,23 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.voice.rst:4 -msgid "Voice Models" -msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.models.webhook.po b/docs/locale/pl/LC_MESSAGES/api.models.webhook.po new file mode 100644 index 000000000..1df6f27fe --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/api.models.webhook.po @@ -0,0 +1,239 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.webhook.rst:4 +msgid "Webhook Models" +msgstr "" + +#: interactions.api.models.webhook.Webhook:1 of +msgid "A class object representing a Webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook of +msgid "Variables" +msgstr "" + +#: interactions.api.models.webhook.Webhook:3 of +msgid "the id of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:4 of +msgid "the type of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:5 of +msgid "the guild id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:6 of +msgid "the channel id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:7 of +msgid "" +"the user this webhook was created by (not returned when getting a webhook" +" with its token)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:8 of +msgid "the default name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:9 of +msgid "the default user avatar hash of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:10 of +msgid "the secure token of the webhook (returned for Incoming Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:11 of +msgid "the bot/OAuth2 application that created this webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:12 of +msgid "" +"the guild of the channel that this webhook is following (returned for " +"Channel Follower Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:13 of +msgid "" +"the channel that this webhook is following (returned for Channel Follower" +" Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:14 of +msgid "" +"the url used for executing the webhook (returned by the webhooks OAuth2 " +"flow)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:1 of +msgid "Creates a webhook in a channel." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:3 +#: interactions.api.models.webhook.Webhook.get:3 of +msgid "The HTTPClient of the bot, has to be set to `bot._http`." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:5 of +msgid "The ID of the channel to create the webhook in." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:7 of +msgid "The name of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:9 of +msgid "The avatar of the Webhook, if any." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Returns" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:11 of +msgid "The created webhook as object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Return type" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:1 of +msgid "Gets an existing webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:5 of +msgid "The ID of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:7 of +msgid "The token of the webhook, optional" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:9 of +msgid "The Webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:1 of +msgid "Modifies the current webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:3 of +msgid "The new name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:5 of +msgid "" +"The channel id of the webhook. If not provided, the webhook token will be" +" used for authentication" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:7 of +msgid "The new avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:9 of +msgid "The modified webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:1 of +msgid "Executes the webhook. All parameters to this function are optional." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:4 of +msgid "The ``components`` argument requires an application-owned webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:6 of +msgid "the message contents (up to 2000 characters)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:8 of +msgid "override the default username of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:10 of +msgid "override the default avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:12 of +msgid "true if this is a TTS message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:14 of +msgid "embedded ``rich`` content" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:16 of +msgid "allowed mentions for the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:18 of +msgid "the components to include with the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:20 of +msgid "The files to attach to the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:22 of +msgid "" +"Send a message to a specified thread within a webhook's channel. The " +"thread will automatically be unarchived" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:24 of +msgid "The sent message, if present" +msgstr "" + +#: interactions.api.models.webhook.Webhook.delete:1 of +msgid "Deletes the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:1 of +msgid "Returns the URL of the webhook's avatar." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:3 of +msgid "URL of the webhook's avatar" +msgstr "" + +#: interactions.api.models.webhook.WebhookType:1 of +msgid "An enumeration." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/api.po b/docs/locale/pl/LC_MESSAGES/api.po index b17ce38d1..cb74082a0 100644 --- a/docs/locale/pl/LC_MESSAGES/api.po +++ b/docs/locale/pl/LC_MESSAGES/api.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,19 +18,23 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../api.rst:17 +#: ../../api.rst:11 msgid "Client" msgstr "" -#: ../../api.rst:23 ../../api.rst:40 +#: ../../api.rst:17 +msgid "Frameworks/Commands" +msgstr "" + +#: ../../api.rst:24 ../../api.rst:41 msgid "Model/Design" msgstr "" -#: ../../api.rst:33 +#: ../../api.rst:34 msgid "Client Connections" msgstr "" -#: ../../api.rst:48 +#: ../../api.rst:49 msgid "Events" msgstr "" @@ -42,17 +46,10 @@ msgstr "" msgid "This page outlines the API wrapper of discord-interactions." msgstr "" -#: ../../api.rst:10 -msgid "" -"As of the time of this writing, version 4.0 of discord-interactions has " -"not yet been released, which this documentation currently reflects. The " -"documentation written here is subject to change and is not finalized." -msgstr "" - -#: ../../api.rst:15 +#: ../../api.rst:9 msgid "Interactions" msgstr "" -#: ../../api.rst:31 +#: ../../api.rst:32 msgid "Discord API" msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/client.po b/docs/locale/pl/LC_MESSAGES/client.po index b168d9798..8e2fd324c 100644 --- a/docs/locale/pl/LC_MESSAGES/client.po +++ b/docs/locale/pl/LC_MESSAGES/client.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,63 +22,575 @@ msgstr "" msgid "Bot Client" msgstr "" -#: interactions.client.Client:1 of +#: interactions.client.bot.Client:1 of msgid "" "A class representing the client connection to Discord's gateway and API " "via. WebSocket and HTTP." msgstr "" -#: interactions.client.Client of +#: interactions.client.bot.Client of msgid "Variables" msgstr "" -#: interactions.client.Client:3 of -msgid "The main overall asynchronous coroutine loop in effect." +#: interactions.client.bot.Client:3 of +msgid "The asynchronous event loop of the client." msgstr "" -#: interactions.client.Client:4 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.client.bot.Client:4 of +msgid "" +"The user-facing HTTP connection to the Web API, as its own separate " +"client." msgstr "" -#: interactions.client.Client:5 of -msgid "The application's intents as :class:`interactions.api.models.Intents`." +#: interactions.client.bot.Client:5 of +msgid "An object-orientation of a websocket server connection to the Gateway." msgstr "" -#: interactions.client.Client:6 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.client.bot.Client:6 of +msgid "The Gateway intents of the application. Defaults to ``Intents.DEFAULT``." msgstr "" -#: interactions.client.Client:7 of -msgid "An instance of :class:`interactions.api.gateway.WebSocket`." +#: interactions.client.bot.Client:7 of +msgid "The list of bucketed shards for the application's connection." msgstr "" -#: interactions.client.Client:8 of -msgid "The application token." +#: interactions.client.bot.Client:8 of +msgid "The RPC-like presence shown on an application once connected." msgstr "" -#: interactions.client.Client.login:1 of -msgid "Makes a login with the Discord API." +#: interactions.client.bot.Client:9 of +msgid "The token of the application used for authentication when connecting." +msgstr "" + +#: interactions.client.bot.Client:10 of +msgid "The \"extensions\" or cog equivalence registered to the main client." +msgstr "" + +#: interactions.client.bot.Client:11 of +msgid "The application representation of the client." +msgstr "" + +#: interactions.client.bot.Client.guilds:1 of +msgid "Returns a list of guilds the bot is in." msgstr "" -#: interactions.client.Client.start:1 of +#: interactions.client.bot.Client.latency:1 of +msgid "Returns the connection latency in milliseconds." +msgstr "" + +#: interactions.client.bot.Client.start:1 of msgid "Starts the client session." msgstr "" -#: interactions.client.Client.event:1 of -msgid "A decorator for listening to dispatched events from the gateway." +#: interactions.client.bot.Client.__register_events:1 of +msgid "Registers all raw gateway events to the known events." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:1 of +msgid "Compares an application command during the synchronization process." msgstr "" -#: interactions.client.Client.event of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.change_presence +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload interactions.client.bot.Client.remove +#: interactions.client.bot.Client.user_command of +msgid "Parameters" +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:3 of +msgid "The application command to compare." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:5 of +msgid "The \"pool\" or list of commands to compare from." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of msgid "Returns" msgstr "" -#: interactions.client.Client.event:4 of -msgid "typing.Callable[..., typing.Any]" +#: interactions.client.bot.Client.__compare_sync:7 of +msgid "Whether the command has changed or not." msgstr "" -#: interactions.client.Client.command:1 of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of +msgid "Return type" +msgstr "" + +#: interactions.client.bot.Client._ready:1 of +msgid "" +"Prepares the client with an internal \"ready\" check to ensure that all " +"conditions have been met in a chronological order:" +msgstr "" + +#: interactions.client.bot.Client._login:1 of +msgid "Makes a login with the Discord API." +msgstr "" + +#: interactions.client.bot.Client.wait_until_ready:1 of +msgid "Helper method that waits until the websocket is ready." +msgstr "" + +#: interactions.client.bot.Client.__sync:1 of +msgid "Synchronizes all commands to the API." +msgstr "" + +#: interactions.client.bot.Client.__sync:4 of +msgid "" +"This is an internal method. Do not call it unless you know what you are " +"doing!" +msgstr "" + +#: interactions.client.bot.Client.event:1 of +msgid "A decorator for listening to events dispatched from the Gateway." +msgstr "" + +#: interactions.client.bot.Client.event:4 of +msgid "The coroutine of the event." +msgstr "" + +#: interactions.client.bot.Client.event:6 of +msgid "" +"The name of the event. If not given, this defaults to the coroutine's " +"name." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:20 +#: interactions.client.bot.Client.command:63 +#: interactions.client.bot.Client.component:27 +#: interactions.client.bot.Client.event:8 +#: interactions.client.bot.Client.message_command:28 +#: interactions.client.bot.Client.modal:24 +#: interactions.client.bot.Client.user_command:28 of +msgid "A callable response." +msgstr "" + +#: interactions.client.bot.Client.change_presence:1 of +msgid "A method that changes the current client's presence on runtime." +msgstr "" + +#: interactions.client.bot.Client.change_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.client.bot.Client.change_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.client.bot.Client.__check_command:1 of +msgid "Checks if a command is valid." +msgstr "" + +#: interactions.client.bot.Client.command:1 of msgid "" "A decorator for registering an application command to the Discord API, as" " well as being able to listen for ``INTERACTION_CREATE`` dispatched " "gateway events." msgstr "" + +#: interactions.client.bot.Client.command:5 of +msgid "The structure of a chat-input command:" +msgstr "" + +#: interactions.client.bot.Client.command:13 of +msgid "" +"You are also able to establish it as a message or user command by simply " +"passing the ``type`` kwarg field into the decorator:" +msgstr "" + +#: interactions.client.bot.Client.command:22 +#: interactions.client.bot.Client.message_command:13 +#: interactions.client.bot.Client.user_command:13 of +msgid "" +"The ``scope`` kwarg field may also be used to designate the command in " +"question applicable to a guild or set of guilds." +msgstr "" + +#: interactions.client.bot.Client.command:25 of +msgid "" +"To properly utilise the ``default_member_permissions`` kwarg, it requires" +" OR'ing the permission values, similar to instantiating the client with " +"Intents. For example:" +msgstr "" + +#: interactions.client.bot.Client.command:34 of +msgid "Another example below for instance is an admin-only command:" +msgstr "" + +#: interactions.client.bot.Client.command:43 of +msgid "" +"If ``default_member_permissions`` is not given, this will default to " +"anyone that is able to use the command." +msgstr "" + +#: interactions.client.bot.Client.command:45 of +msgid "" +"The type of application command. Defaults to " +":meth:`interactions.enums.ApplicationCommandType.CHAT_INPUT` or ``1``." +msgstr "" + +#: interactions.client.bot.Client.command:47 of +msgid "" +"The name of the application command. This *is* required but kept optional" +" to follow kwarg rules." +msgstr "" + +#: interactions.client.bot.Client.command:49 of +msgid "" +"The description of the application command. This should be left blank if " +"you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:51 of +msgid "The \"scope\"/applicable guilds the application command applies to." +msgstr "" + +#: interactions.client.bot.Client.command:53 of +msgid "" +"The \"arguments\"/options of an application command. This should be left " +"blank if you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:55 +#: interactions.client.bot.Client.message_command:22 +#: interactions.client.bot.Client.user_command:22 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.bot.Client.command:57 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.bot.Client.command:59 +#: interactions.client.bot.Client.message_command:24 +#: interactions.client.bot.Client.user_command:24 of +msgid "" +"The permissions bit value of " +"``interactions.api.model.flags.Permissions``. If not given, defaults to " +":meth:`interactions.api.model.flags.Permissions.USE_APPLICATION_COMMANDS`" +" or ``2147483648``" +msgstr "" + +#: interactions.client.bot.Client.command:61 +#: interactions.client.bot.Client.message_command:26 +#: interactions.client.bot.Client.user_command:26 of +msgid "" +"The application permissions if executed in a Direct Message. Defaults to " +"``True``." +msgstr "" + +#: interactions.client.bot.Client.message_command:1 of +msgid "" +"A decorator for registering a message context menu to the Discord API, as" +" well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.message_command:5 of +msgid "The structure of a message context menu:" +msgstr "" + +#: interactions.client.bot.Client.message_command:16 +#: interactions.client.bot.Client.user_command:16 of +msgid "The name of the application command." +msgstr "" + +#: interactions.client.bot.Client.message_command:18 +#: interactions.client.bot.Client.user_command:18 of +msgid "" +"The \"scope\"/applicable guilds the application command applies to. " +"Defaults to ``None``." +msgstr "" + +#: interactions.client.bot.Client.message_command:20 +#: interactions.client.bot.Client.user_command:20 of +msgid "" +"The default permission of accessibility for the application command. " +"Defaults to ``True``." +msgstr "" + +#: interactions.client.bot.Client.user_command:1 of +msgid "" +"A decorator for registering a user context menu to the Discord API, as " +"well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.user_command:5 of +msgid "The structure of a user context menu:" +msgstr "" + +#: interactions.client.bot.Client.component:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving components." +msgstr "" + +#: interactions.client.bot.Client.component:4 of +msgid "The structure for a component callback:" +msgstr "" + +#: interactions.client.bot.Client.component:22 of +msgid "" +"The context of the component callback decorator inherits the same as of " +"the command decorator." +msgstr "" + +#: interactions.client.bot.Client.component:25 of +msgid "The component you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client._find_command:1 of +msgid "" +"Iterates over `commands` and returns an :class:`ApplicationCommand` if it" +" matches the name from `command`" +msgstr "" + +#: interactions.client.bot.Client._find_command:3 of +msgid "The name of the command to match" +msgstr "" + +#: interactions.client.bot.Client._find_command:5 of +msgid "An ApplicationCommand model" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving autocompletion fields." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:4 of +msgid "The structure for an autocomplete callback:" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:16 of +msgid "The command, command ID, or command name with the option." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:18 of +msgid "The name of the option to autocomplete." +msgstr "" + +#: interactions.client.bot.Client.modal:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving modals." +msgstr "" + +#: interactions.client.bot.Client.modal:4 of +msgid "The structure for a modal callback:" +msgstr "" + +#: interactions.client.bot.Client.modal:19 of +msgid "" +"The context of the modal callback decorator inherits the same as of the " +"component decorator." +msgstr "" + +#: interactions.client.bot.Client.modal:22 of +msgid "The modal or custom_id of modal you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client.load:1 of +msgid "" +"\"Loads\" an extension off of the current client by adding a new class " +"which is imported from the library." +msgstr "" + +#: interactions.client.bot.Client.load:4 +#: interactions.client.bot.Client.remove:3 of +msgid "The name of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:6 +#: interactions.client.bot.Client.remove:7 of +msgid "The package of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:8 +#: interactions.client.bot.Client.reload:14 of +msgid "Optional arguments to pass to the extension" +msgstr "" + +#: interactions.client.bot.Client.load:10 +#: interactions.client.bot.Client.reload:16 of +msgid "Optional keyword-only arguments to pass to the extension." +msgstr "" + +#: interactions.client.bot.Client.load:12 of +msgid "The loaded extension." +msgstr "" + +#: interactions.client.bot.Client.remove:1 of +msgid "Removes an extension out of the current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.remove:5 of +msgid "Whether to remove commands before reloading. Defaults to True." +msgstr "" + +#: interactions.client.bot.Client.reload:1 of +msgid "\"Reloads\" an extension off of current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.reload:4 of +msgid "" +"This will remove and re-add application commands, counting towards your " +"daily application command creation limit, as long as you have the " +"``remove_commands`` argument set to ``True``, what it is by default." +msgstr "" + +#: interactions.client.bot.Client.reload:8 of +msgid "The name of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:10 of +msgid "The package of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:12 of +msgid "Whether to remove commands before reloading. Defaults to True" +msgstr "" + +#: interactions.client.bot.Client.reload:18 of +msgid "The reloaded extension." +msgstr "" + +#: interactions.client.bot.Client.modify:1 of +msgid "Modify the bot user account settings." +msgstr "" + +#: interactions.client.bot.Client.modify:3 of +msgid "The new username of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:5 of +msgid "The new avatar of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:7 of +msgid "The modified User object" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:1 of +msgid "" +"This is an internal function that takes any gateway socket event and then" +" returns the data purely based off of what it does in the client " +"instantiation class." +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:5 of +msgid "The data that is returned" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:7 of +msgid "A dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:1 of +msgid "" +"This is an internal function that caches the channel creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:3 of +msgid "The channel object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:5 of +msgid "The channel as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:1 of +msgid "" +"This is an internal function that caches the message creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:3 of +msgid "The message object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:5 of +msgid "The message as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:1 of +msgid "This is an internal function that caches the guild creates on ready." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:3 of +msgid "The guild object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:5 of +msgid "The guild as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Extension:1 of +msgid "" +"A class that allows you to represent \"extensions\" of your code, or " +"essentially cogs that can be ran independent of the root file in an " +"object-oriented structure." +msgstr "" + +#: interactions.client.bot.Extension:5 of +msgid "The structure of an extension:" +msgstr "" + +#: interactions.client.decor.command:1 of +msgid "" +"A wrapper designed to interpret the client-facing API for how a command " +"is to be created and used." +msgstr "" + +#: interactions.client.decor.command:4 of +msgid "A list of command payloads." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/components.po b/docs/locale/pl/LC_MESSAGES/components.po deleted file mode 100644 index 93031b801..000000000 --- a/docs/locale/pl/LC_MESSAGES/components.po +++ /dev/null @@ -1,192 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../components.rst:2 -msgid "How to use components" -msgstr "" - -#: ../../components.rst:5 -msgid "" -"So you've seen the new fancy buttons and want to give them a try, but " -"dont know where to start. No problem!" -msgstr "" - -#: ../../components.rst:7 -msgid "" -"First lets cover the basics. Discord messages can have *components*, such" -" as buttons, dropdowns etc. These components sit in whats called an " -"\"action row\". An action row can hold 5 components at a time. Your " -"message can have 5 action rows, so thats a total of 25 components!" -msgstr "" - -#: ../../components.rst:10 -msgid "Sending some components" -msgstr "" - -#: ../../components.rst:12 -msgid "This will work in both slash commands, and discord.py commands" -msgstr "" - -#: ../../components.rst:14 -msgid "" -"First we need to create some buttons, lets put them in a list for now. " -"We'll use :meth:`create_button() `" -" to create a green button" -msgstr "" - -#: ../../components.rst:28 -msgid "" -"So we have a button, but where do we use it. Let's create an action row " -"with :func:`create_actionrow() ` " -"and put our buttons in it" -msgstr "" - -#: ../../components.rst:35 -msgid "" -"Fantastic, we now have an action row with a green button in it, now lets " -"get it sent in discord" -msgstr "" - -#: ../../components.rst:42 -msgid "And to bring it all together, you could use this:" -msgstr "" - -#: ../../components.rst:54 -msgid "" -"Now if you've followed along, you have a green button in discord! But " -"theres a problem, whenever you click it you see that the ``interaction " -"failed``. Why is that? Well, in Discord, clicking buttons and using slash" -" commands are called ``interactions``, and Discord doesn't know if we've " -"received them or not unless we tell Discord. So how do we do that?" -msgstr "" - -#: ../../components.rst:58 -msgid "Responding to interactions" -msgstr "" - -#: ../../components.rst:60 -msgid "" -"When responding, you have 3 choices in how you handle interactions. You " -"can either wait for them in the command itself, or listen for them in a " -"global event handler (similar to :func:`on_slash_command_error`), or " -"register async function as component callback." -msgstr "" - -#: ../../components.rst:63 -msgid "Wait_for" -msgstr "" - -#: ../../components.rst:65 -msgid "" -"Lets go through the most common method first, responding in the command " -"itself. We simply need to :func:`wait_for` the event, just like you do " -"for reactions. For this we're going to use :func:`wait_for_component() " -"`, and we're going to only wait " -"for events from the action row we just sent. This method will return a " -":class:`ComponentContext ` object" -" that we can use to respond. For this example, we'll just edit the " -"original message (:meth:`edit_origin() " -"`, uses same logic as" -" :func:`edit()`)" -msgstr "" - -#: ../../components.rst:77 -msgid "" -"It's worth being aware that if you handle the event in the command " -"itself, it will not persist reboots. As such when you restart the bot, " -"the interaction will fail" -msgstr "" - -#: ../../components.rst:80 -msgid "Global event handler" -msgstr "" - -#: ../../components.rst:82 -msgid "" -"Next we'll go over the alternative, a global event handler. This works " -"just the same as :func:`on_slash_command_error` or `on_ready`. But note " -"that this code will be triggered on any components interaction." -msgstr "" - -#: ../../components.rst:92 -msgid "Component callbacks" -msgstr "" - -#: ../../components.rst:94 -msgid "" -"There is one more method - making a function that'll be component " -"callback - triggered when components in a specified message or specific " -"``custom_id`` are used. Let's register our callback function via " -"decorator :meth:`component_callback() " -"`, in similar ways " -"to slash commands." -msgstr "" - -#: ../../components.rst:103 -msgid "" -"In this example, :func:`hello` will be triggered when you receive " -"interaction event from a component with a `custom_id` set to `\"hello\"`." -" Just like slash commands, the callback's `custom_id` defaults to the " -"function name. You can also register such callbacks in cogs using " -":func:`cog_component() ` Additionally, component " -"callbacks can be dynamically added, removed or edited - see " -":class:`SlashCommand `" -msgstr "" - -#: ../../components.rst:108 -msgid "But [writer], I dont want to edit the message" -msgstr "" - -#: ../../components.rst:110 -msgid "" -"Well lucky for you, you don't have to. You can either respond silently, " -"with a thinking animation, or send a whole new message. Take a look here:" -" :class:`ComponentContext `" -msgstr "" - -#: ../../components.rst:113 -msgid "How do I know which button was pressed?" -msgstr "" - -#: ../../components.rst:115 -msgid "" -"Each button gets a ``custom_id`` (which is always a string), this is a " -"unique identifier of which button is being pressed. You can specify what " -"the ID is when you define your button, if you don't; a random one will be" -" generated. When handling the event, simply check the custom_id, and " -"handle accordingly." -msgstr "" - -#: ../../components.rst:118 -msgid "What about selects / Dropdowns?" -msgstr "" - -#: ../../components.rst:120 -msgid "" -"Yep we support those too. You use them much the same as buttons. You can " -"only have 1 select per action row, but each select can have up to 25 " -"options in it!" -msgstr "" - -#: ../../components.rst:144 -msgid "" -"Additionally, you can pass ``description`` as a keyword-argument for " -"``create_select_option()`` if you so wish." -msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/context.po b/docs/locale/pl/LC_MESSAGES/context.po new file mode 100644 index 000000000..9e1dfbc1e --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/context.po @@ -0,0 +1,320 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../context.rst:4 +msgid "Event Context" +msgstr "" + +#: interactions.client.context._Context:1 of +msgid "" +"The base class of \"context\" for dispatched event data from the gateway." +" The premise of having this class is so that the user-facing API is able " +"to allow developers to easily access information presented from any event" +" in a \"contextualized\" sense." +msgstr "" + +#: interactions.client.context.CommandContext +#: interactions.client.context._Context of +msgid "Variables" +msgstr "" + +#: interactions.client.context._Context:7 of +msgid "The message data model." +msgstr "" + +#: interactions.client.context._Context:8 of +msgid "The member data model." +msgstr "" + +#: interactions.client.context._Context:9 of +msgid "The user data model." +msgstr "" + +#: interactions.client.context._Context:10 of +msgid "The channel data model." +msgstr "" + +#: interactions.client.context._Context:11 of +msgid "The guild data model." +msgstr "" + +#: interactions.client.context._Context.get_channel:1 of +msgid "This gets the channel the context was invoked in." +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Returns" +msgstr "" + +#: interactions.client.context._Context.get_channel:3 of +msgid "The channel as object" +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Return type" +msgstr "" + +#: interactions.client.context._Context.get_guild:1 of +msgid "This gets the guild the context was invoked in." +msgstr "" + +#: interactions.client.context._Context.get_guild:3 of +msgid "The guild as object" +msgstr "" + +#: interactions.client.context.CommandContext.send:1 +#: interactions.client.context.ComponentContext.send:1 +#: interactions.client.context._Context.send:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update +#: interactions.client.context.CommandContext.defer +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.defer +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.popup +#: interactions.client.context._Context.send of +msgid "Parameters" +msgstr "" + +#: interactions.client.context.CommandContext.send:4 +#: interactions.client.context.ComponentContext.send:4 +#: interactions.client.context._Context.send:4 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.client.context.CommandContext.send:6 +#: interactions.client.context.ComponentContext.send:6 +#: interactions.client.context._Context.send:6 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:8 +#: interactions.client.context.ComponentContext.send:8 +#: interactions.client.context._Context.send:8 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:10 +#: interactions.client.context.ComponentContext.send:10 +#: interactions.client.context._Context.send:10 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.client.context.CommandContext.send:12 +#: interactions.client.context.ComponentContext.send:12 +#: interactions.client.context._Context.send:12 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:14 +#: interactions.client.context.ComponentContext.send:14 +#: interactions.client.context._Context.send:14 of +msgid "Whether the response is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:16 +#: interactions.client.context.ComponentContext.send:16 +#: interactions.client.context._Context.send:16 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.client.context.CommandContext.edit:1 +#: interactions.client.context.ComponentContext.edit:1 +#: interactions.client.context._Context.edit:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response. This inherits the arguments of the Context " +"``.send()`` method." +msgstr "" + +#: interactions.client.context.CommandContext.edit:5 +#: interactions.client.context.ComponentContext.edit:5 +#: interactions.client.context._Context.edit:5 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.client.context._Context.popup:1 of +msgid "This \"pops up\" a modal to present information back to the user." +msgstr "" + +#: interactions.client.context._Context.popup:4 of +msgid "The components you wish to show." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:1 of +msgid "" +"Update an object with new attributes. All data will be converted, and any" +" extra attributes will be put in _extras" +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:4 of +msgid "The dictionary to update from" +msgstr "" + +#: interactions.client.context.CommandContext:1 of +msgid "" +"A derivation of :class:`interactions.context.Context` designed " +"specifically for application command data." +msgstr "" + +#: interactions.client.context.CommandContext:5 of +msgid "" +"The ``guild`` attribute of the base context is not accessible for any " +"interaction-related events since the current Discord API schema does not " +"return this as a value, but instead ``guild_id``. You will need to " +"manually fetch for this data for the time being." +msgstr "" + +#: interactions.client.context.CommandContext:11 of +msgid "" +"You can fetch with ``client.get_guild(guild_id)`` which will return a " +"JSON dictionary, which you can then use ``interactions.Guild(**data)`` " +"for an object or continue with a dictionary for your own purposes." +msgstr "" + +#: interactions.client.context.CommandContext:16 of +msgid "the HTTP client" +msgstr "" + +#: interactions.client.context.CommandContext:17 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:18 of +msgid "The application ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:19 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.context.CommandContext:20 of +msgid "The application command data." +msgstr "" + +#: interactions.client.context.CommandContext:21 of +msgid "The target selected if this interaction is invoked as a context menu." +msgstr "" + +#: interactions.client.context.CommandContext:22 of +msgid "The token of the interaction response." +msgstr "" + +#: interactions.client.context.CommandContext:23 of +msgid "The ID of the current guild." +msgstr "" + +#: interactions.client.context.CommandContext:24 of +msgid "The ID of the current channel." +msgstr "" + +#: interactions.client.context.CommandContext:25 of +msgid "Whether an original response was made or not." +msgstr "" + +#: interactions.client.context.CommandContext:26 of +msgid "Whether the response was deferred or not." +msgstr "" + +#: interactions.client.context.CommandContext:27 of +msgid "The selected language of the user invoking the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:28 of +msgid "The guild's preferred language, if invoked in a guild." +msgstr "" + +#: interactions.client.context.CommandContext.defer:1 of +msgid "" +"This \"defers\" an interaction response, allowing up to a 15-minute delay" +" between invocation and responding." +msgstr "" + +#: interactions.client.context.CommandContext.defer:4 +#: interactions.client.context.ComponentContext.defer:4 of +msgid "Whether the deferred state is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.delete:1 of +msgid "" +"This deletes the interaction response of a message sent by the " +"contextually derived information from this class." +msgstr "" + +#: interactions.client.context.CommandContext.delete:5 of +msgid "Doing this will proceed in the context message no longer being present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:1 of +msgid "" +"This \"populates\" the list of choices that the client-end user will be " +"able to select from in the autocomplete field." +msgstr "" + +#: interactions.client.context.CommandContext.populate:5 of +msgid "" +"Only a maximum of ``25`` choices may be presented within an autocomplete " +"option." +msgstr "" + +#: interactions.client.context.CommandContext.populate:8 of +msgid "The choices you wish to present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:10 of +msgid "The list of choices you've given." +msgstr "" + +#: interactions.client.context.ComponentContext:1 of +msgid "" +"A derivation of :class:`interactions.context.CommandContext` designed " +"specifically for component data." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:1 of +msgid "" +"This \"defers\" a component response, allowing up to a 15-minute delay " +"between invocation and responding." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:6 of +msgid "Whether you want to edit the original message or send a followup message" +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/enums.po b/docs/locale/pl/LC_MESSAGES/enums.po index 1add6393c..33035829d 100644 --- a/docs/locale/pl/LC_MESSAGES/enums.po +++ b/docs/locale/pl/LC_MESSAGES/enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,87 +22,140 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.enums.ApplicationCommandType:1 of +#: interactions.client.enums.ApplicationCommandType:1 of msgid "An enumerable object representing the types of application commands." msgstr "" -#: interactions.enums.OptionType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a slash" -" command's option(s)." +#: interactions.client.enums.ApplicationCommandType +#: interactions.client.enums.ButtonStyle +#: interactions.client.enums.ComponentType +#: interactions.client.enums.InteractionCallbackType +#: interactions.client.enums.InteractionType +#: interactions.client.enums.OptionType +#: interactions.client.enums.PermissionType +#: interactions.client.enums.TextStyleType of +msgid "Variables" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:3 +#: interactions.client.enums.ButtonStyle:3 +#: interactions.client.enums.ComponentType:3 +#: interactions.client.enums.InteractionCallbackType:3 +#: interactions.client.enums.InteractionType:3 +#: interactions.client.enums.OptionType:3 +#: interactions.client.enums.PermissionType:3 +#: interactions.client.enums.TextStyleType:3 of +msgid "1" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:4 +#: interactions.client.enums.ButtonStyle:4 +#: interactions.client.enums.ComponentType:4 +#: interactions.client.enums.InteractionType:4 +#: interactions.client.enums.OptionType:4 +#: interactions.client.enums.PermissionType:4 +#: interactions.client.enums.TextStyleType:4 of +msgid "2" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:5 +#: interactions.client.enums.ButtonStyle:5 +#: interactions.client.enums.ComponentType:5 +#: interactions.client.enums.InteractionType:5 +#: interactions.client.enums.OptionType:5 +#: interactions.client.enums.PermissionType:5 of +msgid "3" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:6 +#: interactions.client.enums.ButtonStyle:6 +#: interactions.client.enums.ComponentType:6 +#: interactions.client.enums.InteractionCallbackType:4 +#: interactions.client.enums.InteractionType:6 +#: interactions.client.enums.OptionType:6 of +msgid "4" +msgstr "" + +#: interactions.client.enums.InteractionType:1 of +msgid "An enumerable object representing the types of interactions." msgstr "" -#: interactions.enums.OptionType:5 of +#: interactions.client.enums.ButtonStyle:7 +#: interactions.client.enums.InteractionCallbackType:5 +#: interactions.client.enums.InteractionType:7 +#: interactions.client.enums.OptionType:7 of +msgid "5" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:1 of msgid "" -"Equivalent of `ApplicationCommandOptionType " -"`_ in the " -"Discord API." +"An enumerable object representing the callback types of interaction " +"responses." +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:6 +#: interactions.client.enums.OptionType:8 of +msgid "6" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:7 +#: interactions.client.enums.OptionType:9 of +msgid "7" msgstr "" -#: interactions.enums.OptionType.from_type:1 of -msgid "Get a specific enumerable from a type or object." +#: interactions.client.enums.InteractionCallbackType:8 +#: interactions.client.enums.OptionType:10 of +msgid "8" msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Parameters" +#: interactions.client.enums.InteractionCallbackType:9 +#: interactions.client.enums.OptionType:11 of +msgid "9" msgstr "" -#: interactions.enums.OptionType.from_type:3 of -msgid "The type or object to get an enumerable integer for." +#: interactions.client.enums.OptionType:1 of +msgid "" +"An enumerable object representing the types of an application command " +"option." msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Returns" +#: interactions.client.enums.OptionType:12 of +msgid "10" msgstr "" -#: interactions.enums.OptionType.from_type:5 of -msgid "enum.IntEnum." +#: interactions.client.enums.OptionType:13 of +msgid "11" msgstr "" -#: interactions.enums.PermissionType:1 of +#: interactions.client.enums.PermissionType:1 of msgid "" "Enumerable object of literal integers holding equivocal values of a slash" " command's permission(s)." msgstr "" -#: interactions.enums.PermissionType:4 of -msgid "" -"Equivalent of `ApplicationCommandPermissionType " -"`_ in the Discord API." +#: interactions.client.enums.ComponentType:1 of +msgid "An enumerable object representing the types of a component." msgstr "" -#: interactions.enums.PermissionType.from_type:1 of -msgid "" -"Get a specific enumerable from a type or object. :param _type: The type " -"or object to get an enumerable integer for. :type _type: type :return: " -"enum.IntEnum." +#: interactions.client.enums.ButtonStyle:1 of +msgid "An enumerable object representing the styles of button components." msgstr "" -#: interactions.enums.ComponentType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"component(s) type." +#: interactions.client.enums.TextStyleType:1 of +msgid "An enumerable object representing the styles of text inputs." msgstr "" -#: interactions.enums.ComponentType:4 of -msgid "" -"Equivalent of `Component Types " -"`_ in the Discord API." +#: interactions.client.enums.Locale:1 of +msgid "An enumerable object representing Discord locales." msgstr "" -#: interactions.enums.ButtonType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"button(s) type." +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." msgstr "" -#: interactions.enums.ButtonType:4 of +#: enum.Enum._generate_next_value_:3 of msgid "" -"Equivalent of `Button Styles " -"`_ in the Discord API." +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/ext.base.po b/docs/locale/pl/LC_MESSAGES/ext.base.po new file mode 100644 index 000000000..b0275dd49 --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/ext.base.po @@ -0,0 +1,150 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.base.rst:4 +msgid "Core Model" +msgstr "" + +#: interactions.ext.base.Base:1 of +msgid "A class representing the base structure of a 3rd party." +msgstr "" + +#: interactions.ext.base.Base of +msgid "Variables" +msgstr "" + +#: interactions.ext.base.Base:3 of +msgid "The version of the library." +msgstr "" + +#: interactions.ext.base.Base:4 of +msgid "The name of the library." +msgstr "" + +#: interactions.ext.base.Base:5 of +msgid "The description of the library." +msgstr "" + +#: interactions.ext.base.Base:6 of +msgid "The long description of the library." +msgstr "" + +#: interactions.ext.base.Base:7 of +msgid "The repository link or the library." +msgstr "" + +#: interactions.ext.base.Base:8 of +msgid "The packages of the library." +msgstr "" + +#: interactions.ext.base.Base:9 of +msgid "The modules in the library required." +msgstr "" + +#: interactions.ext.base.Base:10 of +msgid "The objects running under the service." +msgstr "" + +#: interactions.ext.base.Base._check_service:1 of +msgid "Checks whether the service already exists within the list or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service of +msgid "Parameters" +msgstr "" + +#: interactions.ext.base.Base._check_service:3 of +msgid "The name of the service to check." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Returns" +msgstr "" + +#: interactions.ext.base.Base._check_service:5 of +msgid "Whether the service exists or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Return type" +msgstr "" + +#: interactions.ext.base.Base.add_service:1 of +msgid "" +"Adds a service to the 3rd party for ease of accessibility in calling. The" +" code theory behind this is to simplify the way you handle and manage the" +" calling of other objects, as well as accessing their information." +msgstr "" + +#: interactions.ext.base.Base.add_service:5 of +msgid "The object to add as a service." +msgstr "" + +#: interactions.ext.base.Base.add_service:7 of +msgid "The name of the object to map under." +msgstr "" + +#: interactions.ext.base.Base.add_service:9 of +msgid "The mapped relation between the object and name." +msgstr "" + +#: interactions.ext.base.Base.remove_service:1 of +msgid "" +"Removes a service from the 3rd party in the event that it is no longer " +"needed to be referred to for data." +msgstr "" + +#: interactions.ext.base.Base.remove_service:4 of +msgid "The name of the service to remove." +msgstr "" + +#: interactions.ext.base.Base.remove_service:6 of +msgid "If the service has been removed or not." +msgstr "" + +#: interactions.ext.base.Base.remove_service of +msgid "Raises" +msgstr "" + +#: interactions.ext.base.Base.remove_service:8 of +msgid "An unknown service in the base." +msgstr "" + +#: interactions.ext.base.Base.services:1 of +msgid "" +"Returns a view on all of the services currently stored under the 3rd " +"party." +msgstr "" + +#: interactions.ext.base.Base.services:3 of +msgid "A dictionary of objects sorted by their name." +msgstr "" + +#: interactions.ext.base.build:1 of +msgid "Builds the base 3rd party the same way as ``setup`` from ``setuptools``." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/ext.converter.po b/docs/locale/pl/LC_MESSAGES/ext.converter.po new file mode 100644 index 000000000..8f0df6d4b --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/ext.converter.po @@ -0,0 +1,114 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.converter.rst:4 +msgid "Converter Model" +msgstr "" + +#: interactions.ext.converter.Converter:1 of +msgid "" +"A class representing the \"conversion\" or consistent mapping between two" +" objects' attributes." +msgstr "" + +#: interactions.ext.converter.Converter of +msgid "Variables" +msgstr "" + +#: interactions.ext.converter.Converter:4 of +msgid "The first object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter:5 of +msgid "The second object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:1 of +msgid "Maps the attributes between the models for conversion reference." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Returns" +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:3 of +msgid "A dictionary of attributes mapped." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Return type" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:1 of +msgid "Gets a mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr of +msgid "Parameters" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:3 of +msgid "The attribute to get." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:5 of +msgid "The mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:1 of +msgid "Gets a list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:3 of +msgid "The list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.ref:1 of +msgid "Gets the \"referenced\" model, or first." +msgstr "" + +#: interactions.ext.converter.Converter.ref:3 of +msgid "The referenced model." +msgstr "" + +#: interactions.ext.converter.Converter.difference:1 of +msgid "Gets a list of keys and values that the models don't share in common." +msgstr "" + +#: interactions.ext.converter.Converter.difference:3 +#: interactions.ext.converter.Converter.missing:3 of +msgid "A list of dictionaries" +msgstr "" + +#: interactions.ext.converter.Converter.missing:1 of +msgid "" +"Gets a list of keys and values missing from the \"referenced\" or first " +"model." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/ext.error.po b/docs/locale/pl/LC_MESSAGES/ext.error.po new file mode 100644 index 000000000..763b1799e --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/ext.error.po @@ -0,0 +1,84 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.error.rst:4 +msgid "Error Exceptions" +msgstr "" + +#: interactions.ext.error.ErrorType:1 of +msgid "An enumerable object representing the type of error responses raised." +msgstr "" + +#: interactions.ext.error.ErrorType of +msgid "Variables" +msgstr "" + +#: interactions.ext.error.ErrorType:3 of +msgid "" +"You cannot have more than one alphanumeric identifier, or identifier with" +" a missing value." +msgstr "" + +#: interactions.ext.error.ErrorType:4 of +msgid "You cannot have a missing numerical value." +msgstr "" + +#: interactions.ext.error.ErrorType:5 of +msgid "" +"A version can only have one main author. The rest of the authors must be " +"co-authors." +msgstr "" + +#: interactions.ext.error.ErrorType:6 of +msgid "The service specified does not exist." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.error.IncorrectAlphanumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"alphanumeric formatting." +msgstr "" + +#: interactions.ext.error.MissingNumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"numerical formatting." +msgstr "" + +#: interactions.ext.error.TooManyAuthors:1 of +msgid "" +"An exception raised whenever a ``VersionAuthor`` object have too many " +"\"main\" authors." +msgstr "" + +#: interactions.ext.error.UnknownService:1 of +msgid "An exception raised whenever a ``Base`` object cannot find a service." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/ext.gettingstarted.po b/docs/locale/pl/LC_MESSAGES/ext.gettingstarted.po new file mode 100644 index 000000000..1c21e3eb3 --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/ext.gettingstarted.po @@ -0,0 +1,225 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.gettingstarted.rst:2 +msgid "Getting started." +msgstr "" + +#: ../../ext.gettingstarted.rst:5 +msgid "Developing a 3rd party." +msgstr "" + +#: ../../ext.gettingstarted.rst:7 +msgid "" +"Getting started with making a 3rd party library is pretty hard. Most of " +"the time, you'll find yourself often checking the source code and " +"directly making changes to the library. We want to make a change to that," +" and additionally, make it easier for developers to find creativity in " +"the simplicity of our overengineered product." +msgstr "" + +#: ../../ext.gettingstarted.rst:14 +msgid "" +"If you're not familiar with the source code of the library, you should " +"probably read the documentation first." +msgstr "" + +#: ../../ext.gettingstarted.rst:17 +msgid "" +"Basing your 3rd party libraries off of our ``unstable`` branch is a bad " +"practice as this is regarded as our development branch. Breaking changes " +"may become common, and as a result pose a risk in affecting your 3rd " +"party. For this reason, we recommend you use the latest PyPI release or " +"``stable`` branch." +msgstr "" + +#: ../../ext.gettingstarted.rst:24 +msgid "Installing" +msgstr "" + +#: ../../ext.gettingstarted.rst:26 +msgid "" +"Installing the external framework is a rather trivial process. You do not" +" need to run any special installation on the library, as this comes built" +" into our main core. However, you will need to install the dependencies " +"involved with the library." +msgstr "" + +#: ../../ext.gettingstarted.rst:31 +msgid "" +"If you do not already have this library installed, you can do with this " +"line below:" +msgstr "" + +#: ../../ext.gettingstarted.rst:39 +msgid "Creating the base." +msgstr "" + +#: ../../ext.gettingstarted.rst:41 +msgid "" +"For every official 3rd party library of interactions.py, we have a " +"\"core\" for it, otherwise known as the base. This base is what we use to" +" allow developers to easily setup their project onto PyPI and build, as " +"well as storing additional information that bot developers can read off " +"of for their bots." +msgstr "" + +#: ../../ext.gettingstarted.rst:46 +msgid "This code shows a basic example for creating the base of a 3rd party:" +msgstr "" + +#: ../../ext.gettingstarted.rst:71 +msgid "" +"This configures the base of the library in a rather simple manner: you " +"give the name and description of the 3rd party, as well as its own " +"official version and link for reference. This is all that is required to " +"build the library. The rest of the field that can be filled in are " +"optional. You can look at the :ref:`Base class ` for" +" more information." +msgstr "" + +#: ../../ext.gettingstarted.rst:78 +msgid "Defining a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:80 +msgid "" +"As you may have noticed in the ``Base`` class, we have a ``Version`` " +"class that helps define the version of the 3rd party. This is required to" +" be written in our class for numerous reasons:" +msgstr "" + +#: ../../ext.gettingstarted.rst:83 +msgid "To help enforce consistency in the formatting of 3rd party versions." +msgstr "" + +#: ../../ext.gettingstarted.rst:84 +msgid "To allow for easy version comparison." +msgstr "" + +#: ../../ext.gettingstarted.rst:85 +msgid "Forced semantic versioning." +msgstr "" + +#: ../../ext.gettingstarted.rst:87 +msgid "" +"This class is our most advanced and complicated one due to the abundant " +"nature in emphasising a proper versioning system. We have a few options " +"for versioning, and we have a few rules to follow." +msgstr "" + +#: ../../ext.gettingstarted.rst:90 +msgid "" +"Major, minor and patch versions **must** be declared as either their " +"respective key-word arguments, or under the ``version`` kwarg." +msgstr "" + +#: ../../ext.gettingstarted.rst:91 +msgid "" +"The version should not be author-less. Every library has an author behind" +" a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:92 +msgid "" +"The version should not be a pre-release. Pre-releases are not supported " +"by the official PyPI. To release as alpha or beta, use the " +"``extend_version()`` method." +msgstr "" + +#: ../../ext.gettingstarted.rst:93 +msgid "" +"A version cannot contain more than 1 main author. If you have multiple " +"authors, you should label them as co-authors instead." +msgstr "" + +#: ../../ext.gettingstarted.rst:94 +msgid "An alphanumeric version can only contain one instance of its own." +msgstr "" + +#: ../../ext.gettingstarted.rst:96 +msgid "" +"With these rules out of the way, let's look at a simple implementation of" +" the ``Version`` class alongside its brother, ``VersionAuthor`` for " +"adding authors of a version:" +msgstr "" + +#: ../../ext.gettingstarted.rst:120 +msgid "" +"This code example can also show you the ways of retreiving information " +"from a version. As seen here, this is a highly versatile class. These " +"following are the shown methods and their purposes:" +msgstr "" + +#: ../../ext.gettingstarted.rst:124 +msgid "The ``version`` attribute is the version string." +msgstr "" + +#: ../../ext.gettingstarted.rst:125 +msgid "The ``major`` attribute is the major version number, e.g. \"x.0.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:126 +msgid "The ``minor`` attribute is the minor version number, e.g. \"0.x.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:127 +msgid "The ``patch`` attribute is the patch version number, e.g. \"0.0.x\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:128 +msgid "" +"The ``authors`` property method is a list of authors, regardless of if " +"one is a co-author or not." +msgstr "" + +#: ../../ext.gettingstarted.rst:129 +msgid "" +"The ``is_alphanumeric`` property method is a boolean that indicates if " +"the version is alphanumeric." +msgstr "" + +#: ../../ext.gettingstarted.rst:132 +msgid "Converting models from one to another." +msgstr "" + +#: ../../ext.gettingstarted.rst:134 +msgid "" +"The term \"conversion\" is a gross exaggeration of what we're actually " +"doing here. The problem that we've found with bot developers cross-" +"referencing from different libraries is that their data models are simply" +" different in design and structure. In order to combat against this, we " +"have decided to create a conversion tool that will allow us to convert " +"between models. This tool also allows for better comparison that will " +"save the average developer many lines of code from having to be written. " +"This is a basic example of how we \"convert\" these models:" +msgstr "" + +#: ../../ext.gettingstarted.rst:162 +msgid "What about errors?" +msgstr "" + +#: ../../ext.gettingstarted.rst:164 +msgid "" +"Don't worry---we've got you covered there. Each of our tools will raise " +"special error exceptions that you can listen to. Since this is a pretty " +"self-explanitory subject, we recommend :ref:`reading the documentation " +"` on this." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/ext.po b/docs/locale/pl/LC_MESSAGES/ext.po new file mode 100644 index 000000000..ee17491a5 --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/ext.po @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.rst:19 +msgid "Tools:" +msgstr "" + +#: ../../ext.rst:4 +msgid "External Framework" +msgstr "" + +#: ../../ext.rst:6 +msgid "" +"Are you trying to build your own 3rd party library, but you don't want to" +" monkey-patch your own solutions into the current existing library " +"codebase? Are you wanting to avoid having to modify the architecture of " +"the library to specifically suit you or others needs? Well, now we have " +"something to introduce to you: ``interactions.ext``. The officially given" +" software development kit (SDK) tools suite made by developers; for " +"developers." +msgstr "" + +#: ../../ext.rst:13 +msgid "How does the framework... work?" +msgstr "" + +#: ../../ext.rst:15 +msgid "" +"Great question! We're glad you asked. The framework is a set of tools " +"that are designed to make your life easier. There are a few tools that we" +" provide out of the box, but you can also create some of your own. We'll " +"be covering each one of these tools in great detail." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/ext.version.po b/docs/locale/pl/LC_MESSAGES/ext.version.po new file mode 100644 index 000000000..7ad8f183b --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/ext.version.po @@ -0,0 +1,182 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.version.rst:4 +msgid "Versioning Models" +msgstr "" + +#: interactions.ext.version.VersionAuthor:1 of +msgid "A class representing the author involved in a version." +msgstr "" + +#: interactions.ext.version.Version interactions.ext.version.VersionAuthor of +msgid "Variables" +msgstr "" + +#: interactions.ext.version.VersionAuthor:3 of +msgid "The hashed representation of the class." +msgstr "" + +#: interactions.ext.version.VersionAuthor:4 of +msgid "Whether this is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:5 of +msgid "Whether the author is active or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:6 of +msgid "The email of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor:7 of +msgid "The name of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor.is_co_author:1 of +msgid "Returns whether the author is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAlphanumericType:1 of +msgid "An enumeration." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.version.Version:1 of +msgid "A class representing how a version is structured for a 3rd party library." +msgstr "" + +#: interactions.ext.version.Version:4 of +msgid "" +"This class respects the design and application of Semantic Versioning " +"2.0.0, (SemVer) a widely accepted standardisation of version control for " +"modules and projects." +msgstr "" + +#: interactions.ext.version.Version:8 of +msgid "The major version." +msgstr "" + +#: interactions.ext.version.Version:9 of +msgid "The minor version." +msgstr "" + +#: interactions.ext.version.Version:10 of +msgid "The patch version." +msgstr "" + +#: interactions.ext.version.Version:11 of +msgid "The authors tied to the version release." +msgstr "" + +#: interactions.ext.version.Version:12 of +msgid "The representation of the version." +msgstr "" + +#: interactions.ext.version.Version:13 of +msgid "The alphanumeric typing of the version." +msgstr "" + +#: interactions.ext.version.Version.major:1 of +msgid "Returns the major version." +msgstr "" + +#: interactions.ext.version.Version.minor:1 of +msgid "Returns the minor version." +msgstr "" + +#: interactions.ext.version.Version.patch:1 of +msgid "Returns the patch version." +msgstr "" + +#: interactions.ext.version.Version.author:1 of +msgid "" +"Returns the author of the version. If multiple authors exist, it will " +"choose the only one that is not a co-author." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Returns" +msgstr "" + +#: interactions.ext.version.Version.author:4 of +msgid "The author of the version, if one exists." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Return type" +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.extend_version of +msgid "Raises" +msgstr "" + +#: interactions.ext.version.Version.author:6 of +msgid "Too many main authors were found." +msgstr "" + +#: interactions.ext.version.Version.authors:1 of +msgid "Returns the list of authors under the version." +msgstr "" + +#: interactions.ext.version.Version.authors:3 of +msgid "The authors of the version, if any exist." +msgstr "" + +#: interactions.ext.version.Version.is_alphanumeric:1 of +msgid "Returns whether the version is alphanumeric or not." +msgstr "" + +#: interactions.ext.version.Version.extend_version:1 of +msgid "Allows the version to be extended upon with an alphanumeric format." +msgstr "" + +#: interactions.ext.version.Version.extend_version of +msgid "Parameters" +msgstr "" + +#: interactions.ext.version.Version.extend_version:3 of +msgid "" +"Key-word arguments to be supplied as ``alpha``, ``beta`` or ``rc`` " +"respectively." +msgstr "" + +#: interactions.ext.version.Version.extend_version:5 of +msgid "The new version with the alphanumeric." +msgstr "" + +#: interactions.ext.version.Version.extend_version:7 of +msgid "The alphanumeric version was incorrectly formatted." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/faq.po b/docs/locale/pl/LC_MESSAGES/faq.po index aa58e9a37..be61d009d 100644 --- a/docs/locale/pl/LC_MESSAGES/faq.po +++ b/docs/locale/pl/LC_MESSAGES/faq.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,28 +30,21 @@ msgstr "" #: ../../faq.rst:8 msgid "" -"This page is maintained by the Helpers of the Discord server, and updated" -" by the library developer at their discretion. For any comments, feedback" -" or concerns please consider joining our server and bringing it up in our" -" support channels." +"This page is maintained by the Helpers of the Discord server, and " +"developers at their discretion. For any comments, feedback or concerns " +"please consider joining our server and bringing it up in our support " +"channels." msgstr "" -#: ../../faq.rst:15 -msgid "" -"This FAQ list currently reflects v4.0 as of the time of this writing, all" -" other versions are considered deprecated. Because of this, there will " -"not be any answers for questions regarding v3.0 and below." -msgstr "" - -#: ../../faq.rst:20 +#: ../../faq.rst:14 msgid "discord.py is dead! Will this library die too?" msgstr "" -#: ../../faq.rst:21 ../../faq.rst:31 +#: ../../faq.rst:15 ../../faq.rst:25 msgid "The short answer is: **no**." msgstr "" -#: ../../faq.rst:23 +#: ../../faq.rst:17 msgid "" "The decision to become a standalone library that is now an API wrapper " "for the Discord API was made before Danny posted his gist on GitHub about" @@ -59,24 +52,24 @@ msgid "" "the library developer regarding this:" msgstr "" -#: ../../faq.rst:30 +#: ../../faq.rst:24 msgid "Are you going to/will/consider fork(ing) discord.py?" msgstr "" -#: ../../faq.rst:33 +#: ../../faq.rst:27 msgid "" "The long answer is a list of numerous reasons as to why this decision was" " made:" msgstr "" -#: ../../faq.rst:35 +#: ../../faq.rst:29 msgid "" "There are/will be numerous forks out there for discord.py, and because of" " that, we cannot safely guarantee our ability to help users out who may " "be using their own form of modified code." msgstr "" -#: ../../faq.rst:36 +#: ../../faq.rst:30 msgid "" "The original purpose of this library was to act as an extension of " "discord.py, but due to the issue of constantly having to monkeypatch " @@ -85,7 +78,7 @@ msgid "" "not change anything from our issue of avoiding this." msgstr "" -#: ../../faq.rst:37 +#: ../../faq.rst:31 msgid "" "The goal of this library is to solely implement support and integrate the" " use of interactions from the Discord API. Making this library unique in " @@ -93,7 +86,7 @@ msgid "" "standards at the time." msgstr "" -#: ../../faq.rst:38 +#: ../../faq.rst:32 msgid "" "The message intent will inevitably be forced as a privileged intent in " "April 2022. The practicality of trying to support message commands will " @@ -102,7 +95,7 @@ msgid "" "reason for applying for this privileged intent." msgstr "" -#: ../../faq.rst:39 +#: ../../faq.rst:33 msgid "" "Forking discord.py would be a massive change to our current codebase, " "throwing away all of the effort we've put into it so far, and basically " @@ -112,39 +105,51 @@ msgid "" " this is pointless." msgstr "" -#: ../../faq.rst:42 +#: ../../faq.rst:36 msgid "Will discord.py be able to work with this library?" msgstr "" -#: ../../faq.rst:43 +#: ../../faq.rst:37 msgid "The short answer is: **yes.**" msgstr "" -#: ../../faq.rst:45 +#: ../../faq.rst:39 msgid "" "However, the term \"work\" is loosely structured here. Imagine it like " "taping a hole in the wall instead of repairing the wall. We're " "essentially \"plastering\" support for discord.py instead of doing the " "surgery on its internal organs to make it work well with our library. As " -"it currently stands, **discord-interactions and discord.py** are API " -"wrappers. You will be able to run code *alongside* one another, and you " -"will be able to plug in some classes, but the data conversion **must be " -"exact.**" +"it currently stands, **interactions.py and discord.py** are API wrappers." +" You will be able to run code *alongside* one another, and you will be " +"able to plug in some classes, but the data conversion **must be exact.**" msgstr "" -#: ../../faq.rst:50 +#: ../../faq.rst:44 msgid "What does that mean? Well, we'll show you:" msgstr "" -#: ../../faq.rst:74 +#: ../../faq.rst:73 msgid "" "Both of these variables ``interactions`` and ``dpy`` will be able to run " "in the same established environment, and additionally will both function " -"properly as their respective libraries intend them to. What about the " -"models, though? That's a simple answer:" +"properly as their respective libraries intend them to. This " +"implementation uses asyncio.gather to execute both starts simultaneously " +"as asyncio tasks, and runs them under one singular loop." msgstr "" -#: ../../faq.rst:90 +#: ../../faq.rst:77 +msgid "" +"Compared to traditional startup commands, ``interactions.ready()`` and " +"``dpy.start()`` is used instead of the typical ``interactions.start()`` " +"and ``dpy.run()`` methods because of synchronous/async functions. " +"``asyncio.gather()`` works with coroutines, hence the transition." +msgstr "" + +#: ../../faq.rst:81 +msgid "What about the models, though? That's a simple answer:" +msgstr "" + +#: ../../faq.rst:96 msgid "" "Both of these will be able to both run and give their proper value. It is" " *very* important to note here, though, that you **must** be returning " @@ -153,22 +158,76 @@ msgid "" "that is going on here." msgstr "" -#: ../../faq.rst:95 +#: ../../faq.rst:101 +msgid "Where should we go with discord.py being gone?" +msgstr "" + +#: ../../faq.rst:102 +msgid "" +"The most *biased* answer would be to, of course, *use interactions.py.* " +"We already offer a lot of the integral API wrapper aspects as discord.py " +"does, however, we only specialize in interactions. Which means things " +"such as these won't be supported officially by us (but might be available" +" as 3rd parties):" +msgstr "" + +#: ../../faq.rst:106 +msgid "Cooldowns" +msgstr "" + +#: ../../faq.rst:107 +msgid "Message commands" +msgstr "" + +#: ../../faq.rst:108 +msgid "Voice clients" +msgstr "" + +#: ../../faq.rst:110 +msgid "" +"There are other libraries of course though. As a general rule of thumb, " +"if you're looking to do mainly slash commands and that tidbit then we " +"highly recommend using our library, especially as **discord-components** " +"merges as of version 4.0. But if you want something way more open and " +"versatile, then we recommend these sources:" +msgstr "" + +#: ../../faq.rst:114 +msgid "`Pycord`_ (the most actively maintained)." +msgstr "" + +#: ../../faq.rst:115 +msgid "`NAFF`_ (high level, \"hackable\" API wrapper with ease of modification)." +msgstr "" + +#: ../../faq.rst:116 +msgid "`nextcord`_ (more abstract and fast approach to the Discord API)." +msgstr "" + +#: ../../faq.rst:118 +msgid "" +"It's personally recommended from the library developer to seek these " +"paths instead of sticking to an older version of a library, e.g. " +"discord.py 1.7.3 or 2.0.0a as they can eventually become deprecated with " +"more pending changes to the API by Discord engineers." +msgstr "" + +#: ../../faq.rst:122 msgid "Why are you not supporting cooldowns?" msgstr "" -#: ../../faq.rst:96 +#: ../../faq.rst:123 msgid "" "Cooldowns aren't really an actual feature of the Discord API itself, but " "rather more of a convienent feature implemented in discord.py in order to" " avoid spamming of commands." msgstr "" -#: ../../faq.rst:99 +#: ../../faq.rst:126 msgid "**What if people spam slash/sub commands?**" msgstr "" -#: ../../faq.rst:101 +#: ../../faq.rst:128 msgid "" "That's the neat part: it's really hard to do that, and most of the time, " "they won't. Unless they copy the exact string that was used when you open" @@ -181,11 +240,11 @@ msgid "" "library." msgstr "" -#: ../../faq.rst:108 +#: ../../faq.rst:135 msgid "Will we not be able to create message commands?" msgstr "" -#: ../../faq.rst:109 +#: ../../faq.rst:136 msgid "" "This is a tricky question to really answer. If you want the *technical* " "answer: you can definitely create them with our library, however, you'll " @@ -197,16 +256,51 @@ msgid "" "handler framework before in their entire life." msgstr "" -#: ../../faq.rst:118 +#: ../../faq.rst:144 +msgid "" +"I'm getting \"``AttributeError: HTTPClient not found!``\" when I try to " +"execute helper methods!" +msgstr "" + +#: ../../faq.rst:145 +msgid "Probably you are doing something like this:" +msgstr "" + +#: ../../faq.rst:152 +msgid "" +"And the error occurs in the line where you try to send something. You can" +" fix this easy by adding one argument:" +msgstr "" + +#: ../../faq.rst:159 +msgid "" +"You have to add this extra argument for every object you instantiate by " +"yourself if you want to use it's methods" +msgstr "" + +#: ../../faq.rst:163 +msgid "" +"Context and Messages don't have the ``Channel`` and ``Guild`` attributes!" +" Why?" +msgstr "" + +#: ../../faq.rst:164 +msgid "" +"At the moment the Discord API does *not* include them into their " +"responses. You can get those object via the ``get_channel()`` and " +"``get_guild()`` methods of the Context and Message model." +msgstr "" + +#: ../../faq.rst:169 msgid "My question is not answered on here!" msgstr "" -#: ../../faq.rst:119 +#: ../../faq.rst:170 msgid "" "Please join our Discord server for any further support regarding our " "library and/or any integration code depending on it." msgstr "" -#: ../../faq.rst:121 +#: ../../faq.rst:172 msgid "Invite Link: https://discord.gg/KkgMBVuEkx" msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/gettingstarted.po b/docs/locale/pl/LC_MESSAGES/gettingstarted.po deleted file mode 100644 index 68d69eec9..000000000 --- a/docs/locale/pl/LC_MESSAGES/gettingstarted.po +++ /dev/null @@ -1,646 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../gettingstarted.rst:2 -msgid "Getting Started" -msgstr "" - -#: ../../gettingstarted.rst:5 -msgid "Where do we start?" -msgstr "" - -#: ../../gettingstarted.rst:7 -msgid "" -"Before we begin getting started on everything else, it is recommended to " -"check out the `quickstart`_ page first to get a basic grip on making " -"slash commands for your bot." -msgstr "" - -#: ../../gettingstarted.rst:12 -msgid "Making a slash command." -msgstr "" - -#: ../../gettingstarted.rst:15 -msgid "The basics." -msgstr "" - -#: ../../gettingstarted.rst:17 -msgid "" -"First, let's explain by how commands are parsed through the Discord Bot " -"API." -msgstr "" - -#: ../../gettingstarted.rst:19 -msgid "" -"As you may know, Discord relies a lot on the interaction of HTTP Requests" -" and JSON tables. As is with the case here, commands are the exact same " -"way with having JSON tables to structure the design of it for Discord to " -"understand. We can apply this information likewise with how slash " -"commands are to be designed in the Python code. Below attached is from " -"the *Discord Developer Portal* on Slash Commands for showing how they are" -" designed." -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Field**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Type**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Description**" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -msgid "name" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:31 -#: ../../gettingstarted.rst:79 ../../gettingstarted.rst:81 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -#: ../../gettingstarted.rst:413 ../../gettingstarted.rst:415 -#: ../../gettingstarted.rst:417 ../../gettingstarted.rst:419 -msgid "string" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -msgid "1-32 character name matching ``^[\\w-]{1,32}$``." -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "description" -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "1-100 character description." -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "options?" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "array of `ApplicationCommandOption`_" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "" -"if the option is a subcommand or subcommand group type, this nested " -"options will be the parameters." -msgstr "" - -#: ../../gettingstarted.rst:36 -msgid "" -"This table shows us the way that Discord handles the structure of " -"commands for slash commands through their Bot API. For visualization " -"purposes, we'll quickly make a JSON example (although we won't be using " -"it) in order to explain how this works:" -msgstr "" - -#: ../../gettingstarted.rst:48 -msgid "" -"Now that we have a basic understanding of how the JSON table works, we " -"can take this knowledge and convert it into a decorator method for the " -"Python code as shown below:" -msgstr "" - -#: ../../gettingstarted.rst:59 -msgid "" -"Now that we've gone over how Discord handles the declaration of slash " -"commands through their Bot API, let's go over what some of the other " -"things mean within the *logical* part of our code, the command function:" -msgstr "" - -#: ../../gettingstarted.rst:65 -msgid "Giving some options for variety." -msgstr "" - -#: ../../gettingstarted.rst:67 -msgid "" -"The next thing that we will begin to talk about is the implementation of " -"options, otherwise well-known as \"arguments\" in discord.py commands." -msgstr "" - -#: ../../gettingstarted.rst:70 -msgid "" -"The JSON structure of options are designed up to be similar to the same " -"premise of how a slash command is declared. Below is the given table of " -"how an option JSON would appear as:" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:245 -#: ../../gettingstarted.rst:333 -msgid "type" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:243 -#: ../../gettingstarted.rst:245 ../../gettingstarted.rst:333 -msgid "int" -msgstr "" - -#: ../../gettingstarted.rst:77 -msgid "value of `ApplicationCommandOptionType`_." -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "default?" -msgstr "" - -#: ../../gettingstarted.rst:83 ../../gettingstarted.rst:85 -msgid "bool" -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "" -"the first required option for the user to complete--only one option can " -"be default." -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "required?" -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "if the parameter is required or optional--default ``false``." -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices?" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "array of `ApplicationCommandOptionChoice`_" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices for ``string`` and ``int`` types for the user to pick from." -msgstr "" - -#: ../../gettingstarted.rst:92 -msgid "" -"Now we have an idea of how options are declared. With this in mind, let's" -" quickly make a JSON example in order to visualize this concept even " -"further:" -msgstr "" - -#: ../../gettingstarted.rst:110 -msgid "" -"While the table in the basics mentions an array in particular called " -"``ApplicationCommandOptionType``, there isn't that much of an explanation" -" on how this works. Let's put this into better laymen terms on what this " -"means with a table below showing all of these values:" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Name**" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Value**" -msgstr "" - -#: ../../gettingstarted.rst:117 -msgid "SUB_COMMAND" -msgstr "" - -#: ../../gettingstarted.rst:117 ../../gettingstarted.rst:257 -#: ../../gettingstarted.rst:352 -msgid "1" -msgstr "" - -#: ../../gettingstarted.rst:119 -msgid "SUB_COMMAND_GROUP" -msgstr "" - -#: ../../gettingstarted.rst:119 ../../gettingstarted.rst:259 -#: ../../gettingstarted.rst:354 -msgid "2" -msgstr "" - -#: ../../gettingstarted.rst:121 -msgid "STRING" -msgstr "" - -#: ../../gettingstarted.rst:121 ../../gettingstarted.rst:356 -msgid "3" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "INTEGER" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "4" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "BOOLEAN" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "5" -msgstr "" - -#: ../../gettingstarted.rst:127 ../../gettingstarted.rst:354 -msgid "USER" -msgstr "" - -#: ../../gettingstarted.rst:127 -msgid "6" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "CHANNEL" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "7" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "ROLE" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "8" -msgstr "" - -#: ../../gettingstarted.rst:134 -msgid "" -"The purpose of having the ``ApplicationCommandOptionType`` value passed " -"into our option JSON structure is so that we can help the Discord UI " -"understand what kind of value we're inputting here. For instance, if " -"we're wanting to put in a string response, we'll pass the ID 3 so that " -"the UI of Discord chat bar knows to format it visually this way. If we're" -" looking for a user, then we'll pass ID 6 so that it presents us with a " -"list of users in our server instead, making it easier on our lives." -msgstr "" - -#: ../../gettingstarted.rst:140 -msgid "" -"This is not to be confused, however, with formatting the response type " -"itself. This is merely a method so that the API wrapper can help us with " -"passing the correct type or instance variable with the arguments of the " -"command function's code." -msgstr "" - -#: ../../gettingstarted.rst:144 -msgid "" -"Now, we can finally visualize this by coding an example of this being " -"used in the Python code shown below." -msgstr "" - -#: ../../gettingstarted.rst:163 -msgid "" -"Additionally, we could also declare the type of our command's option " -"through this method shown here:" -msgstr "" - -#: ../../gettingstarted.rst:174 -msgid "More in the option? Give them a choice." -msgstr "" - -#: ../../gettingstarted.rst:176 -msgid "" -"Alas, there is also a way to give even more information to options with " -"Discord's Slash Commands: a choice. Not like something that you're given " -"at birth of when you become of legal age as an adult, we're not here to " -"give you *that* kind of life advice, but the choice of what value you " -"want your option to rather pass. Below is a table that shows the JSON " -"structure of how choices are represented for an option:" -msgstr "" - -#: ../../gettingstarted.rst:185 -msgid "1-32 character choice name." -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "string or int" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value of the choice, up to 100 characters if string." -msgstr "" - -#: ../../gettingstarted.rst:190 -msgid "" -"This time, only 2 fields are able to be passed for this. Below is a JSON " -"example of how this would be designed:" -msgstr "" - -#: ../../gettingstarted.rst:200 -msgid "" -"To make it really simple, the ``name`` field is only to be used for how " -"you want the choice to be presented through Discord's UI. It's the " -"\"appearance\" of how you want your choice shown, not the actual returned" -" value of it. Hence, this is why ``value`` is the second field passed for" -" that, which can be either in the form of a string or integer. Below is " -"an implementation of this design in the Python code:" -msgstr "" - -#: ../../gettingstarted.rst:233 -msgid "Want to restrict access? Setup permissions!" -msgstr "" - -#: ../../gettingstarted.rst:235 -msgid "" -"Slash commands also support the ability to set permissions to allow only " -"certain roles and/or users to run a slash command. Permissions can be " -"applied to both global and guild based commands. They are defined per " -"guild, per top-level command (the base command for subcommands), and each" -" guild can have multiple permissions. Here is the table that shows the " -"JSON structure of how permissions are represented:" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "id" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "" -"Snowflake value of type specified. Represents the target to apply " -"permissions on." -msgstr "" - -#: ../../gettingstarted.rst:245 -msgid "An `ApplicationCommandPermissionType`_." -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "permission" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "boolean" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "``True`` to allow, ``False`` to disallow." -msgstr "" - -#: ../../gettingstarted.rst:250 -msgid "" -"How the type parameter works is very simple. Discord has many ids to " -"represent different things. As you can set permissions to apply for User " -"or Role, `ApplicationCommandPermissionType`_ is used. It's a number and " -"following table shows the supported id types for permissions:" -msgstr "" - -#: ../../gettingstarted.rst:257 -msgid "Role" -msgstr "" - -#: ../../gettingstarted.rst:259 -msgid "User" -msgstr "" - -#: ../../gettingstarted.rst:262 -msgid "" -"This is an example of how a single permission will look when represented " -"as a json object:" -msgstr "" - -#: ../../gettingstarted.rst:272 -msgid "" -"Now, let take a look at an example. The slash command decorator has a " -"permissions parameter where it takes in a dictionary. The key being the " -"guild id to apply permissions on, and value being the list of permissions" -" to apply. For each permission, we can use the handy " -"``create_permission`` method to build the permission json explained " -"above." -msgstr "" - -#: ../../gettingstarted.rst:277 -msgid "" -"In this case, we are setting 2 permissions for a guild with an id of " -"``12345678``. Firstly, we are allowing role with id ``99999999`` and " -"disallowing user with id ``88888888`` from running the slash command." -msgstr "" - -#: ../../gettingstarted.rst:296 -msgid "" -"Alternatively, you can use the ``@slash.permission`` decorator to define " -"your guild permissions for the command as show in the following example:" -msgstr "" - -#: ../../gettingstarted.rst:315 -msgid "But what about buttons?" -msgstr "" - -#: ../../gettingstarted.rst:316 -msgid "" -"This library supports components (buttons, actionrows, selects, etc.). " -"Take a look here: `components`_." -msgstr "" - -#: ../../gettingstarted.rst:319 -msgid "Making a message/menu command." -msgstr "" - -#: ../../gettingstarted.rst:320 -msgid "" -"Lucky for you, this library has recently added support for context menus!" -" Let's take a look into how they're designed." -msgstr "" - -#: ../../gettingstarted.rst:322 -msgid "" -"Please note that the current limit for context menus with the Discord API" -" is **5.**" -msgstr "" - -#: ../../gettingstarted.rst:324 -msgid "" -"A menu command (context menu) is an easy way for bot developers to " -"program optionless and choiceless commands into their bot which can be " -"easily accessible by right clicking on a user and/or message present. " -"Below is a table of the supported keys and values:" -msgstr "" - -#: ../../gettingstarted.rst:331 -msgid "The name of the context menu command." -msgstr "" - -#: ../../gettingstarted.rst:333 -msgid "An `ApplicationCommandType`_." -msgstr "" - -#: ../../gettingstarted.rst:336 -msgid "" -"The following table below represents how it would be shown as a JSON " -"object:" -msgstr "" - -#: ../../gettingstarted.rst:345 -msgid "" -"The following table explains more about the ``type`` parameter being " -"passed, which there are three of: ``CHAT_INPUT``, ``USER`` and " -"``MESSAGE``. By default, the type will always be the first. This is " -"because it is a registered type that is used to process slash commands, " -"and should not be used for when you are declaring context menu commands " -"in your bot's code at all:" -msgstr "" - -#: ../../gettingstarted.rst:352 -msgid "CHAT_INPUT" -msgstr "" - -#: ../../gettingstarted.rst:356 -msgid "MESSAGE" -msgstr "" - -#: ../../gettingstarted.rst:359 -msgid "" -"Unlike ``manage_commands`` and ``manage_components``, you will have to " -"use a decorator for now to register them:" -msgstr "" - -#: ../../gettingstarted.rst:375 -msgid "" -"The ``@slash.context_menu`` decorator takes in the context type as given " -"(to either appear when you right-click on a user or when you right-click " -"on a message) as well as the name of the command, and any guild IDs if " -"given if you would like to make it applicable to only a guild. **We only " -"accept connected names** for the time being, although context menus will " -"have the ability to have spaces in their name in the future when " -"development further progresses." -msgstr "" - -#: ../../gettingstarted.rst:379 -msgid "" -"You are able to also use the ``@cog_ext.cog_context_menu`` path which " -"will require an import from ``cog_ext.py`` respectively, however, it is " -"worth nothing that the ``target`` kwarg for the decorator **must** be " -"brought to the very end." -msgstr "" - -#: ../../gettingstarted.rst:383 -msgid "Can I use components with context menus?" -msgstr "" - -#: ../../gettingstarted.rst:384 -msgid "" -"Of course! However, you will need to add in some additional code in order" -" for both of the separate contexts to work seamlessly. Below is the given" -" code of what will need to be changed:" -msgstr "" - -#: ../../gettingstarted.rst:399 -msgid "Hey, what about component/[X] listening?" -msgstr "" - -#: ../../gettingstarted.rst:400 -msgid "" -"The decision has been made that this will not be implemented because of " -"two reasons: context menus currently have no ability to hold any options " -"or choices, so listening for any responses would be currently pointless. " -"Additionally, component listening is already a built-in feature that does" -" not require further customized and new decorators for explicitly context" -" menus, as they're more universal." -msgstr "" - -#: ../../gettingstarted.rst:405 -msgid "Nested commands as subcommands." -msgstr "" - -#: ../../gettingstarted.rst:406 -msgid "" -"Before you get into learning how to create a subcommand, please be sure " -"to read up on the documentation above given for how slash commands are " -"made." -msgstr "" - -#: ../../gettingstarted.rst:408 -msgid "" -"Subcommands are way to \"nest\" your slash commands under one (or more) " -"given names, as either a \"base\" name or a \"grouping\" of an existing " -"base. When this is said, it will initially appear very confusing. Let's " -"use the table shown below as a way to introduce the new fields/properties" -" that can be applied for a slash command to become a subcommand:" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "base" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "The name of the subcommand \"base.\"" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "subcommand_group" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "The name for the group of commands under the \"base.\" Field is optional." -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "base_description" -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "" -"The description when the base is active in the UX chat bar. Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "subcommand_group_description" -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "" -"The name for the group of commands under the \"base.\" Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:423 -msgid "Handling my errors." -msgstr "" - -#: ../../gettingstarted.rst:425 -msgid "" -"Thankfully, we try to make a majority of our error handling very simple. " -"If you would like to learn more about how to handle your errors, please " -"refer to our `errors`_ page. If you are looking for listener events, then" -" check our `listeners`_ page instead." -msgstr "" - -#: ../../gettingstarted.rst:428 -msgid "" -"As a side-note, as of version 3.0, message/menu commands (context menus) " -"are handled under the ``on_slash_command_error`` event." -msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/index.po b/docs/locale/pl/LC_MESSAGES/index.po index 270a136d5..62d4c17de 100644 --- a/docs/locale/pl/LC_MESSAGES/index.po +++ b/docs/locale/pl/LC_MESSAGES/index.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,108 +18,243 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../index.rst:38 +#: ../../index.rst:47 msgid "Pages:" msgstr "" #: ../../index.rst:4 -msgid "discord-interactions" +msgid "interactions.py" msgstr "" #: ../../index.rst:5 msgid "" -"No more hassle with trying to get interactions to work with your Python " -"Discord bot -- **discord-interactions** is now here." +"Ever since December 2019, this open-source project has become the " +"culmination of dedication and research towards figuring out the best way " +"to bring **interactions from Discord to you:** we are an easy, simple, " +"scalable and modular library for Discord interactions." +msgstr "" + +#: ../../index.rst:7 +msgid "" +"Tired of using numerous module dependencies for slash commands and " +"buttons?" msgstr "" #: ../../index.rst:8 +msgid "Looking for a compatible library that implements all interactions?" +msgstr "" + +#: ../../index.rst:9 +msgid "Itching to get your hands on slash commands, but in a simple manner?" +msgstr "" + +#: ../../index.rst:11 msgid "" -"**discord-interactions** is a simple API wrapper for Discord " -"interactions. We're not here to replace discord.py or any other fork, but" -" we are here to be the very best Python Discord library there is that " -"implements interactions very well. This is what our library is all about." +"Look no more! The goal of this library is to make all three of these " +"questions go from possibilites to trivial matters." msgstr "" #: ../../index.rst:14 -msgid "What are we good for?" +msgid "What can we do?" msgstr "" #: ../../index.rst:15 -msgid "We offer a **lot** of benefits with using our library:" +msgid "" +"Our library---inside and out, offers numerous benefits and presents " +"itself as a worthy module in your bot's dependencies:" msgstr "" #: ../../index.rst:17 -msgid "Modern pythonic design that is scalable and modular." -msgstr "" - -#: ../../index.rst:18 -msgid "Asynchronous coroutines and multi-threading capabilities." +msgid "The base features of our library, built with our API include:" msgstr "" #: ../../index.rst:19 -msgid "Optimal class object reference with little overhead." +msgid "" +"**Dynamic object data generation**: all event data dispatched from the " +"Gateway is dynamically transformed and generated into two-way " +"serializable JSON objects." msgstr "" #: ../../index.rst:20 -msgid "Easily accessible codebase source." +msgid "" +"**Sane rate limiting**: our HTTP client implements pre-emptive rate limit" +" avoidance, so your bot is guaranteed to never hit HTTP ``429``." msgstr "" #: ../../index.rst:21 -msgid "Stable/unstable branches for managing module stability when importing." +msgid "" +"**On-demand cache**: every HTTP request and Gateway event made is cached " +"when needed, so you never have to save information yourself." +msgstr "" + +#: ../../index.rst:22 +msgid "" +"**Simplified data models**: every object presented is accessible as " +"either a raw dictionary/``application/json`` or list of recursive " +"attributes." msgstr "" #: ../../index.rst:24 -msgid "What does that mean?" +msgid "Some more unique features that are exclusive to our interactions include:" msgstr "" -#: ../../index.rst:25 -msgid "Basically, we're good and bad for these things:" +#: ../../index.rst:26 +msgid "" +"**Event-triggered callbacks**: whether a component, application command " +"or interaction response, you'll never need to worry about bridging " +"responses." msgstr "" #: ../../index.rst:27 -msgid "✔️ Working with application commands." +msgid "" +"**Dual-way decorator logic**: a decorator can act as both a constructor " +"for an interaction, as well as a callback." msgstr "" #: ../../index.rst:28 -msgid "✔️ Handling contextual data cached from all channels." +msgid "" +"**API-strict naming**: no more confusion with the naming approach of many" +" libraries; we follow the naming style of interactions from the " +"officially curated Discord Developers documentation." msgstr "" #: ../../index.rst:29 -msgid "✔️ General/basic assignment of guild properties to members." +msgid "" +"**Extensive framework structure**: build your own tools and technologies " +"for our library to develop and integrate community creations." msgstr "" -#: ../../index.rst:30 -msgid "✔️ Responsive callbacks for buttons and select menus." +#: ../../index.rst:32 +msgid "What do we not offer?" msgstr "" -#: ../../index.rst:31 -msgid "✔️ Voice client capabilities." +#: ../../index.rst:33 +msgid "" +"While we certainly offer a lot of benefits, we unfortunately have our own" +" downsides:" msgstr "" -#: ../../index.rst:32 -msgid "❌ Cooldowns/bucket types." +#: ../../index.rst:36 +msgid "" +"This list is subject to change as time goes on: some of these items may " +"be added to the core of the library in the future." +msgstr "" + +#: ../../index.rst:40 +msgid "No native cooldown decorator/method." msgstr "" -#: ../../index.rst:35 +#: ../../index.rst:41 +msgid "Lack of automatic sharding and voice clients." +msgstr "" + +#: ../../index.rst:44 msgid "Where do I start?" msgstr "" -#: ../../index.rst:36 -msgid "Please look at our pages below to find out where to go further." +#: ../../index.rst:45 +msgid "Please look at our pages below to find out where to go." msgstr "" -#: ../../index.rst:47 +#: ../../index.rst:57 +msgid "How can I contribute?" +msgstr "" + +#: ../../index.rst:58 +msgid "" +"Please read up on our `contribution requirements`_ for the project. This " +"open-source project also enforces the `MIT License`_." +msgstr "" + +#: ../../index.rst:60 +msgid "This open-source project utilizes the following workflows for development:" +msgstr "" + +#: ../../index.rst:62 +msgid "" +"**pre-commit** ``2.16.0``: the architecture uses this before every commit" +" to format and check for severity/QOL-breaking changes." +msgstr "" + +#: ../../index.rst:64 +msgid "**black** ``21.11b1``" +msgstr "" + +#: ../../index.rst:65 +msgid "**flake8** ``3.9.2``" +msgstr "" + +#: ../../index.rst:66 +msgid "**isort** ``5.9.3``" +msgstr "" + +#: ../../index.rst:68 +msgid "" +"**Sphinx** ``4.1.2``: all of our documentation is powered off of " +"autogenerated documentation of the Sphinx engine." +msgstr "" + +#: ../../index.rst:69 +msgid "" +"**colorama** ``0.4.4``: our internal logger uses a customized coloring " +"formatter to make looking for specific conditions easier when running " +"tests." +msgstr "" + +#: ../../index.rst:70 +msgid "" +"**Conventional Commits** ``1.0.0``: every commit that we make to our " +"branches use the official specification of CC 1.0.0 to make git graphs " +"easier when improving and refining communication between code reviews, " +"Pull Requests and commits." +msgstr "" + +#: ../../index.rst:73 +msgid "When can I start?" +msgstr "" + +#: ../../index.rst:74 +msgid "" +"We also have some extra ground rules about making any specific " +"contributions involving:" +msgstr "" + +#: ../../index.rst:76 +msgid "" +"We do not accept abstraction-based requests. (e.g. ``colour`` for " +"``color``)" +msgstr "" + +#: ../../index.rst:77 +msgid "A request has to be approved by at least one developer." +msgstr "" + +#: ../../index.rst:78 +msgid "" +"You must be willing to change/adhere to reviews from participants **where" +" necessary.**" +msgstr "" + +#: ../../index.rst:81 +msgid "I think I'm all ready!" +msgstr "" + +#: ../../index.rst:82 +msgid "Feel free to begin making `Pull Requests`_ and `Issues`_ on our GitHub!" +msgstr "" + +#: ../../index.rst:85 msgid "Advanced Search" msgstr "" -#: ../../index.rst:49 +#: ../../index.rst:87 msgid ":ref:`genindex`" msgstr "" -#: ../../index.rst:50 +#: ../../index.rst:88 msgid ":ref:`modindex`" msgstr "" -#: ../../index.rst:51 +#: ../../index.rst:89 msgid ":ref:`search`" msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/migration.po b/docs/locale/pl/LC_MESSAGES/migration.po new file mode 100644 index 000000000..d07c11207 --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/migration.po @@ -0,0 +1,101 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../migration.rst:2 +msgid "Migration" +msgstr "" + +#: ../../migration.rst:4 +msgid "" +"This page aims to serve as a guide towards helping users understand any " +"breaking or otherwise important design choices made between versions to " +"guide towards easy migration between one another." +msgstr "" + +#: ../../migration.rst:8 +msgid "4.0.1 → 4.0.2" +msgstr "" + +#: ../../migration.rst:10 +msgid "" +"The biggest major change between these two versions is the way " +"``HTTPClient`` and modelled API schema objects are used. In ``4.0.2``, a " +"new ``_client`` attribute is added in model objects in order to use " +"helper methods. This will not be needed if you're working with dispatched" +" events from the Gateway, however, manually generating your own model " +"object for use will need it appended as a key-word argument. The example " +"below shows this change:" +msgstr "" + +#: ../../migration.rst:25 +msgid "" +"This change was added in favor for being able to use endpoints in an " +"abstracted state." +msgstr "" + +#: ../../migration.rst:28 +msgid "4.0.2 → 4.1.0" +msgstr "" + +#: ../../migration.rst:30 +msgid "" +"``4.1.0`` introduces numerous breaking changes that affect the bot " +"developers' ability to work with mainly modifying the way our Gateway " +"processes information, as well as supplying a ``reason`` argument to " +"``HTTPClient``-based methods." +msgstr "" + +#: ../../migration.rst:33 +msgid "" +"In this version, you are no longer required to give a ``reason`` for " +"every HTTP request. You can instead send it as an optional, which will " +"work to keep any existing modifications of our codebase from breaking." +msgstr "" + +#: ../../migration.rst:36 +msgid "" +"Additionally, modifying the way information is dispatched from the " +"Gateway must be done like this now:" +msgstr "" + +#: ../../migration.rst:49 +msgid "" +"We recommend that working in correspondence with this, you should be " +"making use of our ``interactions.ext`` SDK framework." +msgstr "" + +#: ../../migration.rst:51 +msgid "" +"A slight, yet another breaking change we made was dundering numerous " +"attributes in our internal models. You will now need to refer to the " +"client's HTTP object as ``_http`` instead of ``http``. In order to view " +"the full list of these, we highly encourage you to view the documentation" +" readily available." +msgstr "" + +#: ../../migration.rst:55 +msgid "" +"The last, and most major change is the introduction of the " +"``MESSAGE_CONTENT`` privileged intent in the library. Because of " +"``4.1.0`` using version 10 of the Discord API, this intent is now " +"required for reading all message content. In order to make sure your bot " +"works still, you will need to enable this intent in your bot's developer " +"portal and add the intent to your current intents when connecting:" +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/models.command.po b/docs/locale/pl/LC_MESSAGES/models.command.po index e7707bfba..063440091 100644 --- a/docs/locale/pl/LC_MESSAGES/models.command.po +++ b/docs/locale/pl/LC_MESSAGES/models.command.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,122 +22,195 @@ msgstr "" msgid "Application Command Models" msgstr "" -#: interactions.models.command.Choice:1 of -msgid "A class object repesenting the choice of an option." +#: interactions.client.models.command.Choice:1 of +msgid "A class object representing the choice of an option." msgstr "" -#: interactions.models.command.Choice:4 of +#: interactions.client.models.command.Choice:4 of msgid "" "``value`` allows ``float`` as a passable value type, whereas it's " "supposed to be ``double``." msgstr "" -#: interactions.models.command.ApplicationCommand -#: interactions.models.command.Choice interactions.models.command.Option -#: interactions.models.command.Permission of +#: interactions.client.models.command.Choice:7 of +msgid "The structure for a choice: ::" +msgstr "" + +#: interactions.client.models.command.ApplicationCommand +#: interactions.client.models.command.Choice +#: interactions.client.models.command.Option +#: interactions.client.models.command.Permission of msgid "Variables" msgstr "" -#: interactions.models.command.Choice:7 of +#: interactions.client.models.command.Choice:11 of msgid "The name of the choice." msgstr "" -#: interactions.models.command.Choice:8 of +#: interactions.client.models.command.Choice:12 of msgid "The returned value of the choice." msgstr "" -#: interactions.models.command.Option:1 of +#: interactions.client.models.command.Choice:13 +#: interactions.client.models.command.Option:32 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.models.command.Option:1 of msgid "A class object representing the option of an application command." msgstr "" -#: interactions.models.command.Option:4 of +#: interactions.client.models.command.Option:4 of msgid "``options`` is only present for when a subcommand has been established." msgstr "" -#: interactions.models.command.Option:7 of +#: interactions.client.models.command.Option:7 of +msgid "" +"``min_values`` and ``max_values`` are useful primarily for integer based " +"options." +msgstr "" + +#: interactions.client.models.command.Option:10 of +msgid "The structure for an option: ::" +msgstr "" + +#: interactions.client.models.command.Option:20 of msgid "The type of option." msgstr "" -#: interactions.models.command.Option:8 of +#: interactions.client.models.command.Option:21 of msgid "The name of the option." msgstr "" -#: interactions.models.command.Option:9 of +#: interactions.client.models.command.Option:22 of msgid "The description of the option." msgstr "" -#: interactions.models.command.Option:10 of +#: interactions.client.models.command.Option:23 of msgid "Whether the option is currently being autocompleted or not." msgstr "" -#: interactions.models.command.Option:11 of +#: interactions.client.models.command.Option:24 of msgid "Whether the option has to be filled out." msgstr "" -#: interactions.models.command.Option:12 of +#: interactions.client.models.command.Option:25 of msgid "The value that's currently typed out, if autocompleting." msgstr "" -#: interactions.models.command.Option:13 of +#: interactions.client.models.command.Option:26 of msgid "The list of choices to select from." msgstr "" -#: interactions.models.command.Option:14 of +#: interactions.client.models.command.Option:27 of msgid "The list of subcommand options included." msgstr "" -#: interactions.models.command.Option:15 of +#: interactions.client.models.command.Option:28 of msgid "Restrictive shown channel types, if given." msgstr "" -#: interactions.models.command.Permission:1 of +#: interactions.client.models.command.Option:29 of +msgid "The minimum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:30 of +msgid "The maximum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:31 of +msgid "A status denoting whether this option is an autocomplete option." +msgstr "" + +#: interactions.client.models.command.Option:33 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.models.command.Permission:1 of msgid "A class object representing the permission of an application command." msgstr "" -#: interactions.models.command.Permission:3 of +#: interactions.client.models.command.Permission:3 of +msgid "The structure for a permission: ::" +msgstr "" + +#: interactions.client.models.command.Permission:10 of msgid "The ID of the permission." msgstr "" -#: interactions.models.command.Permission:4 of +#: interactions.client.models.command.Permission:11 of msgid "The type of permission." msgstr "" -#: interactions.models.command.Permission:5 of +#: interactions.client.models.command.Permission:12 of msgid "The permission state. ``True`` for allow, ``False`` for disallow." msgstr "" -#: interactions.models.command.ApplicationCommand:1 of +#: interactions.client.models.command.ApplicationCommand:1 of msgid "A class object representing all types of commands." msgstr "" -#: interactions.models.command.ApplicationCommand:3 of +#: interactions.client.models.command.ApplicationCommand:4 of +msgid "" +"This object is inferred upon whenever the client is caching information " +"about commands from an HTTP request and/or the Gateway. Do not use this " +"object for declaring commands." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:8 of msgid "The ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:4 of +#: interactions.client.models.command.ApplicationCommand:9 of msgid "The application command type." msgstr "" -#: interactions.models.command.ApplicationCommand:5 of +#: interactions.client.models.command.ApplicationCommand:10 of msgid "The general application ID of the command itself." msgstr "" -#: interactions.models.command.ApplicationCommand:6 of +#: interactions.client.models.command.ApplicationCommand:11 of msgid "The guild ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:7 of +#: interactions.client.models.command.ApplicationCommand:12 of msgid "The name of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:8 of +#: interactions.client.models.command.ApplicationCommand:13 of msgid "The description of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:9 of +#: interactions.client.models.command.ApplicationCommand:14 of msgid "The \"options\"/arguments of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:10 of +#: interactions.client.models.command.ApplicationCommand:15 of msgid "The default permission accessibility state of the application command." msgstr "" + +#: interactions.client.models.command.ApplicationCommand:16 of +msgid "The Application Command version autoincrement identifier." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:17 of +msgid "The default member permission state of the application command." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:18 of +msgid "The application permissions if executed in a Direct Message." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:19 of +msgid "The localisation dictionary for the application command name, if any." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:20 of +msgid "" +"The localisation dictionary for the application command description, if " +"any." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/models.component.po b/docs/locale/pl/LC_MESSAGES/models.component.po index 8e89bd571..97de1c249 100644 --- a/docs/locale/pl/LC_MESSAGES/models.component.po +++ b/docs/locale/pl/LC_MESSAGES/models.component.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,150 +22,290 @@ msgstr "" msgid "Component Models" msgstr "" -#: interactions.models.component.SelectOption:1 of -msgid "A class object representing the select option of a select menu." +#: interactions.client.models.component.SelectOption:1 of +msgid "" +"A class object representing the select option of a select menu. The " +"structure for a select option: ::" msgstr "" -#: interactions.models.component.Button interactions.models.component.Component -#: interactions.models.component.SelectMenu -#: interactions.models.component.SelectOption of +#: interactions.client.models.component.ActionRow +#: interactions.client.models.component.Button +#: interactions.client.models.component.Component +#: interactions.client.models.component.Modal +#: interactions.client.models.component.SelectMenu +#: interactions.client.models.component.SelectOption +#: interactions.client.models.component.TextInput of msgid "Variables" msgstr "" -#: interactions.models.component.SelectOption:3 of +#: interactions.client.models.component.SelectOption:8 of msgid "The label of the select option." msgstr "" -#: interactions.models.component.SelectOption:4 of +#: interactions.client.models.component.SelectOption:9 of msgid "The returned value of the select option." msgstr "" -#: interactions.models.component.SelectOption:5 of +#: interactions.client.models.component.SelectOption:10 of msgid "The description of the select option." msgstr "" -#: interactions.models.component.SelectOption:6 of +#: interactions.client.models.component.SelectOption:11 of msgid "The emoji used alongside the label of the select option." msgstr "" -#: interactions.models.component.SelectOption:7 of +#: interactions.client.models.component.SelectOption:12 of msgid "Whether the select option is the default for the select menu." msgstr "" -#: interactions.models.component.SelectMenu:1 of -msgid "A class object representing the select menu of a component." +#: interactions.client.models.component.SelectMenu:1 of +msgid "" +"A class object representing the select menu of a component. The structure" +" for a select menu: ::" msgstr "" -#: interactions.models.component.SelectMenu:3 of -msgid "The type of select menu." +#: interactions.client.models.component.SelectMenu:8 of +msgid "The type of select menu. Always defaults to ``3``." msgstr "" -#: interactions.models.component.SelectMenu:4 of +#: interactions.client.models.component.SelectMenu:9 of msgid "The customized \"ID\" of the select menu." msgstr "" -#: interactions.models.component.SelectMenu:5 of +#: interactions.client.models.component.SelectMenu:10 of msgid "The list of select options in the select menu." msgstr "" -#: interactions.models.component.SelectMenu:6 of +#: interactions.client.models.component.SelectMenu:11 of msgid "The placeholder of the select menu." msgstr "" -#: interactions.models.component.Component:16 -#: interactions.models.component.SelectMenu:7 of +#: interactions.client.models.component.Component:19 +#: interactions.client.models.component.SelectMenu:12 of msgid "The minimum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.Component:17 -#: interactions.models.component.SelectMenu:8 of +#: interactions.client.models.component.Component:20 +#: interactions.client.models.component.SelectMenu:13 of msgid "The maximum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.SelectMenu:9 of +#: interactions.client.models.component.SelectMenu:14 of msgid "Whether the select menu is unable to be used." msgstr "" -#: interactions.models.component.Button:1 of -msgid "A class object representing the button of a component." +#: interactions.client.models.component.Button:1 of +msgid "" +"A class object representing the button of a component. The structure for " +"a button: ::" msgstr "" -#: interactions.models.component.Button:3 of -msgid "The type of button." +#: interactions.client.models.component.Button:8 of +msgid "The type of button. Always defaults to ``2``." msgstr "" -#: interactions.models.component.Button:4 of +#: interactions.client.models.component.Button:9 of msgid "The style of the button." msgstr "" -#: interactions.models.component.Button:5 of +#: interactions.client.models.component.Button:10 of msgid "The label of the button." msgstr "" -#: interactions.models.component.Button:6 of -msgid "The emoji used alongside the laebl of the button." +#: interactions.client.models.component.Button:11 of +msgid "The emoji used alongside the label of the button." msgstr "" -#: interactions.models.component.Button:7 of +#: interactions.client.models.component.Button:12 of msgid "The customized \"ID\" of the button." msgstr "" -#: interactions.models.component.Button:8 of +#: interactions.client.models.component.Button:13 of msgid "The URL route/path of the button." msgstr "" -#: interactions.models.component.Button:9 of +#: interactions.client.models.component.Button:14 of msgid "Whether the button is unable to be used." msgstr "" -#: interactions.models.component.Component:1 of +#: interactions.client.models.component.Component:1 of msgid "" -"A class object representing the componeent in an interaction " +"A class object representing the component in an interaction " "response/followup." msgstr "" -#: interactions.models.component.Component:4 of +#: interactions.client.models.component.Component:4 of msgid "" "``components`` is only applicable if an ActionRow is supported, otherwise" " ActionRow-less will be opted. ``list`` is in reference to the class." msgstr "" -#: interactions.models.component.Component:7 of +#: interactions.client.models.component.Component:7 of +msgid "" +"This object class is only inferred upon when the gateway is processing " +"back information involving a component. Do not use this object for " +"sending." +msgstr "" + +#: interactions.client.models.component.Component:10 of msgid "The type of component." msgstr "" -#: interactions.models.component.Component:8 of +#: interactions.client.models.component.Component:11 of msgid "The customized \"ID\" of the component." msgstr "" -#: interactions.models.component.Component:9 of +#: interactions.client.models.component.Component:12 of msgid "Whether the component is unable to be used." msgstr "" -#: interactions.models.component.Component:10 of +#: interactions.client.models.component.Component:13 of msgid "The style of the component." msgstr "" -#: interactions.models.component.Component:11 of +#: interactions.client.models.component.Component:14 of msgid "The label of the component." msgstr "" -#: interactions.models.component.Component:12 of +#: interactions.client.models.component.Component:15 of msgid "The emoji used alongside the label of the component." msgstr "" -#: interactions.models.component.Component:13 of +#: interactions.client.models.component.Component:16 of msgid "The URl route/path of the component." msgstr "" -#: interactions.models.component.Component:14 of +#: interactions.client.models.component.Component:17 of msgid "The \"choices\"/options of the component." msgstr "" -#: interactions.models.component.Component:15 of +#: interactions.client.models.component.Component:18 of msgid "The placeholder text/value of the component." msgstr "" -#: interactions.models.component.Component:18 of +#: interactions.client.models.component.Component:21 of msgid "A list of components nested in the component." msgstr "" + +#: interactions.client.models.component.Component:22 of +msgid "The minimum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:23 of +msgid "The maximum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:24 of +msgid "Whether this component is required to be filled." +msgstr "" + +#: interactions.client.models.component.Component:25 of +msgid "The pre-filled value of the component." +msgstr "" + +#: interactions.client.models.component.TextInput:1 of +msgid "" +"A class object representing the text input of a modal. The structure for " +"a text input: ::" +msgstr "" + +#: interactions.client.models.component.TextInput:10 of +msgid "The type of input. Always defaults to ``4``." +msgstr "" + +#: interactions.client.models.component.TextInput:11 of +msgid "The style of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:12 of +msgid "The custom Id of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:13 of +msgid "The label of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:14 of +msgid "The pre-filled value of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:15 of +msgid "Whether the input is required or not." +msgstr "" + +#: interactions.client.models.component.TextInput:16 of +msgid "The placeholder of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:17 of +msgid "The minimum length of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:18 of +msgid "The maximum length of the input." +msgstr "" + +#: interactions.client.models.component.Modal:1 of +msgid "A class object representing a modal." +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid "The structure for a modal: ::" +msgstr "" + +#: interactions.client.models.component.Modal:6 of +msgid "interactions.Modal(" +msgstr "" + +#: interactions.client.models.component.Modal:5 of +msgid "" +"title=\"Application Form\", custom_id=\"mod_app_form\", " +"components=[interactions.TextInput(...)]," +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid ")" +msgstr "" + +#: interactions.client.models.component.Modal:10 of +msgid "The custom ID of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:11 of +msgid "The title of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:12 of +msgid "The components of the modal." +msgstr "" + +#: interactions.client.models.component.ActionRow:1 of +msgid "" +"A class object representing the action row for interaction responses " +"holding components." +msgstr "" + +#: interactions.client.models.component.ActionRow:4 of +msgid "" +"A message cannot have more than 5 ActionRow's supported. An ActionRow may" +" also support only 1 text input component only." +msgstr "" + +#: interactions.client.models.component.ActionRow:13 of +msgid "The structure for an action row: ::" +msgstr "" + +#: interactions.client.models.component.ActionRow:9 of +msgid "" +"# \"...\" represents a component object. # Method 1: " +"interactions.ActionRow(...) # Method 2: " +"interactions.ActionRow(components=[...])" +msgstr "" + +#: interactions.client.models.component.ActionRow:15 of +msgid "The type of component. Always defaults to ``1``." +msgstr "" + +#: interactions.client.models.component.ActionRow:16 of +msgid "A list of components the ActionRow has, if any." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/models.misc.po b/docs/locale/pl/LC_MESSAGES/models.misc.po new file mode 100644 index 000000000..f5d1bb814 --- /dev/null +++ b/docs/locale/pl/LC_MESSAGES/models.misc.po @@ -0,0 +1,145 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../models.misc.rst:4 +msgid "Miscellaneous Models" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:1 of +msgid "A class representing the resolved information of an interaction data." +msgstr "" + +#: interactions.client.models.misc.Interaction +#: interactions.client.models.misc.InteractionData +#: interactions.client.models.misc.InteractionResolvedData of +msgid "Variables" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:3 of +msgid "The resolved users data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:4 of +msgid "The resolved members data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:5 of +msgid "The resolved roles data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:6 of +msgid "The resolved channels data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:7 of +msgid "The resolved messages data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:8 of +msgid "The resolved attachments data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:1 of +msgid "A class object representing the data of an interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:3 of +msgid "The ID of the interaction data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:4 of +msgid "The name of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:5 of +msgid "The type of command from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:6 of +msgid "The resolved version of the data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:7 of +msgid "The options of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:8 of +msgid "The custom ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:9 of +msgid "The type of component from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:10 of +msgid "The values of the selected options in the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:11 of +msgid "The targeted ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:1 of +msgid "A class object representing an interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:3 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:4 of +msgid "The application's ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:5 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:6 of +msgid "The data of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:7 of +msgid "The guild ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:8 of +msgid "The channel ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:9 of +msgid "The member who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:10 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:11 of +msgid "The token of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:12 of +msgid "The version of the interaction as an autoincrement identifier." +msgstr "" + +#: interactions.client.models.misc.Interaction:13 of +msgid "The message of the interaction." +msgstr "" diff --git a/docs/locale/pl/LC_MESSAGES/models.po b/docs/locale/pl/LC_MESSAGES/models.po index fb08d7dd7..a322bcb50 100644 --- a/docs/locale/pl/LC_MESSAGES/models.po +++ b/docs/locale/pl/LC_MESSAGES/models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/pl/LC_MESSAGES/quickstart.po b/docs/locale/pl/LC_MESSAGES/quickstart.po index d3be63677..eff5b5f5a 100644 --- a/docs/locale/pl/LC_MESSAGES/quickstart.po +++ b/docs/locale/pl/LC_MESSAGES/quickstart.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,48 +22,134 @@ msgstr "" msgid "Quickstart" msgstr "" -#: ../../quickstart.rst:4 -msgid "" -"Looking into trying to get started with our library? Well, you've come to" -" the right page then!" +#: ../../quickstart.rst:5 +msgid "Installing" msgstr "" -#: ../../quickstart.rst:8 +#: ../../quickstart.rst:7 msgid "" -"This quickstart guide is extremely rough and contains experimental code. " -"Do not follow us strictly until v4.0 is released! Everything is subject " -"to change in here due to the development of the API wrapper continuously " -"being reflected." +"**discord-interactions** is a :ref:`Python library ` for the Discord Application Programming Interface. (API) A" +" library in Python has to be installed through the `pip` file. Run this " +"in your terminal/command line in order to install our library:" +msgstr "" + +#: ../../quickstart.rst:11 +msgid "``pip install -U discord-py-interactions``" msgstr "" #: ../../quickstart.rst:14 -msgid "Installing" +msgid "Creating a Bot" msgstr "" #: ../../quickstart.rst:16 msgid "" -"**discord-interactions** is a Python library for the Discord Artificial " -"Programming Interface. (API) A library in Python has to be installed " -"through the `pip` file. Run this in your terminal/command line in order " -"to install our library:" +"Before you can run your Bot, you have to create it first. If you did it " +"already, make sure you :ref:`invited ` your Bot properly." +msgstr "" + +#: ../../quickstart.rst:18 +msgid "" +"In order to create your Bot, you need to create an application first. Go " +"to the `discord applications page`_ for that. After you logged in, you " +"will see this at the top:" +msgstr "" + +#: ../../quickstart.rst:23 +msgid "" +"Click the ``New Application`` button, enter a name and then click " +"``create``." +msgstr "" + +#: ../../quickstart.rst:25 +msgid "The name you choose is going to be your Bots name." +msgstr "" + +#: ../../quickstart.rst:27 +msgid "You will be redirected to a new page. On the left you will see this:" +msgstr "" + +#: ../../quickstart.rst:31 +msgid "" +"Click on ``Bot``. You again will be redirected to another page, looking " +"like this:" +msgstr "" + +#: ../../quickstart.rst:35 +msgid "Click on ``Add Bot`` and then on ``Yes, do it!``." +msgstr "" + +#: ../../quickstart.rst:37 +msgid "And that's it! You created your Bot!" +msgstr "" + +#: ../../quickstart.rst:40 +msgid "" +"You will see a field called ``TOKEN``. This is the access token, used to " +"run your bot. You will need this later to start your Bot." +msgstr "" + +#: ../../quickstart.rst:43 +msgid "" +"**Do NOT give this to other persons! They can get full control over your " +"Bot with your token and execute what they want!**" +msgstr "" + +#: ../../quickstart.rst:45 +msgid "" +"If you revealed your token, you should **immediately** go to your Bots " +"application page and click the ``Regenerate`` Button under your token. " +"This will delete the old token, so your bot can't be run with it anymore." +msgstr "" + +#: ../../quickstart.rst:49 +msgid "Invite the Bot to your guild" +msgstr "" + +#: ../../quickstart.rst:50 +msgid "" +"Now you have a Bot, but you can't create commands because it isn't in any" +" guilds. So, let's invite it to your guild!" +msgstr "" + +#: ../../quickstart.rst:54 +msgid "Click on ``OAuth2``, then on ``URL Generator``." +msgstr "" + +#: ../../quickstart.rst:56 +msgid "" +"You have to enable the ``bot`` and ``application.commands`` scope, to " +"allow your bot to create slash commands." msgstr "" -#: ../../quickstart.rst:20 -msgid "``pip install -U discord-interactions``" +#: ../../quickstart.rst:60 +msgid "" +"After setting that up, a ``BOT PERMISSIONS`` field will appear. You can " +"choose permissions you want to have your bot there." msgstr "" -#: ../../quickstart.rst:22 +#: ../../quickstart.rst:62 msgid "" -"If you're unable to run it through your terminal/command line, you need " -"to make sure that it's accessible as an Environment Path. Search more on " -"Google for how to do this." +"When you are done with choosing the permissions, go to the bottom of the " +"page, copy the the url and open it in a new window." msgstr "" -#: ../../quickstart.rst:26 -msgid "Minimal Bot" +#: ../../quickstart.rst:64 +msgid "" +"You will be prompted to a new page. Select your guild, click " +"``Authorise`` and your Bot should show up in your guild." msgstr "" -#: ../../quickstart.rst:28 +#: ../../quickstart.rst:66 +msgid "Now you can go on with running your bot and creating your first commands!" +msgstr "" + +#: ../../quickstart.rst:71 +msgid "Running the Bot and creating commands" +msgstr "" + +#: ../../quickstart.rst:73 msgid "" "Bots can be a little confusing to create. That's why we've decided to try" " and make the process as streamlined as humanly possible, in order for it" @@ -73,58 +159,299 @@ msgid "" "first before this, as a Discord bot is not exactly beginner-friendly." msgstr "" -#: ../../quickstart.rst:34 -msgid "This code block below shows a simple bot being created:" +#: ../../quickstart.rst:81 +msgid "First, let's run the bot:" msgstr "" -#: ../../quickstart.rst:52 -msgid "" -"There's quite a lot of things that are going on here, so let's break it " -"down step-by-step:" +#: ../../quickstart.rst:92 +msgid "And that's it! Your bot should now turn online in discord!" msgstr "" -#: ../../quickstart.rst:54 +#: ../../quickstart.rst:94 +msgid "Let's take a look now at what is happening here:" +msgstr "" + +#: ../../quickstart.rst:96 msgid "" "``import interactions`` -- This is the import line. If this returns a " -"``ModuleNotFoundError``, please look at our `Installing`_ section here." +"``ModuleNotFoundError``, please look at our section on how to " +":ref:`install ` here." msgstr "" -#: ../../quickstart.rst:55 +#: ../../quickstart.rst:97 msgid "" -"``bot = interactions.Client(token=\"...\")`` -- This is the ``bot`` " -"variable that defines our bot. This basically instantiates the `Client`_ " -"class, which requires a ``token`` keyword-argument to be passed. In order" -" to get a token, please look at the image given below." +"``bot = interactions.Client(token=\"your_secret_bot_token\")`` -- This is" +" the ``bot`` variable that defines our bot. This basically instantiates " +"the :ref:`application client `, which requires a " +"``token`` keyword-argument to be passed. You have to put in your " +"(previously mentioned) secret token here." msgstr "" -#: ../../quickstart.rst:56 +#: ../../quickstart.rst:98 msgid "" -"``@bot.application_command()`` -- This is something known as a " -"*decorator* in Python. This decorator is in charge and responsible of " -"making sure that the Discord API is told about the slash/sub command that" -" you wish to create, and sends an HTTP request correspondingly. Any " -"changes to the information contained in this decorator will be " -"synchronously updated with the API automatically for you." +"``bot.start()`` -- Finally, this is what tells our library to turn your " +"bot from offline to online." msgstr "" -#: ../../quickstart.rst:57 +#: ../../quickstart.rst:102 +msgid "Now, let's create our first slash command:" +msgstr "" + +#: ../../quickstart.rst:120 +msgid "Now, let's look what the new parts of the code are doing:" +msgstr "" + +#: ../../quickstart.rst:122 msgid "" -"``await ctx.send(\"Hello world!\")`` -- This is what lets us send a " -"\"message\", or otherwise known as an interaction response back to the " -"Discord API for us. ``ctx`` is abbreviated as the \"context\" of the " -"command, so numerous fields and attributes such as channels, guilds; and " -"etc. are able to be inputted." +"``@bot.command()`` -- This is something known as a *decorator* in Python." +" This decorator is in charge and responsible of making sure that the " +"Discord API is told about the slash/sub command that you wish to create, " +"and sends an HTTP request correspondingly. Any changes to the information" +" contained in this decorator will be synchronously updated with the API " +"automatically for you. The ``scope`` field shown here is optional, which " +"represents a guild command if you wish to have a command appear in only " +"specific servers that bot is in. This can be a guild object or the ID." msgstr "" -#: ../../quickstart.rst:58 +#: ../../quickstart.rst:123 +msgid "``name`` -- This is the name of your command." +msgstr "" + +#: ../../quickstart.rst:124 +msgid "``description`` -- This is the description of your command." +msgstr "" + +#: ../../quickstart.rst:125 msgid "" -"``bot.start()`` -- Finally, this is what tells our library to turn your " -"bot from offline to online." +"``async def my_first_command(ctx: interactions.CommandContext):`` -- This" +" here is called our \"command coroutine,\" or what our library internally" +" calls upon each time it recognizes an interaction event from the Discord" +" API that affiliates with the data we've put into the decorator above it." +" Please note that ``ctx`` is an abbreviation for :ref:`context " +"`." msgstr "" -#: ../../quickstart.rst:62 +#: ../../quickstart.rst:126 +msgid "" +"``await ctx.send(\"Hi there!\")`` -- This sends the response to your " +"command." +msgstr "" + +#: ../../quickstart.rst:128 +msgid "``name`` and ``description`` are required." +msgstr "" + +#: ../../quickstart.rst:131 +msgid "Difference between global and guild slash commands:" +msgstr "" + +#: ../../quickstart.rst:133 +msgid "" +"guild slash commands are instantly available in the guild with the given " +"id. In order to copy your guild ID you have to enable the developer mode " +"in discord and then right-click on the guild. This is also shown in the " +"pictures beyond." +msgstr "" + +#: ../../quickstart.rst:134 +msgid "" +"global commands are created by *not* including the ``scope`` argument " +"into the ``@bot.command`` decorator. They will appear in all guilds your " +"Bot is in. This process can take up to one hour to be completed on all " +"guilds." +msgstr "" + +#: ../../quickstart.rst:141 +msgid "Next, let's create an Option" +msgstr "" + +#: ../../quickstart.rst:143 +msgid "" +":ref:`Options ` are extra " +"arguments of a command, filled in by the user executing the command." +msgstr "" + +#: ../../quickstart.rst:171 +msgid "The limit for options per command is 25." +msgstr "" + +#: ../../quickstart.rst:174 +msgid "Nested commands: subcommands" +msgstr "" + +#: ../../quickstart.rst:218 +msgid "You can add a SUB_COMMAND_GROUP in between the base and command." +msgstr "" + +#: ../../quickstart.rst:222 +msgid "Special type of commands: Context menus" +msgstr "" + +#: ../../quickstart.rst:224 +msgid "" +"While, granted that application commands are way more intuitive and " +"easier to work with as both a bot developer and user from a UX approach, " +"some may not want to always type the same command over and over again to " +"repeat a repetitive task. Introducing: **context menus.** Also known as " +"\"user\" and \"message\" respectively, this simple switch in command " +"structure allows you to quickly empower your bot with the ability to make" +" right-click actions with menial effort." +msgstr "" + +#: ../../quickstart.rst:230 +msgid "" +"In order to create a menu-based command, all you need to do is simply add" +" this one line into your ``@command`` decorator:" +msgstr "" + +#: ../../quickstart.rst:245 +msgid "" +"The structure of a menu command differs significantly from that of a " +"regular one:" +msgstr "" + +#: ../../quickstart.rst:247 +msgid "You cannot have any options or choices." +msgstr "" + +#: ../../quickstart.rst:248 +msgid "You cannot have a description." +msgstr "" + +#: ../../quickstart.rst:249 +msgid "The ``name`` filter follows a different regex pattern." +msgstr "" + +#: ../../quickstart.rst:252 +msgid "Creating and sending Components" +msgstr "" + +#: ../../quickstart.rst:254 +msgid "" +"Being able to run your own commands is very useful for a lot of " +"automation-related purposes as a bot developer, however, we also have " +"something that we're able to introduce for both the developer and a user " +"to use that will be the \"sprinkles\" on top of a cupcake, so-to-speak: " +"components." +msgstr "" + +#: ../../quickstart.rst:259 +msgid "" +"Components are ways of being able to select pre-defined data, or define " +"your own. They're very simple but quite powerful when put into practice " +"This code block below shows a simplified implementation of a component:" +msgstr "" + +#: ../../quickstart.rst:285 +msgid "" +"This is a design that we ended up choosing to simplify responding to " +"buttons when someone presses on one, and to allow bot developers to plug " +"in *which* button they want a response to. No more ``wait_for_component``" +" and ``wait_for`` functions with huge if-else chains; this removes " +"redundancy in your code and overall eases into the practice of " +"modularity." +msgstr "" + +#: ../../quickstart.rst:292 +msgid "What kinds of components are there?" +msgstr "" + +#: ../../quickstart.rst:294 +msgid "" +"As a bot developer, this may be fairly important for you to want to know." +" Different components provide difference user experiences, interactions " +"and results. Currently you can choose between three components that " +"Discord provides: a ``Button``, ``SelectMenu`` and ``TextInput``. You're " +"able to `find these component types`_ here." +msgstr "" + +#: ../../quickstart.rst:301 +msgid "How do I send components in a row?" +msgstr "" + +#: ../../quickstart.rst:303 +msgid "" +"You are also able to organize these components into rows, which are " +"defined as ``ActionRow``'s. It is worth noting that you can have only a " +"maximum of 5 per message that you send. This code block below shows how:" +msgstr "" + +#: ../../quickstart.rst:330 +msgid "" +"By default, the ``components`` keyword-argument field in the context " +"sending method will always support ``ActionRow``-less sending: you only " +"need to declare rows whenever you need or want to. This field will also " +"support raw arrays and tables, if you so wish to choose to not use our " +"class objects instead." +msgstr "" + +#: ../../quickstart.rst:336 +msgid "" +"You cannot use ``TextInput`` with the above shown method. Look :ref:`here" +" ` how to create and send them." +msgstr "" + +#: ../../quickstart.rst:341 +msgid "Creating a TextInput" +msgstr "" + +#: ../../quickstart.rst:342 +msgid "You want to get a Text from a user? You can use ``TextInput`` for that." +msgstr "" + +#: ../../quickstart.rst:354 +msgid "" +"But how to send it? You can't use ``ctx.send`` for it. Take a look at " +":ref:`Modals ` for that." +msgstr "" + +#: ../../quickstart.rst:358 +msgid "Modals" +msgstr "" + +#: ../../quickstart.rst:359 +msgid "" +"Modals are a new way to interact with a user. Currently only a " +"``TextInput`` component is supported. You can have up to five " +"``TextInput`` in a Modal." +msgstr "" + +#: ../../quickstart.rst:372 +msgid "with the ``TextInput`` example from above we get:" +msgstr "" + +#: ../../quickstart.rst:377 +msgid "Responding to a Modal interaction" +msgstr "" + +#: ../../quickstart.rst:385 +msgid "" +"You can respond to a modal the same way as you would respond to a normal " +"``chat-input`` command, except your function has an extra argument for " +"the text what was put into the modal." +msgstr "" + +#: ../../quickstart.rst:388 +msgid "Adding v2 Permissions" +msgstr "" + +#: ../../quickstart.rst:390 +msgid "" +"v2 permissions consist of the ``default_member_permissions`` and " +"``dm_permission`` keyword arguments. Similar to adding privileged " +"intents, you add permissions (like admin-only, ``BAN_MEMBERS``-only, " +"etc.) as follows:" +msgstr "" + +#: ../../quickstart.rst:429 +msgid "" +"Adding guild-only commands is easier as the only thing it takes is a " +"boolean. Here's an example of a guild-only command:" +msgstr "" + +#: ../../quickstart.rst:448 msgid "" -"And it's really as simple as that! If you would like to learn more about " -"what our library offers, or see more examples of our code, please be sure" -" to check out our `coding examples`_ page on our docs!" +"Likewise, setting ``dm_permission`` to ``True`` makes it usable in DMs. " +"Just to note that this argument's mainly used for global commands. Guild " +"commands with this argument will have no effect." msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.cache.po b/docs/locale/ru/LC_MESSAGES/api.cache.po index f32d51085..43abb1314 100644 --- a/docs/locale/ru/LC_MESSAGES/api.cache.po +++ b/docs/locale/ru/LC_MESSAGES/api.cache.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,7 +31,7 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.cache.Item:3 of +#: interactions.api.cache.Item:3 interactions.api.cache.Storage.get:3 of msgid "The ID of the item." msgstr "" @@ -55,22 +55,8 @@ msgstr "" msgid "Adds a new item to the storage." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Parameters" msgstr "" @@ -78,27 +64,46 @@ msgstr "" msgid "The item to add." msgstr "" -#: interactions.api.cache.Cache.add_channel interactions.api.cache.Cache.add_dm -#: interactions.api.cache.Cache.add_guild -#: interactions.api.cache.Cache.add_interaction -#: interactions.api.cache.Cache.add_member -#: interactions.api.cache.Cache.add_message -#: interactions.api.cache.Cache.add_role -#: interactions.api.cache.Cache.add_self_guild -#: interactions.api.cache.Cache.add_user -#: interactions.api.cache.Cache.get_channel interactions.api.cache.Cache.get_dm -#: interactions.api.cache.Cache.get_guild -#: interactions.api.cache.Cache.get_interaction -#: interactions.api.cache.Cache.get_member -#: interactions.api.cache.Cache.get_message -#: interactions.api.cache.Cache.get_role -#: interactions.api.cache.Cache.get_self_guild -#: interactions.api.cache.Cache.get_user interactions.api.cache.Storage.add of +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of msgid "Returns" msgstr "" #: interactions.api.cache.Storage.add:5 of -msgid "typing.List[interactions.api.cache.Item]" +msgid "The new storage." +msgstr "" + +#: interactions.api.cache.Storage.add interactions.api.cache.Storage.get +#: interactions.api.cache.Storage.update of +msgid "Return type" +msgstr "" + +#: interactions.api.cache.Storage.get:1 of +msgid "Gets an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.get:5 of +msgid "The item from the storage if any." +msgstr "" + +#: interactions.api.cache.Storage.update:1 of +msgid "Updates an item from the storage." +msgstr "" + +#: interactions.api.cache.Storage.update:3 of +msgid "The item to update." +msgstr "" + +#: interactions.api.cache.Storage.update:4 of +msgid "The updated item, if stored." +msgstr "" + +#: interactions.api.cache.Storage.view:1 of +msgid "Views all items from storage." +msgstr "" + +#: interactions.api.cache.Storage.view:3 of +msgid ":return The items stored. :rtype: List[dict]" msgstr "" #: interactions.api.cache.Cache:1 of @@ -138,169 +143,3 @@ msgstr "" #: interactions.api.cache.Cache:12 of msgid "The cached interactions upon interaction." msgstr "" - -#: interactions.api.cache.Cache.add_dm:1 of -msgid "Adds a DM to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_dm:3 of -msgid "The Direct Message to add." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:5 -#: interactions.api.cache.Cache.add_dm:5 -#: interactions.api.cache.Cache.add_guild:5 -#: interactions.api.cache.Cache.add_interaction:7 -#: interactions.api.cache.Cache.add_member:5 -#: interactions.api.cache.Cache.add_message:5 -#: interactions.api.cache.Cache.add_role:5 -#: interactions.api.cache.Cache.add_self_guild:5 -#: interactions.api.cache.Cache.add_user:5 -#: interactions.api.cache.Cache.get_channel:7 -#: interactions.api.cache.Cache.get_dm:5 -#: interactions.api.cache.Cache.get_guild:5 -#: interactions.api.cache.Cache.get_interaction:5 -#: interactions.api.cache.Cache.get_member:7 -#: interactions.api.cache.Cache.get_message:9 -#: interactions.api.cache.Cache.get_role:9 -#: interactions.api.cache.Cache.get_self_guild:5 -#: interactions.api.cache.Cache.get_user:5 of -msgid "interactions.api.cache.Item" -msgstr "" - -#: interactions.api.cache.Cache.get_dm:1 of -msgid "Gets a DM from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_dm:3 of -msgid "The ID of the Direct Message." -msgstr "" - -#: interactions.api.cache.Cache.add_self_guild:1 of -msgid "Adds a combed guild from the gateway to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:3 -#: interactions.api.cache.Cache.add_self_guild:3 of -msgid "The guild to add." -msgstr "" - -#: interactions.api.cache.Cache.get_self_guild:1 of -msgid "Gets a combed guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:3 -#: interactions.api.cache.Cache.get_guild:3 -#: interactions.api.cache.Cache.get_member:3 -#: interactions.api.cache.Cache.get_message:3 -#: interactions.api.cache.Cache.get_role:3 -#: interactions.api.cache.Cache.get_self_guild:3 of -msgid "The ID of the guild." -msgstr "" - -#: interactions.api.cache.Cache.add_guild:1 of -msgid "Adds a guild after the ready event to the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_guild:1 of -msgid "Gets a new guild from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:1 of -msgid "Adds a channel to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_channel:3 of -msgid "The channel to add." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:1 of -msgid "Gets a channel from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_channel:5 -#: interactions.api.cache.Cache.get_message:5 of -msgid "The ID of the channel." -msgstr "" - -#: interactions.api.cache.Cache.add_role:1 of -msgid "Adds a role to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_role:3 of -msgid "The role to add." -msgstr "" - -#: interactions.api.cache.Cache.get_role:1 of -msgid "Gets a role from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_member:5 -#: interactions.api.cache.Cache.get_role:5 of -msgid "The ID of the member." -msgstr "" - -#: interactions.api.cache.Cache.get_role:7 of -msgid "The ID of the role." -msgstr "" - -#: interactions.api.cache.Cache.add_member:1 of -msgid "Adds a member to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_member:3 of -msgid "The member to add." -msgstr "" - -#: interactions.api.cache.Cache.get_member:1 of -msgid "Gets a member from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:1 of -msgid "Adds a message to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_message:3 of -msgid "The message to add." -msgstr "" - -#: interactions.api.cache.Cache.get_message:1 of -msgid "Gets a message from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_message:7 of -msgid "The ID of the message." -msgstr "" - -#: interactions.api.cache.Cache.add_user:1 of -msgid "Adds a user to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_user:3 of -msgid "The user to add." -msgstr "" - -#: interactions.api.cache.Cache.get_user:1 of -msgid "Gets a user from the cache." -msgstr "" - -#: interactions.api.cache.Cache.get_user:3 of -msgid "The ID of the user." -msgstr "" - -#: interactions.api.cache.Cache.get_interaction:1 of -msgid "Gets an application command/interaction from the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:3 -#: interactions.api.cache.Cache.get_interaction:3 of -msgid "The application ID of the command." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:1 of -msgid "Adds an application command/interaction to the cache." -msgstr "" - -#: interactions.api.cache.Cache.add_interaction:5 of -msgid "The application command to add." -msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.dispatch.po b/docs/locale/ru/LC_MESSAGES/api.dispatch.po index 1b084411b..b6707ea02 100644 --- a/docs/locale/ru/LC_MESSAGES/api.dispatch.po +++ b/docs/locale/ru/LC_MESSAGES/api.dispatch.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -59,16 +59,6 @@ msgstr "" msgid "Keyword-only arguments of the coroutine." msgstr "" -#: interactions.api.dispatch.Listener.dispatch -#: interactions.api.dispatch.Listener.register of -msgid "Returns" -msgstr "" - -#: interactions.api.dispatch.Listener.dispatch:9 -#: interactions.api.dispatch.Listener.register:9 of -msgid "None" -msgstr "" - #: interactions.api.dispatch.Listener.register:1 of msgid "" "Registers a given coroutine as an event to be listened to. If the name of" @@ -83,3 +73,7 @@ msgstr "" #: interactions.api.dispatch.Listener.register:7 of msgid "The coroutine to register as an event." msgstr "" + +#: interactions.api.dispatch.Listener.register:9 of +msgid "The name to associate the coroutine with. Defaults to None." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.enums.po b/docs/locale/ru/LC_MESSAGES/api.enums.po index 284356c95..e77ec4bbc 100644 --- a/docs/locale/ru/LC_MESSAGES/api.enums.po +++ b/docs/locale/ru/LC_MESSAGES/api.enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,25 +22,6 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.api.enums.DefaultErrorType:1 of -msgid "" -"An enumerable object for the default errors that occur with interaction " -"creation." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:4 of -msgid "" -"This is a port from v3's errors, which basically delegate errors to a " -"unique error code. This enum's purpose is to help remember error codes. " -"Importing this class is not required." -msgstr "" - -#: interactions.api.enums.DefaultErrorType:7 of -msgid "" -"i.e. : raise InteractionException(1) == raise " -"InteractionException(REQUEST_FAILURE)" -msgstr "" - #: interactions.api.enums.OpCodeType:1 of msgid "" "An enumerable object for the Gateway's OPCODE result state. This is " @@ -53,35 +34,3 @@ msgid "" "`_ in the Discord API." msgstr "" - -#: interactions.api.enums.WSCloseCodeType:1 of -msgid "" -"An enumerable object for the Gateway's closing connection codes. This is " -"representative of the Gateway responses generated by the WebSocket." -msgstr "" - -#: interactions.api.enums.WSCloseCodeType:5 of -msgid "" -"Equivalent of `Gateway Close Event Codes " -"`_ in the Discord API." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:1 of -msgid "An enumerable object for the HTTP response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.HTTPResponseType:4 of -msgid "This enumerable does not list the documented \"5xx\", as it may vary." -msgstr "" - -#: interactions.api.enums.JSONResponseType:1 of -msgid "An enumerable object for the JSON error response codes Discord gives out." -msgstr "" - -#: interactions.api.enums.JSONResponseType:4 of -msgid "" -"Equivalent of `JSON Error Codes " -"`_ in the Discord API." -msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.error.po b/docs/locale/ru/LC_MESSAGES/api.error.po index 4dcbb1a1a..85101f5e4 100644 --- a/docs/locale/ru/LC_MESSAGES/api.error.po +++ b/docs/locale/ru/LC_MESSAGES/api.error.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -47,7 +47,7 @@ msgstr "" #: interactions.api.error.HTTPException:3 #: interactions.api.error.InteractionException:8 #: interactions.api.error.JSONException:3 of -msgid "The built in formatter." +msgid "The built-in formatter." msgstr "" #: interactions.api.error.GatewayException:4 diff --git a/docs/locale/ru/LC_MESSAGES/api.gateway.po b/docs/locale/ru/LC_MESSAGES/api.gateway.po index c2adf73a2..c64b34dd0 100644 --- a/docs/locale/ru/LC_MESSAGES/api.gateway.po +++ b/docs/locale/ru/LC_MESSAGES/api.gateway.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,125 +22,276 @@ msgstr "" msgid "Gateway" msgstr "" -#: interactions.api.gateway.Heartbeat:1 of -msgid "A class representing a consistent heartbeat connection with the gateway." +#: interactions.api.gateway:1 of +msgid "interactions.api.gateway" msgstr "" -#: interactions.api.gateway.Heartbeat interactions.api.gateway.WebSocket of +#: interactions.api.gateway:3 of +msgid "This section of the library maintains and handles all of the Gateway work." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:1 of +msgid "" +"A class representing the client's connection to the Gateway via. " +"WebSocket." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient of msgid "Variables" msgstr "" -#: interactions.api.gateway.Heartbeat:3 of -msgid "The WebSocket class to infer on." +#: interactions.api.gateway.client.WebSocketClient:3 of +msgid "The asynchronous event loop." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:4 of +msgid "The built-in event dispatcher." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient:5 of +msgid "The user-facing HTTP client." msgstr "" -#: interactions.api.gateway.Heartbeat:4 of -msgid "The heartbeat interval determined by the gateway." +#: interactions.api.gateway.client.WebSocketClient:6 of +msgid "The WebSocket data of the connection." msgstr "" -#: interactions.api.gateway.Heartbeat:5 of -msgid "The multi-threading event." +#: interactions.api.gateway.client.WebSocketClient:7 of +msgid "Whether the connection has been closed or not." msgstr "" -#: interactions.api.gateway.Heartbeat.run:1 of -msgid "Starts the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:8 of +msgid "The connection options made during connection." msgstr "" -#: interactions.api.gateway.Heartbeat.stop:1 of -msgid "Stops the heartbeat connection." +#: interactions.api.gateway.client.WebSocketClient:9 of +msgid "The gateway intents used for connection." msgstr "" -#: interactions.api.gateway.WebSocket:1 of -msgid "A class representing a websocket connection with the gateway." +#: interactions.api.gateway.client.WebSocketClient:10 of +msgid "The contents of the application returned when ready." msgstr "" -#: interactions.api.gateway.WebSocket:3 of -msgid "An instance of :class:`interactions.api.models.Intents`." +#: interactions.api.gateway.client.WebSocketClient:11 of +msgid "The context state of a \"heartbeat\" made to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket:4 of -msgid "The coroutine event loop established on." +#: interactions.api.gateway.client.WebSocketClient:12 of +msgid "The shards used during connection." msgstr "" -#: interactions.api.gateway.WebSocket:5 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.api.gateway.client.WebSocketClient:13 of +msgid "The presence used in connection." msgstr "" -#: interactions.api.gateway.WebSocket:6 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.api.gateway.client.WebSocketClient:14 of +msgid "The ready state of the client as an ``asyncio.Event``." msgstr "" -#: interactions.api.gateway.WebSocket:7 of -msgid "The current client session." +#: interactions.api.gateway.client.WebSocketClient:15 of +msgid "The closing task for ending connections." msgstr "" -#: interactions.api.gateway.WebSocket:8 of -msgid "The current ID of the gateway session." +#: interactions.api.gateway.client.WebSocketClient:16 of +msgid "The ID of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:9 of -msgid "The current sequence of the gateway connection." +#: interactions.api.gateway.client.WebSocketClient:17 of +msgid "The sequence identifier of the ongoing session." msgstr "" -#: interactions.api.gateway.WebSocket:10 of -msgid "An instance of :class:`interactions.api.gateway.Heartbeat`." +#: interactions.api.gateway.client.WebSocketClient:18 of +msgid "" +"The latest time of the last send_packet function call since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:11 of -msgid "The current connection state." +#: interactions.api.gateway.client.WebSocketClient:19 of +msgid "" +"The latest time of the last ``HEARTBEAT_ACK`` event since connection " +"creation, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket:12 of -msgid "The internal HTTP client used to connect to the gateway." +#: interactions.api.gateway.client.WebSocketClient:20 of +msgid "The latency of the connection, in seconds." msgstr "" -#: interactions.api.gateway.WebSocket.recv:1 of -msgid "Receives packets sent from the gateway." +#: interactions.api.gateway.client.WebSocketClient._manage_heartbeat:1 of +msgid "Manages the heartbeat loop." msgstr "" -#: interactions.api.gateway.WebSocket.connect:1 of -msgid "Establishes a connection to the gateway." +#: interactions.api.gateway.client.WebSocketClient.__restart:1 of +msgid "Restart the client's connection and heartbeat with the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of +#: interactions.api.gateway.client.WebSocketClient._establish_connection:1 of +msgid "Establishes a client connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__identify +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context +#: interactions.api.gateway.client.WebSocketClient._dispatch_event +#: interactions.api.gateway.client.WebSocketClient._establish_connection +#: interactions.api.gateway.client.WebSocketClient._handle_connection +#: interactions.api.gateway.client.WebSocketClient._send_packet +#: interactions.api.gateway.client.WebSocketClient._update_presence of msgid "Parameters" msgstr "" -#: interactions.api.gateway.WebSocket.connect:3 of -msgid "The token to use for identifying." +#: interactions.api.gateway.client.WebSocketClient._establish_connection:3 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:5 of +msgid "The shards to establish a connection with. Defaults to ``None``." msgstr "" -#: interactions.api.gateway.WebSocket.connect -#: interactions.api.gateway.WebSocket.handle of -msgid "Returns" +#: interactions.api.gateway.client.WebSocketClient._establish_connection:5 +#: interactions.api.gateway.client.WebSocketClient._handle_connection:7 of +msgid "The presence to carry with. Defaults to ``None``." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:1 of +msgid "Handles the client's connection with the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._handle_connection:3 of +msgid "The packet stream to handle." msgstr "" -#: interactions.api.gateway.WebSocket.connect:5 -#: interactions.api.gateway.WebSocket.handle:7 of -msgid "None" +#: interactions.api.gateway.client.WebSocketClient.wait_until_ready:1 of +msgid "Waits for the client to become ready according to the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:1 of -msgid "Handles the dispatched event data from a gateway event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:1 of +msgid "Dispatches an event from the Gateway." msgstr "" -#: interactions.api.gateway.WebSocket.handle:3 of +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:3 of msgid "The name of the event." msgstr "" -#: interactions.api.gateway.WebSocket.handle:5 of -msgid "The data of the event." +#: interactions.api.gateway.client.WebSocketClient._dispatch_event:5 of +msgid "The data for the event." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:1 of +msgid "" +"Takes raw data given back from the Gateway and gives \"context\" based " +"off of what it is." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:4 of +msgid "The data from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Returns" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize:6 of +msgid "The context object." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__contextualize +#: interactions.api.gateway.client.WebSocketClient.__option_type_context +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context of +msgid "Return type" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:1 of +msgid "" +"Checks if an application command schema has sub commands needed for " +"argument collection." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:4 of +msgid "The data structure of the option." msgstr "" -#: interactions.api.gateway.WebSocket.identify:1 of +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:6 of +msgid "The context to refer subcommands from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__sub_command_context:8 of +msgid "A dictionary of the collected options, if any." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:1 of +msgid "Looks up the type of option respective to the existing option types." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:4 of +msgid "The context to refer types from." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:6 of +msgid "The option type." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__option_type_context:8 of +msgid "The option type context." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:1 of +msgid "Receives a stream of packets sent from the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__receive_packet_stream:3 of +msgid "The packet stream." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:1 of +msgid "Sends a packet to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._send_packet:3 of +msgid "The data to send to the Gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:1 of msgid "Sends an ``IDENTIFY`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.resume:1 of +#: interactions.api.gateway.client.WebSocketClient.__identify:3 of +msgid "The shard ID to identify under." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__identify:5 +#: interactions.api.gateway.client.WebSocketClient._update_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.__resume:1 of msgid "Sends a ``RESUME`` packet to the gateway." msgstr "" -#: interactions.api.gateway.WebSocket.heartbeat:1 of +#: interactions.api.gateway.client.WebSocketClient.__heartbeat:1 of msgid "Sends a ``HEARTBEAT`` packet to the gateway." msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.shard:1 of +msgid "Returns the current shard" +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient.presence:1 of +msgid "Returns the current presence." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:1 of +msgid "Sends an ``UPDATE_PRESENCE`` packet to the gateway." +msgstr "" + +#: interactions.api.gateway.client.WebSocketClient._update_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.api.gateway.heartbeat._Heartbeat:1 of +msgid "An internal class representing the heartbeat in a WebSocket connection." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.http.po b/docs/locale/ru/LC_MESSAGES/api.http.po index c550cad31..b637802cb 100644 --- a/docs/locale/ru/LC_MESSAGES/api.http.po +++ b/docs/locale/ru/LC_MESSAGES/api.http.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,1742 +19,2431 @@ msgstr "" "Generated-By: Babel 2.9.1\n" #: ../../api.http.rst:4 -msgid "HTTP Client" +msgid "HTTP" msgstr "" -#: interactions.api.http.Route:1 of +#: interactions.api.http.route.Route:1 of msgid "A class representing how an HTTP route is structured." msgstr "" -#: interactions.api.http.Padlock interactions.api.http.Request -#: interactions.api.http.Route of +#: interactions.api.http.client.HTTPClient +#: interactions.api.http.limiter.Limiter interactions.api.http.request._Request +#: interactions.api.http.route.Route of msgid "Variables" msgstr "" -#: interactions.api.http.Route:3 of +#: interactions.api.http.route.Route:3 of msgid "The HTTP route path." msgstr "" -#: interactions.api.http.Route:4 of +#: interactions.api.http.route.Route:4 of msgid "The HTTP method." msgstr "" -#: interactions.api.http.Route:5 of +#: interactions.api.http.route.Route:5 of msgid "The URL path." msgstr "" -#: interactions.api.http.Route:6 of +#: interactions.api.http.route.Route:6 of msgid "The channel ID from the bucket if given." msgstr "" -#: interactions.api.http.Route:7 of +#: interactions.api.http.route.Route:7 of msgid "The guild ID from the bucket if given." msgstr "" -#: interactions.api.http.Route.bucket:1 of -msgid "Returns the route's bucket." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_webhooks -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_webhook -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.Request.request interactions.api.http.Route.bucket of +#: interactions.api.http.route.Route.get_bucket:1 of +msgid "" +"Returns the route's bucket. If shared_bucket is None, returns the path " +"with major parameters. Otherwise, it relies on Discord's given bucket." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.delete_channel +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.channel.ChannelRequest.trigger_typing +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_ban +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_kick +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild +#: interactions.api.http.guild.GuildRequest.delete_guild_integration +#: interactions.api.http.guild.GuildRequest.delete_guild_role +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state +#: interactions.api.http.guild.GuildRequest.remove_guild_ban +#: interactions.api.http.guild.GuildRequest.remove_guild_member +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest._post_followup +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response +#: interactions.api.http.interaction.InteractionRequest.delete_application_command +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.add_member_role +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.member.MemberRequest.remove_member_role +#: interactions.api.http.member.MemberRequest.search_guild_members +#: interactions.api.http.message.MessageRequest.create_message +#: interactions.api.http.message.MessageRequest.delete_message +#: interactions.api.http.message.MessageRequest.delete_messages +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.pin_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.message.MessageRequest.unpin_message +#: interactions.api.http.reaction.ReactionRequest.create_reaction +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.join_thread +#: interactions.api.http.thread.ThreadRequest.leave_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message +#: interactions.api.http.webhook.WebhookRequest.delete_webhook +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of +msgid "Parameters" +msgstr "" + +#: interactions.api.http.route.Route.get_bucket:4 of +msgid "The bucket that Discord provides, if available." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel +#: interactions.api.http.channel.ChannelRequest.create_channel_invite +#: interactions.api.http.channel.ChannelRequest.create_stage_instance +#: interactions.api.http.channel.ChannelRequest.get_channel +#: interactions.api.http.channel.ChannelRequest.get_channel_invites +#: interactions.api.http.channel.ChannelRequest.get_channel_messages +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages +#: interactions.api.http.channel.ChannelRequest.get_stage_instance +#: interactions.api.http.channel.ChannelRequest.modify_channel +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance +#: interactions.api.http.channel.ChannelRequest.move_channel +#: interactions.api.http.client.HTTPClient.get_bot_gateway +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji +#: interactions.api.http.guild.GuildRequest.add_guild_member +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template +#: interactions.api.http.guild.GuildRequest.create_guild_role +#: interactions.api.http.guild.GuildRequest.create_guild_template +#: interactions.api.http.guild.GuildRequest.delete_guild_template +#: interactions.api.http.guild.GuildRequest.get_all_channels +#: interactions.api.http.guild.GuildRequest.get_all_roles +#: interactions.api.http.guild.GuildRequest.get_guild +#: interactions.api.http.guild.GuildRequest.get_guild_bans +#: interactions.api.http.guild.GuildRequest.get_guild_integrations +#: interactions.api.http.guild.GuildRequest.get_guild_invites +#: interactions.api.http.guild.GuildRequest.get_guild_preview +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count +#: interactions.api.http.guild.GuildRequest.get_guild_templates +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.get_guild_widget +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings +#: interactions.api.http.guild.GuildRequest.get_user_ban +#: interactions.api.http.guild.GuildRequest.leave_guild +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.guild.GuildRequest.modify_guild_role +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions +#: interactions.api.http.guild.GuildRequest.modify_guild_template +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen +#: interactions.api.http.guild.GuildRequest.modify_guild_widget +#: interactions.api.http.guild.GuildRequest.sync_guild_template +#: interactions.api.http.interaction.InteractionRequest.create_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions +#: interactions.api.http.interaction.InteractionRequest.get_application_commands +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command +#: interactions.api.http.member.MemberRequest.get_list_of_members +#: interactions.api.http.member.MemberRequest.get_member +#: interactions.api.http.member.MemberRequest.modify_member +#: interactions.api.http.message.MessageRequest.edit_message +#: interactions.api.http.message.MessageRequest.get_message +#: interactions.api.http.message.MessageRequest.publish_message +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker +#: interactions.api.http.sticker.StickerRequest.get_sticker +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker +#: interactions.api.http.thread.ThreadRequest.create_thread +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread +#: interactions.api.http.thread.ThreadRequest.list_active_threads +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads +#: interactions.api.http.thread.ThreadRequest.list_thread_members +#: interactions.api.http.user.UserRequest.create_dm +#: interactions.api.http.user.UserRequest.get_self +#: interactions.api.http.user.UserRequest.get_user +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild +#: interactions.api.http.webhook.WebhookRequest.create_webhook +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook +#: interactions.api.http.webhook.WebhookRequest.execute_webhook +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message +#: interactions.api.http.webhook.WebhookRequest.modify_webhook of msgid "Returns" msgstr "" -#: interactions.api.http.Route.bucket:3 of -msgid "str" +#: interactions.api.http.route.Route.get_bucket:7 of +msgid "The route bucket." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild +#: interactions.api.http.request._Request.request +#: interactions.api.http.route.Route.endpoint +#: interactions.api.http.route.Route.get_bucket of +msgid "Return type" +msgstr "" + +#: interactions.api.http.route.Route.endpoint:1 of +msgid "Returns the route's endpoint." msgstr "" -#: interactions.api.http.Padlock:1 of -msgid "A class representing ratelimited sessions as a \"locked\" event." +#: interactions.api.http.route.Route.endpoint:3 of +msgid "The route endpoint." msgstr "" -#: interactions.api.http.Padlock:3 of -msgid "The lock coroutine event." +#: interactions.api.http.limiter.Limiter:1 of +msgid "A class representing a limitation for an HTTP request." msgstr "" -#: interactions.api.http.Padlock:4 of -msgid "Whether the lock should stay open or not." +#: interactions.api.http.limiter.Limiter:3 of +msgid "The \"lock\" or controller of the request." msgstr "" -#: interactions.api.http.Padlock.click:1 of -msgid "Re-closes the lock after the instiantiation and invocation ends." +#: interactions.api.http.limiter.Limiter:4 of +msgid "The remaining time before the request can be ran." msgstr "" -#: interactions.api.http.Request:1 of +#: interactions.api.http.request._Request:1 of msgid "A class representing how HTTP requests are sent/read." msgstr "" -#: interactions.api.http.Request:3 of +#: interactions.api.http.request._Request:3 of msgid "The current application token." msgstr "" -#: interactions.api.http.Request:4 of +#: interactions.api.http.request._Request:4 of msgid "The current coroutine event loop." msgstr "" -#: interactions.api.http.Request:5 of -msgid "The current ratelimits from the Discord API." +#: interactions.api.http.request._Request:5 of +msgid "The current per-route rate limiters from the API." +msgstr "" + +#: interactions.api.http.request._Request:6 of +msgid "The current endpoint to shared_bucket cache from the API." msgstr "" -#: interactions.api.http.Request:6 of +#: interactions.api.http.request._Request:7 of msgid "The current headers for an HTTP request." msgstr "" -#: interactions.api.http.Request:7 of +#: interactions.api.http.request._Request:8 of msgid "The current session for making requests." msgstr "" -#: interactions.api.http.Request:8 of -msgid "The ratelimit lock event." +#: interactions.api.http.request._Request:9 of +msgid "The global rate limiter." msgstr "" -#: interactions.api.http.Request.check_session:1 of +#: interactions.api.http.request._Request._check_session:1 of msgid "Ensures that we have a valid connection session." msgstr "" -#: interactions.api.http.Request.request:1 of -msgid "Sends a request to the Discord API." +#: interactions.api.http.request._Request._check_lock:1 of +msgid "Checks the global lock for its current state." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member -#: interactions.api.http.HTTPClient.add_member_role -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions -#: interactions.api.http.HTTPClient.create_application_command -#: interactions.api.http.HTTPClient.create_channel -#: interactions.api.http.HTTPClient.create_channel_invite -#: interactions.api.http.HTTPClient.create_guild_from_guild_template -#: interactions.api.http.HTTPClient.create_guild_kick -#: interactions.api.http.HTTPClient.create_guild_template -#: interactions.api.http.HTTPClient.create_interaction_response -#: interactions.api.http.HTTPClient.create_message -#: interactions.api.http.HTTPClient.create_stage_instance -#: interactions.api.http.HTTPClient.create_thread -#: interactions.api.http.HTTPClient.delete_application_command -#: interactions.api.http.HTTPClient.delete_channel -#: interactions.api.http.HTTPClient.delete_channel_permission -#: interactions.api.http.HTTPClient.delete_guild -#: interactions.api.http.HTTPClient.delete_guild_template -#: interactions.api.http.HTTPClient.delete_stage_instance -#: interactions.api.http.HTTPClient.delete_webhook_message -#: interactions.api.http.HTTPClient.edit_application_command -#: interactions.api.http.HTTPClient.edit_application_command_permissions -#: interactions.api.http.HTTPClient.edit_channel_permission -#: interactions.api.http.HTTPClient.edit_message -#: interactions.api.http.HTTPClient.edit_webhook_message -#: interactions.api.http.HTTPClient.execute_github_webhook -#: interactions.api.http.HTTPClient.execute_slack_webhook -#: interactions.api.http.HTTPClient.execute_webhook -#: interactions.api.http.HTTPClient.get_all_application_command_permissions -#: interactions.api.http.HTTPClient.get_all_channels -#: interactions.api.http.HTTPClient.get_all_emoji -#: interactions.api.http.HTTPClient.get_application_command_permissions -#: interactions.api.http.HTTPClient.get_channel_messages -#: interactions.api.http.HTTPClient.get_guild_templates -#: interactions.api.http.HTTPClient.get_guild_widget_image -#: interactions.api.http.HTTPClient.get_guild_widget_settings -#: interactions.api.http.HTTPClient.get_list_of_members -#: interactions.api.http.HTTPClient.get_stage_instance -#: interactions.api.http.HTTPClient.get_webhook_message -#: interactions.api.http.HTTPClient.leave_guild -#: interactions.api.http.HTTPClient.list_public_archived_threads -#: interactions.api.http.HTTPClient.modify_current_user_voice_state -#: interactions.api.http.HTTPClient.modify_guild -#: interactions.api.http.HTTPClient.modify_guild_template -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen -#: interactions.api.http.HTTPClient.modify_guild_widget -#: interactions.api.http.HTTPClient.modify_member -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild -#: interactions.api.http.HTTPClient.modify_stage_instance -#: interactions.api.http.HTTPClient.modify_user_voice_state -#: interactions.api.http.HTTPClient.move_channel -#: interactions.api.http.HTTPClient.overwrite_application_command -#: interactions.api.http.HTTPClient.publish_message -#: interactions.api.http.HTTPClient.remove_all_reactions -#: interactions.api.http.HTTPClient.remove_member_role -#: interactions.api.http.HTTPClient.remove_user_reaction -#: interactions.api.http.HTTPClient.search_guild_members -#: interactions.api.http.HTTPClient.sync_guild_template -#: interactions.api.http.HTTPClient.trigger_typing -#: interactions.api.http.Request.request of -msgid "Parameters" +#: interactions.api.http.request._Request.request:1 of +msgid "Sends a request to the Discord API." msgstr "" -#: interactions.api.http.Request.request:3 of +#: interactions.api.http.request._Request.request:3 of msgid "The HTTP route to request." msgstr "" -#: interactions.api.http.Request.request:5 of +#: interactions.api.http.request._Request.request:5 of msgid "Optional keyword-only arguments to pass as information in the request." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:4 -#: interactions.api.http.Request.request:7 of -msgid "None" +#: interactions.api.http.request._Request.request:7 of +msgid "The contents of the request if any." msgstr "" -#: interactions.api.http.Request.close:1 of +#: interactions.api.http.request._Request.close:1 of msgid "Closes the current session." msgstr "" -#: interactions.api.http.HTTPClient:1 of -msgid "" -"A WIP class that represents the http Client that handles all major " -"endpoints to Discord API." +#: interactions.api.http.client.HTTPClient:1 of +msgid "The user-facing client of the Web API for individual endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:3 of +msgid "The token of the application." msgstr "" -#: interactions.api.http.HTTPClient.get_gateway:1 of +#: interactions.api.http.client.HTTPClient:4 of +msgid "The requesting interface for endpoints." +msgstr "" + +#: interactions.api.http.client.HTTPClient:5 of +msgid "The referenced cache." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_gateway:1 of msgid "" "This calls the Gateway endpoint and returns a v9 gateway link with JSON " "encoding." msgstr "" -#: interactions.api.http.HTTPClient.get_bot_gateway:1 of -msgid "" -"This calls the BOT Gateway endpoint. :return: A tuple denoting (shard, " -"gateway_url), url from API v9 and JSON encoding" +#: interactions.api.http.client.HTTPClient.get_bot_gateway:1 of +msgid "This calls the BOT Gateway endpoint." +msgstr "" + +#: interactions.api.http.client.HTTPClient.get_bot_gateway:3 of +msgid "A tuple denoting (shard, gateway_url), url from API v9 and JSON encoding" msgstr "" -#: interactions.api.http.HTTPClient.login:1 of +#: interactions.api.http.client.HTTPClient.login:1 of msgid "" "This 'logins' to the gateway, which makes it available to use any other " "endpoint." msgstr "" -#: interactions.api.http.HTTPClient.logout:1 of +#: interactions.api.http.client.HTTPClient.logout:1 of msgid "This 'log outs' the session." msgstr "" -#: interactions.api.http.HTTPClient.get_current_bot_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_bot_information:1 of msgid "Returns the bot user application object without flags." msgstr "" -#: interactions.api.http.HTTPClient.get_current_authorisation_information:1 of +#: interactions.api.http.client.HTTPClient.get_current_authorisation_information:1 +#: of msgid "Returns info about the current authorization of the bot user" msgstr "" -#: interactions.api.http.HTTPClient.get_voice_regions:1 of +#: interactions.api.http.channel.ChannelRequest.get_channel:1 of msgid "" -"Gets a list from the API a list of voice regions. :return: An array of " -"Voice Region objects." +"Gets a channel by ID. If the channel is a thread, it also includes thread" +" members (and other thread attributes)." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:6 +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:3 +#: interactions.api.http.channel.ChannelRequest.get_channel:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:3 +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:6 +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:3 +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.modify_channel:3 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:3 +#: interactions.api.http.channel.ChannelRequest.move_channel:4 +#: interactions.api.http.channel.ChannelRequest.trigger_typing:6 +#: interactions.api.http.message.MessageRequest.pin_message:3 +#: interactions.api.http.message.MessageRequest.unpin_message:3 +#: interactions.api.http.webhook.WebhookRequest.create_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:3 of +msgid "Channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_self:1 of -msgid "An alias to `get_user`, but only gets the current bot user." +#: interactions.api.http.channel.ChannelRequest.get_channel:4 of +msgid "Dictionary of the channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_self:3 of -msgid "" -":return A partial User object of the current bot user in the form of a " -"dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:1 of +msgid "Deletes a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_user:1 of -msgid "" -"Gets a user object for a given user ID. :param user_id: A user snowflake " -"ID. If omitted, this defaults to the current bot user. :return A partial " -"User object in the form of a dictionary." +#: interactions.api.http.channel.ChannelRequest.delete_channel:3 of +msgid "Channel ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_self:1 of -msgid "Modify the bot user account settings. :param payload: The data to send." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:1 of +msgid "Get messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:1 of -msgid "Changes a nickname of the current bot user in a guild." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:4 of +msgid "around, before, and after arguments are mutually exclusive." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:3 of -msgid "Guild snowflake ID." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:7 of +msgid "How many messages to get. Defaults to 50, the max is 100." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:4 of -msgid "The new nickname, if any." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:8 of +msgid "Get messages around this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_self_nick_in_guild:5 of -msgid "Nothing needed to be yielded." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:9 of +msgid "Get messages before this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.create_dm:1 of -msgid "" -"Creates a new DM channel with a user. :param recipient_id: User snowflake" -" ID. :return: Returns a dictionary representing a DM Channel object." +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:10 of +msgid "Get messages after this snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.send_message:1 of -msgid "" -"A higher level implementation of :meth:`create_message()` that handles " -"the payload dict internally. Does not integrate components into the " -"function, and is a port from v3.0.0" +#: interactions.api.http.channel.ChannelRequest.get_channel_messages:11 of +msgid "An array of Message objects." msgstr "" -#: interactions.api.http.HTTPClient.create_message:1 of -msgid "Send a message to the specified channel." +#: interactions.api.http.channel.ChannelRequest.create_channel:1 of +msgid "Creates a channel within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_message:3 of -msgid "Dictionary contents of a message. (i.e. message payload)" +#: interactions.api.http.channel.ChannelRequest.create_channel:4 of +msgid "This does not handle payload in this method. Tread carefully." msgstr "" -#: interactions.api.http.HTTPClient.create_message:4 -#: interactions.api.http.HTTPClient.edit_message:3 of -msgid "Channel snowflake ID." +#: interactions.api.http.channel.ChannelRequest.create_channel:6 +#: interactions.api.http.channel.ChannelRequest.move_channel:3 +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:3 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:3 +#: interactions.api.http.guild.GuildRequest.add_guild_member:3 +#: interactions.api.http.guild.GuildRequest.create_guild_role:3 +#: interactions.api.http.guild.GuildRequest.create_guild_template:3 +#: interactions.api.http.guild.GuildRequest.delete_guild:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_role:3 +#: interactions.api.http.guild.GuildRequest.delete_guild_template:3 +#: interactions.api.http.guild.GuildRequest.get_guild_bans:6 +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:3 +#: interactions.api.http.guild.GuildRequest.get_guild_invites:3 +#: interactions.api.http.guild.GuildRequest.get_guild_preview:3 +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:3 +#: interactions.api.http.guild.GuildRequest.get_guild_templates:3 +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:6 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:3 +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.modify_guild:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:3 +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:3 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:3 +#: interactions.api.http.guild.GuildRequest.sync_guild_template:3 +#: interactions.api.http.member.MemberRequest.get_member:3 +#: interactions.api.http.member.MemberRequest.modify_member:5 +#: interactions.api.http.member.MemberRequest.search_guild_members:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:3 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:3 +#: of +msgid "Guild ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.create_message of -msgid "return dict" +#: interactions.api.http.channel.ChannelRequest.create_channel:7 of +msgid "Payload data." msgstr "" -#: interactions.api.http.HTTPClient.create_message:5 of -msgid "Dictionary representing a message (?)" +#: interactions.api.http.channel.ChannelRequest.create_channel:8 of +msgid "Reason to show in audit log, if needed." msgstr "" -#: interactions.api.http.HTTPClient.get_message:1 of -msgid "" -"Get a specific message in the channel. :param channel_id: the channel " -"this message belongs to :param message_id: the id of the message :return:" -" message if it exists." +#: interactions.api.http.channel.ChannelRequest.create_channel:9 of +msgid "Channel object as dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_message:1 of -msgid "" -"Deletes a message from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param reason: " -"Optional reason to show up in the audit log. Defaults to `None`." +#: interactions.api.http.channel.ChannelRequest.move_channel:1 of +msgid "Moves a channel to a new position." msgstr "" -#: interactions.api.http.HTTPClient.delete_messages:1 of +#: interactions.api.http.channel.ChannelRequest.move_channel:5 of +msgid "The new channel position." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:6 of +msgid "The category parent ID, if needed." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.move_channel:7 of msgid "" -"Deletes messages from a specified channel :param channel_id: Channel " -"snowflake ID. :param message_ids: An array of message snowflake IDs. " -":param reason: Optional reason to show up in the audit log. Defaults to " -"`None`." +"Sync permissions with the parent associated with parent_id. Defaults to " +"False." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:1 of -msgid "Edits a message that already exists." +#: interactions.api.http.channel.ChannelRequest.move_channel:8 of +msgid "Reason to display to the audit log, if any." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:4 of -msgid "Message snowflake ID." +#: interactions.api.http.channel.ChannelRequest.move_channel:9 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:7 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:7 of +msgid "?" msgstr "" -#: interactions.api.http.HTTPClient.edit_message:5 of -msgid "Any new data that needs to be changed." +#: interactions.api.http.channel.ChannelRequest.modify_channel:1 of +msgid "Update a channel's settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_message:7 of -msgid "A message object with edited attributes." +#: interactions.api.http.channel.ChannelRequest.modify_channel:4 of +msgid "Data representing updated settings." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:5 of +msgid "Reason, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_channel:6 of +msgid "Channel with updated attributes, if successful." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:1 of +msgid "Get the invites for the channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_channel_invites:4 of +msgid "List of invite objects" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:1 of +msgid "Creates an invite for the given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:4 of +msgid "This method does not handle payload. It just sends it." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:7 of +msgid "Data representing the payload/invite attributes." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:8 of +msgid "Reason to show in the audit log, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_channel_invite:9 of +msgid "An invite object." msgstr "" -#: interactions.api.http.HTTPClient.pin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:1 of msgid "" -"Pin a message to a channel. :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"Edits the channel's permission overwrites for a user or role in a given " +"channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:4 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:4 of +msgid "The ID of the overridden object." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:5 of +msgid "the bitwise value of all allowed permissions" msgstr "" -#: interactions.api.http.HTTPClient.unpin_message:1 of +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:6 of +msgid "the bitwise value of all disallowed permissions" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:7 of +msgid "0 for a role or 1 for a member" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:5 +#: interactions.api.http.channel.ChannelRequest.edit_channel_permission:8 of +msgid "Reason to display in the Audit Log, if given." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.delete_channel_permission:1 of +msgid "Deletes a channel permission overwrite for a user or role in a channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:1 of +msgid "Posts \"... is typing\" in a given channel." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.trigger_typing:4 of msgid "" -"Unpin a message to a channel :param channel_id: Channel ID snowflake. " -":param message_id: Message ID snowflake." +"By default, this lib doesn't use this endpoint, however, this is listed " +"for third-party implementation." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:1 of +msgid "Get all pinned messages from a channel." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:1 of +#: interactions.api.http.channel.ChannelRequest.get_pinned_messages:4 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:1 of +msgid "Create a new stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:4 of +msgid "The topic of the stage instance. Limited to 1-120 characters." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:5 of +msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:6 +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:4 +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:6 of +msgid "The reason for the creating the stage instance, if any." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.create_stage_instance:7 of +msgid "The new stage instance" +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:1 of +msgid "Get the stage instance associated with a given channel, if it exists." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.get_stage_instance:4 of +msgid "A stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:1 of +msgid "Update the fields of a given stage instance." +msgstr "" + +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:4 of msgid "" -"Publishes (API calls it crossposts) a message in a News channel to any " -"that is followed by." +"The new topic of the stage instance, if given. Limited to 1-120 " +"characters." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:3 of -msgid "Channel the message is in" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:5 of +msgid "The new privacy_level of the stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:4 of -msgid "The id of the message to publish" +#: interactions.api.http.channel.ChannelRequest.modify_stage_instance:7 of +msgid "The updated stage instance." msgstr "" -#: interactions.api.http.HTTPClient.publish_message:5 of -msgid "message object" +#: interactions.api.http.channel.ChannelRequest.delete_stage_instance:1 of +msgid "Delete a stage instance." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:1 of +msgid "Gets all emojis from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_all_emoji:4 of +msgid "A list of emojis." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:1 of +msgid "Gets an emote from a guild." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:4 of +msgid "Emoji ID snowflake." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.get_guild_emoji:5 of +msgid "Emoji object" msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:1 of +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:1 of +msgid "Creates an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:4 of +msgid "Emoji parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:5 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:6 of +msgid "Optionally, give a reason." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.create_guild_emoji:6 of +msgid "An emoji object with the included parameters." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:1 of +msgid "Modifies an emoji." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:4 +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:4 of +msgid "Emoji ID snowflake" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:5 of +msgid "Emoji parameters with updated attributes" +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.modify_guild_emoji:7 of +msgid "An emoji object with updated attributes." +msgstr "" + +#: interactions.api.http.emoji.EmojiRequest.delete_guild_emoji:1 of +msgid "Deletes an emoji." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_self_guilds:1 of msgid "Gets all guild objects associated with the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.get_self_guilds:3 of +#: interactions.api.http.guild.GuildRequest.get_self_guilds:3 of msgid ":return a list of partial guild objects the current bot user is a part of." msgstr "" -#: interactions.api.http.HTTPClient.get_guild:1 of -msgid "" -"Requests an individual guild from the API. :param guild_id: The guild " -"snowflake ID associated. :return: The guild object associated, if any." +#: interactions.api.http.guild.GuildRequest.get_guild:1 of +msgid "Requests an individual guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_preview:1 of -msgid "" -"Get a guild's preview. :param guild_id: Guild ID snowflake. :return: " -"Guild Preview object associated with the snowflake" +#: interactions.api.http.guild.GuildRequest.get_guild:3 +#: interactions.api.http.guild.GuildRequest.leave_guild:3 of +msgid "The guild snowflake ID associated." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:1 of -msgid "Modifies a guild's attributes." +#: interactions.api.http.guild.GuildRequest.get_guild:4 of +msgid "The guild object associated, if any." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 -#: interactions.api.http.HTTPClient.create_channel_invite:4 -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 -#: interactions.api.http.HTTPClient.get_channel_messages:4 -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid ".. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_preview:1 of +msgid "Get a guild's preview." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:4 of -msgid "" -"This only sends the payload. You will have to check it when a higher-" -"level function calls this." -msgstr "" - -#: interactions.api.http.HTTPClient.add_guild_member:3 -#: interactions.api.http.HTTPClient.create_channel:6 -#: interactions.api.http.HTTPClient.create_guild_template:3 -#: interactions.api.http.HTTPClient.delete_guild:3 -#: interactions.api.http.HTTPClient.delete_guild_template:3 -#: interactions.api.http.HTTPClient.get_all_emoji:3 -#: interactions.api.http.HTTPClient.get_guild_templates:3 -#: interactions.api.http.HTTPClient.get_guild_widget_image:5 -#: interactions.api.http.HTTPClient.get_guild_widget_settings:3 -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:3 -#: interactions.api.http.HTTPClient.modify_guild:6 -#: interactions.api.http.HTTPClient.modify_guild_template:3 -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:3 -#: interactions.api.http.HTTPClient.modify_guild_widget:3 -#: interactions.api.http.HTTPClient.modify_member:5 -#: interactions.api.http.HTTPClient.modify_user_voice_state:3 -#: interactions.api.http.HTTPClient.move_channel:3 -#: interactions.api.http.HTTPClient.search_guild_members:3 -#: interactions.api.http.HTTPClient.sync_guild_template:3 of -msgid "Guild ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_preview:4 of +msgid "Guild Preview object associated with the snowflake" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild:1 of +msgid "Modifies a guild's attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild:4 of msgid "The parameters to change." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild:8 of +#: interactions.api.http.guild.GuildRequest.modify_guild:5 of msgid "Reason to send to the audit log, if given." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild:6 of +msgid "The modified guild object as a dictionary" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.leave_guild:1 of msgid "Leaves a guild." msgstr "" -#: interactions.api.http.HTTPClient.leave_guild:3 of -msgid "The guild snowflake ID associated." +#: interactions.api.http.guild.GuildRequest.leave_guild:4 of +msgid "None" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild:1 of msgid "Deletes a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget:1 of -msgid "" -"Returns the widget for the guild. :param guild_id: Guild ID snowflake. " -":return: Guild Widget contents as a dict: {\"enabled\":bool, " -"\"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget:1 of +msgid "Returns the widget for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_widget:4 +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:4 of +msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_settings:1 of msgid "Get guild widget settings." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_settings:4 of -msgid "Guild Widget contents as a dict: {\"enabled\":bool, \"channel_id\": str}" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:1 of +msgid "Get an url representing a png image widget for the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:1 of -msgid "Get a url representing a png image widget for the guild. .. note::" +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:4 of +msgid "" +"See _ for list of styles." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:6 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:7 of msgid "The style of widget required, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_widget_image:7 of +#: interactions.api.http.guild.GuildRequest.get_guild_widget_image:8 of msgid "A url pointing to this image" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:1 of msgid "Modify a guild widget." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:4 of msgid "Payload containing new widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_widget:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_widget:5 of msgid "Updated widget attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_invites:1 of -msgid "" -"Retrieves a list of invite objects with their own metadata. :param " -"guild_id: Guild ID snowflake. :return: A list of invite objects" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:1 of +msgid "Retrieves a list of invite objects with their own metadata." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_welcome_screen:1 of -msgid "" -"Retrieves from the API a welcome screen associated with the guild :param " -"guild_id: Guild ID snowflake. :return: Welcome Screen object" +#: interactions.api.http.guild.GuildRequest.get_guild_invites:4 of +msgid "A list of invite objects" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:1 of +msgid "Retrieves from the API a welcome screen associated with the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_welcome_screen:4 of +msgid "Welcome Screen object" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:1 of msgid "Modify the guild's welcome screen." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:4 of msgid "Whether the welcome screen is enabled or not." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:5 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:5 of msgid "" "The new channels (by their ID) linked in the welcome screen and their " "display options" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:6 of msgid "The new server description to show in the welcome screen" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_welcome_screen:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_welcome_screen:7 of msgid "Updated Welcome screen object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_integrations:1 of -msgid "" -"Gets a list of integration objects associated with the Guild from the " -"API. :param guild_id: Guild ID snowflake. :return: An array of " -"integration objects" +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:1 of +msgid "Gets a list of integration objects associated with the Guild from the API." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_integration:1 of -msgid "" -"Deletes an integration from the guild. :param guild_id: Guild ID " -"snowflake. :param integration_id: Integration ID snowflake." +#: interactions.api.http.guild.GuildRequest.get_guild_integrations:4 of +msgid "An array of integration objects" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:1 of +msgid "Deletes an integration from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_integration:4 of +msgid "Integration ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:1 +#: of msgid "Update the current user voice state." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:5 of msgid "Voice channel ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:5 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:5 +#: of msgid "Toggle the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_current_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_current_user_voice_state:6 +#: of msgid "Sets the user's request to speak, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:1 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:1 of msgid "Modify the voice state of a user." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:4 -#: interactions.api.http.HTTPClient.modify_user_voice_state:4 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:4 +#: interactions.api.http.guild.GuildRequest.get_user_ban:4 +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_member:4 of msgid "User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.modify_user_voice_state:6 of +#: interactions.api.http.guild.GuildRequest.modify_user_voice_state:6 of msgid "Toggles the user's suppress state, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:1 of -msgid "Create a a new guild based on a template." +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:1 +#: of +msgid "Create a new guild based on a template." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:4 +#: of msgid "This endpoint can only be used by bots in less than 10 guilds." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:6 +#: of msgid "The code of the template to use." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:7 +#: of msgid "The name of the guild (2-100 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:8 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:8 +#: of msgid "Guild icon URI, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_from_guild_template:9 of +#: interactions.api.http.guild.GuildRequest.create_guild_from_guild_template:9 +#: of msgid "The newly created guild object." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:1 of msgid "Returns an array of guild templates." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_templates:4 of +#: interactions.api.http.guild.GuildRequest.get_guild_templates:4 of msgid "An array of guild templates" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:1 of msgid "Create a guild template for the guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:5 of msgid "The name of the template" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:5 of msgid "The description of the template, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.create_guild_template:6 of msgid "The created guild template" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:1 of msgid "Sync the template to the guild's current state." msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:4 of msgid "The code for the template to sync" msgstr "" -#: interactions.api.http.HTTPClient.sync_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.sync_guild_template:5 of msgid "The updated guild template." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:1 of msgid "Modify a guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:4 -#: interactions.api.http.HTTPClient.modify_guild_template:4 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_template:4 of msgid "Template ID." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:6 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:6 of msgid "The description of the template" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_template:7 of +#: interactions.api.http.guild.GuildRequest.modify_guild_template:7 of msgid "The updated guild template" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:1 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:1 of msgid "Delete the guild template." msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_template:5 of +#: interactions.api.http.guild.GuildRequest.delete_guild_template:5 of msgid "The deleted template object" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:1 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:1 of msgid "Requests from the API to get all channels in the guild." msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:3 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:3 of msgid "Guild Snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.get_all_channels:4 of +#: interactions.api.http.guild.GuildRequest.get_all_channels:4 of msgid "A list of channels." msgstr "" -#: interactions.api.http.HTTPClient.get_all_roles:1 of -msgid "" -"Gets all roles from a Guild. :param guild_id: Guild ID snowflake :return:" -" An array of Role objects." +#: interactions.api.http.guild.GuildRequest.get_all_roles:1 of +msgid "Gets all roles from a Guild." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_role:1 of -msgid "" -"Create a new role for the guild. :param guild_id: Guild ID snowflake. " -":param data: A dict containing metadata for the role. :param reason: The " -"reason for this action, if given. :return: Role object" +#: interactions.api.http.guild.GuildRequest.create_guild_ban:3 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:3 +#: interactions.api.http.guild.GuildRequest.get_all_roles:3 +#: interactions.api.http.guild.GuildRequest.get_user_ban:3 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:3 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:8 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:4 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:4 +#: interactions.api.http.member.MemberRequest.get_list_of_members:3 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:3 of +msgid "Guild ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role_position:1 of -msgid "" -"Modify the position of a role in the guild. :param guild_id: Guild ID " -"snowflake. :param role_id: Role ID snowflake. :param position: The new " -"position of the associated role. :param reason: The reason for this " -"action, if given. :return: List of guild roles with updated hierarchy." +#: interactions.api.http.guild.GuildRequest.get_all_roles:4 of +msgid "An array of Role objects as dictionaries." msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_role:1 of -msgid "" -"Modify a given role for the guild. :param guild_id: Guild ID snowflake. " -":param role_id: Role ID snowflake. :param data: A dict containing updated" -" metadata for the role. :param reason: The reason for this action, if " -"given. :return: Updated role object." +#: interactions.api.http.guild.GuildRequest.create_guild_role:1 of +msgid "Create a new role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:4 of +msgid "A dict containing metadata for the role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:5 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:6 +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:5 of +msgid "The reason for this action, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_role:6 of +msgid "Role object" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_role:1 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:1 of +msgid "Modify the position of a role in the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:4 of msgid "" -"Delete a guild role. :param guild_id: Guild ID snowflake. :param role_id:" -" Role ID snowflake. :param reason: The reason for this action, if any." +"A list of dicts containing the role IDs and new positions for all the " +"roles to be moved." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:1 of -msgid "Kicks a person from the guild." +#: interactions.api.http.guild.GuildRequest.modify_guild_role_positions:6 of +msgid "List of guild roles with updated hierarchy." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.create_guild_kick:3 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_application_command_permissions:4 -#: interactions.api.http.HTTPClient.get_list_of_members:3 of -msgid "Guild ID snowflake" +#: interactions.api.http.guild.GuildRequest.modify_guild_role:1 of +msgid "Modify a given role for the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:4 +#: interactions.api.http.guild.GuildRequest.modify_guild_role:4 of +msgid "Role ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.modify_guild_role:5 of +msgid "A dict containing updated metadata for the role." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:4 of +#: interactions.api.http.guild.GuildRequest.modify_guild_role:7 of +msgid "Updated role object." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:1 of +msgid "Delete a guild role." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.delete_guild_role:5 of +msgid "The reason for this action, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_kick:1 of +msgid "Kicks a person from the guild." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:4 +#: interactions.api.http.guild.GuildRequest.create_guild_kick:4 +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:4 of msgid "User ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_kick:5 of +#: interactions.api.http.guild.GuildRequest.create_guild_kick:5 of msgid "Optional Reason argument." msgstr "" -#: interactions.api.http.HTTPClient.create_guild_ban:1 of +#: interactions.api.http.guild.GuildRequest.create_guild_ban:1 of msgid "" "Bans a person from the guild, and optionally deletes previous messages " -"sent by them. :param guild_id: Guild ID snowflake :param user_id: User ID" -" snowflake :param delete_message_days: Number of days to delete messages," -" from 0 to 7. Defaults to 0 :param reason: Optional reason to ban." +"sent by them." msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_ban:1 of -msgid "" -"Unbans someone using the API. :param guild_id: Guild ID snowflake :param " -"user_id: User ID snowflake :param reason: Optional reason to unban." +#: interactions.api.http.guild.GuildRequest.create_guild_ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.create_guild_ban:6 of +msgid "Optional reason to ban." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:1 of +msgid "Unbans someone using the API." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.remove_guild_ban:5 of +msgid "Optional reason to unban." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_bans:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:4 of msgid "" -"Gets a list of banned users. :param guild_id: Guild ID snowflake. " -":return: A list of banned users." +"If both ``before`` and ``after`` are provided, only ``before`` is " +"respected." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:7 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:8 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_bans:9 of +msgid "Consider only users after the given User ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_user_ban:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_bans:10 of +msgid "A list of banned users." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:1 of msgid "" "Gets an object pertaining to the user, if it exists. Returns a 404 if it " -"doesn't. :param guild_id: Guild ID snowflake :param user_id: User ID " -"snowflake. :return: Ban object if it exists." +"doesn't." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_user_ban:5 of +msgid "Ban object if it exists." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:1 of msgid "" "A low level method of adding a user to a guild with pre-defined " "attributes." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:5 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:5 of msgid "User access token." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:6 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:6 of msgid "User's nickname on join." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:7 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:7 of msgid "An array of roles that the user is assigned." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:8 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:8 of msgid "Whether the user is mute in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:9 of +#: interactions.api.http.guild.GuildRequest.add_guild_member:9 of msgid "Whether the user is deafened in voice channels." msgstr "" -#: interactions.api.http.HTTPClient.add_guild_member:10 of -msgid "Guild member object (?)" +#: interactions.api.http.guild.GuildRequest.add_guild_member:10 of +msgid "Guild member object as dictionary" msgstr "" -#: interactions.api.http.HTTPClient.remove_guild_member:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:1 of msgid "" "A low level method of removing a member from a guild. This is different " -"from banning them. :param guild_id: Guild ID snowflake. :param user_id: " -"User ID snowflake. :param reason: Reason to send to audit log, if any." +"from banning them." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_prune_count:1 of +#: interactions.api.http.guild.GuildRequest.remove_guild_member:5 of +msgid "Reason to send to audit log, if any." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:1 of msgid "" "Retrieves a dict from an API that results in how many members would be " -"pruned given the amount of days. :param guild_id: Guild ID snowflake. " -":param days: Number of days to count. Defaults to ``7``. :param " -"include_roles: Role IDs to include, if given. :return: A dict denoting " -"`{\"pruned\": int}`" +"pruned given the amount of days." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:4 of +msgid "Number of days to count. Defaults to ``7``." msgstr "" -#: interactions.api.http.HTTPClient.get_member:1 of +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:5 of +msgid "Role IDs to include, if given." +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_prune_count:6 of +msgid "A dict denoting `{\"pruned\": int}`" +msgstr "" + +#: interactions.api.http.guild.GuildRequest.get_guild_auditlog:1 of msgid "" -"Uses the API to fetch a member from a guild. :param guild_id: Guild ID " -"snowflake. :param member_id: Member ID snowflake. :return: A member " -"object, if any." +"Returns an audit log object for the guild. Requires the 'VIEW_AUDIT_LOG' " +"permission. :param guild_id: Guild ID snowflake. :param user_id: User ID " +"snowflake. filter the log for actions made by a user. :param action_type:" +" the type ID of audit log event. :param before: filter the log before a " +"certain entry id. :param limit: how many entries are returned (default " +"50, minimum 1, maximum 100)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:1 +#: of +msgid "Get all application commands from an application." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:7 +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:3 +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:3 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:6 +#: of +msgid "Application ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:4 +#: of +msgid "Guild to get commands from, if specified. Defaults to global (None)" msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:1 of +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:5 +#: of +msgid "" +"Whether to include full localization dictionaries (name_localizations and" +" description_localizations) in the returned objects, instead of the " +"name_localized and description_localized fields. Default false." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_commands:6 +#: of +msgid "A list of Application commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:1 +#: of +msgid "Registers to the Discord API an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:4 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:7 +#: of +msgid "The dictionary that contains the command (name, description, etc)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:5 +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:8 +#: of +msgid "Guild ID snowflake to put them in, if applicable." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_application_command:6 +#: of +msgid "An application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:1 +#: of +msgid "" +"Overwrites application command(s) from a scope to the new, updated " +"commands." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:4 +#: of +msgid "" +"This applies to all forms of application commands (slash and context " +"menus)" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.overwrite_application_command:9 +#: of +msgid "An array of application command objects." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:1 +#: of +msgid "Edits an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:4 +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:4 +#: of +msgid "Application ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:4 +#: of +msgid "A dictionary containing updated attributes" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:5 +#: of +msgid "The application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:6 +#: of +msgid "Guild ID snowflake, if given. Defaults to None/global." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command:7 +#: of +msgid "The updated application command object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:1 +#: of +msgid "Deletes an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:4 +#: of +msgid "Application command ID snowflake." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_application_command:5 +#: of +msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:1 +#: of +msgid "Edits permissions for an application command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:4 +#: of +msgid "" +"This requires authenticating with the Bearer token. Likewise, if this " +"function is used in a bot process with a bot token, this will fail." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:9 +#: of +msgid "Application command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:10 +#: of +msgid "Permission data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_application_command_permissions:11 +#: of +msgid "Returns an updated Application Guild permission object." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from a specific Guild application" +" command." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:5 +#: of +msgid "Application Command ID snowflake" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_application_command_permissions:6 +#: of +msgid "a Guild Application Command permissions object" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:1 +#: of +msgid "" +"Gets, from the Discord API, permissions from all Application commands at " +"that Guild." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_all_application_command_permissions:5 +#: of +msgid "An array of Guild Application Command permissions" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:1 +#: of +msgid "Posts initial response to an interaction, but you need to add the token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:3 +#: of +msgid "Token." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.create_interaction_response:5 +#: interactions.api.http.user.UserRequest.modify_self:3 of +msgid "The data to send." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:1 +#: of +msgid "Gets an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:3 +#: of +msgid "token" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:5 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:6 +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:5 +#: of +msgid "" +"Message ID snowflake. Defaults to `@original` which represents the " +"initial response msg." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.get_original_interaction_response:6 +#: of +msgid "Message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:1 +#: of +msgid "" +"Edits an existing interaction message, but token needs to be manually " +"called." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:3 +#: of +msgid "A dictionary containing the new response." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:5 +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:3 +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:4 +#: of +msgid "the token of the interaction" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.edit_interaction_response:7 +#: of +msgid "Updated message data." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest.delete_interaction_response:1 +#: of +msgid "Deletes an existing interaction message." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:1 of +msgid "Send a followup to an interaction." +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:3 of +msgid "the payload to send" +msgstr "" + +#: interactions.api.http.interaction.InteractionRequest._post_followup:4 of +msgid "the id of the application" +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:1 of +msgid "Uses the API to fetch a member from a guild." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:4 +#: interactions.api.http.member.MemberRequest.modify_member:4 of +msgid "Member ID snowflake." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_member:5 of +msgid "A member object, if any." +msgstr "" + +#: interactions.api.http.member.MemberRequest.get_list_of_members:1 of msgid "Lists the members of a guild." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:4 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:4 of msgid "How many members to get from the API. Max is 1000. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:5 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:5 of msgid "Get Member IDs after this snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.get_list_of_members:6 of +#: interactions.api.http.member.MemberRequest.get_list_of_members:6 of msgid "An array of Member objects." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:1 of +#: interactions.api.http.member.MemberRequest.search_guild_members:1 of msgid "" -"Search a guild for members who's username or nickname starts with " +"Search a guild for members whose username or nickname starts with " "provided string." msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:4 of +#: interactions.api.http.member.MemberRequest.search_guild_members:4 of msgid "The string to search for" msgstr "" -#: interactions.api.http.HTTPClient.search_guild_members:5 of +#: interactions.api.http.member.MemberRequest.search_guild_members:5 of msgid "The number of members to return. Defaults to 1." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:1 of +#: interactions.api.http.member.MemberRequest.add_member_role:1 of msgid "Adds a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:3 -#: interactions.api.http.HTTPClient.remove_member_role:3 of +#: interactions.api.http.member.MemberRequest.add_member_role:3 +#: interactions.api.http.member.MemberRequest.remove_member_role:3 of msgid "The ID of the guild" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:4 -#: interactions.api.http.HTTPClient.remove_member_role:4 of +#: interactions.api.http.member.MemberRequest.add_member_role:4 +#: interactions.api.http.member.MemberRequest.remove_member_role:4 of msgid "The ID of the user" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:5 -#: interactions.api.http.HTTPClient.remove_member_role:5 of +#: interactions.api.http.member.MemberRequest.add_member_role:5 +#: interactions.api.http.member.MemberRequest.remove_member_role:5 of msgid "The ID of the role to add" msgstr "" -#: interactions.api.http.HTTPClient.add_member_role:6 -#: interactions.api.http.HTTPClient.remove_member_role:6 of +#: interactions.api.http.member.MemberRequest.add_member_role:6 +#: interactions.api.http.member.MemberRequest.modify_member:7 +#: interactions.api.http.member.MemberRequest.remove_member_role:6 of msgid "The reason for this action. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.remove_member_role:1 of +#: interactions.api.http.member.MemberRequest.remove_member_role:1 of msgid "Removes a role to a guild member." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:1 of +#: interactions.api.http.member.MemberRequest.modify_member:1 of msgid "" "Edits a member. This can nick them, change their roles, mute/deafen (and " -"its contrary), and moving them across channels and/or disconnect them" -msgstr "" - -#: interactions.api.http.HTTPClient.modify_member:4 of -msgid "Member ID snowflake." +"its contrary), and moving them across channels and/or disconnect them." msgstr "" -#: interactions.api.http.HTTPClient.modify_member:6 of +#: interactions.api.http.member.MemberRequest.modify_member:6 of msgid "Payload representing parameters (nick, roles, mute, deaf, channel_id)" msgstr "" -#: interactions.api.http.HTTPClient.modify_member:7 of -msgid "? (modified voice state? not sure)" +#: interactions.api.http.member.MemberRequest.modify_member:8 of +msgid "Modified member object." msgstr "" -#: interactions.api.http.HTTPClient.get_channel:1 of +#: interactions.api.http.message.MessageRequest.send_message:1 of msgid "" -"Gets a channel by ID. If the channel is a thread, it also includes thread" -" members (and other thread attributes) :param channel_id: Channel ID " -"snowflake. :return: Channel object." +"A higher level implementation of :meth:`create_message()` that handles " +"the payload dict internally. Does not integrate components into the " +"function, and is a port from v3.0.0" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:1 of +msgid "Send a message to the specified channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:3 of +msgid "Dictionary contents of a message. (i.e. message payload)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:4 +#: interactions.api.http.message.MessageRequest.delete_message:3 +#: interactions.api.http.message.MessageRequest.delete_messages:3 +#: interactions.api.http.message.MessageRequest.edit_message:3 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:3 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:3 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:3 of +msgid "Channel snowflake ID." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:5 +#: interactions.api.http.message.MessageRequest.edit_message:6 of +msgid "An optional list of files to send attached to the message." +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message of +msgid "return dict" +msgstr "" + +#: interactions.api.http.message.MessageRequest.create_message:6 of +msgid "Dictionary representing a message (?)" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:1 of +msgid "Get a specific message in the channel." +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:3 of +msgid "the channel this message belongs to" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:4 of +msgid "the id of the message" +msgstr "" + +#: interactions.api.http.message.MessageRequest.get_message:5 of +msgid "message if it exists." +msgstr "" + +#: interactions.api.http.message.MessageRequest.delete_message:1 of +msgid "Deletes a message from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:1 of -msgid "Deletes a channel." +#: interactions.api.http.message.MessageRequest.delete_message:4 +#: interactions.api.http.message.MessageRequest.edit_message:4 +#: interactions.api.http.reaction.ReactionRequest.create_reaction:4 +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:4 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:4 of +msgid "Message snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel:3 of -msgid "Channel ID snowflake" +#: interactions.api.http.message.MessageRequest.delete_message:5 +#: interactions.api.http.message.MessageRequest.delete_messages:5 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:1 of -msgid "Get messages from a channel." +#: interactions.api.http.message.MessageRequest.delete_messages:1 of +msgid "Deletes messages from a specified channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:4 of -msgid "around, before, and after arguments are mutually exclusive." +#: interactions.api.http.message.MessageRequest.delete_messages:4 of +msgid "An array of message snowflake IDs." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:6 -#: interactions.api.http.HTTPClient.create_stage_instance:3 -#: interactions.api.http.HTTPClient.delete_channel_permission:3 -#: interactions.api.http.HTTPClient.delete_stage_instance:3 -#: interactions.api.http.HTTPClient.edit_channel_permission:3 -#: interactions.api.http.HTTPClient.get_channel_messages:6 -#: interactions.api.http.HTTPClient.get_stage_instance:3 -#: interactions.api.http.HTTPClient.modify_stage_instance:3 -#: interactions.api.http.HTTPClient.move_channel:4 -#: interactions.api.http.HTTPClient.trigger_typing:5 of -msgid "Channel ID snowflake." +#: interactions.api.http.message.MessageRequest.edit_message:1 of +msgid "Edits a message that already exists." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:7 of -msgid "How many messages to get. Defaults to 50, the max is 100." +#: interactions.api.http.message.MessageRequest.edit_message:5 of +msgid "Any new data that needs to be changed." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:8 of -msgid "Get messages around this snowflake ID." +#: interactions.api.http.message.MessageRequest.edit_message:8 of +msgid "A message object with edited attributes." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:9 of -msgid "Get messages before this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:1 of +msgid "Pin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:10 of -msgid "Get messages after this snowflake ID." +#: interactions.api.http.message.MessageRequest.pin_message:4 +#: interactions.api.http.message.MessageRequest.unpin_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:5 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:5 of +msgid "Message ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_messages:11 of -msgid "An array of Message objects." +#: interactions.api.http.message.MessageRequest.unpin_message:1 of +msgid "Unpin a message to a channel." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:1 of -msgid "Creates a channel within a guild." +#: interactions.api.http.message.MessageRequest.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in a News channel to any " +"that is followed by." msgstr "" -#: interactions.api.http.HTTPClient.create_channel:4 of -msgid "This does not handle payload in this method. Tread carefully." +#: interactions.api.http.message.MessageRequest.publish_message:3 of +msgid "Channel the message is in" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:7 of -msgid "Payload data." +#: interactions.api.http.message.MessageRequest.publish_message:4 of +msgid "The id of the message to publish" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:8 of -msgid "Reason to show in audit log, if needed." +#: interactions.api.http.message.MessageRequest.publish_message:5 of +msgid "message object" msgstr "" -#: interactions.api.http.HTTPClient.create_channel:9 of -msgid "Channel object." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:1 of +msgid "Create a reaction for a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:1 of -msgid "Moves a channel to a new position." +#: interactions.api.http.reaction.ReactionRequest.create_reaction:5 of +msgid "The emoji to use (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:5 of -msgid "The new channel position." +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:1 of +msgid "Remove bot user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:6 of -msgid "The category parent ID, if needed." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:5 +#: interactions.api.http.reaction.ReactionRequest.remove_self_reaction:5 of +msgid "The emoji to remove (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.move_channel:7 of -msgid "" -"Sync permissions with the parent associated with parent_id. Defaults to " -"False." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:1 of +msgid "Remove user's reaction from a message." msgstr "" -#: interactions.api.http.HTTPClient.move_channel:8 of -msgid "Reason to display to the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:3 of +msgid "The channel this is taking place in" msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:7 -#: interactions.api.http.HTTPClient.execute_slack_webhook:7 -#: interactions.api.http.HTTPClient.move_channel:9 of -msgid "?" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:4 of +msgid "The message to remove the reaction on." msgstr "" -#: interactions.api.http.HTTPClient.modify_channel:1 of -msgid "" -"Update a channel's settings. :param channel_id: Channel ID snowflake. " -":param data: Data representing updated settings. :param reason: Reason, " -"if any. :return: Channel with updated attributes, if successful." +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:5 of +msgid "The emoji to remove. (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.get_channel_invites:1 of -msgid "" -"Get the invites for the channel. :param channel_id: Channel ID snowflake." -" :return: List of invite objects" +#: interactions.api.http.reaction.ReactionRequest.remove_user_reaction:6 of +msgid "The user to remove reaction of." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:1 of -msgid "Creates an invite for the given channel." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:1 of +msgid "Remove all reactions from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:4 of -msgid "This method does not handle payload. It just sends it." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:3 of +msgid "The channel this is taking place in." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:7 of -msgid "Data representing the payload/invite attributes." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions:4 of +msgid "The message to clear reactions from." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:8 of -msgid "Reason to show in the audit log, if any." +#: interactions.api.http.reaction.ReactionRequest.remove_all_reactions_of_emoji:1 +#: of +msgid "Remove all reactions of a certain emoji from a message." msgstr "" -#: interactions.api.http.HTTPClient.create_channel_invite:9 of -msgid "An invite object." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:1 of +msgid "Gets the users who reacted to the emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_invite:1 of -msgid "" -"Delete an invite. :param invite_code: The code of the invite to delete " -":param reason: Reason to show in the audit log, if any. :return: The " -"deleted invite object" +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:5 of +msgid "The emoji to get (format: `name:id`)" msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:1 of -msgid "" -"Edits the channel's permission overwrites for a user or role in a given " -"channel." +#: interactions.api.http.reaction.ReactionRequest.get_reactions_of_emoji:6 of +msgid "A list of users who sent that emoji." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:4 -#: interactions.api.http.HTTPClient.edit_channel_permission:4 of -msgid "The ID of the overridden object." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:1 +#: of +msgid "Creates a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:5 of -msgid "the bitwise value of all allowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:5 +#: of +msgid "" +"The dictionary containing the parameters and values to edit the " +"associated event." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:6 of -msgid "the bitwise value of all disallowed permissions" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.create_scheduled_event:5 +#: of +msgid "A dictionary containing the new guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.edit_channel_permission:7 of -msgid "0 for a role or 1 for a member" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:1 +#: of +msgid "Gets a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:5 -#: interactions.api.http.HTTPClient.edit_channel_permission:8 of -msgid "Reason to display in the Audit Log, if given." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:4 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:4 +#: of +msgid "Guild Scheduled Event ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.delete_channel_permission:1 of -msgid "Deletes a channel permission overwrite for a user or role in a channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:5 +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:4 +#: of +msgid "" +"A boolean to include number of users subscribed to the associated event, " +"if given." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:1 of -msgid "Posts \"... is typing\" in a given channel." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event:6 +#: of +msgid "A dictionary containing the guild scheduled event object on success." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:4 -#: interactions.api.http.HTTPClient.trigger_typing:3 of -msgid "..note:" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:1 +#: of +msgid "Gets all guild scheduled events in a guild." msgstr "" -#: interactions.api.http.HTTPClient.trigger_typing:4 of +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_events:5 +#: of msgid "" -"By default, this lib doesn't use this endpoint, however, this is listed " -"for third-party implementation." +"A List of a dictionary containing the guild scheduled event objects on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.get_pinned_messages:1 of -msgid "" -"Get all pinned messages from a channel. :param channel_id: Channel ID " -"snowflake. :return: A list of pinned message objects." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:1 +#: of +msgid "Modifies a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:1 of -msgid "Create a new stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.modify_scheduled_event:6 +#: of +msgid "" +"A dictionary containing the updated guild scheduled event object on " +"success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:4 of -msgid "The topic of the stage instance. Limited to 1-120 characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:1 +#: of +msgid "Deletes a guild scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:5 of -msgid "The privacy_level of the stage instance (defaults to guild-only \"1\")." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.delete_scheduled_event:5 +#: of +msgid "Nothing on success." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:6 -#: interactions.api.http.HTTPClient.delete_stage_instance:4 -#: interactions.api.http.HTTPClient.modify_stage_instance:6 of -msgid "The reason for the creating the stage instance, if any." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:1 +#: of +msgid "Get the registered users of a scheduled event." msgstr "" -#: interactions.api.http.HTTPClient.create_stage_instance:7 of -msgid "The new stage instance" +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:4 +#: of +msgid "Guild Scheduled Event snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:1 of -msgid "Get the stage instance associated with a given channel, if it exists." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:5 +#: of +msgid "Limit of how many users to pull from the event. Defaults to 100." msgstr "" -#: interactions.api.http.HTTPClient.get_stage_instance:4 of -msgid "A stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:6 +#: of +msgid "Include guild member data if it exists. Defaults to False." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:1 of -msgid "Update the fields of a given stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:7 +#: of +msgid "Considers only users before given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:4 of -msgid "" -"The new topic of the stage instance, if given. Limited to 1-120 " -"characters." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:8 +#: of +msgid "Considers only users after given user ID snowflake. Defaults to None." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:5 of -msgid "The new privacy_level of the stage instance." +#: interactions.api.http.scheduledEvent.ScheduledEventRequest.get_scheduled_event_users:9 +#: of +msgid "Returns a list of guild scheduled event user objects on success." msgstr "" -#: interactions.api.http.HTTPClient.modify_stage_instance:7 of -msgid "The updated stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:1 of +msgid "Get a specific sticker." msgstr "" -#: interactions.api.http.HTTPClient.delete_stage_instance:1 of -msgid "Delete a stage instance." +#: interactions.api.http.sticker.StickerRequest.get_sticker:3 of +msgid "The id of the sticker" msgstr "" -#: interactions.api.http.HTTPClient.join_thread:1 of -msgid "Have the bot user join a thread. :param thread_id: The thread to join." +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.get_sticker:4 of +msgid "Sticker or None" msgstr "" -#: interactions.api.http.HTTPClient.leave_thread:1 of -msgid "Have the bot user leave a thread. :param thread_id: The thread to leave." +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:1 of +msgid "Gets the list of sticker packs available to Nitro subscribers." msgstr "" -#: interactions.api.http.HTTPClient.add_member_to_thread:1 of -msgid "" -"Add another user to a thread. :param thread_id: The ID of the thread " -":param user_id: The ID of the user to add" +#: interactions.api.http.sticker.StickerRequest.list_nitro_sticker_packs:3 of +msgid "List of sticker packs" msgstr "" -#: interactions.api.http.HTTPClient.remove_member_from_thread:1 of -msgid "" -"Remove another user from a thread. :param thread_id: The ID of the thread" -" :param user_id: The ID of the user to remove" +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:1 of +msgid "Get the stickers for a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_thread_members:1 of -msgid "" -"Get a list of members in the thread. :param thread_id: the id of the " -"thread :return: a list of member objects" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:3 of +msgid "The guild to get stickers from" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:1 of -msgid "Get a list of archived public threads in a given channel." +#: interactions.api.http.sticker.StickerRequest.list_guild_stickers:4 of +msgid "List of Stickers or None" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:3 of -msgid "The channel to get threads from" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:1 of +msgid "Get a sticker from a guild." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:4 of -msgid "Optional limit of threads to" +#: interactions.api.http.sticker.StickerRequest.get_guild_sticker:4 of +msgid "The sticker to get from the guild" msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:5 of -msgid "Get threads before this Thread snowflake ID" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:1 of +msgid "" +"Create a new sticker for the guild. Requires the " +"MANAGE_EMOJIS_AND_STICKERS permission." msgstr "" -#: interactions.api.http.HTTPClient.list_public_archived_threads:6 of -msgid "a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:3 of +msgid "the payload to send." msgstr "" -#: interactions.api.http.HTTPClient.list_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel. :param channel_id: " -"The channel to get threads from :param limit: Optional limit of threads " -"to :param before: Get threads before this Thread snowflake ID :return: a " -"list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:4 of +msgid "The guild to create sticker at." msgstr "" -#: interactions.api.http.HTTPClient.list_joined_private_archived_threads:1 of -msgid "" -"Get a list of archived private threads in a channel that the bot has " -"joined. :param channel_id: The channel to get threads from :param limit: " -"Optional limit of threads to :param before: Get threads before this " -"snowflake ID :return: a list of threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:5 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:6 of +msgid "The reason for this action." msgstr "" -#: interactions.api.http.HTTPClient.list_active_threads:1 of -msgid "" -"List active threads within a guild. :param guild_id: the guild id to get " -"threads from :return: A list of active threads" +#: interactions.api.http.sticker.StickerRequest.create_guild_sticker:6 of +msgid "The new sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:1 of +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:1 of msgid "" -"From a given channel, create a Thread with an optional message to start " -"with.." +"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:3 of -msgid "The ID of the channel to create this thread in" +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:3 +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:4 of +msgid "The guild of the target sticker." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:4 of -msgid "The name of the thread" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:5 of +msgid "The sticker to modify." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:5 of -msgid "" -"duration in minutes to automatically archive the thread after recent " -"activity, can be set to: 60, 1440, 4320, 10080" +#: interactions.api.http.sticker.StickerRequest.modify_guild_sticker:7 of +msgid "The updated sticker data on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:7 of +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:1 of msgid "" -"The type of thread, defaults to public. ignored if creating thread from a" -" message" +"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " +"permission." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:8 of -msgid "Boolean to display if the Thread is open to join or private." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:4 of +msgid "The sticker to delete." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:9 of -msgid "An optional message to create a thread from." +#: interactions.api.http.sticker.StickerRequest.delete_guild_sticker:6 of +msgid "Returns 204 No Content on success." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:10 of -msgid "An optional reason for the audit log" +#: interactions.api.http.thread.ThreadRequest.join_thread:1 of +msgid "Have the bot user join a thread." msgstr "" -#: interactions.api.http.HTTPClient.create_thread:11 of -msgid "The created thread" +#: interactions.api.http.thread.ThreadRequest.join_thread:3 of +msgid "The thread to join." msgstr "" -#: interactions.api.http.HTTPClient.create_reaction:1 of -msgid "" -"Create a reaction for a message. :param channel_id: Channel snowflake ID." -" :param message_id: Message snowflake ID. :param emoji: The emoji to use " -"(format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:1 of +msgid "Have the bot user leave a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_self_reaction:1 of -msgid "" -"Remove bot user's reaction from a message. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.leave_thread:3 of +msgid "The thread to leave." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:1 of -msgid "Remove user's reaction from a message" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:1 of +msgid "Add another user to a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:3 of -msgid "The channel this is taking place in" +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:3 +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:3 +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:3 of +msgid "The ID of the thread" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:4 of -msgid "The message to remove the reaction on." +#: interactions.api.http.thread.ThreadRequest.add_member_to_thread:4 of +msgid "The ID of the user to add" msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:5 of -msgid "The emoji to remove. (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:1 of +msgid "Remove another user from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_user_reaction:6 of -msgid "The user to remove reaction of." +#: interactions.api.http.thread.ThreadRequest.remove_member_from_thread:4 of +msgid "The ID of the user to remove" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:1 of -msgid "Remove all reactions from a message." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:1 of +msgid "Get a member from a thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:3 of -msgid "The channel this is taking place in." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:4 of +msgid "The ID of the user to find" msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions:4 of -msgid "The message to clear reactions from." +#: interactions.api.http.thread.ThreadRequest.get_member_from_thread:5 of +msgid "A thread member object, if they're in the thread." msgstr "" -#: interactions.api.http.HTTPClient.remove_all_reactions_of_emoji:1 of -msgid "" -"Remove all reactions of a certain emoji from a message. :param " -"channel_id: Channel snowflake ID. :param message_id: Message snowflake " -"ID. :param emoji: The emoji to remove (format: `name:id`)" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:1 of +msgid "Get a list of members in the thread." msgstr "" -#: interactions.api.http.HTTPClient.get_reactions_of_emoji:1 of -msgid "" -"Gets the users who reacted to the emoji. :param channel_id: Channel " -"snowflake ID. :param message_id: Message snowflake ID. :param emoji: The " -"emoji to get (format: `name:id`) :return A list of users who sent that " -"emoji." +#: interactions.api.http.thread.ThreadRequest.list_thread_members:3 of +msgid "the id of the thread" msgstr "" -#: interactions.api.http.HTTPClient.get_sticker:1 of -msgid "" -"Get a specific sticker. :param sticker_id: The id of the sticker :return:" -" Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_thread_members:4 of +msgid "a list of thread member objects" msgstr "" -#: interactions.api.http.HTTPClient.list_nitro_sticker_packs:1 of -msgid "" -"Gets the list of sticker packs available to Nitro subscribers. :return: " -"List of sticker packs" +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:1 of +msgid "Get a list of archived public threads in a given channel." msgstr "" -#: interactions.api.http.HTTPClient.list_guild_stickers:1 of -msgid "" -"Get the stickers for a guild. :param guild_id: The guild to get stickers " -"from :return: List of Stickers or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:3 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:3 of +msgid "The channel to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_sticker:1 of -msgid "" -"Get a sticker from a guild. :param guild_id: The guild to get stickers " -"from :param sticker_id: The sticker to get from the guild :return: " -"Sticker or None" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:4 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:4 of +msgid "Optional limit of threads to" msgstr "" -#: interactions.api.http.HTTPClient.create_guild_sticker:1 of -msgid "" -"Create a new sticker for the guild. Requires the " -"MANAGE_EMOJIS_AND_STICKERS permission. :param payload: the payload to " -"send. :param guild_id: The guild to create sticker at. :param reason: The" -" reason for this action. :return: The new sticker data on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:5 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:5 of +msgid "Get threads before this Thread snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.modify_guild_sticker:1 of -msgid "" -"Modify the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param payload: the payload to send. :param guild_id: The " -"guild of the target sticker. :param sticker_id: The sticker to modify. " -":param reason: The reason for this action. :return: The updated sticker " -"data on success." +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:6 +#: interactions.api.http.thread.ThreadRequest.list_public_archived_threads:6 of +msgid "a list of threads" msgstr "" -#: interactions.api.http.HTTPClient.delete_guild_sticker:1 of -msgid "" -"Delete the given sticker. Requires the MANAGE_EMOJIS_AND_STICKERS " -"permission. :param guild_id: The guild of the target sticker. :param " -"sticker_id: The sticker to delete. :param reason: The reason for this " -"action. :return: Returns 204 No Content on success." +#: interactions.api.http.thread.ThreadRequest.list_private_archived_threads:1 +#: of +msgid "Get a list of archived private threads in a channel." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:1 +#: of msgid "" -"Get all application commands from an application :param application_id: " -"Application ID snowflake :param guild_id: Guild to get commands from, if " -"specified. Defaults to global (None) :return: A list of Application " -"commands." -msgstr "" - -#: interactions.api.http.HTTPClient.create_application_command:1 of -msgid "Registers to the Discord API an application command." +"Get a list of archived private threads in a channel that the bot has " +"joined." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.create_application_command:3 -#: interactions.api.http.HTTPClient.create_interaction_response:6 -#: interactions.api.http.HTTPClient.edit_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:3 -#: interactions.api.http.HTTPClient.get_application_command_permissions:3 -#: interactions.api.http.HTTPClient.overwrite_application_command:6 of -msgid "Application ID snowflake" +#: interactions.api.http.thread.ThreadRequest.list_joined_private_archived_threads:5 +#: of +msgid "Get threads before this snowflake ID" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:4 -#: interactions.api.http.HTTPClient.overwrite_application_command:7 of -msgid "The dictionary that contains the command (name, description, etc)" +#: interactions.api.http.thread.ThreadRequest.list_active_threads:1 of +msgid "List active threads within a guild." msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:5 -#: interactions.api.http.HTTPClient.overwrite_application_command:8 of -msgid "Guild ID snowflake to put them in, if applicable." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:3 of +msgid "the guild id to get threads from" msgstr "" -#: interactions.api.http.HTTPClient.create_application_command:6 of -msgid "An application command object." +#: interactions.api.http.thread.ThreadRequest.list_active_threads:4 of +msgid "A list of active threads" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:1 of +#: interactions.api.http.thread.ThreadRequest.create_thread:1 of msgid "" -"Overwrites application command(s) from a scope to the new, updated " -"commands." +"From a given channel, create a Thread with an optional message to start " +"with.." msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:4 of -msgid "" -"This applies to all forms of application commands (slash and context " -"menus)" +#: interactions.api.http.thread.ThreadRequest.create_thread:3 of +msgid "The ID of the channel to create this thread in" msgstr "" -#: interactions.api.http.HTTPClient.overwrite_application_command:9 of -msgid "An array of application command objects." +#: interactions.api.http.thread.ThreadRequest.create_thread:4 of +msgid "The name of the thread" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:1 of -msgid "Edits an application command." +#: interactions.api.http.thread.ThreadRequest.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:3 -#: interactions.api.http.HTTPClient.edit_application_command:3 of -msgid "Application ID snowflake." +#: interactions.api.http.thread.ThreadRequest.create_thread:7 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:4 of -msgid "A dictionary containing updated attributes" +#: interactions.api.http.thread.ThreadRequest.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:5 of -msgid "The application command ID snowflake" +#: interactions.api.http.thread.ThreadRequest.create_thread:9 of +msgid "An optional message to create a thread from." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:6 of -msgid "Guild ID snowflake, if given. Defaults to None/global." +#: interactions.api.http.thread.ThreadRequest.create_thread:10 of +msgid "An optional reason for the audit log" msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command:7 of -msgid "The updated application command object." +#: interactions.api.http.thread.ThreadRequest.create_thread:11 of +msgid "The created thread" msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:1 of -msgid "Deletes an application command." +#: interactions.api.http.user.UserRequest.get_self:1 of +msgid "An alias to `get_user`, but only gets the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:4 of -msgid "Application command ID snowflake." +#: interactions.api.http.user.UserRequest.get_self:3 of +msgid "A partial User object of the current bot user in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.delete_application_command:5 of -msgid "Guild ID snowflake, if declared. Defaults to None (Global)." +#: interactions.api.http.user.UserRequest.get_user:1 of +msgid "Gets a user object for a given user ID." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:1 of -msgid "Edits permissions for an application command" +#: interactions.api.http.user.UserRequest.get_user:3 of +msgid "A user snowflake ID. If omitted, this defaults to the current bot user." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:5 of -msgid "Application command ID snowflake" +#: interactions.api.http.user.UserRequest.get_user:4 of +msgid "A partial User object in the form of a dictionary." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:6 of -msgid "Permission data." +#: interactions.api.http.user.UserRequest.modify_self:1 of +msgid "Modify the bot user account settings." msgstr "" -#: interactions.api.http.HTTPClient.edit_application_command_permissions:7 of -msgid "Returns an updated Application Guild permission object." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:1 of +msgid "Changes a nickname of the current bot user in a guild." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:1 -#: of -msgid "Edits permissions for all Application Commands in a guild." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:3 of +msgid "Guild snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:5 -#: of -msgid "An array of permission dictionaries." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:4 of +msgid "The new nickname, if any." msgstr "" -#: interactions.api.http.HTTPClient.batch_edit_application_command_permissions:6 -#: of -msgid "An updated array of application array permissions." +#: interactions.api.http.user.UserRequest.modify_self_nick_in_guild:5 of +msgid "Nothing needed to be yielded." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:1 of -msgid "" -"Gets, from the Discord API, permissions from a specific Guild application" -" command." +#: interactions.api.http.user.UserRequest.create_dm:1 of +msgid "Creates a new DM channel with a user." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:5 of -msgid "Application Command ID snowflake" +#: interactions.api.http.user.UserRequest.create_dm:3 of +msgid "User snowflake ID." msgstr "" -#: interactions.api.http.HTTPClient.get_application_command_permissions:6 of -msgid "a Guild Application Command permissions object" +#: interactions.api.http.user.UserRequest.create_dm:4 of +msgid "Returns a dictionary representing a DM Channel object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:1 -#: of -msgid "" -"Gets, from the Discord API, permissions from all Application commands at " -"that Guild." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:1 of +msgid "Create a new webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_all_application_command_permissions:5 -#: of -msgid "An array of Guild Application Command permissions" +#: interactions.api.http.webhook.WebhookRequest.create_webhook:4 of +msgid "Name of the webhook (1-80 characters)" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:1 of -msgid "Posts initial response to an interaction." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:5 of +msgid "The image for the default webhook avatar, if given." msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:4 of -msgid "Internally handles token for you." +#: interactions.api.http.webhook.WebhookRequest.create_webhook:7 of +msgid "Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.create_interaction_response:7 of -msgid "The data to send." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:1 of +msgid "Return a list of channel webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.get_original_interaction_response:1 of -msgid "" -"Gets an existing interaction message. :param application_id: Application " -"ID snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Message " -"data." +#: interactions.api.http.webhook.WebhookRequest.get_channel_webhooks:4 +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:4 of +msgid "List of webhook objects" msgstr "" -#: interactions.api.http.HTTPClient.edit_interaction_response:1 of -msgid "" -"Edits an existing interaction message. :param data: A dictionary " -"containing the new response. :param application_id: Application ID " -"snowflake. :param message_id: Message ID snowflake. Defaults to " -"`@original` which represents the initial response msg. :return: Updated " -"message data." +#: interactions.api.http.webhook.WebhookRequest.get_guild_webhooks:1 of +msgid "Return a list of guild webhook objects." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:1 of -msgid "" -"Create a new webhook. :param channel_id: Channel ID snowflake. :param " -"name: Name of the webhook (1-80 characters) :param avatar: The image for " -"the default webhook avatar, if given." +#: interactions.api.http.webhook.WebhookRequest.get_webhook:1 of +msgid "Return the new webhook object for the given id." msgstr "" -#: interactions.api.http.HTTPClient.create_webhook:6 of -msgid ":return Webhook object" +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:3 +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook:3 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:3 of +msgid "Webhook ID snowflake." msgstr "" -#: interactions.api.http.HTTPClient.get_channel_webhooks:1 of -msgid "" -"Return a list of channel webhook objects. :param channel_id: Channel ID " -"snowflake. :return:List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:4 of +msgid "Webhook Token, if given." msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:1 of -msgid "" -"Return a list of guild webhook objects. :param guild_id: Guild ID " -"snowflake" +#: interactions.api.http.webhook.WebhookRequest.get_webhook:6 of +msgid ":return:Webhook object" msgstr "" -#: interactions.api.http.HTTPClient.get_guild_webhooks:4 of -msgid "List of webhook objects" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:1 of +msgid "Modify a webhook." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:1 of -msgid "" -"Return the new webhook object for the given id. :param webhook_id: " -"Webhook ID snowflake. :param webhook_token: Webhook Token, if given." +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:3 of +msgid "Webhook ID snowflake" msgstr "" -#: interactions.api.http.HTTPClient.get_webhook:5 of -msgid ":return:Webhook object" +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:4 of +msgid "The payload for the webhook" msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:1 of -msgid "" -"Modify a webhook. :param webhook_id: Webhook ID snowflake :param name: " -"the default name of the webhook :param avatar: image for the default " -"webhook avatar :param channel_id: Channel ID snowflake of new destination" -" :param webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:5 of +msgid "The token for the webhook, if given." msgstr "" -#: interactions.api.http.HTTPClient.modify_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.modify_webhook:7 of msgid "Modified webhook object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook:1 of -msgid "" -"Delete a webhook :param webhook_id: Webhook ID snowflake. :param " -"webhook_token: The token for the webhook, if given." +#: interactions.api.http.webhook.WebhookRequest.delete_webhook:1 of +msgid "Delete a webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:1 of msgid "Sends a message as a webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:3 -#: interactions.api.http.HTTPClient.edit_webhook_message:3 -#: interactions.api.http.HTTPClient.execute_github_webhook:3 -#: interactions.api.http.HTTPClient.execute_slack_webhook:3 -#: interactions.api.http.HTTPClient.execute_webhook:3 -#: interactions.api.http.HTTPClient.get_webhook_message:3 of -msgid "Webhook ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.execute_github_webhook:4 -#: interactions.api.http.HTTPClient.execute_slack_webhook:4 -#: interactions.api.http.HTTPClient.execute_webhook:4 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:4 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:4 of msgid "The token for the webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:5 -#: interactions.api.http.HTTPClient.execute_slack_webhook:5 -#: interactions.api.http.HTTPClient.execute_webhook:5 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:5 +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:5 of msgid "Payload consisting of the message." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:6 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:6 of +msgid "The files to upload to the message." +msgstr "" + +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:7 of msgid "" "A bool that signifies waiting for server confirmation of a send before " "responding." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:7 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:8 of msgid "Optional, sends a message to the specified thread." msgstr "" -#: interactions.api.http.HTTPClient.execute_webhook:8 of +#: interactions.api.http.webhook.WebhookRequest.execute_webhook:9 of msgid "The message sent, if wait=True, else None." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:1 of msgid "Sends a message to a Slack-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_slack_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_slack_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:1 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:1 of msgid "Sends a message to a Github-compatible webhook." msgstr "" -#: interactions.api.http.HTTPClient.execute_github_webhook:10 of +#: interactions.api.http.webhook.WebhookRequest.execute_github_webhook:10 of msgid "" "Payload structure is different than Discord's. See `here " "_` for more details." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:1 of msgid "Retrieves a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:4 -#: interactions.api.http.HTTPClient.edit_webhook_message:4 -#: interactions.api.http.HTTPClient.get_webhook_message:4 of +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:4 +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:4 of msgid "Webhook token." msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:5 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:5 of msgid "Message ID snowflake," msgstr "" -#: interactions.api.http.HTTPClient.get_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.get_webhook_message:6 of msgid "A Message object." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:1 of msgid "Edits a message sent from a Webhook." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:5 -#: interactions.api.http.HTTPClient.edit_webhook_message:5 of -msgid "Message ID snowflake." -msgstr "" - -#: interactions.api.http.HTTPClient.edit_webhook_message:6 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:6 of msgid "A payload consisting of new message attributes." msgstr "" -#: interactions.api.http.HTTPClient.edit_webhook_message:7 of +#: interactions.api.http.webhook.WebhookRequest.edit_webhook_message:7 of msgid "An updated message object." msgstr "" -#: interactions.api.http.HTTPClient.delete_webhook_message:1 of +#: interactions.api.http.webhook.WebhookRequest.delete_webhook_message:1 of msgid "Deletes a message object." msgstr "" -#: interactions.api.http.HTTPClient.get_all_emoji:1 of -msgid "Gets all emojis from a guild." -msgstr "" - -#: interactions.api.http.HTTPClient.get_all_emoji:4 of -msgid "A list of emojis." -msgstr "" - -#: interactions.api.http.HTTPClient.get_guild_emoji:1 of -msgid "" -"Gets an emote from a guild. :param guild_id: Guild ID snowflake. :param " -"emoji_id: Emoji ID snowflake. :return: Emoji object" -msgstr "" - -#: interactions.api.http.HTTPClient.create_guild_emoji:1 of -msgid "" -"Creates an emoji. :param guild_id: Guild ID snowflake. :param data: Emoji" -" parameters. :param reason: Optionally, give a reason. :return: An emoji " -"object with the included parameters." -msgstr "" - -#: interactions.api.http.HTTPClient.modify_guild_emoji:1 of -msgid "" -"Modifies an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param data: Emoji parameters with updated attributes " -":param reason: Optionally, give a reason. :return: An emoji object with " -"updated attributes." -msgstr "" - -#: interactions.api.http.HTTPClient.delete_guild_emoji:1 of -msgid "" -"Deletes an emoji. :param guild_id: Guild ID snowflake. :param emoji_id: " -"Emoji ID snowflake :param reason: Optionally, give a reason." +#: interactions.api.http.webhook.WebhookRequest.delete_original_webhook_message:1 +#: of +msgid "Deletes the original message object sent." msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.channel.po b/docs/locale/ru/LC_MESSAGES/api.models.channel.po index e4af3b294..529af7d9d 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.channel.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.channel.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,24 +26,24 @@ msgstr "" msgid "An enumerable object representing the type of channels." msgstr "" -#: interactions.api.models.channel.ChannelType:3 of -msgid ".. note::" +#: interactions.api.models.channel.Thread:1 of +msgid "An object representing a thread." msgstr "" -#: interactions.api.models.channel.ChannelType:4 of +#: interactions.api.models.channel.Thread:4 of msgid "" -"While all of them are listed, not all of them will be used at this " -"library's scope." +"This is a derivation of the base Channel, since a thread can be its own " +"event." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:1 of -msgid "A class object representing the metadata of a thread." +#: interactions.api.models.channel.Channel:1 of +msgid "A class object representing all types of channels." msgstr "" -#: interactions.api.models.channel.ThreadMetadata:4 of +#: interactions.api.models.channel.Channel:4 of msgid "" -"``invitable`` will only show if the thread can have an invited created " -"with the current cached permissions." +"The purpose of this model is to be used as a base class, and is never " +"needed to be used directly." msgstr "" #: interactions.api.models.channel.Channel @@ -52,62 +52,6 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.channel.ThreadMetadata:7 of -msgid "The current thread accessibility state." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:8 of -msgid "The auto-archive time." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:9 of -msgid "The timestamp that the thread will be/has been closed at." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:10 of -msgid "The current message state of the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMetadata:11 of -msgid "The ability to invite users to the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:1 of -msgid "A class object representing a member in a thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:4 of -msgid "" -"``id`` only shows if there are active intents involved with the member in" -" the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:7 of -msgid "The \"ID\" or intents of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:8 of -msgid "The user ID of the member." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:9 of -msgid "The timestamp of when the member joined the thread." -msgstr "" - -#: interactions.api.models.channel.ThreadMember:10 of -msgid "The bitshift flags for the member in the thread." -msgstr "" - -#: interactions.api.models.channel.Channel:1 of -msgid "A class object representing all types of channels." -msgstr "" - -#: interactions.api.models.channel.Channel:4 of -msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." -msgstr "" - #: interactions.api.models.channel.Channel:7 of msgid "The (snowflake) ID of the channel." msgstr "" @@ -214,20 +158,564 @@ msgstr "" msgid "The permissions of the channel." msgstr "" -#: interactions.api.models.channel.TextChannel:1 of +#: interactions.api.models.channel.Channel.mention:1 of +msgid "Returns a string that allows you to mention the given channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Returns" +msgstr "" + +#: interactions.api.models.channel.Channel.mention:3 of +msgid "The string of the mentioned channel." +msgstr "" + +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.get_message +#: interactions.api.models.channel.Channel.get_pinned_messages +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.mention +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit of +msgid "Return type" +msgstr "" + +#: interactions.api.models.channel.Channel.send:1 of +msgid "Sends a message in the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member +#: interactions.api.models.channel.Channel.archive +#: interactions.api.models.channel.Channel.create_invite +#: interactions.api.models.channel.Channel.create_thread +#: interactions.api.models.channel.Channel.get_history +#: interactions.api.models.channel.Channel.lock +#: interactions.api.models.channel.Channel.modify +#: interactions.api.models.channel.Channel.pin_message +#: interactions.api.models.channel.Channel.publish_message +#: interactions.api.models.channel.Channel.purge +#: interactions.api.models.channel.Channel.send +#: interactions.api.models.channel.Channel.set_auto_archive_duration +#: interactions.api.models.channel.Channel.set_bitrate +#: interactions.api.models.channel.Channel.set_name +#: interactions.api.models.channel.Channel.set_nsfw +#: interactions.api.models.channel.Channel.set_parent_id +#: interactions.api.models.channel.Channel.set_position +#: interactions.api.models.channel.Channel.set_rate_limit_per_user +#: interactions.api.models.channel.Channel.set_topic +#: interactions.api.models.channel.Channel.set_user_limit +#: interactions.api.models.channel.Channel.unpin_message of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.channel.Channel.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.channel.Channel.send:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.channel.Channel.send:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.channel.Channel.send:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.channel.Channel.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.channel.Channel.delete:1 of +msgid "Deletes the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:1 of +msgid "Edits the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.modify:6 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:8 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:10 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:12 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:14 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:16 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:18 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:20 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:24 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:26 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:3 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:28 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:30 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.modify:32 of +msgid "The modified channel as new object" +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:1 of +msgid "Sets the name of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_name:3 of +msgid "The new name of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.lock:5 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:5 +#: interactions.api.models.channel.Channel.set_bitrate:5 +#: interactions.api.models.channel.Channel.set_name:5 +#: interactions.api.models.channel.Channel.set_nsfw:5 +#: interactions.api.models.channel.Channel.set_parent_id:5 +#: interactions.api.models.channel.Channel.set_position:5 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:5 +#: interactions.api.models.channel.Channel.set_topic:5 +#: interactions.api.models.channel.Channel.set_user_limit:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:7 +#: interactions.api.models.channel.Channel.lock:7 +#: interactions.api.models.channel.Channel.set_auto_archive_duration:7 +#: interactions.api.models.channel.Channel.set_bitrate:7 +#: interactions.api.models.channel.Channel.set_name:7 +#: interactions.api.models.channel.Channel.set_nsfw:7 +#: interactions.api.models.channel.Channel.set_parent_id:7 +#: interactions.api.models.channel.Channel.set_position:7 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:7 +#: interactions.api.models.channel.Channel.set_topic:7 +#: interactions.api.models.channel.Channel.set_user_limit:7 of +msgid "The edited channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:1 of +msgid "Sets the topic of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_topic:3 of +msgid "The new topic of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:1 of +msgid "Sets the bitrate of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_bitrate:3 of +msgid "The new bitrate of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:1 of +msgid "Sets the user_limit of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_user_limit:3 of +msgid "The new user limit of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:1 +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:1 of +msgid "Sets the position of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_rate_limit_per_user:3 of +msgid "The new rate_limit_per_user of the channel (0-21600)" +msgstr "" + +#: interactions.api.models.channel.Channel.set_position:3 of +msgid "The new position of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:1 of +msgid "Sets the parent_id of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_parent_id:3 of +msgid "The new parent_id of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:1 of +msgid "Sets the nsfw-flag of the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.set_nsfw:3 of +msgid "The new nsfw-flag of the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:1 of +msgid "Sets the archived state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.archive:3 of +msgid "Whether the Thread is archived, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.archive:5 of +msgid "The reason of the archiving" +msgstr "" + +#: interactions.api.models.channel.Channel.set_auto_archive_duration:1 of +msgid "Sets the time after the thread is automatically archived." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:1 of +msgid "Sets the locked state of the thread." +msgstr "" + +#: interactions.api.models.channel.Channel.lock:3 of +msgid "Whether the Thread is locked, defaults to True" +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:1 of +msgid "This adds a member to the channel, if the channel is a thread." +msgstr "" + +#: interactions.api.models.channel.Channel.add_member:3 of +msgid "The id of the member to add to the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:1 of +msgid "Pins a message to the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.pin_message:3 of +msgid "The id of the message to pin" +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:1 of +msgid "Unpins a message from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.unpin_message:3 of +msgid "The id of the message to unpin" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:1 of +msgid "" +"Publishes (API calls it crossposts) a message in the channel to any that " +"is followed by." +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:3 of +msgid "The id of the message to publish" +msgstr "" + +#: interactions.api.models.channel.Channel.publish_message:5 of +msgid "The message published" +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:1 of +msgid "Get all pinned messages from the channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_pinned_messages:3 of +msgid "A list of pinned message objects." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:1 of +msgid "Gets a message sent in that channel." +msgstr "" + +#: interactions.api.models.channel.Channel.get_message:3 of +msgid "The message as object" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:1 of +msgid "" +"Purges a given amount of messages from a channel. You can specify a check" +" function to exclude specific messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:3 of +msgid "" +"Calling this method can lead to rate-limits when purging higher amounts " +"of messages." +msgstr "" + +#: interactions.api.models.channel.Channel.purge:11 of +msgid "The amount of messages to delete" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:13 of +msgid "" +"The function used to check if a message should be deleted. The message is" +" only deleted if the check returns `True`" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:15 of +msgid "An id of a message to purge only messages before that message" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:17 of +msgid "" +"Whether to bulk delete the messages (you cannot delete messages older " +"than 14 days, default) or to delete every message seperately" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:18 of +msgid "Optional[bool]" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:19 of +msgid "The reason of the deletes" +msgstr "" + +#: interactions.api.models.channel.Channel.purge:21 of +msgid "A list of the deleted messages" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:1 of +msgid "Creates a thread in the Channel." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:8 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:10 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:12 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:14 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.channel.Channel.create_thread:16 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:1 of +msgid "Creates an invite for the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:3 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for text channels." +"Duration of invite in seconds before expiry, or 0 for never. between 0 " +"and 604800 (7 days). Default 86400 (24h)" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:5 of +msgid "Max number of uses or 0 for unlimited. between 0 and 100. Default 0" msgstr "" -#: interactions.api.models.channel.DMChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:7 of +msgid "Whether this invite only grants temporary membership. Default False" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:9 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for DM channels." +"If true, don't try to reuse a similar invite (useful for creating many " +"unique one time use invites). Default False" msgstr "" -#: interactions.api.models.channel.ThreadChannel:1 of +#: interactions.api.models.channel.Channel.create_invite:11 of +msgid "The type of target for this voice channel invite" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:13 of msgid "" -"This is a derivation of :class:`interactions.api.models.channel.Channel` " -"but for thread channels." +"The id of the user whose stream to display for this invite, required if " +"target_type is STREAM, the user must be streaming in the channel" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:15 of +msgid "" +"The id of the embedded application to open for this invite, required if " +"target_type is EMBEDDED_APPLICATION, the application must have the " +"EMBEDDED flag" +msgstr "" + +#: interactions.api.models.channel.Channel.create_invite:17 of +msgid "The reason for the creation of the invite" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:1 of +msgid "Gets messages from the channel's history." +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:3 of +msgid "The amount of messages to get. Default 100" +msgstr "" + +#: interactions.api.models.channel.Channel.get_history:5 of +msgid "A list of messages" +msgstr "" + +#: interactions.api.models.channel.Channel.get_webhooks:1 of +msgid "Gets a list of webhooks of that channel" +msgstr "" + +#: interactions.api.models.channel.ThreadMember:1 of +msgid "A class object representing a member in a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:4 of +msgid "" +"``id`` only shows if there are active intents involved with the member in" +" the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:7 of +msgid "The \"ID\" or intents of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:8 of +msgid "The user ID of the member." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:9 of +msgid "The timestamp of when the member joined the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:10 of +msgid "The bitshift flags for the member in the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMember:11 of +msgid "Whether the member is muted or not." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:1 of +msgid "A class object representing the metadata of a thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:4 of +msgid "" +"``invitable`` will only show if the thread can have an invited created " +"with the current cached permissions." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:7 of +msgid "The current thread accessibility state." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:8 of +msgid "The auto-archive time." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:9 of +msgid "The timestamp that the thread will be/has been closed at." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:10 of +msgid "The current message state of the thread." +msgstr "" + +#: interactions.api.models.channel.ThreadMetadata:11 of +msgid "The ability to invite users to the thread." msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.flags.po b/docs/locale/ru/LC_MESSAGES/api.models.flags.po new file mode 100644 index 000000000..6b44fd0d5 --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/api.models.flags.po @@ -0,0 +1,64 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.flags.rst:4 +msgid "Flag Bitshift Models" +msgstr "" + +#: interactions.api.models.flags.Intents:1 of +msgid "" +"An integer flag bitshift object representing flags respective for each " +"gateway intent type." +msgstr "" + +#: interactions.api.models.flags.AppFlags:1 of +msgid "" +"An integer flag bitshift object representing the different application " +"flags given by Discord." +msgstr "" + +#: interactions.api.models.flags.StatusType:1 of +msgid "" +"An enumerable object representing Discord status icons that a user may " +"have." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.api.models.flags.UserFlags:1 of +msgid "" +"An integer flag bitshift object representing the different user flags " +"given by Discord." +msgstr "" + +#: interactions.api.models.flags.Permissions:1 of +msgid "" +"An integer flag bitshift object representing the different member " +"permissions given by Discord." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.guild.po b/docs/locale/ru/LC_MESSAGES/api.models.guild.po index f2c1dd57a..795f3c96e 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.guild.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.guild.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,68 +22,166 @@ msgstr "" msgid "Guild Models" msgstr "" -#: interactions.api.models.guild.GuildFeature:1 of -msgid "" -"An enumerable string-formatted class representing all of the features a " -"guild can have." +#: interactions.api.models.guild.VerificationLevel:1 of +msgid "An enumerable object representing the verification level of a guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:1 of -msgid "A class object representing a welcome channel on the welcome screen." +#: interactions.api.models.guild.EntityType:1 of +msgid "An enumerable object representing the type of event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:4 of +#: interactions.api.models.guild.DefaultMessageNotificationLevel:1 of msgid "" -"``emoji_id`` and ``emoji_name`` are given values respectively if the " -"welcome channel uses an emoji." +"An enumerable object representing the default message notification level " +"of a guild." +msgstr "" + +#: interactions.api.models.guild.EventMetadata:1 of +msgid "A class object representing the metadata of an event entity." msgstr "" +#: interactions.api.models.guild.EventMetadata #: interactions.api.models.guild.Guild #: interactions.api.models.guild.GuildPreview +#: interactions.api.models.guild.GuildTemplate +#: interactions.api.models.guild.Integration +#: interactions.api.models.guild.Invite +#: interactions.api.models.guild.ScheduledEvents #: interactions.api.models.guild.StageInstance +#: interactions.api.models.guild.UnavailableGuild #: interactions.api.models.guild.WelcomeChannels #: interactions.api.models.guild.WelcomeScreen of msgid "Variables" msgstr "" -#: interactions.api.models.guild.WelcomeChannels:7 of -msgid "The ID of the welcome channel." +#: interactions.api.models.guild.EventMetadata:3 of +msgid "The location of the event, if any." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:8 of -msgid "The description of the welcome channel." +#: interactions.api.models.guild.EventStatus:1 of +msgid "An enumerable object representing the status of an event." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:9 of -msgid "The ID of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:1 of +msgid "An object representing the snapshot of an existing guild." msgstr "" -#: interactions.api.models.guild.WelcomeChannels:10 of -msgid "The name of the emoji of the welcome channel." +#: interactions.api.models.guild.GuildTemplate:3 of +msgid "The code of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:1 of -msgid "A class object representing the welcome screen shown for community guilds." +#: interactions.api.models.guild.GuildTemplate:4 of +msgid "The name of the guild template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:4 of -msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +#: interactions.api.models.guild.GuildTemplate:5 of +msgid "The description of the guild template, if given." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:6 of -msgid "We assume it's for the welcome screen topic." +#: interactions.api.models.guild.GuildTemplate:6 of +msgid "The amount of uses on the template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:8 of -msgid "The description of the welcome sceen." +#: interactions.api.models.guild.GuildTemplate:7 of +msgid "User ID of the creator of this template." msgstr "" -#: interactions.api.models.guild.WelcomeScreen:9 of -msgid "A list of welcome channels of the welcome screen." +#: interactions.api.models.guild.GuildTemplate:8 of +msgid "The User object of the creator of this template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:9 of +msgid "The time when this template was created." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:10 of +msgid "The time when this template was updated." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:11 of +msgid "The Guild ID that the template sourced from." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:12 of +msgid "A partial Guild object from the sourced template." +msgstr "" + +#: interactions.api.models.guild.GuildTemplate:13 of +msgid "A status that denotes if the changes are unsynced." +msgstr "" + +#: interactions.api.models.guild.Integration:1 of +msgid "A class object representing an integration in a guild." +msgstr "" + +#: interactions.api.models.guild.Integration:3 of +msgid "The ID of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:4 of +msgid "The name of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:5 of +msgid "The type of integration." +msgstr "" + +#: interactions.api.models.guild.Integration:6 of +msgid "Whether the integration is enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:7 of +msgid "Whether the integration is syncing or not." +msgstr "" + +#: interactions.api.models.guild.Integration:8 of +msgid "The role ID that the integration uses for \"subscribed\" users." +msgstr "" + +#: interactions.api.models.guild.Integration:9 of +msgid "Whether emoticons should be enabled or not." +msgstr "" + +#: interactions.api.models.guild.Integration:10 of +msgid "The expiration behavior of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:11 of +msgid "" +"The \"grace period\" of the integration when expired -- how long it can " +"still be used." +msgstr "" + +#: interactions.api.models.guild.Integration:12 of +msgid "The user of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:13 of +msgid "The account of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:14 of +msgid "The time that the integration was last synced." +msgstr "" + +#: interactions.api.models.guild.Integration:15 of +msgid "The current subscriber count of the integration." +msgstr "" + +#: interactions.api.models.guild.Integration:16 of +msgid "Whether the integration was revoked for use or not." +msgstr "" + +#: interactions.api.models.guild.Integration:17 of +msgid "The application used for the integration." +msgstr "" + +#: interactions.api.models.guild.InviteTargetType:1 of +msgid "An enumerable object representing the different invite target types" msgstr "" #: interactions.api.models.guild.StageInstance:1 of -msgid "A class object representing an instace of a stage channel in a guild." +msgid "A class object representing an instance of a stage channel in a guild." msgstr "" #: interactions.api.models.guild.StageInstance:3 of @@ -110,6 +208,154 @@ msgstr "" msgid "Whether the stage can be seen from the stage discovery." msgstr "" +#: interactions.api.models.guild.UnavailableGuild:1 of +msgid "A class object representing how a guild that is unavailable." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:4 of +msgid "" +"This object only seems to show up during the connection process of the " +"client to the Gateway when the ``READY`` event is dispatched. This event " +"will pass fields with ``guilds`` where this becomes present." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:9 of +msgid "The ID of the unavailable guild." +msgstr "" + +#: interactions.api.models.guild.UnavailableGuild:10 of +msgid "Whether the guild is unavailable or not." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:1 of +msgid "A class object representing a welcome channel on the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:4 of +msgid "" +"``emoji_id`` and ``emoji_name`` are given values respectively if the " +"welcome channel uses an emoji." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:7 of +msgid "The ID of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:8 of +msgid "The description of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:9 of +msgid "The ID of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.WelcomeChannels:10 of +msgid "The name of the emoji of the welcome channel." +msgstr "" + +#: interactions.api.models.guild.ExplicitContentFilterLevel:1 of +msgid "" +"An enumerable object representing the explicit content filter level of a " +"guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:1 of +msgid "A class object representing the scheduled events of a guild." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:19 +#: interactions.api.models.guild.ScheduledEvents:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.ScheduledEvents:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:1 of +msgid "A class object representing the welcome screen shown for community guilds." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:4 of +msgid "``description`` is ambiguous -- Discord poorly documented this. :)" +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:6 of +msgid "We assume it's for the welcome screen topic." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:8 of +msgid "The description of the welcome screen." +msgstr "" + +#: interactions.api.models.guild.WelcomeScreen:9 of +msgid "A list of welcome channels of the welcome screen." +msgstr "" + #: interactions.api.models.guild.Guild:1 of msgid "A class object representing how a guild is registered." msgstr "" @@ -122,17 +368,17 @@ msgid "" msgstr "" #: interactions.api.models.guild.Guild:8 -#: interactions.api.models.guild.GuildPreview:6 of +#: interactions.api.models.guild.GuildPreview:3 of msgid "The ID of the guild." msgstr "" #: interactions.api.models.guild.Guild:9 -#: interactions.api.models.guild.GuildPreview:7 of +#: interactions.api.models.guild.GuildPreview:4 of msgid "The name of the guild." msgstr "" #: interactions.api.models.guild.Guild:10 -#: interactions.api.models.guild.GuildPreview:8 of +#: interactions.api.models.guild.GuildPreview:5 of msgid "The icon of the guild." msgstr "" @@ -141,12 +387,12 @@ msgid "The hashed version of the icon of the guild." msgstr "" #: interactions.api.models.guild.Guild:12 -#: interactions.api.models.guild.GuildPreview:9 of +#: interactions.api.models.guild.GuildPreview:6 of msgid "The invite splash banner of the guild." msgstr "" #: interactions.api.models.guild.Guild:13 -#: interactions.api.models.guild.GuildPreview:10 of +#: interactions.api.models.guild.GuildPreview:7 of msgid "The discovery splash banner of the guild." msgstr "" @@ -199,12 +445,12 @@ msgid "The list of roles in the guild." msgstr "" #: interactions.api.models.guild.Guild:26 -#: interactions.api.models.guild.GuildPreview:11 of +#: interactions.api.models.guild.GuildPreview:8 of msgid "The list of emojis from the guild." msgstr "" #: interactions.api.models.guild.Guild:27 -#: interactions.api.models.guild.GuildPreview:12 of +#: interactions.api.models.guild.GuildPreview:9 of msgid "The list of features of the guild." msgstr "" @@ -241,96 +487,1250 @@ msgid "The amount of members in the guild." msgstr "" #: interactions.api.models.guild.Guild:36 of -msgid "The list of presences in the guild." +msgid "The members in the guild." msgstr "" #: interactions.api.models.guild.Guild:37 of -msgid "The maximum amount of presences allowed in the guild." +msgid "The channels in the guild." msgstr "" #: interactions.api.models.guild.Guild:38 of -msgid "The maximum amount of members allowed in the guild." +msgid "All known threads in the guild." msgstr "" #: interactions.api.models.guild.Guild:39 of +msgid "The list of presences in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:40 of +msgid "The maximum amount of presences allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:41 of +msgid "The maximum amount of members allowed in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild:42 of msgid "The vanity URL of the guild." msgstr "" -#: interactions.api.models.guild.Guild:40 -#: interactions.api.models.guild.GuildPreview:15 of +#: interactions.api.models.guild.Guild:43 +#: interactions.api.models.guild.GuildPreview:12 of msgid "The description of the guild." msgstr "" -#: interactions.api.models.guild.Guild:41 of +#: interactions.api.models.guild.Guild:44 of msgid "The banner of the guild." msgstr "" -#: interactions.api.models.guild.Guild:42 of +#: interactions.api.models.guild.Guild:45 of msgid "The server boost level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:43 of +#: interactions.api.models.guild.Guild:46 of msgid "The amount of server boosters in the guild." msgstr "" -#: interactions.api.models.guild.Guild:44 of +#: interactions.api.models.guild.Guild:47 of msgid "The \"preferred\" local region of the guild." msgstr "" -#: interactions.api.models.guild.Guild:45 of +#: interactions.api.models.guild.Guild:48 of msgid "The channel ID for community updates of the guild." msgstr "" -#: interactions.api.models.guild.Guild:46 of +#: interactions.api.models.guild.Guild:49 of msgid "" "The maximum amount of video streaming members in a channel allowed in a " "guild." msgstr "" -#: interactions.api.models.guild.Guild:47 -#: interactions.api.models.guild.GuildPreview:13 of +#: interactions.api.models.guild.Guild:50 +#: interactions.api.models.guild.GuildPreview:10 of msgid "The approximate amount of members in the guild." msgstr "" -#: interactions.api.models.guild.Guild:48 -#: interactions.api.models.guild.GuildPreview:14 of +#: interactions.api.models.guild.Guild:51 +#: interactions.api.models.guild.GuildPreview:11 of msgid "The approximate amount of presences in the guild." msgstr "" -#: interactions.api.models.guild.Guild:49 of +#: interactions.api.models.guild.Guild:52 of msgid "The welcome screen of the guild." msgstr "" -#: interactions.api.models.guild.Guild:50 of +#: interactions.api.models.guild.Guild:53 of msgid "The NSFW safety filter level of the guild." msgstr "" -#: interactions.api.models.guild.Guild:51 of +#: interactions.api.models.guild.Guild:54 of msgid "The stage instance of the guild." msgstr "" -#: interactions.api.models.guild.Guild:52 of +#: interactions.api.models.guild.Guild:55 of msgid "The list of stickers from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:1 of -msgid "A model representing the preview of a guild." +#: interactions.api.models.guild.Guild:56 of +msgid "Whether the guild has the boost progress bar enabled." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of -msgid ".. note::" +#: interactions.api.models.guild.Guild.ban:1 of +msgid "Bans a member from the guild." msgstr "" -#: interactions.api.models.guild.GuildPreview:4 of +#: interactions.api.models.guild.Guild.add_member_role +#: interactions.api.models.guild.Guild.ban +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_emoji +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.delete_channel +#: interactions.api.models.guild.Guild.delete_emoji +#: interactions.api.models.guild.Guild.delete_role +#: interactions.api.models.guild.Guild.delete_scheduled_event +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.kick +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.remove_ban +#: interactions.api.models.guild.Guild.remove_member_role +#: interactions.api.models.guild.Guild.search_members +#: interactions.api.models.guild.Guild.set_afk_channel +#: interactions.api.models.guild.Guild.set_afk_timeout +#: interactions.api.models.guild.Guild.set_banner +#: interactions.api.models.guild.Guild.set_default_message_notifications +#: interactions.api.models.guild.Guild.set_description +#: interactions.api.models.guild.Guild.set_discovery_splash +#: interactions.api.models.guild.Guild.set_explicit_content_filter +#: interactions.api.models.guild.Guild.set_icon +#: interactions.api.models.guild.Guild.set_name +#: interactions.api.models.guild.Guild.set_preferred_locale +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled +#: interactions.api.models.guild.Guild.set_public_updates_channel +#: interactions.api.models.guild.Guild.set_rules_channel +#: interactions.api.models.guild.Guild.set_splash +#: interactions.api.models.guild.Guild.set_system_channel +#: interactions.api.models.guild.Guild.set_verification_level of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:3 of +msgid "The id of the member to ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:1 of +msgid "Removes the ban of a user." +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:3 of +msgid "The id of the user to remove the ban from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_ban:5 of +msgid "The reason for the removal of the ban" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:1 of +msgid "Kicks a member from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.kick:3 of +msgid "The id of the member to kick" +msgstr "" + +#: interactions.api.models.guild.Guild.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.add_member_role:4 of msgid "" -"This refers to the documentation `here " -"_`" +":type role Union[Role, int] :param member_id: The id of the member to add" +" the roles to :type member_id: int :param reason?: The reason why the " +"roles are added :type reason: Optional[str]" msgstr "" -#: interactions.api.models.guild.Invite:1 of -msgid "The invite object." +#: interactions.api.models.guild.Guild.remove_member_role:1 of +msgid "This method removes a or multiple role(s) from a member." msgstr "" -#: interactions.api.models.guild.GuildTemplate:1 of -msgid "An object representing the snapshot of an existing guild." +#: interactions.api.models.guild.Guild.remove_member_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:5 of +msgid "The id of the member to remove the roles from" +msgstr "" + +#: interactions.api.models.guild.Guild.remove_member_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:1 of +msgid "Creates a new role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:3 of +msgid "The name of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:5 of +msgid "RGB color value as integer, default ``0``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:7 of +msgid "Bitwise value of the enabled/disabled permissions" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:9 of +msgid "" +"Whether the role should be displayed separately in the sidebar, default " +"``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:11 of +msgid "The role's icon image (if the guild has the ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:13 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:15 of +msgid "Whether the role should be mentionable, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:17 of +msgid "The reason why the role is created, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Returns" +msgstr "" + +#: interactions.api.models.guild.Guild.create_role:19 of +msgid "The created Role" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel +#: interactions.api.models.guild.Guild.create_channel +#: interactions.api.models.guild.Guild.create_role +#: interactions.api.models.guild.Guild.create_scheduled_event +#: interactions.api.models.guild.Guild.create_thread +#: interactions.api.models.guild.Guild.get_all_bans +#: interactions.api.models.guild.Guild.get_all_channels +#: interactions.api.models.guild.Guild.get_all_emoji +#: interactions.api.models.guild.Guild.get_all_members +#: interactions.api.models.guild.Guild.get_all_roles +#: interactions.api.models.guild.Guild.get_bans +#: interactions.api.models.guild.Guild.get_emoji +#: interactions.api.models.guild.Guild.get_list_of_members +#: interactions.api.models.guild.Guild.get_member +#: interactions.api.models.guild.Guild.get_preview +#: interactions.api.models.guild.Guild.get_role +#: interactions.api.models.guild.Guild.modify +#: interactions.api.models.guild.Guild.modify_channel +#: interactions.api.models.guild.Guild.modify_member +#: interactions.api.models.guild.Guild.modify_role +#: interactions.api.models.guild.Guild.modify_role_position +#: interactions.api.models.guild.Guild.modify_role_positions +#: interactions.api.models.guild.Guild.modify_scheduled_event +#: interactions.api.models.guild.Guild.search_members of +msgid "Return type" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:1 of +msgid "" +"Searches for the member with specified id in the guild and returns the " +"member as member object." +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:3 of +msgid "The id of the member to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.get_member:5 of +msgid "The member searched for" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:1 of +msgid "Deletes a channel from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_channel:3 of +msgid "The id of the channel to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:1 of +msgid "Deletes a role from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_role:3 of +msgid "The id of the role to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:5 +#: interactions.api.models.guild.Guild.delete_role:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:1 of +msgid "Edits a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:3 of +msgid "The id of the role to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:9 of +msgid "" +"Bitwise value of the enabled/disabled permissions, defaults to the " +"current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:1 of +msgid "Creates a thread in the specified channel." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:5 of +msgid "The id of the channel to create the thread in" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:7 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:10 of +msgid "" +"The type of thread, defaults to public. ignored if creating thread from a" +" message" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:12 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:14 of +msgid "An optional message to create a thread from." +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:16 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.guild.Guild.create_thread:18 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:1 of +msgid "Creates a channel in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:3 of +msgid "The name of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:5 of +msgid "The type of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:7 of +msgid "The topic of that channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:9 of +msgid "(voice channel only) The bitrate (in bits) of the voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:11 of +msgid "(voice channel only) Maximum amount of users in the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:13 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600)" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:15 of +msgid "Sorting position of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:17 of +msgid "The id of the parent category for a channel" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:19 +#: interactions.api.models.guild.Guild.modify_channel:22 of +msgid "The permission overwrites, if any" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:21 of +msgid "Whether the channel is nsfw or not, default ``False``" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:23 of +msgid "The reason for the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.create_channel:25 of +msgid "The created channel" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:1 of +msgid "Clones a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:3 of +msgid "The id of the channel to clone" +msgstr "" + +#: interactions.api.models.guild.Guild.clone_channel:5 of +msgid "The cloned channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:1 of +msgid "Edits a channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:4 of +msgid "" +"The fields `archived`, `auto_archive_duration` and `locked` require the " +"provided channel to be a thread." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:6 of +msgid "The id of the channel to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:8 of +msgid "The name of the channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:10 of +msgid "The topic of that channel, defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:12 of +msgid "" +"(voice channel only) The bitrate (in bits) of the voice channel, defaults" +" to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:14 of +msgid "" +"(voice channel only) Maximum amount of users in the channel, defaults to " +"the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:16 of +msgid "" +"Amount of seconds a user has to wait before sending another message " +"(0-21600), defaults to the current value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:18 of +msgid "" +"Sorting position of the channel, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:20 of +msgid "" +"The id of the parent category for a channel, defaults to the current " +"value of the channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:24 of +msgid "" +"Whether the channel is nsfw or not, defaults to the current value of the " +"channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:26 of +msgid "Whether the thread is archived" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:28 of +msgid "" +"The time after the thread is automatically archived. One of 60, 1440, " +"4320, 10080" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:30 of +msgid "Whether the thread is locked" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:32 of +msgid "The reason for the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_channel:34 of +msgid "The modified channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:1 of +msgid "Modifies a member of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:3 of +msgid "The id of the member to modify" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_member:19 of +msgid "The modified member" +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:1 of +msgid "Get the guild's preview." +msgstr "" + +#: interactions.api.models.guild.Guild.get_preview:3 of +msgid "the guild preview as object" +msgstr "" + +#: interactions.api.models.guild.Guild.leave:1 of +msgid "Removes the bot from the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:1 of +msgid "Modifies the current guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify:3 +#: interactions.api.models.guild.Guild.set_afk_channel:3 +#: interactions.api.models.guild.Guild.set_name:3 of +msgid "The new name of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:5 of +msgid "The verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:7 of +msgid "The default message notification level for members" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:9 of +msgid "The explicit content filter level for media content" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:11 of +msgid "The id for the afk voice channel" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:13 of +msgid "Afk timeout in seconds" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:15 of +msgid "" +"1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when" +" the server has the ANIMATED_ICON feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:17 of +msgid "" +"The id of the user to transfer the guild ownership to. You must be the " +"owner to perform this" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:19 of +msgid "" +"16:9 png/jpeg image for the guild splash (when the server has the " +"INVITE_SPLASH feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:21 of +msgid "" +"16:9 png/jpeg image for the guild discovery splash (when the server has " +"the DISCOVERABLE feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:23 of +msgid "" +"16:9 png/jpeg image for the guild banner (when the server has the BANNER " +"feature; can be animated gif when the server has the ANIMATED_BANNER " +"feature)" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:25 of +msgid "" +"The id of the channel where guild notices such as welcome messages and " +"boost events are posted" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:27 of +msgid "Whether to suppress member join notifications in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:29 of +msgid "" +"Whether to suppress server boost notifications in the system channel or " +"not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:31 of +msgid "Whether to suppress server setup tips in the system channel or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:33 of +msgid "" +"Whether to hide member join sticker reply buttons in the system channel " +"or not" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:35 of +msgid "The id of the channel where guilds display rules and/or guidelines" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:37 of +msgid "" +"The id of the channel where admins and moderators of community guilds " +"receive notices from Discord" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:39 of +msgid "" +"The preferred locale of a community guild used in server discovery and " +"notices from Discord; defaults to \"en-US\"" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:41 of +msgid "The description for the guild, if the guild is discoverable" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:43 of +msgid "Whether the guild's boost progress bar is enabled" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:45 +#: interactions.api.models.guild.Guild.modify_role_position:7 +#: interactions.api.models.guild.Guild.modify_role_positions:5 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.guild.Guild.modify:47 of +msgid "The modified guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_name:1 of +msgid "Sets the name of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:5 +#: interactions.api.models.guild.Guild.set_afk_timeout:5 +#: interactions.api.models.guild.Guild.set_banner:5 +#: interactions.api.models.guild.Guild.set_default_message_notifications:5 +#: interactions.api.models.guild.Guild.set_description:5 +#: interactions.api.models.guild.Guild.set_discovery_splash:5 +#: interactions.api.models.guild.Guild.set_explicit_content_filter:5 +#: interactions.api.models.guild.Guild.set_icon:5 +#: interactions.api.models.guild.Guild.set_name:5 +#: interactions.api.models.guild.Guild.set_preferred_locale:5 +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:5 +#: interactions.api.models.guild.Guild.set_public_updates_channel:5 +#: interactions.api.models.guild.Guild.set_rules_channel:5 +#: interactions.api.models.guild.Guild.set_splash:5 +#: interactions.api.models.guild.Guild.set_system_channel:5 +#: interactions.api.models.guild.Guild.set_verification_level:5 of +msgid "The reason of the edit" +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:1 of +msgid "Sets the verification level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_verification_level:3 of +msgid "The new verification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:1 of +msgid "Sets the default message notifications level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_default_message_notifications:3 of +msgid "The new default message notification level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:1 of +msgid "Sets the explicit content filter level of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_explicit_content_filter:3 of +msgid "The new explicit content filter level of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_channel:1 of +msgid "Sets the afk channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:1 of +msgid "Sets the afk timeout of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_afk_timeout:3 of +msgid "The new afk timeout of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:1 of +msgid "Sets the system channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_system_channel:3 of +msgid "The new system channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:1 of +msgid "Sets the rules channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_rules_channel:3 of +msgid "The new rules channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:1 of +msgid "Sets the public updates channel of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_public_updates_channel:3 of +msgid "The new public updates channel id of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:1 of +msgid "Sets the preferred locale of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_preferred_locale:3 of +msgid "The new preferredlocale of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:1 of +msgid "Sets the description of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_description:3 of +msgid "The new description of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:1 of +msgid "Sets the visibility of the premium progress bar of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_premium_progress_bar_enabled:3 of +msgid "Whether the bar is enabled or not" +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:1 of +msgid "Sets the icon of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_icon:3 of +msgid "The new icon of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:1 of +msgid "Sets the splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_splash:3 of +msgid "The new splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:1 of +msgid "Sets the discovery_splash of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_discovery_splash:3 of +msgid "The new discovery_splash of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:1 of +msgid "Sets the banner of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.set_banner:3 of +msgid "The new banner of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:1 of +msgid "creates a scheduled event for the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:3 +#: interactions.api.models.guild.Guild.modify_scheduled_event:5 of +msgid "The name of the event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:5 +#: interactions.api.models.guild.Guild.modify_scheduled_event:7 of +msgid "The entity type of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:7 +#: interactions.api.models.guild.Guild.modify_scheduled_event:9 of +msgid "The time to schedule the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:9 +#: interactions.api.models.guild.Guild.modify_scheduled_event:11 of +msgid "The time when the scheduled event is scheduled to end" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:11 +#: interactions.api.models.guild.Guild.modify_scheduled_event:13 of +msgid "The entity metadata of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:13 +#: interactions.api.models.guild.Guild.modify_scheduled_event:15 of +msgid "The channel id of the scheduled event." +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:15 +#: interactions.api.models.guild.Guild.modify_scheduled_event:17 of +msgid "The description of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:17 +#: interactions.api.models.guild.Guild.modify_scheduled_event:21 of +msgid "The cover image of the scheduled event" +msgstr "" + +#: interactions.api.models.guild.Guild.create_scheduled_event:19 of +msgid "The created event" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:1 of +msgid "Edits a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:3 of +msgid "The id of the event to edit" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_scheduled_event:23 of +msgid "The modified event" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:1 of +msgid "Deletes a scheduled event of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_scheduled_event:3 of +msgid "The id of the event to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:1 of +msgid "Gets all channels of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_channels:3 of +msgid "The channels of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:1 of +msgid "Gets all roles of the guild as list." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_roles:3 of +msgid "The roles of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:1 of +msgid "Gets a role of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:3 of +msgid "The id of the role to get" +msgstr "" + +#: interactions.api.models.guild.Guild.get_role:5 of +msgid "The role as object" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:3 of +msgid "The id of the role to modify the position of" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_position:9 +#: interactions.api.models.guild.Guild.modify_role_positions:7 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:1 of +msgid "Modifies the positions of multiple roles in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.modify_role_positions:3 of +msgid "A list of dicts containing roles (id) and their new positions (position)" +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:1 of +msgid "Gets a list of banned users." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:3 of +msgid "Number of users to return. Defaults to 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:5 of +msgid "Consider only users before the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_bans:7 of +msgid "Consider only users after the given User ID snowflake." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:3 +#: interactions.api.models.guild.Guild.get_bans:9 of +msgid "List of banned users with reasons" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_bans:1 of +msgid "Gets all bans of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:1 of +msgid "Gets an emoji of the guild and returns it." +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:3 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.get_emoji:5 of +msgid "The specified Emoji, if found" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:1 of +msgid "Gets all emojis of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_emoji:3 of +msgid "All emojis of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:1 of +msgid "Creates an Emoji in the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:3 of +msgid "The image of the emoji." +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:5 of +msgid "The name of the emoji. If not specified, the filename will be used" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:7 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.guild.Guild.create_emoji:9 of +msgid "The reason of the creation" +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:1 of +msgid "Deletes an emoji of the guild." +msgstr "" + +#: interactions.api.models.guild.Guild.delete_emoji:3 of +msgid "The emoji or the id of the emoji to delete" +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:1 of +msgid "Lists the members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:3 of +msgid "How many members to get from the API. Max is 1000." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:5 of +msgid "Get only Members after this member." +msgstr "" + +#: interactions.api.models.guild.Guild.get_list_of_members:7 of +msgid "A list of members" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:1 of +msgid "" +"Search the guild for members whose username or nickname starts with " +"provided string." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:3 of +msgid "The string to search for" +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:5 of +msgid "The number of members to return." +msgstr "" + +#: interactions.api.models.guild.Guild.search_members:7 of +msgid "A list of matching members" +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:1 of +msgid "Gets all members of a guild." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:3 of +msgid "Calling this method can lead to rate-limits in larger guilds." +msgstr "" + +#: interactions.api.models.guild.Guild.get_all_members:5 of +msgid "Returns a list of all members of the guild" +msgstr "" + +#: interactions.api.models.guild.Guild.icon_url:1 of +msgid "" +"Returns the URL of the guild's icon. :return: URL of the guild's icon " +"(None will be returned if no icon is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.banner_url:1 of +msgid "" +"Returns the URL of the guild's banner. :return: URL of the guild's banner" +" (None will be returned if no banner is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.splash_url:1 of +msgid "" +"Returns the URL of the guild's invite splash banner. :return: URL of the " +"guild's invite splash banner (None will be returned if no banner is set) " +":rtype: str" +msgstr "" + +#: interactions.api.models.guild.Guild.discovery_splash_url:1 of +msgid "" +"Returns the URL of the guild's discovery splash banner. :return: URL of " +"the guild's discovery splash banner (None will be returned if no banner " +"is set) :rtype: str" +msgstr "" + +#: interactions.api.models.guild.GuildPreview:1 of +msgid "A class object representing the preview of a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:1 of +msgid "The invite object." +msgstr "" + +#: interactions.api.models.guild.Invite:3 of +msgid "The amount of uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:4 of +msgid "The amount of maximum uses on this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:5 of +msgid "The maximum age of this invite, in seconds." +msgstr "" + +#: interactions.api.models.guild.Invite:6 of +msgid "A detection of whether this invite only grants temporary membership." +msgstr "" + +#: interactions.api.models.guild.Invite:7 of +msgid "The time when this invite was created." +msgstr "" + +#: interactions.api.models.guild.Invite:8 of +msgid "The time when this invite will expire." +msgstr "" + +#: interactions.api.models.guild.Invite:9 of +msgid "The type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:10 of +msgid "The user who created this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:11 of +msgid "The code of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:12 of +msgid "The guild ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:13 of +msgid "The channel ID of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:14 of +msgid "The type of the target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:15 of +msgid "The target user of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:16 of +msgid "The target type of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:17 of +msgid "The guild of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:18 of +msgid "The channel of this invite." +msgstr "" + +#: interactions.api.models.guild.Invite:19 of +msgid "The approximate amount of total members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:20 of +msgid "The aprpoximate amount of online members in a guild." +msgstr "" + +#: interactions.api.models.guild.Invite:21 of +msgid "A scheduled guild event object included in the invite." +msgstr "" + +#: interactions.api.models.guild.Invite.delete:1 of +msgid "Deletes the invite" msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.gw.po b/docs/locale/ru/LC_MESSAGES/api.models.gw.po new file mode 100644 index 000000000..ffa9c1972 --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/api.models.gw.po @@ -0,0 +1,678 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.gw.rst:4 +msgid "Gateway-specific Event Models" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:1 of +msgid "" +"A class object representing the gateway event " +"``APPLICATION_COMMAND_PERMISSIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:3 of +msgid "" +"This is undocumented by the Discord API, so these attribute docs may or " +"may not be finalised." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions +#: interactions.api.models.gw.ChannelPins +#: interactions.api.models.gw.EmbeddedActivity +#: interactions.api.models.gw.GuildBan interactions.api.models.gw.GuildEmojis +#: interactions.api.models.gw.GuildIntegrations +#: interactions.api.models.gw.GuildJoinRequest +#: interactions.api.models.gw.GuildMember +#: interactions.api.models.gw.GuildMembers interactions.api.models.gw.GuildRole +#: interactions.api.models.gw.GuildScheduledEvent +#: interactions.api.models.gw.GuildScheduledEventUser +#: interactions.api.models.gw.GuildStickers +#: interactions.api.models.gw.Integration +#: interactions.api.models.gw.MessageReaction +#: interactions.api.models.gw.Presence +#: interactions.api.models.gw.ReactionRemove +#: interactions.api.models.gw.ThreadList +#: interactions.api.models.gw.ThreadMembers interactions.api.models.gw.Webhooks +#: of +msgid "Variables" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:5 of +msgid "The application ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:6 of +msgid "The guild ID associated with the event." +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:7 of +msgid "The ID of the command associated with the event. (?)" +msgstr "" + +#: interactions.api.models.gw.ApplicationCommandPermissions:8 of +msgid "The updated permissions of the associated command/event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:1 of +msgid "A class object representing the event ``EMBEDDED_ACTIVITY_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:4 +#: interactions.api.models.gw.GuildJoinRequest:4 of +msgid "This is entirely undocumented by the API." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:6 of +msgid "The list of users of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:3 +#: interactions.api.models.gw.EmbeddedActivity:7 +#: interactions.api.models.gw.GuildBan:3 +#: interactions.api.models.gw.GuildEmojis:3 +#: interactions.api.models.gw.GuildIntegrations:3 +#: interactions.api.models.gw.GuildJoinRequest:7 +#: interactions.api.models.gw.GuildMember:3 +#: interactions.api.models.gw.GuildMembers:3 +#: interactions.api.models.gw.GuildRole:3 +#: interactions.api.models.gw.GuildStickers:3 +#: interactions.api.models.gw.Integration:23 +#: interactions.api.models.gw.MessageReaction:6 +#: interactions.api.models.gw.Presence:4 +#: interactions.api.models.gw.ReactionRemove:10 +#: interactions.api.models.gw.ThreadList:3 +#: interactions.api.models.gw.ThreadMembers:4 of +msgid "The guild ID of the event." +msgstr "" + +#: interactions.api.models.gw.EmbeddedActivity:8 of +msgid "The embedded presence activity of the associated event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:4 +#: interactions.api.models.gw.EmbeddedActivity:9 +#: interactions.api.models.gw.MessageReaction:4 +#: interactions.api.models.gw.ReactionRemove:8 of +msgid "The channel ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:1 of +msgid "" +"A class object representing the gateway events ``INTEGRATION_CREATE``, " +"``INTEGRATION_UPDATE`` and ``INTEGRATION_DELETE``." +msgstr "" + +#: interactions.api.models.gw.Integration:4 of +msgid "" +"The documentation of this event is the same as " +":class:`interactions.api.models.guild.Guild`. The only key missing " +"attribute is ``guild_id``. Likewise, the documentation below reflects " +"this." +msgstr "" + +#: interactions.api.models.gw.Integration:8 +#: interactions.api.models.gw.ThreadMembers:3 of +msgid "The ID of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:9 of +msgid "The name of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:10 of +msgid "The type of integration in the event." +msgstr "" + +#: interactions.api.models.gw.Integration:11 of +msgid "Whether the integration of the event is enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:12 of +msgid "Whether the integration of the event is syncing or not." +msgstr "" + +#: interactions.api.models.gw.Integration:13 of +msgid "" +"The role ID that the integration in the event uses for \"subscribed\" " +"users." +msgstr "" + +#: interactions.api.models.gw.Integration:14 of +msgid "Whether emoticons of the integration's event should be enabled or not." +msgstr "" + +#: interactions.api.models.gw.Integration:15 of +msgid "The expiration behavior of the integration of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:16 of +msgid "" +"The \"grace period\" of the integration of the event when expired -- how " +"long it can still be used." +msgstr "" + +#: interactions.api.models.gw.GuildBan:4 +#: interactions.api.models.gw.GuildMember:5 +#: interactions.api.models.gw.Integration:17 +#: interactions.api.models.gw.Presence:3 of +msgid "The user of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:18 of +msgid "The account of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:19 of +msgid "The time that the integration of the event was last synced." +msgstr "" + +#: interactions.api.models.gw.Integration:20 of +msgid "The current subscriber count of the event." +msgstr "" + +#: interactions.api.models.gw.Integration:21 of +msgid "Whether the integration of the event was revoked for use or not." +msgstr "" + +#: interactions.api.models.gw.Integration:22 of +msgid "The application used for the integration of the event." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:1 of +msgid "A class object representing the gateway event ``CHANNEL_PINS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ChannelPins:5 of +msgid "The time that the event took place." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:1 of +msgid "A class object representing the gateway event ``THREAD_MEMBERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:5 of +msgid "The member count of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:6 of +msgid "The added members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadMembers:7 of +msgid "The removed IDs of members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:1 of +msgid "A class object representing the gateway event ``THREAD_LIST_SYNC``." +msgstr "" + +#: interactions.api.models.gw.ThreadList:4 of +msgid "The channel IDs of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:5 of +msgid "The threads of the event." +msgstr "" + +#: interactions.api.models.gw.ThreadList:6 of +msgid "The members of the thread of the event." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:1 of +msgid "" +"A class object representing the gateway events " +"``MESSAGE_REACTION_REMOVE``, ``MESSAGE_REACTION_REMOVE_ALL`` and " +"``MESSAGE_REACTION_REMOVE_EMOJI``." +msgstr "" + +#: interactions.api.models.gw.ReactionRemove:4 of +msgid "" +"This class inherits the already existing attributes of " +":class:`interactions.api.models.gw.Reaction`. The main missing attribute " +"is ``member``." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:6 +#: interactions.api.models.gw.MessageReaction:3 +#: interactions.api.models.gw.ReactionRemove:7 of +msgid "The user ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:5 +#: interactions.api.models.gw.ReactionRemove:9 of +msgid "The message ID of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:8 +#: interactions.api.models.gw.ReactionRemove:11 of +msgid "The emoji of the event." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:1 of +msgid "A class object representing the gateway event ``MESSAGE_REACTION_ADD``." +msgstr "" + +#: interactions.api.models.gw.MessageReaction:7 of +msgid "The member of the event." +msgstr "" + +#: interactions.api.models.gw.GuildIntegrations:1 of +msgid "" +"A class object representing the gateway event " +"``GUILD_INTEGRATIONS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildBan:1 of +msgid "A class object representing the gateway event ``GUILD_BAN_ADD``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:1 of +msgid "A class object representing the gateway event ``WEBHOOKS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Webhooks:3 of +msgid "The channel ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.Webhooks:4 of +msgid "The guild ID of the associated event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:1 of +msgid "A class object representing the gateway event ``GUILD_MEMBERS_CHUNK``." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:4 of +msgid "The members of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:5 of +msgid "The current chunk index of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:6 of +msgid "The total chunk count of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:7 of +msgid "A list of not found members in the event if an invalid request was made." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:8 of +msgid "A list of presences in the event." +msgstr "" + +#: interactions.api.models.gw.GuildMembers:9 of +msgid "The \"nonce\" of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:1 of +msgid "" +"A class object representing the gateway events ``GUILD_MEMBER_ADD``, " +"``GUILD_MEMBER_UPDATE`` and ``GUILD_MEMBER_REMOVE``." +msgstr "" + +#: interactions.api.models.gw.GuildMember:4 of +msgid "The roles of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:6 of +msgid "The nickname of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:7 of +msgid "The avatar URL of the user of the event." +msgstr "" + +#: interactions.api.models.gw.GuildMember:8 of +msgid "The time that the user of the event joined at." +msgstr "" + +#: interactions.api.models.gw.GuildMember:9 of +msgid "The time that the user of the event has since had \"premium.\"" +msgstr "" + +#: interactions.api.models.gw.GuildMember:10 of +msgid "Whether the member of the event is deafened or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:11 of +msgid "Whether the member of the event is muted or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember:12 of +msgid "" +"Whether the member of the event is still pending -- pass membership " +"screening -- or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.gw.GuildMember.id +#: interactions.api.models.gw.GuildMember.mention +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role +#: interactions.api.models.gw.GuildMember.add_to_thread +#: interactions.api.models.gw.GuildMember.ban +#: interactions.api.models.gw.GuildMember.kick +#: interactions.api.models.gw.GuildMember.modify +#: interactions.api.models.gw.GuildMember.remove_role +#: interactions.api.models.gw.GuildMember.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:3 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.gw.GuildMember.ban:5 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.kick:3 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_role:5 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.gw.GuildMember.remove_role:5 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.gw.GuildMember.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:3 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:5 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:7 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:9 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:11 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:13 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:15 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.gw.GuildMember.modify:17 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.gw.GuildMember.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.gw.GuildStickers:1 of +msgid "A class object representing the gateway event ``GUILD_STICKERS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildStickers:4 of +msgid "The stickers of the event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_SCHEDULED_EVENT_USER_ADD`` and " +"``GUILD_SCHEDULED_EVENT_USER_REMOVE``" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:3 of +msgid "The ID of the guild scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:4 of +msgid "The ID of the guild associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEventUser:5 of +msgid "The ID of the user associated with this event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:1 of +msgid "" +"A class object representing gateway events " +"``GUILD_SCHEDULED_EVENT_CREATE``, ``GUILD_SCHEDULED_EVENT_UPDATE``, " +"``GUILD_SCHEDULED_EVENT_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:4 of +msgid "" +"Some attributes are optional via creator_id/creator implementation by the" +" API: \"`creator_id` will be null and `creator` will not be included for " +"events created before October 25th, 2021, when the concept of " +"`creator_id` was introduced and tracked.\"" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:7 of +msgid "The ID of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:8 of +msgid "The ID of the guild that this scheduled event belongs to." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:9 of +msgid "The channel ID in which the scheduled event belongs to, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:10 of +msgid "The ID of the user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:11 of +msgid "The name of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:12 of +msgid "The description of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:13 of +msgid "The scheduled event start time." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:14 of +msgid "The scheduled event end time, if any." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:15 of +msgid "The privacy level of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:16 of +msgid "The type of the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:17 of +msgid "The ID of the entity associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:18 of +msgid "Additional metadata associated with the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:19 of +msgid "The user that created the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:20 of +msgid "The number of users subscribed to the scheduled event." +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:21 of +msgid "The status of the scheduled event" +msgstr "" + +#: interactions.api.models.gw.GuildScheduledEvent:22 of +msgid "The hash containing the image of an event, if applicable." +msgstr "" + +#: interactions.api.models.gw.Presence:1 of +msgid "A class object representing the gateway event ``PRESENCE_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.Presence:5 of +msgid "The status of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:6 of +msgid "The activities of the event." +msgstr "" + +#: interactions.api.models.gw.Presence:7 of +msgid "The client status across platforms in the event." +msgstr "" + +#: interactions.api.models.gw.GuildJoinRequest:1 of +msgid "" +"A class object representing the gateway events " +"``GUILD_JOIN_REQUEST_CREATE``, ``GUILD_JOIN_REQUEST_UPDATE``, and " +"``GUILD_JOIN_REQUEST_DELETE``" +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:1 of +msgid "A class object representing the gateway event ``GUILD_EMOJIS_UPDATE``." +msgstr "" + +#: interactions.api.models.gw.GuildEmojis:4 of +msgid "The emojis of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:1 of +msgid "" +"A class object representing the gateway events ``GUILD_ROLE_CREATE``, " +"``GUILD_ROLE_UPDATE`` and ``GUILD_ROLE_DELETE``." +msgstr "" + +#: interactions.api.models.gw.GuildRole:4 of +msgid "The role of the event." +msgstr "" + +#: interactions.api.models.gw.GuildRole:5 of +msgid "The role ID of the event." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.intents.po b/docs/locale/ru/LC_MESSAGES/api.models.intents.po deleted file mode 100644 index 0c9461d6f..000000000 --- a/docs/locale/ru/LC_MESSAGES/api.models.intents.po +++ /dev/null @@ -1,36 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.intents.rst:4 -msgid "Intents Models" -msgstr "" - -#: interactions.api.models.intents.Intents:1 of -msgid "" -"A class objct representing the bitshift flags respective for each intents" -" type." -msgstr "" - -#: interactions.api.models.intents.Intents:4 of -msgid "" -"Equivalent of `Gateway Intents " -"`_ in" -" the Discord API." -msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.member.po b/docs/locale/ru/LC_MESSAGES/api.models.member.po index 8c045b1b5..d616587fa 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.member.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.member.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,20 +23,10 @@ msgid "Member Models" msgstr "" #: interactions.api.models.member.Member:1 of -msgid "A class object representing the member of a guild." +msgid "A class object representing the user of a guild, known as a \"member.\"" msgstr "" #: interactions.api.models.member.Member:4 of -msgid "Also known as the guild member class object. (or partial)" -msgstr "" - -#: interactions.api.models.member.Member:6 of -msgid "" -"The methodology, instead of regular d.py conventions is to do member.user" -" to get the pure User object, instead of d.py's option of merging." -msgstr "" - -#: interactions.api.models.member.Member:10 of msgid "" "``pending`` and ``permissions`` only apply for members retroactively " "requiring to verify rules via. membership screening or lack permissions " @@ -47,38 +37,246 @@ msgstr "" msgid "Variables" msgstr "" -#: interactions.api.models.member.Member:14 of +#: interactions.api.models.member.Member:8 of msgid "The user of the guild." msgstr "" -#: interactions.api.models.member.Member:15 of +#: interactions.api.models.member.Member:9 of msgid "The nickname of the member." msgstr "" -#: interactions.api.models.member.Member:16 of +#: interactions.api.models.member.Member:10 of +msgid "The hash containing the user's guild avatar, if applicable." +msgstr "" + +#: interactions.api.models.member.Member:11 of msgid "The list of roles of the member." msgstr "" -#: interactions.api.models.member.Member:17 of +#: interactions.api.models.member.Member:12 of msgid "The timestamp the member joined the guild at." msgstr "" -#: interactions.api.models.member.Member:18 of +#: interactions.api.models.member.Member:13 of msgid "The timestamp the member has been a server booster since." msgstr "" -#: interactions.api.models.member.Member:19 of +#: interactions.api.models.member.Member:14 of msgid "Whether the member is deafened." msgstr "" -#: interactions.api.models.member.Member:20 of +#: interactions.api.models.member.Member:15 of msgid "Whether the member is muted." msgstr "" -#: interactions.api.models.member.Member:21 of +#: interactions.api.models.member.Member:16 of msgid "Whether the member is pending to pass membership screening." msgstr "" -#: interactions.api.models.member.Member:22 of +#: interactions.api.models.member.Member:17 of msgid "Whether the member has permissions." msgstr "" + +#: interactions.api.models.member.Member:18 of +msgid "How long until they're unmuted, if any." +msgstr "" + +#: interactions.api.models.member.Member.id:1 of +msgid "Returns the ID of the user." +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Returns" +msgstr "" + +#: interactions.api.models.member.Member.id:3 of +msgid "The ID of the user" +msgstr "" + +#: interactions.api.models.member.Member.id +#: interactions.api.models.member.Member.mention +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.name +#: interactions.api.models.member.Member.send of +msgid "Return type" +msgstr "" + +#: interactions.api.models.member.Member.mention:1 of +msgid "Returns a string that allows you to mention the given member." +msgstr "" + +#: interactions.api.models.member.Member.mention:3 of +msgid "The string of the mentioned member." +msgstr "" + +#: interactions.api.models.member.Member.name:1 of +msgid "Returns the string of either the user's nickname or username." +msgstr "" + +#: interactions.api.models.member.Member.name:3 of +msgid "The name of the member" +msgstr "" + +#: interactions.api.models.member.Member.ban:1 of +msgid "Bans the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.add_role +#: interactions.api.models.member.Member.add_to_thread +#: interactions.api.models.member.Member.ban +#: interactions.api.models.member.Member.kick +#: interactions.api.models.member.Member.modify +#: interactions.api.models.member.Member.remove_role +#: interactions.api.models.member.Member.send of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.member.Member.ban:3 of +msgid "The id of the guild to ban the member from" +msgstr "" + +#: interactions.api.models.member.Member.ban:5 of +msgid "The reason of the ban" +msgstr "" + +#: interactions.api.models.member.Member.ban:7 of +msgid "Number of days to delete messages, from 0 to 7. Defaults to 0" +msgstr "" + +#: interactions.api.models.member.Member.kick:1 of +msgid "Kicks the member from a guild." +msgstr "" + +#: interactions.api.models.member.Member.kick:3 of +msgid "The id of the guild to kick the member from" +msgstr "" + +#: interactions.api.models.member.Member.kick:5 of +msgid "The reason for the kick" +msgstr "" + +#: interactions.api.models.member.Member.add_role:1 of +msgid "This method adds a role to a member." +msgstr "" + +#: interactions.api.models.member.Member.add_role:3 of +msgid "The role to add. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.add_role:5 of +msgid "The id of the guild to add the roles to the member" +msgstr "" + +#: interactions.api.models.member.Member.add_role:7 of +msgid "The reason why the roles are added" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:1 of +msgid "This method removes a role from a member." +msgstr "" + +#: interactions.api.models.member.Member.remove_role:3 of +msgid "The role to remove. Either ``Role`` object or role_id" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:5 of +msgid "The id of the guild to remove the roles of the member" +msgstr "" + +#: interactions.api.models.member.Member.remove_role:7 of +msgid "The reason why the roles are removed" +msgstr "" + +#: interactions.api.models.member.Member.send:1 of +msgid "Sends a DM to the member." +msgstr "" + +#: interactions.api.models.member.Member.send:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.member.Member.send:5 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:7 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.member.Member.send:9 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.member.Member.send:11 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.member.Member.send:13 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.member.Member.send:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.member.Member.modify:1 of +msgid "Modifies the member of a guild." +msgstr "" + +#: interactions.api.models.member.Member.modify:3 of +msgid "The id of the guild to modify the member on" +msgstr "" + +#: interactions.api.models.member.Member.modify:5 of +msgid "The nickname of the member" +msgstr "" + +#: interactions.api.models.member.Member.modify:7 of +msgid "A list of all role ids the member has" +msgstr "" + +#: interactions.api.models.member.Member.modify:9 of +msgid "whether the user is muted in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:11 of +msgid "whether the user is deafened in voice channels" +msgstr "" + +#: interactions.api.models.member.Member.modify:13 of +msgid "id of channel to move user to (if they are connected to voice)" +msgstr "" + +#: interactions.api.models.member.Member.modify:15 of +msgid "" +"when the user's timeout will expire and the user will be able to " +"communicate in the guild again (up to 28 days in the future)" +msgstr "" + +#: interactions.api.models.member.Member.modify:17 of +msgid "The reason of the modifying" +msgstr "" + +#: interactions.api.models.member.Member.modify:19 of +msgid "The modified member object" +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:1 of +msgid "Adds the member to a thread." +msgstr "" + +#: interactions.api.models.member.Member.add_to_thread:3 of +msgid "The id of the thread to add the member to" +msgstr "" + +#: interactions.api.models.member.Member.get_avatar_url:1 of +msgid "" +"Returns the URL of the member's avatar for the specified guild. :param " +"guild_id: The id of the guild to get the member's avatar from :type " +"guild_id: int :return: URL of the members's avatar (None will be returned" +" if no avatar is set) :rtype: str" +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.message.po b/docs/locale/ru/LC_MESSAGES/api.models.message.po index a831f2985..1f8521cd0 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.message.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.message.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,33 +26,36 @@ msgstr "" msgid "An enumerable object representing the types of messages." msgstr "" -#: interactions.api.models.message.MessageType:3 of -msgid ".. note::" -msgstr "" - -#: interactions.api.models.message.MessageType:4 of -msgid "" -"While all of them are listed, not all of them would be used at this lib's" -" scope." -msgstr "" - #: interactions.api.models.message.MessageActivity:1 of msgid "A class object representing the activity state of a message." msgstr "" #: interactions.api.models.message.MessageActivity:4 of -msgid "``party_id`` is ambigious -- Discord poorly documented this. :)" +msgid "``party_id`` is ambiguous -- Discord poorly documented this. :)" msgstr "" #: interactions.api.models.message.MessageActivity:6 of msgid "" -"We assume it's for game rich presence invites? i.e. : Phasmophobia, Call " -"of Duty" +"We assume it's for game rich presence invites? i.e. : Phasmophobia and " +"Call of Duty." msgstr "" #: interactions.api.models.message.Attachment +#: interactions.api.models.message.ChannelMention +#: interactions.api.models.message.Embed +#: interactions.api.models.message.EmbedAuthor +#: interactions.api.models.message.EmbedField +#: interactions.api.models.message.EmbedFooter +#: interactions.api.models.message.EmbedImageStruct +#: interactions.api.models.message.EmbedProvider +#: interactions.api.models.message.Emoji +#: interactions.api.models.message.Message #: interactions.api.models.message.MessageActivity -#: interactions.api.models.message.MessageReference of +#: interactions.api.models.message.MessageInteraction +#: interactions.api.models.message.MessageReference +#: interactions.api.models.message.PartialSticker +#: interactions.api.models.message.ReactionObject +#: interactions.api.models.message.Sticker of msgid "Variables" msgstr "" @@ -70,8 +73,8 @@ msgstr "" #: interactions.api.models.message.MessageReference:4 of msgid "" -"All of the class instances are optionals because a message can entirely " -"never be referenced." +"All of the attributes in this class are optionals because a message can " +"potentially never be referenced." msgstr "" #: interactions.api.models.message.MessageReference:7 of @@ -97,60 +100,919 @@ msgstr "" #: interactions.api.models.message.Attachment:4 of msgid "" "``height`` and ``width`` have values based off of ``content_type``, which" -" requires it to be a media file with viewabiltiy as a photo, animated " +" requires it to be a media file with viewabiltity as a photo, animated " "photo, GIF and/or video." msgstr "" #: interactions.api.models.message.Attachment:8 of +msgid "" +"If `ephemeral` is given, the attachments will automatically be removed " +"after a set period of time. In the case of regular messages, they're " +"available as long as the message associated with the attachment exists." +msgstr "" + +#: interactions.api.models.message.Attachment:11 of msgid "The ID of the attachment." msgstr "" -#: interactions.api.models.message.Attachment:9 of +#: interactions.api.models.message.Attachment:12 of msgid "The name of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:10 of +#: interactions.api.models.message.Attachment:13 of +msgid "The description of the file." +msgstr "" + +#: interactions.api.models.message.Attachment:14 of msgid "The type of attachment file." msgstr "" -#: interactions.api.models.message.Attachment:11 of +#: interactions.api.models.message.Attachment:15 of msgid "The size of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:12 of +#: interactions.api.models.message.Attachment:16 of msgid "The CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:13 of +#: interactions.api.models.message.Attachment:17 of msgid "The proxied/cached CDN URL of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:14 of +#: interactions.api.models.message.Attachment:18 of msgid "The height of the attachment file." msgstr "" -#: interactions.api.models.message.Attachment:15 of +#: interactions.api.models.message.Attachment:19 of msgid "The width of the attachment file." msgstr "" -#: interactions.api.models.message.Message:1 of -msgid "The big Message model." +#: interactions.api.models.message.Attachment:20 of +msgid "Whether the attachment is ephemeral." msgstr "" -#: interactions.api.models.message.Message:3 of +#: interactions.api.models.message.MessageInteraction:1 of +msgid "" +"A class object that resembles the interaction used to generate the " +"associated message." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:4 of +msgid "ID of the interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:5 of +msgid "Type of interaction." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:6 of +msgid "Name of the application command." +msgstr "" + +#: interactions.api.models.message.MessageInteraction:7 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.api.models.message.ChannelMention:1 of +msgid "A class object that resembles the mention of a channel in a guild." +msgstr "" + +#: interactions.api.models.message.ChannelMention:4 of +msgid "The ID of the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:5 of +msgid "The ID of the guild that contains the channel." +msgstr "" + +#: interactions.api.models.message.ChannelMention:6 of +msgid "The channel type." +msgstr "" + +#: interactions.api.models.message.ChannelMention:7 of +msgid "The name of the channel." +msgstr "" + +#: interactions.api.models.message.Emoji:1 of +msgid "A class objecting representing an emoji." +msgstr "" + +#: interactions.api.models.message.Emoji:3 of +msgid "Emoji id" +msgstr "" + +#: interactions.api.models.message.Emoji:4 of +msgid "Emoji name." +msgstr "" + +#: interactions.api.models.message.Emoji:5 of +msgid "Roles allowed to use this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:6 of +msgid "User that created this emoji" +msgstr "" + +#: interactions.api.models.message.Emoji:7 of +msgid "Status denoting of this emoji must be wrapped in colons" +msgstr "" + +#: interactions.api.models.message.Emoji:8 of +msgid "Status denoting if this emoji is managed (by an integration)" +msgstr "" + +#: interactions.api.models.message.Emoji:9 of +msgid "Status denoting if this emoji is animated" +msgstr "" + +#: interactions.api.models.message.Emoji:10 of msgid "" -"The purpose of this model is to be used as a base class, and is never " -"needed to be used directly." +"Status denoting if this emoji can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Emoji.get:1 of +msgid "Gets an emoji." +msgstr "" + +#: interactions.api.models.message.Embed.add_field +#: interactions.api.models.message.Embed.insert_field_at +#: interactions.api.models.message.Embed.remove_field +#: interactions.api.models.message.Embed.set_author +#: interactions.api.models.message.Embed.set_field_at +#: interactions.api.models.message.Embed.set_footer +#: interactions.api.models.message.Embed.set_image +#: interactions.api.models.message.Embed.set_thumbnail +#: interactions.api.models.message.Embed.set_video +#: interactions.api.models.message.Emoji.delete +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Message.create_reaction +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.delete +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.remove_all_reactions_of +#: interactions.api.models.message.Message.remove_own_reaction_of +#: interactions.api.models.message.Message.remove_reaction_from +#: interactions.api.models.message.Message.reply of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.message.Emoji.get:3 of +msgid "The id of the guild of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:5 of +msgid "The id of the emoji" +msgstr "" + +#: interactions.api.models.message.Emoji.get:7 +#: interactions.api.models.message.Emoji.get_all_of_guild:5 of +msgid "The HTTPClient of your bot. Equals to ``bot._http``" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.message.Emoji.get:9 of +msgid "The Emoji as object" +msgstr "" + +#: interactions.api.models.message.Emoji.get +#: interactions.api.models.message.Emoji.get_all_of_guild +#: interactions.api.models.message.Emoji.url +#: interactions.api.models.message.Message.create_thread +#: interactions.api.models.message.Message.edit +#: interactions.api.models.message.Message.get_channel +#: interactions.api.models.message.Message.get_from_url +#: interactions.api.models.message.Message.get_guild +#: interactions.api.models.message.Message.publish +#: interactions.api.models.message.Message.reply +#: interactions.api.models.message.Message.url of +msgid "Return type" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:1 of +msgid "Gets all emoji of a guild." +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:3 of +msgid "The id of the guild to get the emojis of" +msgstr "" + +#: interactions.api.models.message.Emoji.get_all_of_guild:7 of +msgid "The Emoji as list" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:1 of +msgid "Deletes the emoji." +msgstr "" + +#: interactions.api.models.message.Emoji.delete:3 of +msgid "The guild id to delete the emoji from" +msgstr "" + +#: interactions.api.models.message.Emoji.delete:5 of +msgid "The reason of the deletion" +msgstr "" + +#: interactions.api.models.message.Emoji.url:1 of +msgid "Returns the emoji's URL." +msgstr "" + +#: interactions.api.models.message.Emoji.url:3 of +msgid "URL of the emoji" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:1 of +msgid "A class object representing the structure of an image in an embed." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:3 of +msgid "The structure of an embed image:" +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:13 of +msgid "Source URL of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:14 of +msgid "Proxied url of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:15 of +msgid "Height of the object." +msgstr "" + +#: interactions.api.models.message.EmbedImageStruct:16 of +msgid "Width of the object." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:1 of +msgid "A class object representing the provider of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedProvider:3 of +msgid "Name of provider" +msgstr "" + +#: interactions.api.models.message.EmbedProvider:4 of +msgid "URL of provider" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:1 of +msgid "A class object representing the author of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:3 of +msgid "The structure of an embed author:" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:11 of +msgid "Name of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:12 of +msgid "URL of author" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:13 of +msgid "URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedAuthor:14 of +msgid "Proxied URL of author icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:1 of +msgid "A class object representing the footer of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedFooter:3 of +msgid "The structure of an embed footer:" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:11 of +msgid "Footer text" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:12 of +msgid "URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedFooter:13 of +msgid "Proxied URL of footer icon" +msgstr "" + +#: interactions.api.models.message.EmbedField:1 of +msgid "A class object representing the field of an embed." +msgstr "" + +#: interactions.api.models.message.EmbedField:3 of +msgid "The structure of an embed field:" +msgstr "" + +#: interactions.api.models.message.EmbedField:13 of +msgid "Name of the field." +msgstr "" + +#: interactions.api.models.message.EmbedField:14 of +msgid "Value of the field" +msgstr "" + +#: interactions.api.models.message.EmbedField:15 of +msgid "A status denoting if the field should be displayed inline." +msgstr "" + +#: interactions.api.models.message.Embed:1 of +msgid "A class object representing an embed." +msgstr "" + +#: interactions.api.models.message.Embed:4 of +msgid "" +"The example provided below is for a very basic implementation of an " +"embed. Embeds are more unique than what is being shown." +msgstr "" + +#: interactions.api.models.message.Embed:8 of +msgid "The structure for an embed:" +msgstr "" + +#: interactions.api.models.message.Embed:17 of +msgid "Title of embed" +msgstr "" + +#: interactions.api.models.message.Embed:18 of +msgid "" +"Embed type, relevant by CDN file connected. This is only important to " +"rendering." +msgstr "" + +#: interactions.api.models.message.Embed:19 of +msgid "Embed description" +msgstr "" + +#: interactions.api.models.message.Embed:20 of +msgid "URL of embed" +msgstr "" + +#: interactions.api.models.message.Embed:21 of +msgid "Timestamp of embed content" +msgstr "" + +#: interactions.api.models.message.Embed:22 of +msgid "Color code of embed" +msgstr "" + +#: interactions.api.models.message.Embed:23 of +msgid "Footer information" +msgstr "" + +#: interactions.api.models.message.Embed:24 of +msgid "Image information" +msgstr "" + +#: interactions.api.models.message.Embed:25 of +msgid "Thumbnail information" +msgstr "" + +#: interactions.api.models.message.Embed:26 of +msgid "Video information" +msgstr "" + +#: interactions.api.models.message.Embed:27 of +msgid "Provider information" +msgstr "" + +#: interactions.api.models.message.Embed:28 of +msgid "Author information" +msgstr "" + +#: interactions.api.models.message.Embed:29 of +msgid "A list of fields denoting field information" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:1 of +msgid "Adds a field to the embed" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:3 +#: interactions.api.models.message.Embed.insert_field_at:5 +#: interactions.api.models.message.Embed.set_field_at:5 of +msgid "The name of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:5 +#: interactions.api.models.message.Embed.insert_field_at:7 +#: interactions.api.models.message.Embed.set_field_at:7 of +msgid "The value of the field" +msgstr "" + +#: interactions.api.models.message.Embed.add_field:7 +#: interactions.api.models.message.Embed.insert_field_at:9 +#: interactions.api.models.message.Embed.set_field_at:9 of +msgid "if the field is in the same line as the previous one" +msgstr "" + +#: interactions.api.models.message.Embed.clear_fields:1 of +msgid "Clears all the fields of the embed" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:1 of +msgid "Inserts a field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.insert_field_at:3 +#: interactions.api.models.message.Embed.remove_field:3 +#: interactions.api.models.message.Embed.set_field_at:3 of +msgid "The new field's index" +msgstr "" + +#: interactions.api.models.message.Embed.set_field_at:1 of +msgid "Overwrites the field in the embed at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_field:1 of +msgid "Remove field at the specified index" +msgstr "" + +#: interactions.api.models.message.Embed.remove_author:1 of +msgid "Removes the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:1 of +msgid "Sets the embed's author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:3 of +msgid "The name of the author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:5 of +msgid "Url of author" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:7 of +msgid "Url of author icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_author:9 of +msgid "A proxied url of author icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:1 of +msgid "Sets the embed's footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:3 of +msgid "The text of the footer" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:5 of +msgid "Url of footer icon (only supports http(s) and attachments)" +msgstr "" + +#: interactions.api.models.message.Embed.set_footer:7 of +msgid "A proxied url of footer icon" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:1 of +msgid "Sets the embed's image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:3 of +msgid "Url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:5 of +msgid "A proxied url of the image" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:7 of +msgid "The image's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_image:9 of +msgid "The image's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:1 of +msgid "Sets the embed's video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:3 of +msgid "Url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:5 of +msgid "A proxied url of the video" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:7 of +msgid "The video's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_video:9 of +msgid "The video's width" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:1 of +msgid "Sets the embed's thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:3 of +msgid "Url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:5 of +msgid "A proxied url of the thumbnail" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:7 of +msgid "The thumbnail's height" +msgstr "" + +#: interactions.api.models.message.Embed.set_thumbnail:9 of +msgid "The thumbnail's width" msgstr "" #: interactions.api.models.message.PartialSticker:1 of msgid "Partial object for a Sticker." msgstr "" +#: interactions.api.models.message.PartialSticker:3 +#: interactions.api.models.message.Sticker:3 of +msgid "ID of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:4 +#: interactions.api.models.message.Sticker:5 of +msgid "Name of the sticker" +msgstr "" + +#: interactions.api.models.message.PartialSticker:5 +#: interactions.api.models.message.Sticker:10 of +msgid "Type of sticker format" +msgstr "" + #: interactions.api.models.message.Sticker:1 of -msgid "The full Sticker object." +msgid "A class object representing a full sticker apart from a partial." msgstr "" -#: interactions.api.models.message.EmbedImageStruct:1 of -msgid "This is the internal structure denoted for thumbnails, images or videos" +#: interactions.api.models.message.Sticker:4 of +msgid "ID of the pack the sticker is from." +msgstr "" + +#: interactions.api.models.message.Sticker:6 of +msgid "Description of the sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:7 of +msgid "Autocomplete/suggestion tags for the sticker (max 200 characters)" +msgstr "" + +#: interactions.api.models.message.Sticker:8 of +msgid "Previously a sticker asset hash, now an empty string." +msgstr "" + +#: interactions.api.models.message.Sticker:9 of +msgid "Type of sticker" +msgstr "" + +#: interactions.api.models.message.Sticker:11 of +msgid "" +"Status denoting if this sticker can be used. (Can be false via server " +"boosting)" +msgstr "" + +#: interactions.api.models.message.Sticker:12 of +msgid "Guild ID that owns the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:13 of +msgid "The user that uploaded the sticker." +msgstr "" + +#: interactions.api.models.message.Sticker:14 of +msgid "The standard sticker's sort order within its pack" +msgstr "" + +#: interactions.api.models.message.ReactionObject:1 of +msgid "The reaction object." +msgstr "" + +#: interactions.api.models.message.ReactionObject:3 of +msgid "The amount of times this emoji has been used to react" +msgstr "" + +#: interactions.api.models.message.ReactionObject:4 of +msgid "A status denoting if the current user reacted using this emoji" +msgstr "" + +#: interactions.api.models.message.ReactionObject:5 of +msgid "Emoji information" +msgstr "" + +#: interactions.api.models.message.Message:1 of +msgid "A class object representing a message." +msgstr "" + +#: interactions.api.models.message.Message:3 of +msgid "ID of the message." +msgstr "" + +#: interactions.api.models.message.Message:4 of +msgid "ID of the channel the message was sent in" +msgstr "" + +#: interactions.api.models.message.Message:5 of +msgid "ID of the guild the message was sent in, if it exists." +msgstr "" + +#: interactions.api.models.message.Message:6 of +msgid "The author of the message." +msgstr "" + +#: interactions.api.models.message.Message:7 of +msgid "The member object associated with the author, if any." +msgstr "" + +#: interactions.api.models.message.Message:8 of +msgid "Message contents." +msgstr "" + +#: interactions.api.models.message.Message:9 of +msgid "Timestamp denoting when the message was sent." +msgstr "" + +#: interactions.api.models.message.Message:10 of +msgid "Timestamp denoting when the message was edited, if any." +msgstr "" + +#: interactions.api.models.message.Message:11 of +msgid "Status dictating if this was a TTS message or not." +msgstr "" + +#: interactions.api.models.message.Message:12 of +msgid "Status dictating of this message mentions everyone" +msgstr "" + +#: interactions.api.models.message.Message:13 of +msgid "Array of user objects with an additional partial member field." +msgstr "" + +#: interactions.api.models.message.Message:14 of +msgid "Array of roles mentioned in this message" +msgstr "" + +#: interactions.api.models.message.Message:15 of +msgid "Channels mentioned in this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:16 of +msgid "An array of attachments" +msgstr "" + +#: interactions.api.models.message.Message:17 of +msgid "An array of embeds" +msgstr "" + +#: interactions.api.models.message.Message:18 of +msgid "Reactions to the message." +msgstr "" + +#: interactions.api.models.message.Message:19 of +msgid "Used for message validation" +msgstr "" + +#: interactions.api.models.message.Message:20 of +msgid "Whether this message is pinned." +msgstr "" + +#: interactions.api.models.message.Message:21 of +msgid "Webhook ID if the message is generated by a webhook." +msgstr "" + +#: interactions.api.models.message.Message:22 of +msgid "Type of message" +msgstr "" + +#: interactions.api.models.message.Message:23 of +msgid "Message activity object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:24 of +msgid "Application object that's sent by Rich Presence" +msgstr "" + +#: interactions.api.models.message.Message:25 of +msgid "" +"Data showing the source of a message (crosspost, channel follow, add, " +"pin, or replied message)" +msgstr "" + +#: interactions.api.models.message.Message:26 of +msgid "The allowed mentions of roles attached in the message." +msgstr "" + +#: interactions.api.models.message.Message:27 of +msgid "Message flags" +msgstr "" + +#: interactions.api.models.message.Message:28 of +msgid "Message interaction object, if the message is sent by an interaction." +msgstr "" + +#: interactions.api.models.message.Message:29 of +msgid "" +"The thread that started from this message, if any, with a thread member " +"object embedded." +msgstr "" + +#: interactions.api.models.message.Message:30 of +msgid "Components associated with this message, if any." +msgstr "" + +#: interactions.api.models.message.Message:31 of +msgid "An array of message sticker item objects, if sent with them." +msgstr "" + +#: interactions.api.models.message.Message:32 of +msgid "Array of sticker objects sent with the message if any. Deprecated." +msgstr "" + +#: interactions.api.models.message.Message.get_channel:1 of +msgid "Gets the channel where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.get_guild:1 of +msgid "Gets the guild where the message was sent." +msgstr "" + +#: interactions.api.models.message.Message.delete:1 of +msgid "Deletes the message." +msgstr "" + +#: interactions.api.models.message.Message.delete:3 of +msgid "Optional reason to show up in the audit log. Defaults to `None`." +msgstr "" + +#: interactions.api.models.message.Message.edit:1 of +msgid "This method edits a message. Only available for messages sent by the bot." +msgstr "" + +#: interactions.api.models.message.Message.edit:3 +#: interactions.api.models.message.Message.reply:3 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.api.models.message.Message.edit:5 +#: interactions.api.models.message.Message.reply:5 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.api.models.message.Message.edit:7 +#: interactions.api.models.message.Message.reply:7 of +msgid "A file or list of files to be attached to the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:9 +#: interactions.api.models.message.Message.reply:9 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.api.models.message.Message.edit:11 +#: interactions.api.models.message.Message.reply:11 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.api.models.message.Message.edit:13 of +msgid "" +"A component, or list of components for the message. If `[]` the " +"components will be removed" +msgstr "" + +#: interactions.api.models.message.Message.edit:15 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.api.models.message.Message.reply:1 of +msgid "Sends a new message replying to the old." +msgstr "" + +#: interactions.api.models.message.Message.reply:13 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.api.models.message.Message.reply:15 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.api.models.message.Message.pin:1 of +msgid "Pins the message to its channel" +msgstr "" + +#: interactions.api.models.message.Message.unpin:1 of +msgid "Unpins the message from its channel" +msgstr "" + +#: interactions.api.models.message.Message.publish:1 of +msgid "" +"Publishes (API calls it crossposts) the message in its channel to any " +"that is followed by." +msgstr "" + +#: interactions.api.models.message.Message.publish:3 of +msgid "message object" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:1 of +msgid "Creates a thread from the message." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:3 of +msgid "The name of the thread" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:5 of +msgid "" +"duration in minutes to automatically archive the thread after recent " +"activity, can be set to: 60, 1440, 4320, 10080" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:8 of +msgid "Boolean to display if the Thread is open to join or private." +msgstr "" + +#: interactions.api.models.message.Message.create_thread:10 of +msgid "An optional reason for the audit log" +msgstr "" + +#: interactions.api.models.message.Message.create_thread:12 of +msgid "The created thread" +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:1 of +msgid "Adds a reaction to the message." +msgstr "" + +#: interactions.api.models.message.Message.create_reaction:3 +#: interactions.api.models.message.Message.remove_all_reactions_of:3 +#: interactions.api.models.message.Message.remove_own_reaction_of:3 +#: interactions.api.models.message.Message.remove_reaction_from:3 of +msgid "The Emoji as object or formatted as `name:id`" +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions:1 of +msgid "Removes all reactions of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_all_reactions_of:1 of +msgid "Removes all reactions of one emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_own_reaction_of:1 of +msgid "Removes the own reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:1 of +msgid "Removes another reaction of an emoji of the message." +msgstr "" + +#: interactions.api.models.message.Message.remove_reaction_from:5 of +msgid "The user or user_id to remove the reaction of" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:1 of +msgid "Gets a Message based from its url." +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:3 of +msgid "The full url of the message" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:5 of +msgid "The HTTPClient of your bot. Set ` _client=botvar._http``" +msgstr "" + +#: interactions.api.models.message.Message.get_from_url:7 of +msgid "The message the URL points to" +msgstr "" + +#: interactions.api.models.message.Message.url:1 of +msgid "Returns the URL of the message." +msgstr "" + +#: interactions.api.models.message.Message.url:3 of +msgid "The URL of said message" msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.misc.po b/docs/locale/ru/LC_MESSAGES/api.models.misc.po index 03b58e8a2..4c66ffbe1 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.misc.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.misc.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,6 +22,179 @@ msgstr "" msgid "Miscellanous Models" msgstr "" +#: interactions.api.models.misc.Snowflake:1 of +msgid "The Snowflake object." +msgstr "" + +#: interactions.api.models.misc.Snowflake:3 of +msgid "" +"This snowflake object will have features closely related to the API " +"schema. In turn, compared to regular d.py's treated snowflakes, these " +"will be treated as strings." +msgstr "" + +#: interactions.api.models.misc.Snowflake:8 of +msgid "(Basically, snowflakes will be treated as if they were from d.py 0.16.12)" +msgstr "" + +#: interactions.api.models.misc.Snowflake:11 of +msgid "" +"You can still provide integers to them, to ensure ease of use of " +"transition and/or if discord API for some odd reason will switch to " +"integer." +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:1 of +msgid "" +"This is the 'Increment' portion of the snowflake. This is incremented for" +" every ID generated on that process." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch +#: interactions.api.models.misc.Snowflake.increment +#: interactions.api.models.misc.Snowflake.timestamp of +msgid "Returns" +msgstr "" + +#: interactions.api.models.misc.Snowflake.increment:4 of +msgid "An integer denoting the increment." +msgstr "" + +#: interactions.api.models.misc.Snowflake.worker_id:1 of +msgid "" +"This is the Internal Worker ID of the snowflake. :return: An integer " +"denoting the internal worker ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.process_id:1 of +msgid "" +"This is the Internal Process ID of the snowflake. :return: An integer " +"denoting the internal process ID." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:1 of +msgid "This is the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.epoch:3 of +msgid "A float containing the seconds since Discord Epoch." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:1 of +msgid "The Datetime object variation of the Timestamp field of the snowflake." +msgstr "" + +#: interactions.api.models.misc.Snowflake.timestamp:3 of +msgid "The converted Datetime object from the Epoch. This respects UTC." +msgstr "" + +#: interactions.api.models.misc.Color:1 of +msgid "An object representing Discord branding colors." +msgstr "" + +#: interactions.api.models.misc.Color:4 of +msgid "" +"This object only intends to cover the branding colors and no others. The " +"main reason behind this is due to the current accepted standard of using " +"hex codes or other custom-defined colors." +msgstr "" + +#: interactions.api.models.misc.Color.blurple:1 of +msgid "Returns a hexadecimal value of the blurple color." +msgstr "" + +#: interactions.api.models.misc.Color.green:1 of +msgid "Returns a hexadecimal value of the green color." +msgstr "" + +#: interactions.api.models.misc.Color.yellow:1 of +msgid "Returns a hexadecimal value of the yellow color." +msgstr "" + +#: interactions.api.models.misc.Color.fuchsia:1 of +msgid "Returns a hexadecimal value of the fuchsia color." +msgstr "" + +#: interactions.api.models.misc.Color.red:1 of +msgid "Returns a hexadecimal value of the red color." +msgstr "" + +#: interactions.api.models.misc.Color.white:1 of +msgid "Returns a hexadecimal value of the white color." +msgstr "" + +#: interactions.api.models.misc.Color.black:1 of +msgid "Returns a hexadecimal value of the black color." +msgstr "" + +#: interactions.api.models.misc.ClientStatus:1 of +msgid "An object that symbolizes the status per client device per session." +msgstr "" + +#: interactions.api.models.misc.ClientStatus +#: interactions.api.models.misc.Overwrite of +msgid "Variables" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:3 of +msgid "User's status set for an active desktop application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:4 of +msgid "User's status set for an active mobile application session" +msgstr "" + +#: interactions.api.models.misc.ClientStatus:5 of +msgid "User's status set for an active web application session" +msgstr "" + +#: interactions.api.models.misc.Image:1 of +msgid "This class object allows you to upload Images to the Discord API." +msgstr "" + +#: interactions.api.models.misc.Image:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'file' parameter." +msgstr "" + +#: interactions.api.models.misc.Image.filename:1 of +msgid "Returns the name of the file." +msgstr "" + +#: interactions.api.models.misc.File:1 of +msgid "A File object to be sent as an attachment along with a message." +msgstr "" + +#: interactions.api.models.misc.File:3 of +msgid "" +"If a fp is not given, this will try to open & send a local file at the " +"location specified in the 'filename' parameter." +msgstr "" + +#: interactions.api.models.misc.File:7 of +msgid "If a description is not given the file's basename is used instead." +msgstr "" + #: interactions.api.models.misc.Overwrite:1 of -msgid "This is used for the PermissionOverride obj" +msgid "This is used for the PermissionOverride object." +msgstr "" + +#: interactions.api.models.misc.Overwrite:3 of +msgid "Role or User ID" +msgstr "" + +#: interactions.api.models.misc.Overwrite:4 of +msgid "Type that corresponds ot the ID; 0 for role and 1 for member." +msgstr "" + +#: interactions.api.models.misc.Overwrite:5 +#: interactions.api.models.misc.Overwrite:6 of +msgid "Permission bit set." +msgstr "" + +#: interactions.api.models.attrs_utils.MISSING:1 of +msgid "" +"A pseudosentinel based from an empty object. This does violate PEP, but, " +"I don't care." msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.po b/docs/locale/ru/LC_MESSAGES/api.models.po index b0046fbcf..764507670 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.presence.po b/docs/locale/ru/LC_MESSAGES/api.models.presence.po index 71ec432f3..cd9426f00 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.presence.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.presence.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,196 @@ msgstr "" #: ../../api.models.presence.rst:4 msgid "Presence Models" msgstr "" + +#: interactions.api.models.presence.PresenceParty:1 of +msgid "A class object representing the party data of a presence." +msgstr "" + +#: interactions.api.models.presence.ClientPresence +#: interactions.api.models.presence.PresenceActivity +#: interactions.api.models.presence.PresenceAssets +#: interactions.api.models.presence.PresenceButtons +#: interactions.api.models.presence.PresenceParty +#: interactions.api.models.presence.PresenceSecrets +#: interactions.api.models.presence.PresenceTimestamp of +msgid "Variables" +msgstr "" + +#: interactions.api.models.presence.PresenceParty:3 of +msgid "ID of the party." +msgstr "" + +#: interactions.api.models.presence.PresenceParty:4 of +msgid "An array denoting the party's current and max size" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:1 of +msgid "A class object representing the assets of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:3 of +msgid "ID for a large asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:4 of +msgid "Text associated with the large asset" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:5 of +msgid "ID for a small asset of the activity" +msgstr "" + +#: interactions.api.models.presence.PresenceAssets:6 of +msgid "Text associated with the small asset" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:1 of +msgid "A class object representing \"secret\" join information of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:3 of +msgid "Join secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:4 of +msgid "Spectate secret" +msgstr "" + +#: interactions.api.models.presence.PresenceSecrets:5 of +msgid "Instanced match secret" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:1 of +msgid "A class object representing the timestamp data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:3 of +msgid "Unix time in ms when the activity started" +msgstr "" + +#: interactions.api.models.presence.PresenceTimestamp:4 of +msgid "Unix time in ms when the activity ended" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:1 of +msgid "A class object representing the current activity data of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:4 of +msgid "" +"When using this model to instantiate alongside the client, if you provide" +" a type 1 ( or PresenceActivityType.STREAMING ), then the ``url`` " +"attribute is necessary." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:7 of +msgid "The activity name" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:8 of +msgid "The activity type" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:9 of +msgid "stream url (if type is 1)" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:10 of +msgid "Unix timestamp of when the activity was created to the User's session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:11 of +msgid "Unix timestamps for start and/or end of the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:12 of +msgid "Application ID for the game" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:13 of +msgid "What the player is currently doing" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:14 of +msgid "Current party status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:15 of +msgid "The emoji used for the custom status" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:16 of +msgid "Info for the current players' party" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:17 of +msgid "Images for the presence and their associated hover texts" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:18 of +msgid "for RPC join/spectate" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:19 of +msgid "A status denoting if the activity is a game session" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:20 of +msgid "activity flags" +msgstr "" + +#: interactions.api.models.presence.PresenceActivity:21 of +msgid "Custom buttons shown in the RPC." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:1 of +msgid "" +"This returns the JSON representing the ClientPresence sending via the " +"Gateway." +msgstr "" + +#: interactions.api.models.presence.PresenceActivity.gateway_json:4 of +msgid "" +"This is NOT used for standard presence activity reading by other users, " +"i.e. User activity reading. You can use the `_json` attribute instead." +msgstr "" + +#: interactions.api.models.presence.PresenceActivityType:1 of +msgid "A class object representing all supported Discord activity types." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:1 of +msgid "A class object representing the buttons of a presence." +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:3 of +msgid "Text of the button" +msgstr "" + +#: interactions.api.models.presence.PresenceButtons:4 of +msgid "URL of the button" +msgstr "" + +#: interactions.api.models.presence.ClientPresence:1 of +msgid "" +"An object that symbolizes the presence of the current client's session " +"upon creation." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:3 of +msgid "" +"Unix time in milliseconds of when the client went idle. None if it is not" +" idle." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:4 of +msgid "Array of activity objects." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:5 of +msgid "The client's new status." +msgstr "" + +#: interactions.api.models.presence.ClientPresence:6 of +msgid "Whether the client is afk or not." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.role.po b/docs/locale/ru/LC_MESSAGES/api.models.role.po index 22011c993..9a3430734 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.role.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.role.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,177 @@ msgstr "" #: ../../api.models.role.rst:4 msgid "Role Models" msgstr "" + +#: interactions.api.models.role.Role:1 of +msgid "A class object representing a role." +msgstr "" + +#: interactions.api.models.role.Role interactions.api.models.role.RoleTags of +msgid "Variables" +msgstr "" + +#: interactions.api.models.role.Role:3 of +msgid "Role ID" +msgstr "" + +#: interactions.api.models.role.Role:4 of +msgid "Role name" +msgstr "" + +#: interactions.api.models.role.Role:5 of +msgid "Role color in integer representation" +msgstr "" + +#: interactions.api.models.role.Role:6 of +msgid "A status denoting if this role is hoisted" +msgstr "" + +#: interactions.api.models.role.Role:7 of +msgid "Role icon hash, if any." +msgstr "" + +#: interactions.api.models.role.Role:8 of +msgid "Role unicode emoji" +msgstr "" + +#: interactions.api.models.role.Role:9 of +msgid "Role position" +msgstr "" + +#: interactions.api.models.role.Role:10 of +msgid "Role permissions as a bit set" +msgstr "" + +#: interactions.api.models.role.Role:11 of +msgid "A status denoting if this role is managed by an integration" +msgstr "" + +#: interactions.api.models.role.Role:12 of +msgid "A status denoting if this role is mentionable" +msgstr "" + +#: interactions.api.models.role.Role:13 of +msgid "The tags this role has" +msgstr "" + +#: interactions.api.models.role.Role.mention:1 of +msgid "Returns a string that allows you to mention the given role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Returns" +msgstr "" + +#: interactions.api.models.role.Role.mention:3 of +msgid "The string of the mentioned role." +msgstr "" + +#: interactions.api.models.role.Role.mention +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Return type" +msgstr "" + +#: interactions.api.models.role.Role.delete:1 of +msgid "Deletes the role from the guild." +msgstr "" + +#: interactions.api.models.role.Role.delete +#: interactions.api.models.role.Role.modify +#: interactions.api.models.role.Role.modify_position of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.role.Role.delete:3 of +msgid "The id of the guild to delete the role from" +msgstr "" + +#: interactions.api.models.role.Role.delete:5 of +msgid "The reason for the deletion" +msgstr "" + +#: interactions.api.models.role.Role.modify:1 of +msgid "Edits the role in a guild." +msgstr "" + +#: interactions.api.models.role.Role.modify:3 of +msgid "The id of the guild to edit the role on" +msgstr "" + +#: interactions.api.models.role.Role.modify:5 of +msgid "The name of the role, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:7 of +msgid "RGB color value as integer, defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:11 of +msgid "" +"Whether the role should be displayed separately in the sidebar, defaults " +"to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:13 of +msgid "" +"The role's icon image (if the guild has the ROLE_ICONS feature), defaults" +" to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:15 of +msgid "" +"The role's unicode emoji as a standard emoji (if the guild has the " +"ROLE_ICONS feature), defaults to the current value of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:17 of +msgid "" +"Whether the role should be mentionable, defaults to the current value of " +"the role" +msgstr "" + +#: interactions.api.models.role.Role.modify:19 of +msgid "The reason why the role is edited, default ``None``" +msgstr "" + +#: interactions.api.models.role.Role.modify:21 of +msgid "The modified role object" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:1 of +msgid "Modifies the position of a role in the guild." +msgstr "" + +#: interactions.api.models.role.Role.modify_position:3 of +msgid "The id of the guild to modify the role position on" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:5 of +msgid "The new position of the role" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:7 of +msgid "The reason for the modifying" +msgstr "" + +#: interactions.api.models.role.Role.modify_position:9 of +msgid "List of guild roles with updated hierarchy" +msgstr "" + +#: interactions.api.models.role.RoleTags:1 of +msgid "A class object representing the tags of a role." +msgstr "" + +#: interactions.api.models.role.RoleTags:3 of +msgid "The id of the bot this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:4 of +msgid "The id of the integration this role belongs to" +msgstr "" + +#: interactions.api.models.role.RoleTags:5 of +msgid "Whether if this is the guild's premium subscriber role" +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.team.po b/docs/locale/ru/LC_MESSAGES/api.models.team.po index 8595a1d03..c058f10df 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.team.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.team.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,160 @@ msgstr "" #: ../../api.models.team.rst:4 msgid "Team Models" msgstr "" + +#: interactions.api.models.team.Team:1 of +msgid "A class object representing a team." +msgstr "" + +#: interactions.api.models.team.Application interactions.api.models.team.Team +#: interactions.api.models.team.TeamMember of +msgid "Variables" +msgstr "" + +#: interactions.api.models.team.Team:3 of +msgid "The hash of the team's icon" +msgstr "" + +#: interactions.api.models.team.Team:4 of +msgid "The team's unique ID" +msgstr "" + +#: interactions.api.models.team.Team:5 of +msgid "The members of the team" +msgstr "" + +#: interactions.api.models.team.Team:6 of +msgid "The team name" +msgstr "" + +#: interactions.api.models.team.Team:7 of +msgid "The User ID of the current team owner" +msgstr "" + +#: interactions.api.models.team.TeamMember:1 of +msgid "A class object representing the member of a team." +msgstr "" + +#: interactions.api.models.team.TeamMember:4 of +msgid "" +"The membership state is either a 1 for invited, or 2 for accepted. At the" +" moment, permissions will always be [\"*\"]." +msgstr "" + +#: interactions.api.models.team.TeamMember:7 of +msgid "The user's membership state on the team" +msgstr "" + +#: interactions.api.models.team.TeamMember:8 of +msgid "Team Member permissions" +msgstr "" + +#: interactions.api.models.team.TeamMember:9 of +msgid "ID of the team that they're a member of." +msgstr "" + +#: interactions.api.models.team.TeamMember:10 of +msgid "The user object." +msgstr "" + +#: interactions.api.models.team.Application:1 of +msgid "A class object representing an application." +msgstr "" + +#: interactions.api.models.team.Application:4 of +msgid "``type`` and ``hook`` are currently undocumented in the API." +msgstr "" + +#: interactions.api.models.team.Application:6 of +msgid "Application ID" +msgstr "" + +#: interactions.api.models.team.Application:7 of +msgid "Application Name" +msgstr "" + +#: interactions.api.models.team.Application:8 of +msgid "Icon hash of the application" +msgstr "" + +#: interactions.api.models.team.Application:9 of +msgid "Application Description" +msgstr "" + +#: interactions.api.models.team.Application:10 of +msgid "An array of rpc origin urls, if RPC is used." +msgstr "" + +#: interactions.api.models.team.Application:11 of +msgid "A status denoting if anyone can invite the bot to guilds" +msgstr "" + +#: interactions.api.models.team.Application:12 of +msgid "" +"A status denoting whether full Oauth2 is required for the app's bot to " +"join a guild" +msgstr "" + +#: interactions.api.models.team.Application:13 of +msgid "URL of the app's Terms of Service" +msgstr "" + +#: interactions.api.models.team.Application:14 of +msgid "URL of the app's Privacy Policy" +msgstr "" + +#: interactions.api.models.team.Application:15 of +msgid "User object of the owner" +msgstr "" + +#: interactions.api.models.team.Application:16 of +msgid "Summary of the store page, if this application is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:17 of +msgid "" +"Hex encoded key for verification in interactions and/or the GameSDK's " +"GetTicket" +msgstr "" + +#: interactions.api.models.team.Application:18 of +msgid "A list of team members, if this app belongs to a team." +msgstr "" + +#: interactions.api.models.team.Application:19 of +msgid "Guild ID linked, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:20 of +msgid "Game SKU ID, if this app is a game sold on Discord" +msgstr "" + +#: interactions.api.models.team.Application:21 of +msgid "" +"URL slug that links to the store page, if this app is a game sold on " +"Discord" +msgstr "" + +#: interactions.api.models.team.Application:22 of +msgid "The app's default rich presence invite cover image" +msgstr "" + +#: interactions.api.models.team.Application:23 of +msgid "The application's public flags" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:1 of +msgid "Returns the URL of the application's icon" +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Returns" +msgstr "" + +#: interactions.api.models.team.Application.icon_url:3 of +msgid "URL of the application's icon." +msgstr "" + +#: interactions.api.models.team.Application.icon_url of +msgid "Return type" +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.user.po b/docs/locale/ru/LC_MESSAGES/api.models.user.po index 35b554cf4..e9be179ff 100644 --- a/docs/locale/ru/LC_MESSAGES/api.models.user.po +++ b/docs/locale/ru/LC_MESSAGES/api.models.user.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,3 +21,111 @@ msgstr "" #: ../../api.models.user.rst:4 msgid "User Models" msgstr "" + +#: interactions.api.models.user.User:1 of +msgid "A class object representing a user." +msgstr "" + +#: interactions.api.models.user.User of +msgid "Variables" +msgstr "" + +#: interactions.api.models.user.User:3 of +msgid "The User ID" +msgstr "" + +#: interactions.api.models.user.User:4 of +msgid "The Username associated (not necessarily unique across the platform)" +msgstr "" + +#: interactions.api.models.user.User:5 of +msgid "The User's 4-digit discord-tag (i.e.: XXXX)" +msgstr "" + +#: interactions.api.models.user.User:6 of +msgid "The user's avatar hash, if any" +msgstr "" + +#: interactions.api.models.user.User:7 of +msgid "A status denoting if the user is a bot" +msgstr "" + +#: interactions.api.models.user.User:8 of +msgid "A status denoting if the user is an Official Discord System user" +msgstr "" + +#: interactions.api.models.user.User:9 of +msgid "A status denoting if the user has 2fa on their account" +msgstr "" + +#: interactions.api.models.user.User:10 of +msgid "The user's banner hash, if any" +msgstr "" + +#: interactions.api.models.user.User:11 of +msgid "The user's banner color as a hex, if any" +msgstr "" + +#: interactions.api.models.user.User:12 of +msgid "The user's banner color as an integer represented of hex color codes" +msgstr "" + +#: interactions.api.models.user.User:13 of +msgid "The user's chosen language option" +msgstr "" + +#: interactions.api.models.user.User:14 of +msgid "Whether the email associated with this account has been verified" +msgstr "" + +#: interactions.api.models.user.User:15 of +msgid "The user's email, if any" +msgstr "" + +#: interactions.api.models.user.User:16 of +msgid "The user's flags" +msgstr "" + +#: interactions.api.models.user.User:17 of +msgid "The type of Nitro subscription the user has" +msgstr "" + +#: interactions.api.models.user.User:18 of +msgid "The user's public flags" +msgstr "" + +#: interactions.api.models.user.User.mention:1 of +msgid "Returns a string that allows you to mention the given user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Returns" +msgstr "" + +#: interactions.api.models.user.User.mention:3 of +msgid "The string of the mentioned user." +msgstr "" + +#: interactions.api.models.user.User.avatar_url +#: interactions.api.models.user.User.banner_url +#: interactions.api.models.user.User.mention of +msgid "Return type" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:1 of +msgid "Returns the URL of the user's avatar" +msgstr "" + +#: interactions.api.models.user.User.avatar_url:3 of +msgid "URL of the user's avatar." +msgstr "" + +#: interactions.api.models.user.User.banner_url:1 of +msgid "Returns the URL of the user's banner." +msgstr "" + +#: interactions.api.models.user.User.banner_url:3 of +msgid "URL of the user's banner (None will be returned if no banner is set)" +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.voice.po b/docs/locale/ru/LC_MESSAGES/api.models.voice.po deleted file mode 100644 index 848f7dde8..000000000 --- a/docs/locale/ru/LC_MESSAGES/api.models.voice.po +++ /dev/null @@ -1,23 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../api.models.voice.rst:4 -msgid "Voice Models" -msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.models.webhook.po b/docs/locale/ru/LC_MESSAGES/api.models.webhook.po new file mode 100644 index 000000000..1df6f27fe --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/api.models.webhook.po @@ -0,0 +1,239 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api.models.webhook.rst:4 +msgid "Webhook Models" +msgstr "" + +#: interactions.api.models.webhook.Webhook:1 of +msgid "A class object representing a Webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook of +msgid "Variables" +msgstr "" + +#: interactions.api.models.webhook.Webhook:3 of +msgid "the id of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:4 of +msgid "the type of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:5 of +msgid "the guild id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:6 of +msgid "the channel id this webhook is for, if any" +msgstr "" + +#: interactions.api.models.webhook.Webhook:7 of +msgid "" +"the user this webhook was created by (not returned when getting a webhook" +" with its token)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:8 of +msgid "the default name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:9 of +msgid "the default user avatar hash of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:10 of +msgid "the secure token of the webhook (returned for Incoming Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:11 of +msgid "the bot/OAuth2 application that created this webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook:12 of +msgid "" +"the guild of the channel that this webhook is following (returned for " +"Channel Follower Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:13 of +msgid "" +"the channel that this webhook is following (returned for Channel Follower" +" Webhooks)" +msgstr "" + +#: interactions.api.models.webhook.Webhook:14 of +msgid "" +"the url used for executing the webhook (returned by the webhooks OAuth2 " +"flow)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:1 of +msgid "Creates a webhook in a channel." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Parameters" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:3 +#: interactions.api.models.webhook.Webhook.get:3 of +msgid "The HTTPClient of the bot, has to be set to `bot._http`." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:5 of +msgid "The ID of the channel to create the webhook in." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:7 of +msgid "The name of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:9 of +msgid "The avatar of the Webhook, if any." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Returns" +msgstr "" + +#: interactions.api.models.webhook.Webhook.create:11 of +msgid "The created webhook as object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url +#: interactions.api.models.webhook.Webhook.create +#: interactions.api.models.webhook.Webhook.execute +#: interactions.api.models.webhook.Webhook.get +#: interactions.api.models.webhook.Webhook.modify of +msgid "Return type" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:1 of +msgid "Gets an existing webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:5 of +msgid "The ID of the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:7 of +msgid "The token of the webhook, optional" +msgstr "" + +#: interactions.api.models.webhook.Webhook.get:9 of +msgid "The Webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:1 of +msgid "Modifies the current webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:3 of +msgid "The new name of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:5 of +msgid "" +"The channel id of the webhook. If not provided, the webhook token will be" +" used for authentication" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:7 of +msgid "The new avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.modify:9 of +msgid "The modified webhook object" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:1 of +msgid "Executes the webhook. All parameters to this function are optional." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:4 of +msgid "The ``components`` argument requires an application-owned webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:6 of +msgid "the message contents (up to 2000 characters)" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:8 of +msgid "override the default username of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:10 of +msgid "override the default avatar of the webhook" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:12 of +msgid "true if this is a TTS message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:14 of +msgid "embedded ``rich`` content" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:16 of +msgid "allowed mentions for the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:18 of +msgid "the components to include with the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:20 of +msgid "The files to attach to the message" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:22 of +msgid "" +"Send a message to a specified thread within a webhook's channel. The " +"thread will automatically be unarchived" +msgstr "" + +#: interactions.api.models.webhook.Webhook.execute:24 of +msgid "The sent message, if present" +msgstr "" + +#: interactions.api.models.webhook.Webhook.delete:1 of +msgid "Deletes the webhook." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:1 of +msgid "Returns the URL of the webhook's avatar." +msgstr "" + +#: interactions.api.models.webhook.Webhook.avatar_url:3 of +msgid "URL of the webhook's avatar" +msgstr "" + +#: interactions.api.models.webhook.WebhookType:1 of +msgid "An enumeration." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/api.po b/docs/locale/ru/LC_MESSAGES/api.po index b17ce38d1..cb74082a0 100644 --- a/docs/locale/ru/LC_MESSAGES/api.po +++ b/docs/locale/ru/LC_MESSAGES/api.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,19 +18,23 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../api.rst:17 +#: ../../api.rst:11 msgid "Client" msgstr "" -#: ../../api.rst:23 ../../api.rst:40 +#: ../../api.rst:17 +msgid "Frameworks/Commands" +msgstr "" + +#: ../../api.rst:24 ../../api.rst:41 msgid "Model/Design" msgstr "" -#: ../../api.rst:33 +#: ../../api.rst:34 msgid "Client Connections" msgstr "" -#: ../../api.rst:48 +#: ../../api.rst:49 msgid "Events" msgstr "" @@ -42,17 +46,10 @@ msgstr "" msgid "This page outlines the API wrapper of discord-interactions." msgstr "" -#: ../../api.rst:10 -msgid "" -"As of the time of this writing, version 4.0 of discord-interactions has " -"not yet been released, which this documentation currently reflects. The " -"documentation written here is subject to change and is not finalized." -msgstr "" - -#: ../../api.rst:15 +#: ../../api.rst:9 msgid "Interactions" msgstr "" -#: ../../api.rst:31 +#: ../../api.rst:32 msgid "Discord API" msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/client.po b/docs/locale/ru/LC_MESSAGES/client.po index b168d9798..8e2fd324c 100644 --- a/docs/locale/ru/LC_MESSAGES/client.po +++ b/docs/locale/ru/LC_MESSAGES/client.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,63 +22,575 @@ msgstr "" msgid "Bot Client" msgstr "" -#: interactions.client.Client:1 of +#: interactions.client.bot.Client:1 of msgid "" "A class representing the client connection to Discord's gateway and API " "via. WebSocket and HTTP." msgstr "" -#: interactions.client.Client of +#: interactions.client.bot.Client of msgid "Variables" msgstr "" -#: interactions.client.Client:3 of -msgid "The main overall asynchronous coroutine loop in effect." +#: interactions.client.bot.Client:3 of +msgid "The asynchronous event loop of the client." msgstr "" -#: interactions.client.Client:4 of -msgid "An instance of :class:`interactions.api.dispatch.Listener`." +#: interactions.client.bot.Client:4 of +msgid "" +"The user-facing HTTP connection to the Web API, as its own separate " +"client." msgstr "" -#: interactions.client.Client:5 of -msgid "The application's intents as :class:`interactions.api.models.Intents`." +#: interactions.client.bot.Client:5 of +msgid "An object-orientation of a websocket server connection to the Gateway." msgstr "" -#: interactions.client.Client:6 of -msgid "An instance of :class:`interactions.api.http.Request`." +#: interactions.client.bot.Client:6 of +msgid "The Gateway intents of the application. Defaults to ``Intents.DEFAULT``." msgstr "" -#: interactions.client.Client:7 of -msgid "An instance of :class:`interactions.api.gateway.WebSocket`." +#: interactions.client.bot.Client:7 of +msgid "The list of bucketed shards for the application's connection." msgstr "" -#: interactions.client.Client:8 of -msgid "The application token." +#: interactions.client.bot.Client:8 of +msgid "The RPC-like presence shown on an application once connected." msgstr "" -#: interactions.client.Client.login:1 of -msgid "Makes a login with the Discord API." +#: interactions.client.bot.Client:9 of +msgid "The token of the application used for authentication when connecting." +msgstr "" + +#: interactions.client.bot.Client:10 of +msgid "The \"extensions\" or cog equivalence registered to the main client." +msgstr "" + +#: interactions.client.bot.Client:11 of +msgid "The application representation of the client." +msgstr "" + +#: interactions.client.bot.Client.guilds:1 of +msgid "Returns a list of guilds the bot is in." msgstr "" -#: interactions.client.Client.start:1 of +#: interactions.client.bot.Client.latency:1 of +msgid "Returns the connection latency in milliseconds." +msgstr "" + +#: interactions.client.bot.Client.start:1 of msgid "Starts the client session." msgstr "" -#: interactions.client.Client.event:1 of -msgid "A decorator for listening to dispatched events from the gateway." +#: interactions.client.bot.Client.__register_events:1 of +msgid "Registers all raw gateway events to the known events." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:1 of +msgid "Compares an application command during the synchronization process." msgstr "" -#: interactions.client.Client.event of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.change_presence +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload interactions.client.bot.Client.remove +#: interactions.client.bot.Client.user_command of +msgid "Parameters" +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:3 of +msgid "The application command to compare." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync:5 of +msgid "The \"pool\" or list of commands to compare from." +msgstr "" + +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of msgid "Returns" msgstr "" -#: interactions.client.Client.event:4 of -msgid "typing.Callable[..., typing.Any]" +#: interactions.client.bot.Client.__compare_sync:7 of +msgid "Whether the command has changed or not." msgstr "" -#: interactions.client.Client.command:1 of +#: interactions.client.bot.Client.__compare_sync +#: interactions.client.bot.Client.__raw_channel_create +#: interactions.client.bot.Client.__raw_guild_create +#: interactions.client.bot.Client.__raw_message_create +#: interactions.client.bot.Client.__raw_socket_create +#: interactions.client.bot.Client._find_command +#: interactions.client.bot.Client.autocomplete +#: interactions.client.bot.Client.command +#: interactions.client.bot.Client.component +#: interactions.client.bot.Client.event interactions.client.bot.Client.load +#: interactions.client.bot.Client.message_command +#: interactions.client.bot.Client.modal interactions.client.bot.Client.modify +#: interactions.client.bot.Client.reload +#: interactions.client.bot.Client.user_command +#: interactions.client.decor.command of +msgid "Return type" +msgstr "" + +#: interactions.client.bot.Client._ready:1 of +msgid "" +"Prepares the client with an internal \"ready\" check to ensure that all " +"conditions have been met in a chronological order:" +msgstr "" + +#: interactions.client.bot.Client._login:1 of +msgid "Makes a login with the Discord API." +msgstr "" + +#: interactions.client.bot.Client.wait_until_ready:1 of +msgid "Helper method that waits until the websocket is ready." +msgstr "" + +#: interactions.client.bot.Client.__sync:1 of +msgid "Synchronizes all commands to the API." +msgstr "" + +#: interactions.client.bot.Client.__sync:4 of +msgid "" +"This is an internal method. Do not call it unless you know what you are " +"doing!" +msgstr "" + +#: interactions.client.bot.Client.event:1 of +msgid "A decorator for listening to events dispatched from the Gateway." +msgstr "" + +#: interactions.client.bot.Client.event:4 of +msgid "The coroutine of the event." +msgstr "" + +#: interactions.client.bot.Client.event:6 of +msgid "" +"The name of the event. If not given, this defaults to the coroutine's " +"name." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:20 +#: interactions.client.bot.Client.command:63 +#: interactions.client.bot.Client.component:27 +#: interactions.client.bot.Client.event:8 +#: interactions.client.bot.Client.message_command:28 +#: interactions.client.bot.Client.modal:24 +#: interactions.client.bot.Client.user_command:28 of +msgid "A callable response." +msgstr "" + +#: interactions.client.bot.Client.change_presence:1 of +msgid "A method that changes the current client's presence on runtime." +msgstr "" + +#: interactions.client.bot.Client.change_presence:4 of +msgid "" +"There is a ratelimit to using this method (5 per minute). As there's no " +"gateway ratelimiter yet, breaking this ratelimit will force your bot to " +"disconnect." +msgstr "" + +#: interactions.client.bot.Client.change_presence:8 of +msgid "The presence to change the bot to on identify." +msgstr "" + +#: interactions.client.bot.Client.__check_command:1 of +msgid "Checks if a command is valid." +msgstr "" + +#: interactions.client.bot.Client.command:1 of msgid "" "A decorator for registering an application command to the Discord API, as" " well as being able to listen for ``INTERACTION_CREATE`` dispatched " "gateway events." msgstr "" + +#: interactions.client.bot.Client.command:5 of +msgid "The structure of a chat-input command:" +msgstr "" + +#: interactions.client.bot.Client.command:13 of +msgid "" +"You are also able to establish it as a message or user command by simply " +"passing the ``type`` kwarg field into the decorator:" +msgstr "" + +#: interactions.client.bot.Client.command:22 +#: interactions.client.bot.Client.message_command:13 +#: interactions.client.bot.Client.user_command:13 of +msgid "" +"The ``scope`` kwarg field may also be used to designate the command in " +"question applicable to a guild or set of guilds." +msgstr "" + +#: interactions.client.bot.Client.command:25 of +msgid "" +"To properly utilise the ``default_member_permissions`` kwarg, it requires" +" OR'ing the permission values, similar to instantiating the client with " +"Intents. For example:" +msgstr "" + +#: interactions.client.bot.Client.command:34 of +msgid "Another example below for instance is an admin-only command:" +msgstr "" + +#: interactions.client.bot.Client.command:43 of +msgid "" +"If ``default_member_permissions`` is not given, this will default to " +"anyone that is able to use the command." +msgstr "" + +#: interactions.client.bot.Client.command:45 of +msgid "" +"The type of application command. Defaults to " +":meth:`interactions.enums.ApplicationCommandType.CHAT_INPUT` or ``1``." +msgstr "" + +#: interactions.client.bot.Client.command:47 of +msgid "" +"The name of the application command. This *is* required but kept optional" +" to follow kwarg rules." +msgstr "" + +#: interactions.client.bot.Client.command:49 of +msgid "" +"The description of the application command. This should be left blank if " +"you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:51 of +msgid "The \"scope\"/applicable guilds the application command applies to." +msgstr "" + +#: interactions.client.bot.Client.command:53 of +msgid "" +"The \"arguments\"/options of an application command. This should be left " +"blank if you are not using ``CHAT_INPUT``." +msgstr "" + +#: interactions.client.bot.Client.command:55 +#: interactions.client.bot.Client.message_command:22 +#: interactions.client.bot.Client.user_command:22 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.bot.Client.command:57 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.bot.Client.command:59 +#: interactions.client.bot.Client.message_command:24 +#: interactions.client.bot.Client.user_command:24 of +msgid "" +"The permissions bit value of " +"``interactions.api.model.flags.Permissions``. If not given, defaults to " +":meth:`interactions.api.model.flags.Permissions.USE_APPLICATION_COMMANDS`" +" or ``2147483648``" +msgstr "" + +#: interactions.client.bot.Client.command:61 +#: interactions.client.bot.Client.message_command:26 +#: interactions.client.bot.Client.user_command:26 of +msgid "" +"The application permissions if executed in a Direct Message. Defaults to " +"``True``." +msgstr "" + +#: interactions.client.bot.Client.message_command:1 of +msgid "" +"A decorator for registering a message context menu to the Discord API, as" +" well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.message_command:5 of +msgid "The structure of a message context menu:" +msgstr "" + +#: interactions.client.bot.Client.message_command:16 +#: interactions.client.bot.Client.user_command:16 of +msgid "The name of the application command." +msgstr "" + +#: interactions.client.bot.Client.message_command:18 +#: interactions.client.bot.Client.user_command:18 of +msgid "" +"The \"scope\"/applicable guilds the application command applies to. " +"Defaults to ``None``." +msgstr "" + +#: interactions.client.bot.Client.message_command:20 +#: interactions.client.bot.Client.user_command:20 of +msgid "" +"The default permission of accessibility for the application command. " +"Defaults to ``True``." +msgstr "" + +#: interactions.client.bot.Client.user_command:1 of +msgid "" +"A decorator for registering a user context menu to the Discord API, as " +"well as being able to listen for ``INTERACTION_CREATE`` dispatched " +"gateway events." +msgstr "" + +#: interactions.client.bot.Client.user_command:5 of +msgid "The structure of a user context menu:" +msgstr "" + +#: interactions.client.bot.Client.component:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving components." +msgstr "" + +#: interactions.client.bot.Client.component:4 of +msgid "The structure for a component callback:" +msgstr "" + +#: interactions.client.bot.Client.component:22 of +msgid "" +"The context of the component callback decorator inherits the same as of " +"the command decorator." +msgstr "" + +#: interactions.client.bot.Client.component:25 of +msgid "The component you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client._find_command:1 of +msgid "" +"Iterates over `commands` and returns an :class:`ApplicationCommand` if it" +" matches the name from `command`" +msgstr "" + +#: interactions.client.bot.Client._find_command:3 of +msgid "The name of the command to match" +msgstr "" + +#: interactions.client.bot.Client._find_command:5 of +msgid "An ApplicationCommand model" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving autocompletion fields." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:4 of +msgid "The structure for an autocomplete callback:" +msgstr "" + +#: interactions.client.bot.Client.autocomplete:16 of +msgid "The command, command ID, or command name with the option." +msgstr "" + +#: interactions.client.bot.Client.autocomplete:18 of +msgid "The name of the option to autocomplete." +msgstr "" + +#: interactions.client.bot.Client.modal:1 of +msgid "" +"A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway " +"events involving modals." +msgstr "" + +#: interactions.client.bot.Client.modal:4 of +msgid "The structure for a modal callback:" +msgstr "" + +#: interactions.client.bot.Client.modal:19 of +msgid "" +"The context of the modal callback decorator inherits the same as of the " +"component decorator." +msgstr "" + +#: interactions.client.bot.Client.modal:22 of +msgid "The modal or custom_id of modal you wish to callback for." +msgstr "" + +#: interactions.client.bot.Client.load:1 of +msgid "" +"\"Loads\" an extension off of the current client by adding a new class " +"which is imported from the library." +msgstr "" + +#: interactions.client.bot.Client.load:4 +#: interactions.client.bot.Client.remove:3 of +msgid "The name of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:6 +#: interactions.client.bot.Client.remove:7 of +msgid "The package of the extension." +msgstr "" + +#: interactions.client.bot.Client.load:8 +#: interactions.client.bot.Client.reload:14 of +msgid "Optional arguments to pass to the extension" +msgstr "" + +#: interactions.client.bot.Client.load:10 +#: interactions.client.bot.Client.reload:16 of +msgid "Optional keyword-only arguments to pass to the extension." +msgstr "" + +#: interactions.client.bot.Client.load:12 of +msgid "The loaded extension." +msgstr "" + +#: interactions.client.bot.Client.remove:1 of +msgid "Removes an extension out of the current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.remove:5 of +msgid "Whether to remove commands before reloading. Defaults to True." +msgstr "" + +#: interactions.client.bot.Client.reload:1 of +msgid "\"Reloads\" an extension off of current client from an import resolve." +msgstr "" + +#: interactions.client.bot.Client.reload:4 of +msgid "" +"This will remove and re-add application commands, counting towards your " +"daily application command creation limit, as long as you have the " +"``remove_commands`` argument set to ``True``, what it is by default." +msgstr "" + +#: interactions.client.bot.Client.reload:8 of +msgid "The name of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:10 of +msgid "The package of the extension" +msgstr "" + +#: interactions.client.bot.Client.reload:12 of +msgid "Whether to remove commands before reloading. Defaults to True" +msgstr "" + +#: interactions.client.bot.Client.reload:18 of +msgid "The reloaded extension." +msgstr "" + +#: interactions.client.bot.Client.modify:1 of +msgid "Modify the bot user account settings." +msgstr "" + +#: interactions.client.bot.Client.modify:3 of +msgid "The new username of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:5 of +msgid "The new avatar of the bot" +msgstr "" + +#: interactions.client.bot.Client.modify:7 of +msgid "The modified User object" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:1 of +msgid "" +"This is an internal function that takes any gateway socket event and then" +" returns the data purely based off of what it does in the client " +"instantiation class." +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:5 of +msgid "The data that is returned" +msgstr "" + +#: interactions.client.bot.Client.__raw_socket_create:7 of +msgid "A dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:1 of +msgid "" +"This is an internal function that caches the channel creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:3 of +msgid "The channel object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_channel_create:5 of +msgid "The channel as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:1 of +msgid "" +"This is an internal function that caches the message creates when " +"dispatched." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:3 of +msgid "The message object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_message_create:5 of +msgid "The message as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:1 of +msgid "This is an internal function that caches the guild creates on ready." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:3 of +msgid "The guild object data in question." +msgstr "" + +#: interactions.client.bot.Client.__raw_guild_create:5 of +msgid "The guild as a dictionary of raw data." +msgstr "" + +#: interactions.client.bot.Extension:1 of +msgid "" +"A class that allows you to represent \"extensions\" of your code, or " +"essentially cogs that can be ran independent of the root file in an " +"object-oriented structure." +msgstr "" + +#: interactions.client.bot.Extension:5 of +msgid "The structure of an extension:" +msgstr "" + +#: interactions.client.decor.command:1 of +msgid "" +"A wrapper designed to interpret the client-facing API for how a command " +"is to be created and used." +msgstr "" + +#: interactions.client.decor.command:4 of +msgid "A list of command payloads." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/components.po b/docs/locale/ru/LC_MESSAGES/components.po deleted file mode 100644 index 93031b801..000000000 --- a/docs/locale/ru/LC_MESSAGES/components.po +++ /dev/null @@ -1,192 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../components.rst:2 -msgid "How to use components" -msgstr "" - -#: ../../components.rst:5 -msgid "" -"So you've seen the new fancy buttons and want to give them a try, but " -"dont know where to start. No problem!" -msgstr "" - -#: ../../components.rst:7 -msgid "" -"First lets cover the basics. Discord messages can have *components*, such" -" as buttons, dropdowns etc. These components sit in whats called an " -"\"action row\". An action row can hold 5 components at a time. Your " -"message can have 5 action rows, so thats a total of 25 components!" -msgstr "" - -#: ../../components.rst:10 -msgid "Sending some components" -msgstr "" - -#: ../../components.rst:12 -msgid "This will work in both slash commands, and discord.py commands" -msgstr "" - -#: ../../components.rst:14 -msgid "" -"First we need to create some buttons, lets put them in a list for now. " -"We'll use :meth:`create_button() `" -" to create a green button" -msgstr "" - -#: ../../components.rst:28 -msgid "" -"So we have a button, but where do we use it. Let's create an action row " -"with :func:`create_actionrow() ` " -"and put our buttons in it" -msgstr "" - -#: ../../components.rst:35 -msgid "" -"Fantastic, we now have an action row with a green button in it, now lets " -"get it sent in discord" -msgstr "" - -#: ../../components.rst:42 -msgid "And to bring it all together, you could use this:" -msgstr "" - -#: ../../components.rst:54 -msgid "" -"Now if you've followed along, you have a green button in discord! But " -"theres a problem, whenever you click it you see that the ``interaction " -"failed``. Why is that? Well, in Discord, clicking buttons and using slash" -" commands are called ``interactions``, and Discord doesn't know if we've " -"received them or not unless we tell Discord. So how do we do that?" -msgstr "" - -#: ../../components.rst:58 -msgid "Responding to interactions" -msgstr "" - -#: ../../components.rst:60 -msgid "" -"When responding, you have 3 choices in how you handle interactions. You " -"can either wait for them in the command itself, or listen for them in a " -"global event handler (similar to :func:`on_slash_command_error`), or " -"register async function as component callback." -msgstr "" - -#: ../../components.rst:63 -msgid "Wait_for" -msgstr "" - -#: ../../components.rst:65 -msgid "" -"Lets go through the most common method first, responding in the command " -"itself. We simply need to :func:`wait_for` the event, just like you do " -"for reactions. For this we're going to use :func:`wait_for_component() " -"`, and we're going to only wait " -"for events from the action row we just sent. This method will return a " -":class:`ComponentContext ` object" -" that we can use to respond. For this example, we'll just edit the " -"original message (:meth:`edit_origin() " -"`, uses same logic as" -" :func:`edit()`)" -msgstr "" - -#: ../../components.rst:77 -msgid "" -"It's worth being aware that if you handle the event in the command " -"itself, it will not persist reboots. As such when you restart the bot, " -"the interaction will fail" -msgstr "" - -#: ../../components.rst:80 -msgid "Global event handler" -msgstr "" - -#: ../../components.rst:82 -msgid "" -"Next we'll go over the alternative, a global event handler. This works " -"just the same as :func:`on_slash_command_error` or `on_ready`. But note " -"that this code will be triggered on any components interaction." -msgstr "" - -#: ../../components.rst:92 -msgid "Component callbacks" -msgstr "" - -#: ../../components.rst:94 -msgid "" -"There is one more method - making a function that'll be component " -"callback - triggered when components in a specified message or specific " -"``custom_id`` are used. Let's register our callback function via " -"decorator :meth:`component_callback() " -"`, in similar ways " -"to slash commands." -msgstr "" - -#: ../../components.rst:103 -msgid "" -"In this example, :func:`hello` will be triggered when you receive " -"interaction event from a component with a `custom_id` set to `\"hello\"`." -" Just like slash commands, the callback's `custom_id` defaults to the " -"function name. You can also register such callbacks in cogs using " -":func:`cog_component() ` Additionally, component " -"callbacks can be dynamically added, removed or edited - see " -":class:`SlashCommand `" -msgstr "" - -#: ../../components.rst:108 -msgid "But [writer], I dont want to edit the message" -msgstr "" - -#: ../../components.rst:110 -msgid "" -"Well lucky for you, you don't have to. You can either respond silently, " -"with a thinking animation, or send a whole new message. Take a look here:" -" :class:`ComponentContext `" -msgstr "" - -#: ../../components.rst:113 -msgid "How do I know which button was pressed?" -msgstr "" - -#: ../../components.rst:115 -msgid "" -"Each button gets a ``custom_id`` (which is always a string), this is a " -"unique identifier of which button is being pressed. You can specify what " -"the ID is when you define your button, if you don't; a random one will be" -" generated. When handling the event, simply check the custom_id, and " -"handle accordingly." -msgstr "" - -#: ../../components.rst:118 -msgid "What about selects / Dropdowns?" -msgstr "" - -#: ../../components.rst:120 -msgid "" -"Yep we support those too. You use them much the same as buttons. You can " -"only have 1 select per action row, but each select can have up to 25 " -"options in it!" -msgstr "" - -#: ../../components.rst:144 -msgid "" -"Additionally, you can pass ``description`` as a keyword-argument for " -"``create_select_option()`` if you so wish." -msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/context.po b/docs/locale/ru/LC_MESSAGES/context.po new file mode 100644 index 000000000..9e1dfbc1e --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/context.po @@ -0,0 +1,320 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../context.rst:4 +msgid "Event Context" +msgstr "" + +#: interactions.client.context._Context:1 of +msgid "" +"The base class of \"context\" for dispatched event data from the gateway." +" The premise of having this class is so that the user-facing API is able " +"to allow developers to easily access information presented from any event" +" in a \"contextualized\" sense." +msgstr "" + +#: interactions.client.context.CommandContext +#: interactions.client.context._Context of +msgid "Variables" +msgstr "" + +#: interactions.client.context._Context:7 of +msgid "The message data model." +msgstr "" + +#: interactions.client.context._Context:8 of +msgid "The member data model." +msgstr "" + +#: interactions.client.context._Context:9 of +msgid "The user data model." +msgstr "" + +#: interactions.client.context._Context:10 of +msgid "The channel data model." +msgstr "" + +#: interactions.client.context._Context:11 of +msgid "The guild data model." +msgstr "" + +#: interactions.client.context._Context.get_channel:1 of +msgid "This gets the channel the context was invoked in." +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Returns" +msgstr "" + +#: interactions.client.context._Context.get_channel:3 of +msgid "The channel as object" +msgstr "" + +#: interactions.client.context.CommandContext.edit +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.edit +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.edit +#: interactions.client.context._Context.get_channel +#: interactions.client.context._Context.get_guild +#: interactions.client.context._Context.send of +msgid "Return type" +msgstr "" + +#: interactions.client.context._Context.get_guild:1 of +msgid "This gets the guild the context was invoked in." +msgstr "" + +#: interactions.client.context._Context.get_guild:3 of +msgid "The guild as object" +msgstr "" + +#: interactions.client.context.CommandContext.send:1 +#: interactions.client.context.ComponentContext.send:1 +#: interactions.client.context._Context.send:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update +#: interactions.client.context.CommandContext.defer +#: interactions.client.context.CommandContext.populate +#: interactions.client.context.CommandContext.send +#: interactions.client.context.ComponentContext.defer +#: interactions.client.context.ComponentContext.send +#: interactions.client.context._Context.popup +#: interactions.client.context._Context.send of +msgid "Parameters" +msgstr "" + +#: interactions.client.context.CommandContext.send:4 +#: interactions.client.context.ComponentContext.send:4 +#: interactions.client.context._Context.send:4 of +msgid "The contents of the message as a string or string-converted value." +msgstr "" + +#: interactions.client.context.CommandContext.send:6 +#: interactions.client.context.ComponentContext.send:6 +#: interactions.client.context._Context.send:6 of +msgid "Whether the message utilizes the text-to-speech Discord programme or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:8 +#: interactions.client.context.ComponentContext.send:8 +#: interactions.client.context._Context.send:8 of +msgid "An embed, or list of embeds for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:10 +#: interactions.client.context.ComponentContext.send:10 +#: interactions.client.context._Context.send:10 of +msgid "The message interactions/mention limits that the message can refer to." +msgstr "" + +#: interactions.client.context.CommandContext.send:12 +#: interactions.client.context.ComponentContext.send:12 +#: interactions.client.context._Context.send:12 of +msgid "A component, or list of components for the message." +msgstr "" + +#: interactions.client.context.CommandContext.send:14 +#: interactions.client.context.ComponentContext.send:14 +#: interactions.client.context._Context.send:14 of +msgid "Whether the response is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.send:16 +#: interactions.client.context.ComponentContext.send:16 +#: interactions.client.context._Context.send:16 of +msgid "The sent message as an object." +msgstr "" + +#: interactions.client.context.CommandContext.edit:1 +#: interactions.client.context.ComponentContext.edit:1 +#: interactions.client.context._Context.edit:1 of +msgid "" +"This allows the invocation state described in the \"context\" to send an " +"interaction response. This inherits the arguments of the Context " +"``.send()`` method." +msgstr "" + +#: interactions.client.context.CommandContext.edit:5 +#: interactions.client.context.ComponentContext.edit:5 +#: interactions.client.context._Context.edit:5 of +msgid "The edited message as an object." +msgstr "" + +#: interactions.client.context._Context.popup:1 of +msgid "This \"pops up\" a modal to present information back to the user." +msgstr "" + +#: interactions.client.context._Context.popup:4 of +msgid "The components you wish to show." +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:1 of +msgid "" +"Update an object with new attributes. All data will be converted, and any" +" extra attributes will be put in _extras" +msgstr "" + +#: interactions.api.models.attrs_utils.DictSerializerMixin.update:4 of +msgid "The dictionary to update from" +msgstr "" + +#: interactions.client.context.CommandContext:1 of +msgid "" +"A derivation of :class:`interactions.context.Context` designed " +"specifically for application command data." +msgstr "" + +#: interactions.client.context.CommandContext:5 of +msgid "" +"The ``guild`` attribute of the base context is not accessible for any " +"interaction-related events since the current Discord API schema does not " +"return this as a value, but instead ``guild_id``. You will need to " +"manually fetch for this data for the time being." +msgstr "" + +#: interactions.client.context.CommandContext:11 of +msgid "" +"You can fetch with ``client.get_guild(guild_id)`` which will return a " +"JSON dictionary, which you can then use ``interactions.Guild(**data)`` " +"for an object or continue with a dictionary for your own purposes." +msgstr "" + +#: interactions.client.context.CommandContext:16 of +msgid "the HTTP client" +msgstr "" + +#: interactions.client.context.CommandContext:17 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:18 of +msgid "The application ID of the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:19 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.context.CommandContext:20 of +msgid "The application command data." +msgstr "" + +#: interactions.client.context.CommandContext:21 of +msgid "The target selected if this interaction is invoked as a context menu." +msgstr "" + +#: interactions.client.context.CommandContext:22 of +msgid "The token of the interaction response." +msgstr "" + +#: interactions.client.context.CommandContext:23 of +msgid "The ID of the current guild." +msgstr "" + +#: interactions.client.context.CommandContext:24 of +msgid "The ID of the current channel." +msgstr "" + +#: interactions.client.context.CommandContext:25 of +msgid "Whether an original response was made or not." +msgstr "" + +#: interactions.client.context.CommandContext:26 of +msgid "Whether the response was deferred or not." +msgstr "" + +#: interactions.client.context.CommandContext:27 of +msgid "The selected language of the user invoking the interaction." +msgstr "" + +#: interactions.client.context.CommandContext:28 of +msgid "The guild's preferred language, if invoked in a guild." +msgstr "" + +#: interactions.client.context.CommandContext.defer:1 of +msgid "" +"This \"defers\" an interaction response, allowing up to a 15-minute delay" +" between invocation and responding." +msgstr "" + +#: interactions.client.context.CommandContext.defer:4 +#: interactions.client.context.ComponentContext.defer:4 of +msgid "Whether the deferred state is hidden or not." +msgstr "" + +#: interactions.client.context.CommandContext.delete:1 of +msgid "" +"This deletes the interaction response of a message sent by the " +"contextually derived information from this class." +msgstr "" + +#: interactions.client.context.CommandContext.delete:5 of +msgid "Doing this will proceed in the context message no longer being present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:1 of +msgid "" +"This \"populates\" the list of choices that the client-end user will be " +"able to select from in the autocomplete field." +msgstr "" + +#: interactions.client.context.CommandContext.populate:5 of +msgid "" +"Only a maximum of ``25`` choices may be presented within an autocomplete " +"option." +msgstr "" + +#: interactions.client.context.CommandContext.populate:8 of +msgid "The choices you wish to present." +msgstr "" + +#: interactions.client.context.CommandContext.populate:10 of +msgid "The list of choices you've given." +msgstr "" + +#: interactions.client.context.ComponentContext:1 of +msgid "" +"A derivation of :class:`interactions.context.CommandContext` designed " +"specifically for component data." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:1 of +msgid "" +"This \"defers\" a component response, allowing up to a 15-minute delay " +"between invocation and responding." +msgstr "" + +#: interactions.client.context.ComponentContext.defer:6 of +msgid "Whether you want to edit the original message or send a followup message" +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/enums.po b/docs/locale/ru/LC_MESSAGES/enums.po index 1add6393c..33035829d 100644 --- a/docs/locale/ru/LC_MESSAGES/enums.po +++ b/docs/locale/ru/LC_MESSAGES/enums.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,87 +22,140 @@ msgstr "" msgid "Enumerable Objects" msgstr "" -#: interactions.enums.ApplicationCommandType:1 of +#: interactions.client.enums.ApplicationCommandType:1 of msgid "An enumerable object representing the types of application commands." msgstr "" -#: interactions.enums.OptionType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a slash" -" command's option(s)." +#: interactions.client.enums.ApplicationCommandType +#: interactions.client.enums.ButtonStyle +#: interactions.client.enums.ComponentType +#: interactions.client.enums.InteractionCallbackType +#: interactions.client.enums.InteractionType +#: interactions.client.enums.OptionType +#: interactions.client.enums.PermissionType +#: interactions.client.enums.TextStyleType of +msgid "Variables" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:3 +#: interactions.client.enums.ButtonStyle:3 +#: interactions.client.enums.ComponentType:3 +#: interactions.client.enums.InteractionCallbackType:3 +#: interactions.client.enums.InteractionType:3 +#: interactions.client.enums.OptionType:3 +#: interactions.client.enums.PermissionType:3 +#: interactions.client.enums.TextStyleType:3 of +msgid "1" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:4 +#: interactions.client.enums.ButtonStyle:4 +#: interactions.client.enums.ComponentType:4 +#: interactions.client.enums.InteractionType:4 +#: interactions.client.enums.OptionType:4 +#: interactions.client.enums.PermissionType:4 +#: interactions.client.enums.TextStyleType:4 of +msgid "2" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:5 +#: interactions.client.enums.ButtonStyle:5 +#: interactions.client.enums.ComponentType:5 +#: interactions.client.enums.InteractionType:5 +#: interactions.client.enums.OptionType:5 +#: interactions.client.enums.PermissionType:5 of +msgid "3" +msgstr "" + +#: interactions.client.enums.ApplicationCommandType:6 +#: interactions.client.enums.ButtonStyle:6 +#: interactions.client.enums.ComponentType:6 +#: interactions.client.enums.InteractionCallbackType:4 +#: interactions.client.enums.InteractionType:6 +#: interactions.client.enums.OptionType:6 of +msgid "4" +msgstr "" + +#: interactions.client.enums.InteractionType:1 of +msgid "An enumerable object representing the types of interactions." msgstr "" -#: interactions.enums.OptionType:5 of +#: interactions.client.enums.ButtonStyle:7 +#: interactions.client.enums.InteractionCallbackType:5 +#: interactions.client.enums.InteractionType:7 +#: interactions.client.enums.OptionType:7 of +msgid "5" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:1 of msgid "" -"Equivalent of `ApplicationCommandOptionType " -"`_ in the " -"Discord API." +"An enumerable object representing the callback types of interaction " +"responses." +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:6 +#: interactions.client.enums.OptionType:8 of +msgid "6" +msgstr "" + +#: interactions.client.enums.InteractionCallbackType:7 +#: interactions.client.enums.OptionType:9 of +msgid "7" msgstr "" -#: interactions.enums.OptionType.from_type:1 of -msgid "Get a specific enumerable from a type or object." +#: interactions.client.enums.InteractionCallbackType:8 +#: interactions.client.enums.OptionType:10 of +msgid "8" msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Parameters" +#: interactions.client.enums.InteractionCallbackType:9 +#: interactions.client.enums.OptionType:11 of +msgid "9" msgstr "" -#: interactions.enums.OptionType.from_type:3 of -msgid "The type or object to get an enumerable integer for." +#: interactions.client.enums.OptionType:1 of +msgid "" +"An enumerable object representing the types of an application command " +"option." msgstr "" -#: interactions.enums.OptionType.from_type of -msgid "Returns" +#: interactions.client.enums.OptionType:12 of +msgid "10" msgstr "" -#: interactions.enums.OptionType.from_type:5 of -msgid "enum.IntEnum." +#: interactions.client.enums.OptionType:13 of +msgid "11" msgstr "" -#: interactions.enums.PermissionType:1 of +#: interactions.client.enums.PermissionType:1 of msgid "" "Enumerable object of literal integers holding equivocal values of a slash" " command's permission(s)." msgstr "" -#: interactions.enums.PermissionType:4 of -msgid "" -"Equivalent of `ApplicationCommandPermissionType " -"`_ in the Discord API." +#: interactions.client.enums.ComponentType:1 of +msgid "An enumerable object representing the types of a component." msgstr "" -#: interactions.enums.PermissionType.from_type:1 of -msgid "" -"Get a specific enumerable from a type or object. :param _type: The type " -"or object to get an enumerable integer for. :type _type: type :return: " -"enum.IntEnum." +#: interactions.client.enums.ButtonStyle:1 of +msgid "An enumerable object representing the styles of button components." msgstr "" -#: interactions.enums.ComponentType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"component(s) type." +#: interactions.client.enums.TextStyleType:1 of +msgid "An enumerable object representing the styles of text inputs." msgstr "" -#: interactions.enums.ComponentType:4 of -msgid "" -"Equivalent of `Component Types " -"`_ in the Discord API." +#: interactions.client.enums.Locale:1 of +msgid "An enumerable object representing Discord locales." msgstr "" -#: interactions.enums.ButtonType:1 of -msgid "" -"Enumerable object of literal integers holding equivocal values of a " -"button(s) type." +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." msgstr "" -#: interactions.enums.ButtonType:4 of +#: enum.Enum._generate_next_value_:3 of msgid "" -"Equivalent of `Button Styles " -"`_ in the Discord API." +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/ext.base.po b/docs/locale/ru/LC_MESSAGES/ext.base.po new file mode 100644 index 000000000..b0275dd49 --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/ext.base.po @@ -0,0 +1,150 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.base.rst:4 +msgid "Core Model" +msgstr "" + +#: interactions.ext.base.Base:1 of +msgid "A class representing the base structure of a 3rd party." +msgstr "" + +#: interactions.ext.base.Base of +msgid "Variables" +msgstr "" + +#: interactions.ext.base.Base:3 of +msgid "The version of the library." +msgstr "" + +#: interactions.ext.base.Base:4 of +msgid "The name of the library." +msgstr "" + +#: interactions.ext.base.Base:5 of +msgid "The description of the library." +msgstr "" + +#: interactions.ext.base.Base:6 of +msgid "The long description of the library." +msgstr "" + +#: interactions.ext.base.Base:7 of +msgid "The repository link or the library." +msgstr "" + +#: interactions.ext.base.Base:8 of +msgid "The packages of the library." +msgstr "" + +#: interactions.ext.base.Base:9 of +msgid "The modules in the library required." +msgstr "" + +#: interactions.ext.base.Base:10 of +msgid "The objects running under the service." +msgstr "" + +#: interactions.ext.base.Base._check_service:1 of +msgid "Checks whether the service already exists within the list or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service of +msgid "Parameters" +msgstr "" + +#: interactions.ext.base.Base._check_service:3 of +msgid "The name of the service to check." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Returns" +msgstr "" + +#: interactions.ext.base.Base._check_service:5 of +msgid "Whether the service exists or not." +msgstr "" + +#: interactions.ext.base.Base._check_service +#: interactions.ext.base.Base.add_service +#: interactions.ext.base.Base.remove_service +#: interactions.ext.base.Base.services of +msgid "Return type" +msgstr "" + +#: interactions.ext.base.Base.add_service:1 of +msgid "" +"Adds a service to the 3rd party for ease of accessibility in calling. The" +" code theory behind this is to simplify the way you handle and manage the" +" calling of other objects, as well as accessing their information." +msgstr "" + +#: interactions.ext.base.Base.add_service:5 of +msgid "The object to add as a service." +msgstr "" + +#: interactions.ext.base.Base.add_service:7 of +msgid "The name of the object to map under." +msgstr "" + +#: interactions.ext.base.Base.add_service:9 of +msgid "The mapped relation between the object and name." +msgstr "" + +#: interactions.ext.base.Base.remove_service:1 of +msgid "" +"Removes a service from the 3rd party in the event that it is no longer " +"needed to be referred to for data." +msgstr "" + +#: interactions.ext.base.Base.remove_service:4 of +msgid "The name of the service to remove." +msgstr "" + +#: interactions.ext.base.Base.remove_service:6 of +msgid "If the service has been removed or not." +msgstr "" + +#: interactions.ext.base.Base.remove_service of +msgid "Raises" +msgstr "" + +#: interactions.ext.base.Base.remove_service:8 of +msgid "An unknown service in the base." +msgstr "" + +#: interactions.ext.base.Base.services:1 of +msgid "" +"Returns a view on all of the services currently stored under the 3rd " +"party." +msgstr "" + +#: interactions.ext.base.Base.services:3 of +msgid "A dictionary of objects sorted by their name." +msgstr "" + +#: interactions.ext.base.build:1 of +msgid "Builds the base 3rd party the same way as ``setup`` from ``setuptools``." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/ext.converter.po b/docs/locale/ru/LC_MESSAGES/ext.converter.po new file mode 100644 index 000000000..8f0df6d4b --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/ext.converter.po @@ -0,0 +1,114 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.converter.rst:4 +msgid "Converter Model" +msgstr "" + +#: interactions.ext.converter.Converter:1 of +msgid "" +"A class representing the \"conversion\" or consistent mapping between two" +" objects' attributes." +msgstr "" + +#: interactions.ext.converter.Converter of +msgid "Variables" +msgstr "" + +#: interactions.ext.converter.Converter:4 of +msgid "The first object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter:5 of +msgid "The second object to be converted." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:1 of +msgid "Maps the attributes between the models for conversion reference." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Returns" +msgstr "" + +#: interactions.ext.converter.Converter._map_attr:3 of +msgid "A dictionary of attributes mapped." +msgstr "" + +#: interactions.ext.converter.Converter._map_attr +#: interactions.ext.converter.Converter.difference +#: interactions.ext.converter.Converter.get_attr +#: interactions.ext.converter.Converter.get_attrs +#: interactions.ext.converter.Converter.missing +#: interactions.ext.converter.Converter.ref of +msgid "Return type" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:1 of +msgid "Gets a mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr of +msgid "Parameters" +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:3 of +msgid "The attribute to get." +msgstr "" + +#: interactions.ext.converter.Converter.get_attr:5 of +msgid "The mapped attribute." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:1 of +msgid "Gets a list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.get_attrs:3 of +msgid "The list of mapped attributes." +msgstr "" + +#: interactions.ext.converter.Converter.ref:1 of +msgid "Gets the \"referenced\" model, or first." +msgstr "" + +#: interactions.ext.converter.Converter.ref:3 of +msgid "The referenced model." +msgstr "" + +#: interactions.ext.converter.Converter.difference:1 of +msgid "Gets a list of keys and values that the models don't share in common." +msgstr "" + +#: interactions.ext.converter.Converter.difference:3 +#: interactions.ext.converter.Converter.missing:3 of +msgid "A list of dictionaries" +msgstr "" + +#: interactions.ext.converter.Converter.missing:1 of +msgid "" +"Gets a list of keys and values missing from the \"referenced\" or first " +"model." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/ext.error.po b/docs/locale/ru/LC_MESSAGES/ext.error.po new file mode 100644 index 000000000..763b1799e --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/ext.error.po @@ -0,0 +1,84 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.error.rst:4 +msgid "Error Exceptions" +msgstr "" + +#: interactions.ext.error.ErrorType:1 of +msgid "An enumerable object representing the type of error responses raised." +msgstr "" + +#: interactions.ext.error.ErrorType of +msgid "Variables" +msgstr "" + +#: interactions.ext.error.ErrorType:3 of +msgid "" +"You cannot have more than one alphanumeric identifier, or identifier with" +" a missing value." +msgstr "" + +#: interactions.ext.error.ErrorType:4 of +msgid "You cannot have a missing numerical value." +msgstr "" + +#: interactions.ext.error.ErrorType:5 of +msgid "" +"A version can only have one main author. The rest of the authors must be " +"co-authors." +msgstr "" + +#: interactions.ext.error.ErrorType:6 of +msgid "The service specified does not exist." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.error.IncorrectAlphanumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"alphanumeric formatting." +msgstr "" + +#: interactions.ext.error.MissingNumeric:1 of +msgid "" +"An exception raised whenever a ``Version`` object has an incorrect " +"numerical formatting." +msgstr "" + +#: interactions.ext.error.TooManyAuthors:1 of +msgid "" +"An exception raised whenever a ``VersionAuthor`` object have too many " +"\"main\" authors." +msgstr "" + +#: interactions.ext.error.UnknownService:1 of +msgid "An exception raised whenever a ``Base`` object cannot find a service." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/ext.gettingstarted.po b/docs/locale/ru/LC_MESSAGES/ext.gettingstarted.po new file mode 100644 index 000000000..1c21e3eb3 --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/ext.gettingstarted.po @@ -0,0 +1,225 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.gettingstarted.rst:2 +msgid "Getting started." +msgstr "" + +#: ../../ext.gettingstarted.rst:5 +msgid "Developing a 3rd party." +msgstr "" + +#: ../../ext.gettingstarted.rst:7 +msgid "" +"Getting started with making a 3rd party library is pretty hard. Most of " +"the time, you'll find yourself often checking the source code and " +"directly making changes to the library. We want to make a change to that," +" and additionally, make it easier for developers to find creativity in " +"the simplicity of our overengineered product." +msgstr "" + +#: ../../ext.gettingstarted.rst:14 +msgid "" +"If you're not familiar with the source code of the library, you should " +"probably read the documentation first." +msgstr "" + +#: ../../ext.gettingstarted.rst:17 +msgid "" +"Basing your 3rd party libraries off of our ``unstable`` branch is a bad " +"practice as this is regarded as our development branch. Breaking changes " +"may become common, and as a result pose a risk in affecting your 3rd " +"party. For this reason, we recommend you use the latest PyPI release or " +"``stable`` branch." +msgstr "" + +#: ../../ext.gettingstarted.rst:24 +msgid "Installing" +msgstr "" + +#: ../../ext.gettingstarted.rst:26 +msgid "" +"Installing the external framework is a rather trivial process. You do not" +" need to run any special installation on the library, as this comes built" +" into our main core. However, you will need to install the dependencies " +"involved with the library." +msgstr "" + +#: ../../ext.gettingstarted.rst:31 +msgid "" +"If you do not already have this library installed, you can do with this " +"line below:" +msgstr "" + +#: ../../ext.gettingstarted.rst:39 +msgid "Creating the base." +msgstr "" + +#: ../../ext.gettingstarted.rst:41 +msgid "" +"For every official 3rd party library of interactions.py, we have a " +"\"core\" for it, otherwise known as the base. This base is what we use to" +" allow developers to easily setup their project onto PyPI and build, as " +"well as storing additional information that bot developers can read off " +"of for their bots." +msgstr "" + +#: ../../ext.gettingstarted.rst:46 +msgid "This code shows a basic example for creating the base of a 3rd party:" +msgstr "" + +#: ../../ext.gettingstarted.rst:71 +msgid "" +"This configures the base of the library in a rather simple manner: you " +"give the name and description of the 3rd party, as well as its own " +"official version and link for reference. This is all that is required to " +"build the library. The rest of the field that can be filled in are " +"optional. You can look at the :ref:`Base class ` for" +" more information." +msgstr "" + +#: ../../ext.gettingstarted.rst:78 +msgid "Defining a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:80 +msgid "" +"As you may have noticed in the ``Base`` class, we have a ``Version`` " +"class that helps define the version of the 3rd party. This is required to" +" be written in our class for numerous reasons:" +msgstr "" + +#: ../../ext.gettingstarted.rst:83 +msgid "To help enforce consistency in the formatting of 3rd party versions." +msgstr "" + +#: ../../ext.gettingstarted.rst:84 +msgid "To allow for easy version comparison." +msgstr "" + +#: ../../ext.gettingstarted.rst:85 +msgid "Forced semantic versioning." +msgstr "" + +#: ../../ext.gettingstarted.rst:87 +msgid "" +"This class is our most advanced and complicated one due to the abundant " +"nature in emphasising a proper versioning system. We have a few options " +"for versioning, and we have a few rules to follow." +msgstr "" + +#: ../../ext.gettingstarted.rst:90 +msgid "" +"Major, minor and patch versions **must** be declared as either their " +"respective key-word arguments, or under the ``version`` kwarg." +msgstr "" + +#: ../../ext.gettingstarted.rst:91 +msgid "" +"The version should not be author-less. Every library has an author behind" +" a version." +msgstr "" + +#: ../../ext.gettingstarted.rst:92 +msgid "" +"The version should not be a pre-release. Pre-releases are not supported " +"by the official PyPI. To release as alpha or beta, use the " +"``extend_version()`` method." +msgstr "" + +#: ../../ext.gettingstarted.rst:93 +msgid "" +"A version cannot contain more than 1 main author. If you have multiple " +"authors, you should label them as co-authors instead." +msgstr "" + +#: ../../ext.gettingstarted.rst:94 +msgid "An alphanumeric version can only contain one instance of its own." +msgstr "" + +#: ../../ext.gettingstarted.rst:96 +msgid "" +"With these rules out of the way, let's look at a simple implementation of" +" the ``Version`` class alongside its brother, ``VersionAuthor`` for " +"adding authors of a version:" +msgstr "" + +#: ../../ext.gettingstarted.rst:120 +msgid "" +"This code example can also show you the ways of retreiving information " +"from a version. As seen here, this is a highly versatile class. These " +"following are the shown methods and their purposes:" +msgstr "" + +#: ../../ext.gettingstarted.rst:124 +msgid "The ``version`` attribute is the version string." +msgstr "" + +#: ../../ext.gettingstarted.rst:125 +msgid "The ``major`` attribute is the major version number, e.g. \"x.0.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:126 +msgid "The ``minor`` attribute is the minor version number, e.g. \"0.x.0\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:127 +msgid "The ``patch`` attribute is the patch version number, e.g. \"0.0.x\"" +msgstr "" + +#: ../../ext.gettingstarted.rst:128 +msgid "" +"The ``authors`` property method is a list of authors, regardless of if " +"one is a co-author or not." +msgstr "" + +#: ../../ext.gettingstarted.rst:129 +msgid "" +"The ``is_alphanumeric`` property method is a boolean that indicates if " +"the version is alphanumeric." +msgstr "" + +#: ../../ext.gettingstarted.rst:132 +msgid "Converting models from one to another." +msgstr "" + +#: ../../ext.gettingstarted.rst:134 +msgid "" +"The term \"conversion\" is a gross exaggeration of what we're actually " +"doing here. The problem that we've found with bot developers cross-" +"referencing from different libraries is that their data models are simply" +" different in design and structure. In order to combat against this, we " +"have decided to create a conversion tool that will allow us to convert " +"between models. This tool also allows for better comparison that will " +"save the average developer many lines of code from having to be written. " +"This is a basic example of how we \"convert\" these models:" +msgstr "" + +#: ../../ext.gettingstarted.rst:162 +msgid "What about errors?" +msgstr "" + +#: ../../ext.gettingstarted.rst:164 +msgid "" +"Don't worry---we've got you covered there. Each of our tools will raise " +"special error exceptions that you can listen to. Since this is a pretty " +"self-explanitory subject, we recommend :ref:`reading the documentation " +"` on this." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/ext.po b/docs/locale/ru/LC_MESSAGES/ext.po new file mode 100644 index 000000000..ee17491a5 --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/ext.po @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.rst:19 +msgid "Tools:" +msgstr "" + +#: ../../ext.rst:4 +msgid "External Framework" +msgstr "" + +#: ../../ext.rst:6 +msgid "" +"Are you trying to build your own 3rd party library, but you don't want to" +" monkey-patch your own solutions into the current existing library " +"codebase? Are you wanting to avoid having to modify the architecture of " +"the library to specifically suit you or others needs? Well, now we have " +"something to introduce to you: ``interactions.ext``. The officially given" +" software development kit (SDK) tools suite made by developers; for " +"developers." +msgstr "" + +#: ../../ext.rst:13 +msgid "How does the framework... work?" +msgstr "" + +#: ../../ext.rst:15 +msgid "" +"Great question! We're glad you asked. The framework is a set of tools " +"that are designed to make your life easier. There are a few tools that we" +" provide out of the box, but you can also create some of your own. We'll " +"be covering each one of these tools in great detail." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/ext.version.po b/docs/locale/ru/LC_MESSAGES/ext.version.po new file mode 100644 index 000000000..7ad8f183b --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/ext.version.po @@ -0,0 +1,182 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../ext.version.rst:4 +msgid "Versioning Models" +msgstr "" + +#: interactions.ext.version.VersionAuthor:1 of +msgid "A class representing the author involved in a version." +msgstr "" + +#: interactions.ext.version.Version interactions.ext.version.VersionAuthor of +msgid "Variables" +msgstr "" + +#: interactions.ext.version.VersionAuthor:3 of +msgid "The hashed representation of the class." +msgstr "" + +#: interactions.ext.version.VersionAuthor:4 of +msgid "Whether this is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:5 of +msgid "Whether the author is active or not." +msgstr "" + +#: interactions.ext.version.VersionAuthor:6 of +msgid "The email of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor:7 of +msgid "The name of the author." +msgstr "" + +#: interactions.ext.version.VersionAuthor.is_co_author:1 of +msgid "Returns whether the author is a co-author or not." +msgstr "" + +#: interactions.ext.version.VersionAlphanumericType:1 of +msgid "An enumeration." +msgstr "" + +#: enum.Enum._generate_next_value_:1 of +msgid "Generate the next value when not given." +msgstr "" + +#: enum.Enum._generate_next_value_:3 of +msgid "" +"name: the name of the member start: the initial start value or None " +"count: the number of existing members last_value: the last value assigned" +" or None" +msgstr "" + +#: interactions.ext.version.Version:1 of +msgid "A class representing how a version is structured for a 3rd party library." +msgstr "" + +#: interactions.ext.version.Version:4 of +msgid "" +"This class respects the design and application of Semantic Versioning " +"2.0.0, (SemVer) a widely accepted standardisation of version control for " +"modules and projects." +msgstr "" + +#: interactions.ext.version.Version:8 of +msgid "The major version." +msgstr "" + +#: interactions.ext.version.Version:9 of +msgid "The minor version." +msgstr "" + +#: interactions.ext.version.Version:10 of +msgid "The patch version." +msgstr "" + +#: interactions.ext.version.Version:11 of +msgid "The authors tied to the version release." +msgstr "" + +#: interactions.ext.version.Version:12 of +msgid "The representation of the version." +msgstr "" + +#: interactions.ext.version.Version:13 of +msgid "The alphanumeric typing of the version." +msgstr "" + +#: interactions.ext.version.Version.major:1 of +msgid "Returns the major version." +msgstr "" + +#: interactions.ext.version.Version.minor:1 of +msgid "Returns the minor version." +msgstr "" + +#: interactions.ext.version.Version.patch:1 of +msgid "Returns the patch version." +msgstr "" + +#: interactions.ext.version.Version.author:1 of +msgid "" +"Returns the author of the version. If multiple authors exist, it will " +"choose the only one that is not a co-author." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Returns" +msgstr "" + +#: interactions.ext.version.Version.author:4 of +msgid "The author of the version, if one exists." +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.authors +#: interactions.ext.version.Version.extend_version of +msgid "Return type" +msgstr "" + +#: interactions.ext.version.Version.author +#: interactions.ext.version.Version.extend_version of +msgid "Raises" +msgstr "" + +#: interactions.ext.version.Version.author:6 of +msgid "Too many main authors were found." +msgstr "" + +#: interactions.ext.version.Version.authors:1 of +msgid "Returns the list of authors under the version." +msgstr "" + +#: interactions.ext.version.Version.authors:3 of +msgid "The authors of the version, if any exist." +msgstr "" + +#: interactions.ext.version.Version.is_alphanumeric:1 of +msgid "Returns whether the version is alphanumeric or not." +msgstr "" + +#: interactions.ext.version.Version.extend_version:1 of +msgid "Allows the version to be extended upon with an alphanumeric format." +msgstr "" + +#: interactions.ext.version.Version.extend_version of +msgid "Parameters" +msgstr "" + +#: interactions.ext.version.Version.extend_version:3 of +msgid "" +"Key-word arguments to be supplied as ``alpha``, ``beta`` or ``rc`` " +"respectively." +msgstr "" + +#: interactions.ext.version.Version.extend_version:5 of +msgid "The new version with the alphanumeric." +msgstr "" + +#: interactions.ext.version.Version.extend_version:7 of +msgid "The alphanumeric version was incorrectly formatted." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/faq.po b/docs/locale/ru/LC_MESSAGES/faq.po index aa58e9a37..be61d009d 100644 --- a/docs/locale/ru/LC_MESSAGES/faq.po +++ b/docs/locale/ru/LC_MESSAGES/faq.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,28 +30,21 @@ msgstr "" #: ../../faq.rst:8 msgid "" -"This page is maintained by the Helpers of the Discord server, and updated" -" by the library developer at their discretion. For any comments, feedback" -" or concerns please consider joining our server and bringing it up in our" -" support channels." +"This page is maintained by the Helpers of the Discord server, and " +"developers at their discretion. For any comments, feedback or concerns " +"please consider joining our server and bringing it up in our support " +"channels." msgstr "" -#: ../../faq.rst:15 -msgid "" -"This FAQ list currently reflects v4.0 as of the time of this writing, all" -" other versions are considered deprecated. Because of this, there will " -"not be any answers for questions regarding v3.0 and below." -msgstr "" - -#: ../../faq.rst:20 +#: ../../faq.rst:14 msgid "discord.py is dead! Will this library die too?" msgstr "" -#: ../../faq.rst:21 ../../faq.rst:31 +#: ../../faq.rst:15 ../../faq.rst:25 msgid "The short answer is: **no**." msgstr "" -#: ../../faq.rst:23 +#: ../../faq.rst:17 msgid "" "The decision to become a standalone library that is now an API wrapper " "for the Discord API was made before Danny posted his gist on GitHub about" @@ -59,24 +52,24 @@ msgid "" "the library developer regarding this:" msgstr "" -#: ../../faq.rst:30 +#: ../../faq.rst:24 msgid "Are you going to/will/consider fork(ing) discord.py?" msgstr "" -#: ../../faq.rst:33 +#: ../../faq.rst:27 msgid "" "The long answer is a list of numerous reasons as to why this decision was" " made:" msgstr "" -#: ../../faq.rst:35 +#: ../../faq.rst:29 msgid "" "There are/will be numerous forks out there for discord.py, and because of" " that, we cannot safely guarantee our ability to help users out who may " "be using their own form of modified code." msgstr "" -#: ../../faq.rst:36 +#: ../../faq.rst:30 msgid "" "The original purpose of this library was to act as an extension of " "discord.py, but due to the issue of constantly having to monkeypatch " @@ -85,7 +78,7 @@ msgid "" "not change anything from our issue of avoiding this." msgstr "" -#: ../../faq.rst:37 +#: ../../faq.rst:31 msgid "" "The goal of this library is to solely implement support and integrate the" " use of interactions from the Discord API. Making this library unique in " @@ -93,7 +86,7 @@ msgid "" "standards at the time." msgstr "" -#: ../../faq.rst:38 +#: ../../faq.rst:32 msgid "" "The message intent will inevitably be forced as a privileged intent in " "April 2022. The practicality of trying to support message commands will " @@ -102,7 +95,7 @@ msgid "" "reason for applying for this privileged intent." msgstr "" -#: ../../faq.rst:39 +#: ../../faq.rst:33 msgid "" "Forking discord.py would be a massive change to our current codebase, " "throwing away all of the effort we've put into it so far, and basically " @@ -112,39 +105,51 @@ msgid "" " this is pointless." msgstr "" -#: ../../faq.rst:42 +#: ../../faq.rst:36 msgid "Will discord.py be able to work with this library?" msgstr "" -#: ../../faq.rst:43 +#: ../../faq.rst:37 msgid "The short answer is: **yes.**" msgstr "" -#: ../../faq.rst:45 +#: ../../faq.rst:39 msgid "" "However, the term \"work\" is loosely structured here. Imagine it like " "taping a hole in the wall instead of repairing the wall. We're " "essentially \"plastering\" support for discord.py instead of doing the " "surgery on its internal organs to make it work well with our library. As " -"it currently stands, **discord-interactions and discord.py** are API " -"wrappers. You will be able to run code *alongside* one another, and you " -"will be able to plug in some classes, but the data conversion **must be " -"exact.**" +"it currently stands, **interactions.py and discord.py** are API wrappers." +" You will be able to run code *alongside* one another, and you will be " +"able to plug in some classes, but the data conversion **must be exact.**" msgstr "" -#: ../../faq.rst:50 +#: ../../faq.rst:44 msgid "What does that mean? Well, we'll show you:" msgstr "" -#: ../../faq.rst:74 +#: ../../faq.rst:73 msgid "" "Both of these variables ``interactions`` and ``dpy`` will be able to run " "in the same established environment, and additionally will both function " -"properly as their respective libraries intend them to. What about the " -"models, though? That's a simple answer:" +"properly as their respective libraries intend them to. This " +"implementation uses asyncio.gather to execute both starts simultaneously " +"as asyncio tasks, and runs them under one singular loop." msgstr "" -#: ../../faq.rst:90 +#: ../../faq.rst:77 +msgid "" +"Compared to traditional startup commands, ``interactions.ready()`` and " +"``dpy.start()`` is used instead of the typical ``interactions.start()`` " +"and ``dpy.run()`` methods because of synchronous/async functions. " +"``asyncio.gather()`` works with coroutines, hence the transition." +msgstr "" + +#: ../../faq.rst:81 +msgid "What about the models, though? That's a simple answer:" +msgstr "" + +#: ../../faq.rst:96 msgid "" "Both of these will be able to both run and give their proper value. It is" " *very* important to note here, though, that you **must** be returning " @@ -153,22 +158,76 @@ msgid "" "that is going on here." msgstr "" -#: ../../faq.rst:95 +#: ../../faq.rst:101 +msgid "Where should we go with discord.py being gone?" +msgstr "" + +#: ../../faq.rst:102 +msgid "" +"The most *biased* answer would be to, of course, *use interactions.py.* " +"We already offer a lot of the integral API wrapper aspects as discord.py " +"does, however, we only specialize in interactions. Which means things " +"such as these won't be supported officially by us (but might be available" +" as 3rd parties):" +msgstr "" + +#: ../../faq.rst:106 +msgid "Cooldowns" +msgstr "" + +#: ../../faq.rst:107 +msgid "Message commands" +msgstr "" + +#: ../../faq.rst:108 +msgid "Voice clients" +msgstr "" + +#: ../../faq.rst:110 +msgid "" +"There are other libraries of course though. As a general rule of thumb, " +"if you're looking to do mainly slash commands and that tidbit then we " +"highly recommend using our library, especially as **discord-components** " +"merges as of version 4.0. But if you want something way more open and " +"versatile, then we recommend these sources:" +msgstr "" + +#: ../../faq.rst:114 +msgid "`Pycord`_ (the most actively maintained)." +msgstr "" + +#: ../../faq.rst:115 +msgid "`NAFF`_ (high level, \"hackable\" API wrapper with ease of modification)." +msgstr "" + +#: ../../faq.rst:116 +msgid "`nextcord`_ (more abstract and fast approach to the Discord API)." +msgstr "" + +#: ../../faq.rst:118 +msgid "" +"It's personally recommended from the library developer to seek these " +"paths instead of sticking to an older version of a library, e.g. " +"discord.py 1.7.3 or 2.0.0a as they can eventually become deprecated with " +"more pending changes to the API by Discord engineers." +msgstr "" + +#: ../../faq.rst:122 msgid "Why are you not supporting cooldowns?" msgstr "" -#: ../../faq.rst:96 +#: ../../faq.rst:123 msgid "" "Cooldowns aren't really an actual feature of the Discord API itself, but " "rather more of a convienent feature implemented in discord.py in order to" " avoid spamming of commands." msgstr "" -#: ../../faq.rst:99 +#: ../../faq.rst:126 msgid "**What if people spam slash/sub commands?**" msgstr "" -#: ../../faq.rst:101 +#: ../../faq.rst:128 msgid "" "That's the neat part: it's really hard to do that, and most of the time, " "they won't. Unless they copy the exact string that was used when you open" @@ -181,11 +240,11 @@ msgid "" "library." msgstr "" -#: ../../faq.rst:108 +#: ../../faq.rst:135 msgid "Will we not be able to create message commands?" msgstr "" -#: ../../faq.rst:109 +#: ../../faq.rst:136 msgid "" "This is a tricky question to really answer. If you want the *technical* " "answer: you can definitely create them with our library, however, you'll " @@ -197,16 +256,51 @@ msgid "" "handler framework before in their entire life." msgstr "" -#: ../../faq.rst:118 +#: ../../faq.rst:144 +msgid "" +"I'm getting \"``AttributeError: HTTPClient not found!``\" when I try to " +"execute helper methods!" +msgstr "" + +#: ../../faq.rst:145 +msgid "Probably you are doing something like this:" +msgstr "" + +#: ../../faq.rst:152 +msgid "" +"And the error occurs in the line where you try to send something. You can" +" fix this easy by adding one argument:" +msgstr "" + +#: ../../faq.rst:159 +msgid "" +"You have to add this extra argument for every object you instantiate by " +"yourself if you want to use it's methods" +msgstr "" + +#: ../../faq.rst:163 +msgid "" +"Context and Messages don't have the ``Channel`` and ``Guild`` attributes!" +" Why?" +msgstr "" + +#: ../../faq.rst:164 +msgid "" +"At the moment the Discord API does *not* include them into their " +"responses. You can get those object via the ``get_channel()`` and " +"``get_guild()`` methods of the Context and Message model." +msgstr "" + +#: ../../faq.rst:169 msgid "My question is not answered on here!" msgstr "" -#: ../../faq.rst:119 +#: ../../faq.rst:170 msgid "" "Please join our Discord server for any further support regarding our " "library and/or any integration code depending on it." msgstr "" -#: ../../faq.rst:121 +#: ../../faq.rst:172 msgid "Invite Link: https://discord.gg/KkgMBVuEkx" msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/gettingstarted.po b/docs/locale/ru/LC_MESSAGES/gettingstarted.po deleted file mode 100644 index 68d69eec9..000000000 --- a/docs/locale/ru/LC_MESSAGES/gettingstarted.po +++ /dev/null @@ -1,646 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" - -#: ../../gettingstarted.rst:2 -msgid "Getting Started" -msgstr "" - -#: ../../gettingstarted.rst:5 -msgid "Where do we start?" -msgstr "" - -#: ../../gettingstarted.rst:7 -msgid "" -"Before we begin getting started on everything else, it is recommended to " -"check out the `quickstart`_ page first to get a basic grip on making " -"slash commands for your bot." -msgstr "" - -#: ../../gettingstarted.rst:12 -msgid "Making a slash command." -msgstr "" - -#: ../../gettingstarted.rst:15 -msgid "The basics." -msgstr "" - -#: ../../gettingstarted.rst:17 -msgid "" -"First, let's explain by how commands are parsed through the Discord Bot " -"API." -msgstr "" - -#: ../../gettingstarted.rst:19 -msgid "" -"As you may know, Discord relies a lot on the interaction of HTTP Requests" -" and JSON tables. As is with the case here, commands are the exact same " -"way with having JSON tables to structure the design of it for Discord to " -"understand. We can apply this information likewise with how slash " -"commands are to be designed in the Python code. Below attached is from " -"the *Discord Developer Portal* on Slash Commands for showing how they are" -" designed." -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Field**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Type**" -msgstr "" - -#: ../../gettingstarted.rst:27 ../../gettingstarted.rst:75 -#: ../../gettingstarted.rst:183 ../../gettingstarted.rst:241 -#: ../../gettingstarted.rst:329 ../../gettingstarted.rst:411 -msgid "**Description**" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -msgid "name" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:31 -#: ../../gettingstarted.rst:79 ../../gettingstarted.rst:81 -#: ../../gettingstarted.rst:185 ../../gettingstarted.rst:331 -#: ../../gettingstarted.rst:413 ../../gettingstarted.rst:415 -#: ../../gettingstarted.rst:417 ../../gettingstarted.rst:419 -msgid "string" -msgstr "" - -#: ../../gettingstarted.rst:29 ../../gettingstarted.rst:79 -msgid "1-32 character name matching ``^[\\w-]{1,32}$``." -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "description" -msgstr "" - -#: ../../gettingstarted.rst:31 ../../gettingstarted.rst:81 -msgid "1-100 character description." -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "options?" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "array of `ApplicationCommandOption`_" -msgstr "" - -#: ../../gettingstarted.rst:33 ../../gettingstarted.rst:89 -msgid "" -"if the option is a subcommand or subcommand group type, this nested " -"options will be the parameters." -msgstr "" - -#: ../../gettingstarted.rst:36 -msgid "" -"This table shows us the way that Discord handles the structure of " -"commands for slash commands through their Bot API. For visualization " -"purposes, we'll quickly make a JSON example (although we won't be using " -"it) in order to explain how this works:" -msgstr "" - -#: ../../gettingstarted.rst:48 -msgid "" -"Now that we have a basic understanding of how the JSON table works, we " -"can take this knowledge and convert it into a decorator method for the " -"Python code as shown below:" -msgstr "" - -#: ../../gettingstarted.rst:59 -msgid "" -"Now that we've gone over how Discord handles the declaration of slash " -"commands through their Bot API, let's go over what some of the other " -"things mean within the *logical* part of our code, the command function:" -msgstr "" - -#: ../../gettingstarted.rst:65 -msgid "Giving some options for variety." -msgstr "" - -#: ../../gettingstarted.rst:67 -msgid "" -"The next thing that we will begin to talk about is the implementation of " -"options, otherwise well-known as \"arguments\" in discord.py commands." -msgstr "" - -#: ../../gettingstarted.rst:70 -msgid "" -"The JSON structure of options are designed up to be similar to the same " -"premise of how a slash command is declared. Below is the given table of " -"how an option JSON would appear as:" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:245 -#: ../../gettingstarted.rst:333 -msgid "type" -msgstr "" - -#: ../../gettingstarted.rst:77 ../../gettingstarted.rst:243 -#: ../../gettingstarted.rst:245 ../../gettingstarted.rst:333 -msgid "int" -msgstr "" - -#: ../../gettingstarted.rst:77 -msgid "value of `ApplicationCommandOptionType`_." -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "default?" -msgstr "" - -#: ../../gettingstarted.rst:83 ../../gettingstarted.rst:85 -msgid "bool" -msgstr "" - -#: ../../gettingstarted.rst:83 -msgid "" -"the first required option for the user to complete--only one option can " -"be default." -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "required?" -msgstr "" - -#: ../../gettingstarted.rst:85 -msgid "if the parameter is required or optional--default ``false``." -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices?" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "array of `ApplicationCommandOptionChoice`_" -msgstr "" - -#: ../../gettingstarted.rst:87 -msgid "choices for ``string`` and ``int`` types for the user to pick from." -msgstr "" - -#: ../../gettingstarted.rst:92 -msgid "" -"Now we have an idea of how options are declared. With this in mind, let's" -" quickly make a JSON example in order to visualize this concept even " -"further:" -msgstr "" - -#: ../../gettingstarted.rst:110 -msgid "" -"While the table in the basics mentions an array in particular called " -"``ApplicationCommandOptionType``, there isn't that much of an explanation" -" on how this works. Let's put this into better laymen terms on what this " -"means with a table below showing all of these values:" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Name**" -msgstr "" - -#: ../../gettingstarted.rst:115 ../../gettingstarted.rst:255 -#: ../../gettingstarted.rst:350 -msgid "**Value**" -msgstr "" - -#: ../../gettingstarted.rst:117 -msgid "SUB_COMMAND" -msgstr "" - -#: ../../gettingstarted.rst:117 ../../gettingstarted.rst:257 -#: ../../gettingstarted.rst:352 -msgid "1" -msgstr "" - -#: ../../gettingstarted.rst:119 -msgid "SUB_COMMAND_GROUP" -msgstr "" - -#: ../../gettingstarted.rst:119 ../../gettingstarted.rst:259 -#: ../../gettingstarted.rst:354 -msgid "2" -msgstr "" - -#: ../../gettingstarted.rst:121 -msgid "STRING" -msgstr "" - -#: ../../gettingstarted.rst:121 ../../gettingstarted.rst:356 -msgid "3" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "INTEGER" -msgstr "" - -#: ../../gettingstarted.rst:123 -msgid "4" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "BOOLEAN" -msgstr "" - -#: ../../gettingstarted.rst:125 -msgid "5" -msgstr "" - -#: ../../gettingstarted.rst:127 ../../gettingstarted.rst:354 -msgid "USER" -msgstr "" - -#: ../../gettingstarted.rst:127 -msgid "6" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "CHANNEL" -msgstr "" - -#: ../../gettingstarted.rst:129 -msgid "7" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "ROLE" -msgstr "" - -#: ../../gettingstarted.rst:131 -msgid "8" -msgstr "" - -#: ../../gettingstarted.rst:134 -msgid "" -"The purpose of having the ``ApplicationCommandOptionType`` value passed " -"into our option JSON structure is so that we can help the Discord UI " -"understand what kind of value we're inputting here. For instance, if " -"we're wanting to put in a string response, we'll pass the ID 3 so that " -"the UI of Discord chat bar knows to format it visually this way. If we're" -" looking for a user, then we'll pass ID 6 so that it presents us with a " -"list of users in our server instead, making it easier on our lives." -msgstr "" - -#: ../../gettingstarted.rst:140 -msgid "" -"This is not to be confused, however, with formatting the response type " -"itself. This is merely a method so that the API wrapper can help us with " -"passing the correct type or instance variable with the arguments of the " -"command function's code." -msgstr "" - -#: ../../gettingstarted.rst:144 -msgid "" -"Now, we can finally visualize this by coding an example of this being " -"used in the Python code shown below." -msgstr "" - -#: ../../gettingstarted.rst:163 -msgid "" -"Additionally, we could also declare the type of our command's option " -"through this method shown here:" -msgstr "" - -#: ../../gettingstarted.rst:174 -msgid "More in the option? Give them a choice." -msgstr "" - -#: ../../gettingstarted.rst:176 -msgid "" -"Alas, there is also a way to give even more information to options with " -"Discord's Slash Commands: a choice. Not like something that you're given " -"at birth of when you become of legal age as an adult, we're not here to " -"give you *that* kind of life advice, but the choice of what value you " -"want your option to rather pass. Below is a table that shows the JSON " -"structure of how choices are represented for an option:" -msgstr "" - -#: ../../gettingstarted.rst:185 -msgid "1-32 character choice name." -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "string or int" -msgstr "" - -#: ../../gettingstarted.rst:187 -msgid "value of the choice, up to 100 characters if string." -msgstr "" - -#: ../../gettingstarted.rst:190 -msgid "" -"This time, only 2 fields are able to be passed for this. Below is a JSON " -"example of how this would be designed:" -msgstr "" - -#: ../../gettingstarted.rst:200 -msgid "" -"To make it really simple, the ``name`` field is only to be used for how " -"you want the choice to be presented through Discord's UI. It's the " -"\"appearance\" of how you want your choice shown, not the actual returned" -" value of it. Hence, this is why ``value`` is the second field passed for" -" that, which can be either in the form of a string or integer. Below is " -"an implementation of this design in the Python code:" -msgstr "" - -#: ../../gettingstarted.rst:233 -msgid "Want to restrict access? Setup permissions!" -msgstr "" - -#: ../../gettingstarted.rst:235 -msgid "" -"Slash commands also support the ability to set permissions to allow only " -"certain roles and/or users to run a slash command. Permissions can be " -"applied to both global and guild based commands. They are defined per " -"guild, per top-level command (the base command for subcommands), and each" -" guild can have multiple permissions. Here is the table that shows the " -"JSON structure of how permissions are represented:" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "id" -msgstr "" - -#: ../../gettingstarted.rst:243 -msgid "" -"Snowflake value of type specified. Represents the target to apply " -"permissions on." -msgstr "" - -#: ../../gettingstarted.rst:245 -msgid "An `ApplicationCommandPermissionType`_." -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "permission" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "boolean" -msgstr "" - -#: ../../gettingstarted.rst:247 -msgid "``True`` to allow, ``False`` to disallow." -msgstr "" - -#: ../../gettingstarted.rst:250 -msgid "" -"How the type parameter works is very simple. Discord has many ids to " -"represent different things. As you can set permissions to apply for User " -"or Role, `ApplicationCommandPermissionType`_ is used. It's a number and " -"following table shows the supported id types for permissions:" -msgstr "" - -#: ../../gettingstarted.rst:257 -msgid "Role" -msgstr "" - -#: ../../gettingstarted.rst:259 -msgid "User" -msgstr "" - -#: ../../gettingstarted.rst:262 -msgid "" -"This is an example of how a single permission will look when represented " -"as a json object:" -msgstr "" - -#: ../../gettingstarted.rst:272 -msgid "" -"Now, let take a look at an example. The slash command decorator has a " -"permissions parameter where it takes in a dictionary. The key being the " -"guild id to apply permissions on, and value being the list of permissions" -" to apply. For each permission, we can use the handy " -"``create_permission`` method to build the permission json explained " -"above." -msgstr "" - -#: ../../gettingstarted.rst:277 -msgid "" -"In this case, we are setting 2 permissions for a guild with an id of " -"``12345678``. Firstly, we are allowing role with id ``99999999`` and " -"disallowing user with id ``88888888`` from running the slash command." -msgstr "" - -#: ../../gettingstarted.rst:296 -msgid "" -"Alternatively, you can use the ``@slash.permission`` decorator to define " -"your guild permissions for the command as show in the following example:" -msgstr "" - -#: ../../gettingstarted.rst:315 -msgid "But what about buttons?" -msgstr "" - -#: ../../gettingstarted.rst:316 -msgid "" -"This library supports components (buttons, actionrows, selects, etc.). " -"Take a look here: `components`_." -msgstr "" - -#: ../../gettingstarted.rst:319 -msgid "Making a message/menu command." -msgstr "" - -#: ../../gettingstarted.rst:320 -msgid "" -"Lucky for you, this library has recently added support for context menus!" -" Let's take a look into how they're designed." -msgstr "" - -#: ../../gettingstarted.rst:322 -msgid "" -"Please note that the current limit for context menus with the Discord API" -" is **5.**" -msgstr "" - -#: ../../gettingstarted.rst:324 -msgid "" -"A menu command (context menu) is an easy way for bot developers to " -"program optionless and choiceless commands into their bot which can be " -"easily accessible by right clicking on a user and/or message present. " -"Below is a table of the supported keys and values:" -msgstr "" - -#: ../../gettingstarted.rst:331 -msgid "The name of the context menu command." -msgstr "" - -#: ../../gettingstarted.rst:333 -msgid "An `ApplicationCommandType`_." -msgstr "" - -#: ../../gettingstarted.rst:336 -msgid "" -"The following table below represents how it would be shown as a JSON " -"object:" -msgstr "" - -#: ../../gettingstarted.rst:345 -msgid "" -"The following table explains more about the ``type`` parameter being " -"passed, which there are three of: ``CHAT_INPUT``, ``USER`` and " -"``MESSAGE``. By default, the type will always be the first. This is " -"because it is a registered type that is used to process slash commands, " -"and should not be used for when you are declaring context menu commands " -"in your bot's code at all:" -msgstr "" - -#: ../../gettingstarted.rst:352 -msgid "CHAT_INPUT" -msgstr "" - -#: ../../gettingstarted.rst:356 -msgid "MESSAGE" -msgstr "" - -#: ../../gettingstarted.rst:359 -msgid "" -"Unlike ``manage_commands`` and ``manage_components``, you will have to " -"use a decorator for now to register them:" -msgstr "" - -#: ../../gettingstarted.rst:375 -msgid "" -"The ``@slash.context_menu`` decorator takes in the context type as given " -"(to either appear when you right-click on a user or when you right-click " -"on a message) as well as the name of the command, and any guild IDs if " -"given if you would like to make it applicable to only a guild. **We only " -"accept connected names** for the time being, although context menus will " -"have the ability to have spaces in their name in the future when " -"development further progresses." -msgstr "" - -#: ../../gettingstarted.rst:379 -msgid "" -"You are able to also use the ``@cog_ext.cog_context_menu`` path which " -"will require an import from ``cog_ext.py`` respectively, however, it is " -"worth nothing that the ``target`` kwarg for the decorator **must** be " -"brought to the very end." -msgstr "" - -#: ../../gettingstarted.rst:383 -msgid "Can I use components with context menus?" -msgstr "" - -#: ../../gettingstarted.rst:384 -msgid "" -"Of course! However, you will need to add in some additional code in order" -" for both of the separate contexts to work seamlessly. Below is the given" -" code of what will need to be changed:" -msgstr "" - -#: ../../gettingstarted.rst:399 -msgid "Hey, what about component/[X] listening?" -msgstr "" - -#: ../../gettingstarted.rst:400 -msgid "" -"The decision has been made that this will not be implemented because of " -"two reasons: context menus currently have no ability to hold any options " -"or choices, so listening for any responses would be currently pointless. " -"Additionally, component listening is already a built-in feature that does" -" not require further customized and new decorators for explicitly context" -" menus, as they're more universal." -msgstr "" - -#: ../../gettingstarted.rst:405 -msgid "Nested commands as subcommands." -msgstr "" - -#: ../../gettingstarted.rst:406 -msgid "" -"Before you get into learning how to create a subcommand, please be sure " -"to read up on the documentation above given for how slash commands are " -"made." -msgstr "" - -#: ../../gettingstarted.rst:408 -msgid "" -"Subcommands are way to \"nest\" your slash commands under one (or more) " -"given names, as either a \"base\" name or a \"grouping\" of an existing " -"base. When this is said, it will initially appear very confusing. Let's " -"use the table shown below as a way to introduce the new fields/properties" -" that can be applied for a slash command to become a subcommand:" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "base" -msgstr "" - -#: ../../gettingstarted.rst:413 -msgid "The name of the subcommand \"base.\"" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "subcommand_group" -msgstr "" - -#: ../../gettingstarted.rst:415 -msgid "The name for the group of commands under the \"base.\" Field is optional." -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "base_description" -msgstr "" - -#: ../../gettingstarted.rst:417 -msgid "" -"The description when the base is active in the UX chat bar. Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "subcommand_group_description" -msgstr "" - -#: ../../gettingstarted.rst:419 -msgid "" -"The name for the group of commands under the \"base.\" Defaults to " -"``None``." -msgstr "" - -#: ../../gettingstarted.rst:423 -msgid "Handling my errors." -msgstr "" - -#: ../../gettingstarted.rst:425 -msgid "" -"Thankfully, we try to make a majority of our error handling very simple. " -"If you would like to learn more about how to handle your errors, please " -"refer to our `errors`_ page. If you are looking for listener events, then" -" check our `listeners`_ page instead." -msgstr "" - -#: ../../gettingstarted.rst:428 -msgid "" -"As a side-note, as of version 3.0, message/menu commands (context menus) " -"are handled under the ``on_slash_command_error`` event." -msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/index.po b/docs/locale/ru/LC_MESSAGES/index.po index 270a136d5..62d4c17de 100644 --- a/docs/locale/ru/LC_MESSAGES/index.po +++ b/docs/locale/ru/LC_MESSAGES/index.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,108 +18,243 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: ../../index.rst:38 +#: ../../index.rst:47 msgid "Pages:" msgstr "" #: ../../index.rst:4 -msgid "discord-interactions" +msgid "interactions.py" msgstr "" #: ../../index.rst:5 msgid "" -"No more hassle with trying to get interactions to work with your Python " -"Discord bot -- **discord-interactions** is now here." +"Ever since December 2019, this open-source project has become the " +"culmination of dedication and research towards figuring out the best way " +"to bring **interactions from Discord to you:** we are an easy, simple, " +"scalable and modular library for Discord interactions." +msgstr "" + +#: ../../index.rst:7 +msgid "" +"Tired of using numerous module dependencies for slash commands and " +"buttons?" msgstr "" #: ../../index.rst:8 +msgid "Looking for a compatible library that implements all interactions?" +msgstr "" + +#: ../../index.rst:9 +msgid "Itching to get your hands on slash commands, but in a simple manner?" +msgstr "" + +#: ../../index.rst:11 msgid "" -"**discord-interactions** is a simple API wrapper for Discord " -"interactions. We're not here to replace discord.py or any other fork, but" -" we are here to be the very best Python Discord library there is that " -"implements interactions very well. This is what our library is all about." +"Look no more! The goal of this library is to make all three of these " +"questions go from possibilites to trivial matters." msgstr "" #: ../../index.rst:14 -msgid "What are we good for?" +msgid "What can we do?" msgstr "" #: ../../index.rst:15 -msgid "We offer a **lot** of benefits with using our library:" +msgid "" +"Our library---inside and out, offers numerous benefits and presents " +"itself as a worthy module in your bot's dependencies:" msgstr "" #: ../../index.rst:17 -msgid "Modern pythonic design that is scalable and modular." -msgstr "" - -#: ../../index.rst:18 -msgid "Asynchronous coroutines and multi-threading capabilities." +msgid "The base features of our library, built with our API include:" msgstr "" #: ../../index.rst:19 -msgid "Optimal class object reference with little overhead." +msgid "" +"**Dynamic object data generation**: all event data dispatched from the " +"Gateway is dynamically transformed and generated into two-way " +"serializable JSON objects." msgstr "" #: ../../index.rst:20 -msgid "Easily accessible codebase source." +msgid "" +"**Sane rate limiting**: our HTTP client implements pre-emptive rate limit" +" avoidance, so your bot is guaranteed to never hit HTTP ``429``." msgstr "" #: ../../index.rst:21 -msgid "Stable/unstable branches for managing module stability when importing." +msgid "" +"**On-demand cache**: every HTTP request and Gateway event made is cached " +"when needed, so you never have to save information yourself." +msgstr "" + +#: ../../index.rst:22 +msgid "" +"**Simplified data models**: every object presented is accessible as " +"either a raw dictionary/``application/json`` or list of recursive " +"attributes." msgstr "" #: ../../index.rst:24 -msgid "What does that mean?" +msgid "Some more unique features that are exclusive to our interactions include:" msgstr "" -#: ../../index.rst:25 -msgid "Basically, we're good and bad for these things:" +#: ../../index.rst:26 +msgid "" +"**Event-triggered callbacks**: whether a component, application command " +"or interaction response, you'll never need to worry about bridging " +"responses." msgstr "" #: ../../index.rst:27 -msgid "✔️ Working with application commands." +msgid "" +"**Dual-way decorator logic**: a decorator can act as both a constructor " +"for an interaction, as well as a callback." msgstr "" #: ../../index.rst:28 -msgid "✔️ Handling contextual data cached from all channels." +msgid "" +"**API-strict naming**: no more confusion with the naming approach of many" +" libraries; we follow the naming style of interactions from the " +"officially curated Discord Developers documentation." msgstr "" #: ../../index.rst:29 -msgid "✔️ General/basic assignment of guild properties to members." +msgid "" +"**Extensive framework structure**: build your own tools and technologies " +"for our library to develop and integrate community creations." msgstr "" -#: ../../index.rst:30 -msgid "✔️ Responsive callbacks for buttons and select menus." +#: ../../index.rst:32 +msgid "What do we not offer?" msgstr "" -#: ../../index.rst:31 -msgid "✔️ Voice client capabilities." +#: ../../index.rst:33 +msgid "" +"While we certainly offer a lot of benefits, we unfortunately have our own" +" downsides:" msgstr "" -#: ../../index.rst:32 -msgid "❌ Cooldowns/bucket types." +#: ../../index.rst:36 +msgid "" +"This list is subject to change as time goes on: some of these items may " +"be added to the core of the library in the future." +msgstr "" + +#: ../../index.rst:40 +msgid "No native cooldown decorator/method." msgstr "" -#: ../../index.rst:35 +#: ../../index.rst:41 +msgid "Lack of automatic sharding and voice clients." +msgstr "" + +#: ../../index.rst:44 msgid "Where do I start?" msgstr "" -#: ../../index.rst:36 -msgid "Please look at our pages below to find out where to go further." +#: ../../index.rst:45 +msgid "Please look at our pages below to find out where to go." msgstr "" -#: ../../index.rst:47 +#: ../../index.rst:57 +msgid "How can I contribute?" +msgstr "" + +#: ../../index.rst:58 +msgid "" +"Please read up on our `contribution requirements`_ for the project. This " +"open-source project also enforces the `MIT License`_." +msgstr "" + +#: ../../index.rst:60 +msgid "This open-source project utilizes the following workflows for development:" +msgstr "" + +#: ../../index.rst:62 +msgid "" +"**pre-commit** ``2.16.0``: the architecture uses this before every commit" +" to format and check for severity/QOL-breaking changes." +msgstr "" + +#: ../../index.rst:64 +msgid "**black** ``21.11b1``" +msgstr "" + +#: ../../index.rst:65 +msgid "**flake8** ``3.9.2``" +msgstr "" + +#: ../../index.rst:66 +msgid "**isort** ``5.9.3``" +msgstr "" + +#: ../../index.rst:68 +msgid "" +"**Sphinx** ``4.1.2``: all of our documentation is powered off of " +"autogenerated documentation of the Sphinx engine." +msgstr "" + +#: ../../index.rst:69 +msgid "" +"**colorama** ``0.4.4``: our internal logger uses a customized coloring " +"formatter to make looking for specific conditions easier when running " +"tests." +msgstr "" + +#: ../../index.rst:70 +msgid "" +"**Conventional Commits** ``1.0.0``: every commit that we make to our " +"branches use the official specification of CC 1.0.0 to make git graphs " +"easier when improving and refining communication between code reviews, " +"Pull Requests and commits." +msgstr "" + +#: ../../index.rst:73 +msgid "When can I start?" +msgstr "" + +#: ../../index.rst:74 +msgid "" +"We also have some extra ground rules about making any specific " +"contributions involving:" +msgstr "" + +#: ../../index.rst:76 +msgid "" +"We do not accept abstraction-based requests. (e.g. ``colour`` for " +"``color``)" +msgstr "" + +#: ../../index.rst:77 +msgid "A request has to be approved by at least one developer." +msgstr "" + +#: ../../index.rst:78 +msgid "" +"You must be willing to change/adhere to reviews from participants **where" +" necessary.**" +msgstr "" + +#: ../../index.rst:81 +msgid "I think I'm all ready!" +msgstr "" + +#: ../../index.rst:82 +msgid "Feel free to begin making `Pull Requests`_ and `Issues`_ on our GitHub!" +msgstr "" + +#: ../../index.rst:85 msgid "Advanced Search" msgstr "" -#: ../../index.rst:49 +#: ../../index.rst:87 msgid ":ref:`genindex`" msgstr "" -#: ../../index.rst:50 +#: ../../index.rst:88 msgid ":ref:`modindex`" msgstr "" -#: ../../index.rst:51 +#: ../../index.rst:89 msgid ":ref:`search`" msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/migration.po b/docs/locale/ru/LC_MESSAGES/migration.po new file mode 100644 index 000000000..d07c11207 --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/migration.po @@ -0,0 +1,101 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../migration.rst:2 +msgid "Migration" +msgstr "" + +#: ../../migration.rst:4 +msgid "" +"This page aims to serve as a guide towards helping users understand any " +"breaking or otherwise important design choices made between versions to " +"guide towards easy migration between one another." +msgstr "" + +#: ../../migration.rst:8 +msgid "4.0.1 → 4.0.2" +msgstr "" + +#: ../../migration.rst:10 +msgid "" +"The biggest major change between these two versions is the way " +"``HTTPClient`` and modelled API schema objects are used. In ``4.0.2``, a " +"new ``_client`` attribute is added in model objects in order to use " +"helper methods. This will not be needed if you're working with dispatched" +" events from the Gateway, however, manually generating your own model " +"object for use will need it appended as a key-word argument. The example " +"below shows this change:" +msgstr "" + +#: ../../migration.rst:25 +msgid "" +"This change was added in favor for being able to use endpoints in an " +"abstracted state." +msgstr "" + +#: ../../migration.rst:28 +msgid "4.0.2 → 4.1.0" +msgstr "" + +#: ../../migration.rst:30 +msgid "" +"``4.1.0`` introduces numerous breaking changes that affect the bot " +"developers' ability to work with mainly modifying the way our Gateway " +"processes information, as well as supplying a ``reason`` argument to " +"``HTTPClient``-based methods." +msgstr "" + +#: ../../migration.rst:33 +msgid "" +"In this version, you are no longer required to give a ``reason`` for " +"every HTTP request. You can instead send it as an optional, which will " +"work to keep any existing modifications of our codebase from breaking." +msgstr "" + +#: ../../migration.rst:36 +msgid "" +"Additionally, modifying the way information is dispatched from the " +"Gateway must be done like this now:" +msgstr "" + +#: ../../migration.rst:49 +msgid "" +"We recommend that working in correspondence with this, you should be " +"making use of our ``interactions.ext`` SDK framework." +msgstr "" + +#: ../../migration.rst:51 +msgid "" +"A slight, yet another breaking change we made was dundering numerous " +"attributes in our internal models. You will now need to refer to the " +"client's HTTP object as ``_http`` instead of ``http``. In order to view " +"the full list of these, we highly encourage you to view the documentation" +" readily available." +msgstr "" + +#: ../../migration.rst:55 +msgid "" +"The last, and most major change is the introduction of the " +"``MESSAGE_CONTENT`` privileged intent in the library. Because of " +"``4.1.0`` using version 10 of the Discord API, this intent is now " +"required for reading all message content. In order to make sure your bot " +"works still, you will need to enable this intent in your bot's developer " +"portal and add the intent to your current intents when connecting:" +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/models.command.po b/docs/locale/ru/LC_MESSAGES/models.command.po index e7707bfba..063440091 100644 --- a/docs/locale/ru/LC_MESSAGES/models.command.po +++ b/docs/locale/ru/LC_MESSAGES/models.command.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,122 +22,195 @@ msgstr "" msgid "Application Command Models" msgstr "" -#: interactions.models.command.Choice:1 of -msgid "A class object repesenting the choice of an option." +#: interactions.client.models.command.Choice:1 of +msgid "A class object representing the choice of an option." msgstr "" -#: interactions.models.command.Choice:4 of +#: interactions.client.models.command.Choice:4 of msgid "" "``value`` allows ``float`` as a passable value type, whereas it's " "supposed to be ``double``." msgstr "" -#: interactions.models.command.ApplicationCommand -#: interactions.models.command.Choice interactions.models.command.Option -#: interactions.models.command.Permission of +#: interactions.client.models.command.Choice:7 of +msgid "The structure for a choice: ::" +msgstr "" + +#: interactions.client.models.command.ApplicationCommand +#: interactions.client.models.command.Choice +#: interactions.client.models.command.Option +#: interactions.client.models.command.Permission of msgid "Variables" msgstr "" -#: interactions.models.command.Choice:7 of +#: interactions.client.models.command.Choice:11 of msgid "The name of the choice." msgstr "" -#: interactions.models.command.Choice:8 of +#: interactions.client.models.command.Choice:12 of msgid "The returned value of the choice." msgstr "" -#: interactions.models.command.Option:1 of +#: interactions.client.models.command.Choice:13 +#: interactions.client.models.command.Option:32 of +msgid "" +"The dictionary of localization for the ``name`` field. This enforces the " +"same restrictions as the ``name`` field." +msgstr "" + +#: interactions.client.models.command.Option:1 of msgid "A class object representing the option of an application command." msgstr "" -#: interactions.models.command.Option:4 of +#: interactions.client.models.command.Option:4 of msgid "``options`` is only present for when a subcommand has been established." msgstr "" -#: interactions.models.command.Option:7 of +#: interactions.client.models.command.Option:7 of +msgid "" +"``min_values`` and ``max_values`` are useful primarily for integer based " +"options." +msgstr "" + +#: interactions.client.models.command.Option:10 of +msgid "The structure for an option: ::" +msgstr "" + +#: interactions.client.models.command.Option:20 of msgid "The type of option." msgstr "" -#: interactions.models.command.Option:8 of +#: interactions.client.models.command.Option:21 of msgid "The name of the option." msgstr "" -#: interactions.models.command.Option:9 of +#: interactions.client.models.command.Option:22 of msgid "The description of the option." msgstr "" -#: interactions.models.command.Option:10 of +#: interactions.client.models.command.Option:23 of msgid "Whether the option is currently being autocompleted or not." msgstr "" -#: interactions.models.command.Option:11 of +#: interactions.client.models.command.Option:24 of msgid "Whether the option has to be filled out." msgstr "" -#: interactions.models.command.Option:12 of +#: interactions.client.models.command.Option:25 of msgid "The value that's currently typed out, if autocompleting." msgstr "" -#: interactions.models.command.Option:13 of +#: interactions.client.models.command.Option:26 of msgid "The list of choices to select from." msgstr "" -#: interactions.models.command.Option:14 of +#: interactions.client.models.command.Option:27 of msgid "The list of subcommand options included." msgstr "" -#: interactions.models.command.Option:15 of +#: interactions.client.models.command.Option:28 of msgid "Restrictive shown channel types, if given." msgstr "" -#: interactions.models.command.Permission:1 of +#: interactions.client.models.command.Option:29 of +msgid "The minimum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:30 of +msgid "The maximum value supported by the option." +msgstr "" + +#: interactions.client.models.command.Option:31 of +msgid "A status denoting whether this option is an autocomplete option." +msgstr "" + +#: interactions.client.models.command.Option:33 of +msgid "" +"The dictionary of localization for the ``description`` field. This " +"enforces the same restrictions as the ``description`` field." +msgstr "" + +#: interactions.client.models.command.Permission:1 of msgid "A class object representing the permission of an application command." msgstr "" -#: interactions.models.command.Permission:3 of +#: interactions.client.models.command.Permission:3 of +msgid "The structure for a permission: ::" +msgstr "" + +#: interactions.client.models.command.Permission:10 of msgid "The ID of the permission." msgstr "" -#: interactions.models.command.Permission:4 of +#: interactions.client.models.command.Permission:11 of msgid "The type of permission." msgstr "" -#: interactions.models.command.Permission:5 of +#: interactions.client.models.command.Permission:12 of msgid "The permission state. ``True`` for allow, ``False`` for disallow." msgstr "" -#: interactions.models.command.ApplicationCommand:1 of +#: interactions.client.models.command.ApplicationCommand:1 of msgid "A class object representing all types of commands." msgstr "" -#: interactions.models.command.ApplicationCommand:3 of +#: interactions.client.models.command.ApplicationCommand:4 of +msgid "" +"This object is inferred upon whenever the client is caching information " +"about commands from an HTTP request and/or the Gateway. Do not use this " +"object for declaring commands." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:8 of msgid "The ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:4 of +#: interactions.client.models.command.ApplicationCommand:9 of msgid "The application command type." msgstr "" -#: interactions.models.command.ApplicationCommand:5 of +#: interactions.client.models.command.ApplicationCommand:10 of msgid "The general application ID of the command itself." msgstr "" -#: interactions.models.command.ApplicationCommand:6 of +#: interactions.client.models.command.ApplicationCommand:11 of msgid "The guild ID of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:7 of +#: interactions.client.models.command.ApplicationCommand:12 of msgid "The name of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:8 of +#: interactions.client.models.command.ApplicationCommand:13 of msgid "The description of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:9 of +#: interactions.client.models.command.ApplicationCommand:14 of msgid "The \"options\"/arguments of the application command." msgstr "" -#: interactions.models.command.ApplicationCommand:10 of +#: interactions.client.models.command.ApplicationCommand:15 of msgid "The default permission accessibility state of the application command." msgstr "" + +#: interactions.client.models.command.ApplicationCommand:16 of +msgid "The Application Command version autoincrement identifier." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:17 of +msgid "The default member permission state of the application command." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:18 of +msgid "The application permissions if executed in a Direct Message." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:19 of +msgid "The localisation dictionary for the application command name, if any." +msgstr "" + +#: interactions.client.models.command.ApplicationCommand:20 of +msgid "" +"The localisation dictionary for the application command description, if " +"any." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/models.component.po b/docs/locale/ru/LC_MESSAGES/models.component.po index 8e89bd571..97de1c249 100644 --- a/docs/locale/ru/LC_MESSAGES/models.component.po +++ b/docs/locale/ru/LC_MESSAGES/models.component.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,150 +22,290 @@ msgstr "" msgid "Component Models" msgstr "" -#: interactions.models.component.SelectOption:1 of -msgid "A class object representing the select option of a select menu." +#: interactions.client.models.component.SelectOption:1 of +msgid "" +"A class object representing the select option of a select menu. The " +"structure for a select option: ::" msgstr "" -#: interactions.models.component.Button interactions.models.component.Component -#: interactions.models.component.SelectMenu -#: interactions.models.component.SelectOption of +#: interactions.client.models.component.ActionRow +#: interactions.client.models.component.Button +#: interactions.client.models.component.Component +#: interactions.client.models.component.Modal +#: interactions.client.models.component.SelectMenu +#: interactions.client.models.component.SelectOption +#: interactions.client.models.component.TextInput of msgid "Variables" msgstr "" -#: interactions.models.component.SelectOption:3 of +#: interactions.client.models.component.SelectOption:8 of msgid "The label of the select option." msgstr "" -#: interactions.models.component.SelectOption:4 of +#: interactions.client.models.component.SelectOption:9 of msgid "The returned value of the select option." msgstr "" -#: interactions.models.component.SelectOption:5 of +#: interactions.client.models.component.SelectOption:10 of msgid "The description of the select option." msgstr "" -#: interactions.models.component.SelectOption:6 of +#: interactions.client.models.component.SelectOption:11 of msgid "The emoji used alongside the label of the select option." msgstr "" -#: interactions.models.component.SelectOption:7 of +#: interactions.client.models.component.SelectOption:12 of msgid "Whether the select option is the default for the select menu." msgstr "" -#: interactions.models.component.SelectMenu:1 of -msgid "A class object representing the select menu of a component." +#: interactions.client.models.component.SelectMenu:1 of +msgid "" +"A class object representing the select menu of a component. The structure" +" for a select menu: ::" msgstr "" -#: interactions.models.component.SelectMenu:3 of -msgid "The type of select menu." +#: interactions.client.models.component.SelectMenu:8 of +msgid "The type of select menu. Always defaults to ``3``." msgstr "" -#: interactions.models.component.SelectMenu:4 of +#: interactions.client.models.component.SelectMenu:9 of msgid "The customized \"ID\" of the select menu." msgstr "" -#: interactions.models.component.SelectMenu:5 of +#: interactions.client.models.component.SelectMenu:10 of msgid "The list of select options in the select menu." msgstr "" -#: interactions.models.component.SelectMenu:6 of +#: interactions.client.models.component.SelectMenu:11 of msgid "The placeholder of the select menu." msgstr "" -#: interactions.models.component.Component:16 -#: interactions.models.component.SelectMenu:7 of +#: interactions.client.models.component.Component:19 +#: interactions.client.models.component.SelectMenu:12 of msgid "The minimum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.Component:17 -#: interactions.models.component.SelectMenu:8 of +#: interactions.client.models.component.Component:20 +#: interactions.client.models.component.SelectMenu:13 of msgid "The maximum \"options\"/values to choose from the component." msgstr "" -#: interactions.models.component.SelectMenu:9 of +#: interactions.client.models.component.SelectMenu:14 of msgid "Whether the select menu is unable to be used." msgstr "" -#: interactions.models.component.Button:1 of -msgid "A class object representing the button of a component." +#: interactions.client.models.component.Button:1 of +msgid "" +"A class object representing the button of a component. The structure for " +"a button: ::" msgstr "" -#: interactions.models.component.Button:3 of -msgid "The type of button." +#: interactions.client.models.component.Button:8 of +msgid "The type of button. Always defaults to ``2``." msgstr "" -#: interactions.models.component.Button:4 of +#: interactions.client.models.component.Button:9 of msgid "The style of the button." msgstr "" -#: interactions.models.component.Button:5 of +#: interactions.client.models.component.Button:10 of msgid "The label of the button." msgstr "" -#: interactions.models.component.Button:6 of -msgid "The emoji used alongside the laebl of the button." +#: interactions.client.models.component.Button:11 of +msgid "The emoji used alongside the label of the button." msgstr "" -#: interactions.models.component.Button:7 of +#: interactions.client.models.component.Button:12 of msgid "The customized \"ID\" of the button." msgstr "" -#: interactions.models.component.Button:8 of +#: interactions.client.models.component.Button:13 of msgid "The URL route/path of the button." msgstr "" -#: interactions.models.component.Button:9 of +#: interactions.client.models.component.Button:14 of msgid "Whether the button is unable to be used." msgstr "" -#: interactions.models.component.Component:1 of +#: interactions.client.models.component.Component:1 of msgid "" -"A class object representing the componeent in an interaction " +"A class object representing the component in an interaction " "response/followup." msgstr "" -#: interactions.models.component.Component:4 of +#: interactions.client.models.component.Component:4 of msgid "" "``components`` is only applicable if an ActionRow is supported, otherwise" " ActionRow-less will be opted. ``list`` is in reference to the class." msgstr "" -#: interactions.models.component.Component:7 of +#: interactions.client.models.component.Component:7 of +msgid "" +"This object class is only inferred upon when the gateway is processing " +"back information involving a component. Do not use this object for " +"sending." +msgstr "" + +#: interactions.client.models.component.Component:10 of msgid "The type of component." msgstr "" -#: interactions.models.component.Component:8 of +#: interactions.client.models.component.Component:11 of msgid "The customized \"ID\" of the component." msgstr "" -#: interactions.models.component.Component:9 of +#: interactions.client.models.component.Component:12 of msgid "Whether the component is unable to be used." msgstr "" -#: interactions.models.component.Component:10 of +#: interactions.client.models.component.Component:13 of msgid "The style of the component." msgstr "" -#: interactions.models.component.Component:11 of +#: interactions.client.models.component.Component:14 of msgid "The label of the component." msgstr "" -#: interactions.models.component.Component:12 of +#: interactions.client.models.component.Component:15 of msgid "The emoji used alongside the label of the component." msgstr "" -#: interactions.models.component.Component:13 of +#: interactions.client.models.component.Component:16 of msgid "The URl route/path of the component." msgstr "" -#: interactions.models.component.Component:14 of +#: interactions.client.models.component.Component:17 of msgid "The \"choices\"/options of the component." msgstr "" -#: interactions.models.component.Component:15 of +#: interactions.client.models.component.Component:18 of msgid "The placeholder text/value of the component." msgstr "" -#: interactions.models.component.Component:18 of +#: interactions.client.models.component.Component:21 of msgid "A list of components nested in the component." msgstr "" + +#: interactions.client.models.component.Component:22 of +msgid "The minimum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:23 of +msgid "The maximum input length to choose from the component." +msgstr "" + +#: interactions.client.models.component.Component:24 of +msgid "Whether this component is required to be filled." +msgstr "" + +#: interactions.client.models.component.Component:25 of +msgid "The pre-filled value of the component." +msgstr "" + +#: interactions.client.models.component.TextInput:1 of +msgid "" +"A class object representing the text input of a modal. The structure for " +"a text input: ::" +msgstr "" + +#: interactions.client.models.component.TextInput:10 of +msgid "The type of input. Always defaults to ``4``." +msgstr "" + +#: interactions.client.models.component.TextInput:11 of +msgid "The style of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:12 of +msgid "The custom Id of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:13 of +msgid "The label of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:14 of +msgid "The pre-filled value of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:15 of +msgid "Whether the input is required or not." +msgstr "" + +#: interactions.client.models.component.TextInput:16 of +msgid "The placeholder of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:17 of +msgid "The minimum length of the input." +msgstr "" + +#: interactions.client.models.component.TextInput:18 of +msgid "The maximum length of the input." +msgstr "" + +#: interactions.client.models.component.Modal:1 of +msgid "A class object representing a modal." +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid "The structure for a modal: ::" +msgstr "" + +#: interactions.client.models.component.Modal:6 of +msgid "interactions.Modal(" +msgstr "" + +#: interactions.client.models.component.Modal:5 of +msgid "" +"title=\"Application Form\", custom_id=\"mod_app_form\", " +"components=[interactions.TextInput(...)]," +msgstr "" + +#: interactions.client.models.component.Modal:8 of +msgid ")" +msgstr "" + +#: interactions.client.models.component.Modal:10 of +msgid "The custom ID of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:11 of +msgid "The title of the modal." +msgstr "" + +#: interactions.client.models.component.Modal:12 of +msgid "The components of the modal." +msgstr "" + +#: interactions.client.models.component.ActionRow:1 of +msgid "" +"A class object representing the action row for interaction responses " +"holding components." +msgstr "" + +#: interactions.client.models.component.ActionRow:4 of +msgid "" +"A message cannot have more than 5 ActionRow's supported. An ActionRow may" +" also support only 1 text input component only." +msgstr "" + +#: interactions.client.models.component.ActionRow:13 of +msgid "The structure for an action row: ::" +msgstr "" + +#: interactions.client.models.component.ActionRow:9 of +msgid "" +"# \"...\" represents a component object. # Method 1: " +"interactions.ActionRow(...) # Method 2: " +"interactions.ActionRow(components=[...])" +msgstr "" + +#: interactions.client.models.component.ActionRow:15 of +msgid "The type of component. Always defaults to ``1``." +msgstr "" + +#: interactions.client.models.component.ActionRow:16 of +msgid "A list of components the ActionRow has, if any." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/models.misc.po b/docs/locale/ru/LC_MESSAGES/models.misc.po new file mode 100644 index 000000000..f5d1bb814 --- /dev/null +++ b/docs/locale/ru/LC_MESSAGES/models.misc.po @@ -0,0 +1,145 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: interactions.py 4.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../models.misc.rst:4 +msgid "Miscellaneous Models" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:1 of +msgid "A class representing the resolved information of an interaction data." +msgstr "" + +#: interactions.client.models.misc.Interaction +#: interactions.client.models.misc.InteractionData +#: interactions.client.models.misc.InteractionResolvedData of +msgid "Variables" +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:3 of +msgid "The resolved users data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:4 of +msgid "The resolved members data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:5 of +msgid "The resolved roles data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:6 of +msgid "The resolved channels data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:7 of +msgid "The resolved messages data." +msgstr "" + +#: interactions.client.models.misc.InteractionResolvedData:8 of +msgid "The resolved attachments data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:1 of +msgid "A class object representing the data of an interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:3 of +msgid "The ID of the interaction data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:4 of +msgid "The name of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:5 of +msgid "The type of command from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:6 of +msgid "The resolved version of the data." +msgstr "" + +#: interactions.client.models.misc.InteractionData:7 of +msgid "The options of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:8 of +msgid "The custom ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:9 of +msgid "The type of component from the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:10 of +msgid "The values of the selected options in the interaction." +msgstr "" + +#: interactions.client.models.misc.InteractionData:11 of +msgid "The targeted ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:1 of +msgid "A class object representing an interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:3 of +msgid "The ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:4 of +msgid "The application's ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:5 of +msgid "The type of interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:6 of +msgid "The data of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:7 of +msgid "The guild ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:8 of +msgid "The channel ID of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:9 of +msgid "The member who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:10 of +msgid "The user who invoked the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:11 of +msgid "The token of the interaction." +msgstr "" + +#: interactions.client.models.misc.Interaction:12 of +msgid "The version of the interaction as an autoincrement identifier." +msgstr "" + +#: interactions.client.models.misc.Interaction:13 of +msgid "The message of the interaction." +msgstr "" diff --git a/docs/locale/ru/LC_MESSAGES/models.po b/docs/locale/ru/LC_MESSAGES/models.po index fb08d7dd7..a322bcb50 100644 --- a/docs/locale/ru/LC_MESSAGES/models.po +++ b/docs/locale/ru/LC_MESSAGES/models.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/docs/locale/ru/LC_MESSAGES/quickstart.po b/docs/locale/ru/LC_MESSAGES/quickstart.po index d3be63677..eff5b5f5a 100644 --- a/docs/locale/ru/LC_MESSAGES/quickstart.po +++ b/docs/locale/ru/LC_MESSAGES/quickstart.po @@ -1,15 +1,15 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) 2021, goverfl0w -# This file is distributed under the same license as the -# discord-interactions package. -# FIRST AUTHOR , 2021. +# Copyright (C) 2022, goverfl0w +# This file is distributed under the same license as the interactions.py +# package. +# FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: discord-interactions 4.0\n" +"Project-Id-Version: interactions.py 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-25 12:17-0400\n" +"POT-Creation-Date: 2022-06-07 21:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,48 +22,134 @@ msgstr "" msgid "Quickstart" msgstr "" -#: ../../quickstart.rst:4 -msgid "" -"Looking into trying to get started with our library? Well, you've come to" -" the right page then!" +#: ../../quickstart.rst:5 +msgid "Installing" msgstr "" -#: ../../quickstart.rst:8 +#: ../../quickstart.rst:7 msgid "" -"This quickstart guide is extremely rough and contains experimental code. " -"Do not follow us strictly until v4.0 is released! Everything is subject " -"to change in here due to the development of the API wrapper continuously " -"being reflected." +"**discord-interactions** is a :ref:`Python library ` for the Discord Application Programming Interface. (API) A" +" library in Python has to be installed through the `pip` file. Run this " +"in your terminal/command line in order to install our library:" +msgstr "" + +#: ../../quickstart.rst:11 +msgid "``pip install -U discord-py-interactions``" msgstr "" #: ../../quickstart.rst:14 -msgid "Installing" +msgid "Creating a Bot" msgstr "" #: ../../quickstart.rst:16 msgid "" -"**discord-interactions** is a Python library for the Discord Artificial " -"Programming Interface. (API) A library in Python has to be installed " -"through the `pip` file. Run this in your terminal/command line in order " -"to install our library:" +"Before you can run your Bot, you have to create it first. If you did it " +"already, make sure you :ref:`invited ` your Bot properly." +msgstr "" + +#: ../../quickstart.rst:18 +msgid "" +"In order to create your Bot, you need to create an application first. Go " +"to the `discord applications page`_ for that. After you logged in, you " +"will see this at the top:" +msgstr "" + +#: ../../quickstart.rst:23 +msgid "" +"Click the ``New Application`` button, enter a name and then click " +"``create``." +msgstr "" + +#: ../../quickstart.rst:25 +msgid "The name you choose is going to be your Bots name." +msgstr "" + +#: ../../quickstart.rst:27 +msgid "You will be redirected to a new page. On the left you will see this:" +msgstr "" + +#: ../../quickstart.rst:31 +msgid "" +"Click on ``Bot``. You again will be redirected to another page, looking " +"like this:" +msgstr "" + +#: ../../quickstart.rst:35 +msgid "Click on ``Add Bot`` and then on ``Yes, do it!``." +msgstr "" + +#: ../../quickstart.rst:37 +msgid "And that's it! You created your Bot!" +msgstr "" + +#: ../../quickstart.rst:40 +msgid "" +"You will see a field called ``TOKEN``. This is the access token, used to " +"run your bot. You will need this later to start your Bot." +msgstr "" + +#: ../../quickstart.rst:43 +msgid "" +"**Do NOT give this to other persons! They can get full control over your " +"Bot with your token and execute what they want!**" +msgstr "" + +#: ../../quickstart.rst:45 +msgid "" +"If you revealed your token, you should **immediately** go to your Bots " +"application page and click the ``Regenerate`` Button under your token. " +"This will delete the old token, so your bot can't be run with it anymore." +msgstr "" + +#: ../../quickstart.rst:49 +msgid "Invite the Bot to your guild" +msgstr "" + +#: ../../quickstart.rst:50 +msgid "" +"Now you have a Bot, but you can't create commands because it isn't in any" +" guilds. So, let's invite it to your guild!" +msgstr "" + +#: ../../quickstart.rst:54 +msgid "Click on ``OAuth2``, then on ``URL Generator``." +msgstr "" + +#: ../../quickstart.rst:56 +msgid "" +"You have to enable the ``bot`` and ``application.commands`` scope, to " +"allow your bot to create slash commands." msgstr "" -#: ../../quickstart.rst:20 -msgid "``pip install -U discord-interactions``" +#: ../../quickstart.rst:60 +msgid "" +"After setting that up, a ``BOT PERMISSIONS`` field will appear. You can " +"choose permissions you want to have your bot there." msgstr "" -#: ../../quickstart.rst:22 +#: ../../quickstart.rst:62 msgid "" -"If you're unable to run it through your terminal/command line, you need " -"to make sure that it's accessible as an Environment Path. Search more on " -"Google for how to do this." +"When you are done with choosing the permissions, go to the bottom of the " +"page, copy the the url and open it in a new window." msgstr "" -#: ../../quickstart.rst:26 -msgid "Minimal Bot" +#: ../../quickstart.rst:64 +msgid "" +"You will be prompted to a new page. Select your guild, click " +"``Authorise`` and your Bot should show up in your guild." msgstr "" -#: ../../quickstart.rst:28 +#: ../../quickstart.rst:66 +msgid "Now you can go on with running your bot and creating your first commands!" +msgstr "" + +#: ../../quickstart.rst:71 +msgid "Running the Bot and creating commands" +msgstr "" + +#: ../../quickstart.rst:73 msgid "" "Bots can be a little confusing to create. That's why we've decided to try" " and make the process as streamlined as humanly possible, in order for it" @@ -73,58 +159,299 @@ msgid "" "first before this, as a Discord bot is not exactly beginner-friendly." msgstr "" -#: ../../quickstart.rst:34 -msgid "This code block below shows a simple bot being created:" +#: ../../quickstart.rst:81 +msgid "First, let's run the bot:" msgstr "" -#: ../../quickstart.rst:52 -msgid "" -"There's quite a lot of things that are going on here, so let's break it " -"down step-by-step:" +#: ../../quickstart.rst:92 +msgid "And that's it! Your bot should now turn online in discord!" msgstr "" -#: ../../quickstart.rst:54 +#: ../../quickstart.rst:94 +msgid "Let's take a look now at what is happening here:" +msgstr "" + +#: ../../quickstart.rst:96 msgid "" "``import interactions`` -- This is the import line. If this returns a " -"``ModuleNotFoundError``, please look at our `Installing`_ section here." +"``ModuleNotFoundError``, please look at our section on how to " +":ref:`install ` here." msgstr "" -#: ../../quickstart.rst:55 +#: ../../quickstart.rst:97 msgid "" -"``bot = interactions.Client(token=\"...\")`` -- This is the ``bot`` " -"variable that defines our bot. This basically instantiates the `Client`_ " -"class, which requires a ``token`` keyword-argument to be passed. In order" -" to get a token, please look at the image given below." +"``bot = interactions.Client(token=\"your_secret_bot_token\")`` -- This is" +" the ``bot`` variable that defines our bot. This basically instantiates " +"the :ref:`application client `, which requires a " +"``token`` keyword-argument to be passed. You have to put in your " +"(previously mentioned) secret token here." msgstr "" -#: ../../quickstart.rst:56 +#: ../../quickstart.rst:98 msgid "" -"``@bot.application_command()`` -- This is something known as a " -"*decorator* in Python. This decorator is in charge and responsible of " -"making sure that the Discord API is told about the slash/sub command that" -" you wish to create, and sends an HTTP request correspondingly. Any " -"changes to the information contained in this decorator will be " -"synchronously updated with the API automatically for you." +"``bot.start()`` -- Finally, this is what tells our library to turn your " +"bot from offline to online." msgstr "" -#: ../../quickstart.rst:57 +#: ../../quickstart.rst:102 +msgid "Now, let's create our first slash command:" +msgstr "" + +#: ../../quickstart.rst:120 +msgid "Now, let's look what the new parts of the code are doing:" +msgstr "" + +#: ../../quickstart.rst:122 msgid "" -"``await ctx.send(\"Hello world!\")`` -- This is what lets us send a " -"\"message\", or otherwise known as an interaction response back to the " -"Discord API for us. ``ctx`` is abbreviated as the \"context\" of the " -"command, so numerous fields and attributes such as channels, guilds; and " -"etc. are able to be inputted." +"``@bot.command()`` -- This is something known as a *decorator* in Python." +" This decorator is in charge and responsible of making sure that the " +"Discord API is told about the slash/sub command that you wish to create, " +"and sends an HTTP request correspondingly. Any changes to the information" +" contained in this decorator will be synchronously updated with the API " +"automatically for you. The ``scope`` field shown here is optional, which " +"represents a guild command if you wish to have a command appear in only " +"specific servers that bot is in. This can be a guild object or the ID." msgstr "" -#: ../../quickstart.rst:58 +#: ../../quickstart.rst:123 +msgid "``name`` -- This is the name of your command." +msgstr "" + +#: ../../quickstart.rst:124 +msgid "``description`` -- This is the description of your command." +msgstr "" + +#: ../../quickstart.rst:125 msgid "" -"``bot.start()`` -- Finally, this is what tells our library to turn your " -"bot from offline to online." +"``async def my_first_command(ctx: interactions.CommandContext):`` -- This" +" here is called our \"command coroutine,\" or what our library internally" +" calls upon each time it recognizes an interaction event from the Discord" +" API that affiliates with the data we've put into the decorator above it." +" Please note that ``ctx`` is an abbreviation for :ref:`context " +"`." msgstr "" -#: ../../quickstart.rst:62 +#: ../../quickstart.rst:126 +msgid "" +"``await ctx.send(\"Hi there!\")`` -- This sends the response to your " +"command." +msgstr "" + +#: ../../quickstart.rst:128 +msgid "``name`` and ``description`` are required." +msgstr "" + +#: ../../quickstart.rst:131 +msgid "Difference between global and guild slash commands:" +msgstr "" + +#: ../../quickstart.rst:133 +msgid "" +"guild slash commands are instantly available in the guild with the given " +"id. In order to copy your guild ID you have to enable the developer mode " +"in discord and then right-click on the guild. This is also shown in the " +"pictures beyond." +msgstr "" + +#: ../../quickstart.rst:134 +msgid "" +"global commands are created by *not* including the ``scope`` argument " +"into the ``@bot.command`` decorator. They will appear in all guilds your " +"Bot is in. This process can take up to one hour to be completed on all " +"guilds." +msgstr "" + +#: ../../quickstart.rst:141 +msgid "Next, let's create an Option" +msgstr "" + +#: ../../quickstart.rst:143 +msgid "" +":ref:`Options ` are extra " +"arguments of a command, filled in by the user executing the command." +msgstr "" + +#: ../../quickstart.rst:171 +msgid "The limit for options per command is 25." +msgstr "" + +#: ../../quickstart.rst:174 +msgid "Nested commands: subcommands" +msgstr "" + +#: ../../quickstart.rst:218 +msgid "You can add a SUB_COMMAND_GROUP in between the base and command." +msgstr "" + +#: ../../quickstart.rst:222 +msgid "Special type of commands: Context menus" +msgstr "" + +#: ../../quickstart.rst:224 +msgid "" +"While, granted that application commands are way more intuitive and " +"easier to work with as both a bot developer and user from a UX approach, " +"some may not want to always type the same command over and over again to " +"repeat a repetitive task. Introducing: **context menus.** Also known as " +"\"user\" and \"message\" respectively, this simple switch in command " +"structure allows you to quickly empower your bot with the ability to make" +" right-click actions with menial effort." +msgstr "" + +#: ../../quickstart.rst:230 +msgid "" +"In order to create a menu-based command, all you need to do is simply add" +" this one line into your ``@command`` decorator:" +msgstr "" + +#: ../../quickstart.rst:245 +msgid "" +"The structure of a menu command differs significantly from that of a " +"regular one:" +msgstr "" + +#: ../../quickstart.rst:247 +msgid "You cannot have any options or choices." +msgstr "" + +#: ../../quickstart.rst:248 +msgid "You cannot have a description." +msgstr "" + +#: ../../quickstart.rst:249 +msgid "The ``name`` filter follows a different regex pattern." +msgstr "" + +#: ../../quickstart.rst:252 +msgid "Creating and sending Components" +msgstr "" + +#: ../../quickstart.rst:254 +msgid "" +"Being able to run your own commands is very useful for a lot of " +"automation-related purposes as a bot developer, however, we also have " +"something that we're able to introduce for both the developer and a user " +"to use that will be the \"sprinkles\" on top of a cupcake, so-to-speak: " +"components." +msgstr "" + +#: ../../quickstart.rst:259 +msgid "" +"Components are ways of being able to select pre-defined data, or define " +"your own. They're very simple but quite powerful when put into practice " +"This code block below shows a simplified implementation of a component:" +msgstr "" + +#: ../../quickstart.rst:285 +msgid "" +"This is a design that we ended up choosing to simplify responding to " +"buttons when someone presses on one, and to allow bot developers to plug " +"in *which* button they want a response to. No more ``wait_for_component``" +" and ``wait_for`` functions with huge if-else chains; this removes " +"redundancy in your code and overall eases into the practice of " +"modularity." +msgstr "" + +#: ../../quickstart.rst:292 +msgid "What kinds of components are there?" +msgstr "" + +#: ../../quickstart.rst:294 +msgid "" +"As a bot developer, this may be fairly important for you to want to know." +" Different components provide difference user experiences, interactions " +"and results. Currently you can choose between three components that " +"Discord provides: a ``Button``, ``SelectMenu`` and ``TextInput``. You're " +"able to `find these component types`_ here." +msgstr "" + +#: ../../quickstart.rst:301 +msgid "How do I send components in a row?" +msgstr "" + +#: ../../quickstart.rst:303 +msgid "" +"You are also able to organize these components into rows, which are " +"defined as ``ActionRow``'s. It is worth noting that you can have only a " +"maximum of 5 per message that you send. This code block below shows how:" +msgstr "" + +#: ../../quickstart.rst:330 +msgid "" +"By default, the ``components`` keyword-argument field in the context " +"sending method will always support ``ActionRow``-less sending: you only " +"need to declare rows whenever you need or want to. This field will also " +"support raw arrays and tables, if you so wish to choose to not use our " +"class objects instead." +msgstr "" + +#: ../../quickstart.rst:336 +msgid "" +"You cannot use ``TextInput`` with the above shown method. Look :ref:`here" +" ` how to create and send them." +msgstr "" + +#: ../../quickstart.rst:341 +msgid "Creating a TextInput" +msgstr "" + +#: ../../quickstart.rst:342 +msgid "You want to get a Text from a user? You can use ``TextInput`` for that." +msgstr "" + +#: ../../quickstart.rst:354 +msgid "" +"But how to send it? You can't use ``ctx.send`` for it. Take a look at " +":ref:`Modals ` for that." +msgstr "" + +#: ../../quickstart.rst:358 +msgid "Modals" +msgstr "" + +#: ../../quickstart.rst:359 +msgid "" +"Modals are a new way to interact with a user. Currently only a " +"``TextInput`` component is supported. You can have up to five " +"``TextInput`` in a Modal." +msgstr "" + +#: ../../quickstart.rst:372 +msgid "with the ``TextInput`` example from above we get:" +msgstr "" + +#: ../../quickstart.rst:377 +msgid "Responding to a Modal interaction" +msgstr "" + +#: ../../quickstart.rst:385 +msgid "" +"You can respond to a modal the same way as you would respond to a normal " +"``chat-input`` command, except your function has an extra argument for " +"the text what was put into the modal." +msgstr "" + +#: ../../quickstart.rst:388 +msgid "Adding v2 Permissions" +msgstr "" + +#: ../../quickstart.rst:390 +msgid "" +"v2 permissions consist of the ``default_member_permissions`` and " +"``dm_permission`` keyword arguments. Similar to adding privileged " +"intents, you add permissions (like admin-only, ``BAN_MEMBERS``-only, " +"etc.) as follows:" +msgstr "" + +#: ../../quickstart.rst:429 +msgid "" +"Adding guild-only commands is easier as the only thing it takes is a " +"boolean. Here's an example of a guild-only command:" +msgstr "" + +#: ../../quickstart.rst:448 msgid "" -"And it's really as simple as that! If you would like to learn more about " -"what our library offers, or see more examples of our code, please be sure" -" to check out our `coding examples`_ page on our docs!" +"Likewise, setting ``dm_permission`` to ``True`` makes it usable in DMs. " +"Just to note that this argument's mainly used for global commands. Guild " +"commands with this argument will have no effect." msgstr "" diff --git a/docs/migration.rst b/docs/migration.rst index 4b1675870..b7d59e386 100644 --- a/docs/migration.rst +++ b/docs/migration.rst @@ -46,7 +46,7 @@ Additionally, modifying the way information is dispatched from the Gateway must if event != "TYPING_START" and event == "INTERACTION_CREATE": ... # run your special interaction dispatch rules here. -We recommend that working in correspondance with this, you should be making use of our ``interactions.ext`` SDK framework. +We recommend that working in correspondence with this, you should be making use of our ``interactions.ext`` SDK framework. A slight, yet another breaking change we made was dundering numerous attributes in our internal models. You will now need to refer to the client's HTTP object as ``_http`` instead of ``http``. In order to view @@ -61,4 +61,4 @@ portal and add the intent to your current intents when connecting: from interactions import Client, Intents - bot = Client("TOKEN", intents=Intents.DEFAULT | Intents.MEESAGE_CONTENT) + bot = Client("TOKEN", intents=Intents.DEFAULT | Intents.GUILD_MESSAGE_CONTENT) diff --git a/docs/models.command.rst b/docs/models.command.rst index a454be58d..d8d18c5cc 100644 --- a/docs/models.command.rst +++ b/docs/models.command.rst @@ -3,6 +3,6 @@ Application Command Models ========================== -.. automodule:: interactions.models.command +.. automodule:: interactions.client.models.command :members: :noindex: diff --git a/docs/models.component.rst b/docs/models.component.rst index 8a91b7c76..9a17c24bc 100644 --- a/docs/models.component.rst +++ b/docs/models.component.rst @@ -3,6 +3,6 @@ Component Models ================ -.. automodule:: interactions.models.component +.. automodule:: interactions.client.models.component :members: :noindex: diff --git a/docs/models.misc.rst b/docs/models.misc.rst index 2849f8ad5..46e95d5d8 100644 --- a/docs/models.misc.rst +++ b/docs/models.misc.rst @@ -3,6 +3,6 @@ Miscellaneous Models ==================== -.. automodule:: interactions.models.misc +.. automodule:: interactions.client.models.misc :members: :noindex: diff --git a/interactions/api/http/reaction.py b/interactions/api/http/reaction.py index 05c7ec6f7..93cdeeb03 100644 --- a/interactions/api/http/reaction.py +++ b/interactions/api/http/reaction.py @@ -118,7 +118,7 @@ async def get_reactions_of_emoji( :param channel_id: Channel snowflake ID. :param message_id: Message snowflake ID. :param emoji: The emoji to get (format: `name:id`) - :return A list of users who sent that emoji. + :return: A list of users who sent that emoji. """ return await self._req.request( Route( diff --git a/interactions/api/http/scheduledEvent.py b/interactions/api/http/scheduledEvent.py index 96c40e63d..3c6238728 100644 --- a/interactions/api/http/scheduledEvent.py +++ b/interactions/api/http/scheduledEvent.py @@ -22,7 +22,7 @@ async def create_scheduled_event(self, guild_id: Snowflake, payload: dict) -> di :param guild_id: Guild ID snowflake. :param payload: The dictionary containing the parameters and values to edit the associated event. - :return A dictionary containing the new guild scheduled event object on success. + :return: A dictionary containing the new guild scheduled event object on success. """ guild_id = int(guild_id) valid_keys = ( @@ -51,7 +51,7 @@ async def get_scheduled_event( :param guild_id: Guild ID snowflake. :param guild_scheduled_event_id: Guild Scheduled Event ID snowflake. :param with_user_count: A boolean to include number of users subscribed to the associated event, if given. - :return A dictionary containing the guild scheduled event object on success. + :return: A dictionary containing the guild scheduled event object on success. """ guild_id, event_id = int(guild_id), int(guild_scheduled_event_id) params = {} @@ -74,7 +74,7 @@ async def get_scheduled_events(self, guild_id: Snowflake, with_user_count: bool) :param guild_id: Guild ID snowflake. :param with_user_count: A boolean to include number of users subscribed to the associated event, if given. - :return A List of a dictionary containing the guild scheduled event objects on success. + :return: A List of a dictionary containing the guild scheduled event objects on success. """ guild_id = int(guild_id) params = {} @@ -94,7 +94,7 @@ async def modify_scheduled_event( :param guild_id: Guild ID snowflake. :param guild_scheduled_event_id: Guild Scheduled Event ID snowflake. :param payload: The dictionary containing the parameters and values to edit the associated event. - :return A dictionary containing the updated guild scheduled event object on success. + :return: A dictionary containing the updated guild scheduled event object on success. """ guild_id, event_id = int(guild_id), int(guild_scheduled_event_id) valid_keys = ( @@ -126,7 +126,7 @@ async def delete_scheduled_event( :param guild_id: Guild ID snowflake. :param guild_scheduled_event_id: Guild Scheduled Event ID snowflake. - :return Nothing on success. + :return: Nothing on success. """ guild_id, event_id = int(guild_id), int(guild_scheduled_event_id) diff --git a/interactions/api/http/webhook.py b/interactions/api/http/webhook.py index b55fbfc52..52f7cb15b 100644 --- a/interactions/api/http/webhook.py +++ b/interactions/api/http/webhook.py @@ -37,7 +37,7 @@ async def get_channel_webhooks(self, channel_id: int) -> List[dict]: Return a list of channel webhook objects. :param channel_id: Channel ID snowflake. - :return:List of webhook objects + :return: List of webhook objects """ return await self._req.request(Route("GET", f"/channels/{channel_id}/webhooks")) @@ -46,7 +46,6 @@ async def get_guild_webhooks(self, guild_id: int) -> List[dict]: Return a list of guild webhook objects. :param guild_id: Guild ID snowflake - :return: List of webhook objects """ return await self._req.request(Route("GET", f"/guilds/{guild_id}/webhooks")) diff --git a/interactions/api/models/user.py b/interactions/api/models/user.py index b4fee57c5..051c9b1d5 100644 --- a/interactions/api/models/user.py +++ b/interactions/api/models/user.py @@ -20,7 +20,6 @@ class User(ClientSerializerMixin): :ivar Optional[bool] system?: A status denoting if the user is an Official Discord System user :ivar Optional[bool] mfa_enabled?: A status denoting if the user has 2fa on their account :ivar Optional[str] banner?: The user's banner hash, if any - # TODO: change banner_color to discord's description when documented :ivar Optional[str] banner_color?: The user's banner color as a hex, if any :ivar Optional[int] accent_color?: The user's banner color as an integer represented of hex color codes :ivar Optional[str] locale?: The user's chosen language option @@ -87,6 +86,7 @@ def avatar_url(self) -> str: def banner_url(self) -> Optional[str]: """ Returns the URL of the user's banner. + :return: URL of the user's banner (None will be returned if no banner is set) :rtype: str """ diff --git a/interactions/client/bot.py b/interactions/client/bot.py index 0c17c15f0..a3cdc1526 100644 --- a/interactions/client/bot.py +++ b/interactions/client/bot.py @@ -1263,11 +1263,6 @@ def modal(self, modal: Union[Modal, str]) -> Callable[..., Any]: A decorator for listening to ``INTERACTION_CREATE`` dispatched gateway events involving modals. - .. error:: - This feature is currently under experimental/**beta access** - to those whitelisted for testing. Currently using this will - present you with an error with the modal not working. - The structure for a modal callback: .. code-block:: python diff --git a/interactions/client/context.py b/interactions/client/context.py index e52563c63..c2e2033df 100644 --- a/interactions/client/context.py +++ b/interactions/client/context.py @@ -198,9 +198,8 @@ async def edit( """ This allows the invocation state described in the "context" to send an interaction response. This inherits the arguments - of the ``.send()`` method. + of the Context ``.send()`` method. - :inherit:`interactions.context.CommandContext.send()` :return: The edited message as an object. :rtype: Message """ diff --git a/interactions/client/models/command.py b/interactions/client/models/command.py index b9986f55e..9b581f934 100644 --- a/interactions/client/models/command.py +++ b/interactions/client/models/command.py @@ -22,9 +22,7 @@ class Choice(DictSerializerMixin): ``value`` allows ``float`` as a passable value type, whereas it's supposed to be ``double``. - The structure for a choice: - - .. code-block:: python + The structure for a choice: :: interactions.Choice(name="Choose me! :(", value="choice_one") @@ -66,9 +64,7 @@ class Option(DictSerializerMixin): ``min_values`` and ``max_values`` are useful primarily for integer based options. - The structure for an option: - - .. code-block:: python + The structure for an option: :: interactions.Option( type=interactions.OptionType.STRING, @@ -126,8 +122,9 @@ def __attrs_post_init__(self): class Permission(DictSerializerMixin): """ A class object representing the permission of an application command. - The structure for a permission: - .. code-block:: python + + The structure for a permission: :: + interactions.Permission( id=1234567890, type=interactions.PermissionType.USER, diff --git a/interactions/client/models/component.py b/interactions/client/models/component.py index e48ff6912..d716b47bc 100644 --- a/interactions/client/models/component.py +++ b/interactions/client/models/component.py @@ -41,8 +41,7 @@ def __setattr__(self, key, value) -> None: class SelectOption(ComponentMixin): """ A class object representing the select option of a select menu. - The structure for a select option: - .. code-block:: python + The structure for a select option: :: interactions.SelectOption( label="I'm a cool option. :)", value="internal_option_value", @@ -70,8 +69,7 @@ def __attrs_post_init__(self): class SelectMenu(ComponentMixin): """ A class object representing the select menu of a component. - The structure for a select menu: - .. code-block:: python + The structure for a select menu: :: interactions.SelectMenu( options=[interactions.SelectOption(...)], placeholder="Check out my options. :)", @@ -103,8 +101,7 @@ def __attrs_post_init__(self) -> None: class Button(ComponentMixin): """ A class object representing the button of a component. - The structure for a button: - .. code-block:: python + The structure for a button: :: interactions.Button( style=interactions.ButtonStyle.DANGER, label="Delete", @@ -137,12 +134,14 @@ def __attrs_post_init__(self) -> None: class Component(ComponentMixin): """ A class object representing the component in an interaction response/followup. + .. note:: ``components`` is only applicable if an ActionRow is supported, otherwise ActionRow-less will be opted. ``list`` is in reference to the class. .. warning:: - This object object class is only inferred upon when the gateway is processing + This object class is only inferred upon when the gateway is processing back information involving a component. Do not use this object for sending. + :ivar ComponentType type: The type of component. :ivar Optional[str] custom_id?: The customized "ID" of the component. :ivar Optional[bool] disabled?: Whether the component is unable to be used. @@ -192,8 +191,7 @@ def __attrs_post_init__(self): class TextInput(ComponentMixin): """ A class object representing the text input of a modal. - The structure for a text input: - .. code-block:: python + The structure for a text input: :: interactions.TextInput( style=interactions.TextStyleType.SHORT, label="Let's get straight to it: what's 1 + 1?", @@ -230,13 +228,14 @@ def __attrs_post_init__(self): class Modal(ComponentMixin): """ A class object representing a modal. - The structure for a modal: - .. code-block:: python + + The structure for a modal: :: interactions.Modal( title="Application Form", custom_id="mod_app_form", components=[interactions.TextInput(...)], ) + :ivar str custom_id: The custom ID of the modal. :ivar str title: The title of the modal. :ivar List[Component] components: The components of the modal. @@ -260,17 +259,19 @@ def __attrs_post_init__(self): class ActionRow(ComponentMixin): """ A class object representing the action row for interaction responses holding components. + .. note:: A message cannot have more than 5 ActionRow's supported. An ActionRow may also support only 1 text input component only. - The structure for an action row: - .. code-block:: python + + The structure for an action row: :: # "..." represents a component object. # Method 1: interactions.ActionRow(...) # Method 2: interactions.ActionRow(components=[...]) + :ivar int type: The type of component. Always defaults to ``1``. :ivar Optional[List[Component]] components?: A list of components the ActionRow has, if any. """ diff --git a/requirements-docs.txt b/requirements-docs.txt index b4e7428ea..311389be2 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -1,3 +1,4 @@ karma_sphinx_theme +readthedocs-sphinx-search Sphinx sphinx-hoverxref