From 716e611e68965e320f07f65b31361b3fead37cfe Mon Sep 17 00:00:00 2001 From: Bilal Bassam Date: Tue, 5 Nov 2024 19:38:57 +0300 Subject: [PATCH] docs: fix intents-related docs --- libs/client/Client.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/client/Client.lua b/libs/client/Client.lua index 48a4d3c2..3cd01c87 100644 --- a/libs/client/Client.lua +++ b/libs/client/Client.lua @@ -330,10 +330,10 @@ end --[=[ @m setIntents @t mem -@p intents Intents-Resolvable +@op intents number @r nothing @d Sets the gateway intents that this client will use. The new value will not be -used internally until the client (re-)identifies. +used internally until the client (re-)identifies. Defaults to `0`. ]=] function Client:setIntents(intents) self._intents = tonumber(intents) or 0 @@ -342,7 +342,7 @@ end --[=[ @m enableIntents @t mem -@p ... Intents-Resolvables +@p ... Intents-Resolvable @r nothing @d Enables individual gateway intents for this client. The new value will not be used internally until the client (re-)identifies. @@ -357,7 +357,7 @@ end --[=[ @m disableIntents @t mem -@p ... Intents-Resolvables +@p ... Intents-Resolvable @r nothing @d Disables individual gateway intents for this client. The new value will not be used internally until the client (re-)identifies.