Update chatterino.d.ts to match plugin-meta.lua (#5792)

This commit is contained in:
Mm2PL
2025-01-19 15:09:45 +01:00
committed by GitHub
parent 1ec1377c08
commit a2ad19df37
4 changed files with 121 additions and 115 deletions
+8 -6
View File
@@ -115,24 +115,26 @@ public:
*/
bool emoteOnly = false;
/**
* @lua@field follower_only number? Time in minutes you need to follow to chat or nil.
*/
/**
* @brief Number of minutes required for users to be followed before typing in chat
*
* Special cases:
* -1 = follower mode off
* 0 = follower mode on, no time requirement
*
* @lua@field follower_only number? Time in minutes you need to follow to chat or nil.
**/
*/
int followerOnly = -1;
/**
* @lua@field slow_mode number? Time in seconds you need to wait before sending messages or nil.
*/
/**
* @brief Number of seconds required to wait before typing emotes
*
* 0 = slow mode off
*
* @lua@field slow_mode number? Time in seconds you need to wait before sending messages or nil.
**/
*/
int slowMode = 0;
};