User contributions for Znajder
Jump to navigation
Jump to search
10 December 2023
- 12:4712:47, 10 December 2023 diff hist +1,508 N GetDiscordRichPresenceUserID Created page with "__NOTOC__ {{Client function}} {{Important Note|The function will correctly display the UserID when the user has given consent and successfully connected to the Rich Presence application.}} {{New feature/item|3.0161|1.6.0|22329| The function returns the client Discord UserID. }} ==Syntax== <syntaxhighlight lang="lua"> string getDiscordRichPresenceUserID() </syntaxhighlight> ===Returns=== It will return an ''empty string ("")'' if the user has not given consent or has..."
- 12:3712:37, 10 December 2023 diff hist +89 Template:Client Discord functions No edit summary
24 October 2023
- 18:5218:52, 24 October 2023 diff hist +21 SetDiscordRichPresenceEndTime No edit summary current
- 05:2305:23, 24 October 2023 diff hist 0 SetDiscordRichPresenceEndTime No edit summary
- 05:2305:23, 24 October 2023 diff hist 0 SetDiscordRichPresenceStartTime No edit summary
- 05:2205:22, 24 October 2023 diff hist 0 SetDiscordRichPresencePartySize No edit summary
- 05:2105:21, 24 October 2023 diff hist 0 Template:Client Discord functions No edit summary
12 October 2023
- 20:1620:16, 12 October 2023 diff hist +43 Template:Client Discord functions No edit summary
11 October 2023
- 19:1219:12, 11 October 2023 diff hist +1 SetDiscordRichPresenceButton No edit summary
10 October 2023
- 20:2320:23, 10 October 2023 diff hist +151 SetDiscordApplicationID No edit summary
- 20:0820:08, 10 October 2023 diff hist +11 SetDiscordRichPresenceDetails No edit summary
- 20:0720:07, 10 October 2023 diff hist −1 SetDiscordRichPresenceState No edit summary
- 20:0720:07, 10 October 2023 diff hist +101 SetDiscordRichPresenceState No edit summary
- 20:0720:07, 10 October 2023 diff hist +101 SetDiscordRichPresenceSmallAsset No edit summary
- 20:0720:07, 10 October 2023 diff hist +101 SetDiscordRichPresenceDetails No edit summary
- 20:0720:07, 10 October 2023 diff hist +101 SetDiscordRichPresenceButton No edit summary
- 20:0620:06, 10 October 2023 diff hist +101 SetDiscordRichPresenceAsset No edit summary
- 20:0520:05, 10 October 2023 diff hist +1,290 N SetDiscordRichPresenceButton Created page with "__NOTOC__ {{Client function}} The function sets a custom button through which we can access the website on Discord. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceButton(int index, string text, string url) </syntaxhighlight> {{OOP||DiscordRPC:setButton}} ===Required arguments=== *'''index''': a int index of the button (possible 1 and 2) *'''text''': a string with title name *'''url''': a string with url name (works only with '''https://''' or..."
- 19:5919:59, 10 October 2023 diff hist −4 SetDiscordRichPresenceState No edit summary
- 19:5919:59, 10 October 2023 diff hist −43 SetDiscordRichPresenceState No edit summary
- 19:5819:58, 10 October 2023 diff hist +1,100 N SetDiscordRichPresenceDetails Created page with "__NOTOC__ {{Client function}} The function sets own details text on Rich Presence. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceDetails(string details) </syntaxhighlight> {{OOP||DiscordRPC:setDetails}} ===Required arguments=== *'''details''': a string with details name ===Returns=== Returns ''true'' if function succeeds, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the application was succes..."
- 19:5619:56, 10 October 2023 diff hist +28 SetDiscordRichPresenceState No edit summary
- 19:5119:51, 10 October 2023 diff hist +2 SetDiscordRichPresenceState No edit summary
- 19:5019:50, 10 October 2023 diff hist +1,001 N SetDiscordRichPresenceState Created page with "__NOTOC__ {{Client function}} The function sets own state text on Rich Presence. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceState(string state) </syntaxhighlight> {{OOP||DiscordRPC:setState}} ===Required arguments=== *'''state''': a string with state name ===Returns=== Returns ''true'' if function succeeds, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the application was successfully set u..."
- 19:4519:45, 10 October 2023 diff hist +1,242 N SetDiscordRichPresenceSmallAsset Created page with "__NOTOC__ {{Client function}} The function, you can set the small image of the application. The maximum size of Assets is ''1024x1024'', the minimum ''512x512''. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceSmallAsset(string assetImage, string text) </syntaxhighlight> {{OOP||DiscordRPC:setSmallAsset}} ===Required arguments=== *'''assetImage''': a string indicating the image you uploaded to your application's asset list. *'''text''': a strin..."
- 19:4319:43, 10 October 2023 diff hist +1,209 N SetDiscordRichPresenceAsset Created page with "__NOTOC__ {{Client function}} The function, you can set the main image of the application. The maximum size of Assets is ''1024x1024'', the minimum ''512x512''. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceAsset(string assetImage, string text) </syntaxhighlight> {{OOP||DiscordRPC:setAsset}} ===Required arguments=== *'''assetImage''': a string indicating the image you uploaded to your application's asset list. *'''text''': a string displayed..."
- 19:3319:33, 10 October 2023 diff hist −4 ResetDiscordRichPresenceData No edit summary
- 19:3319:33, 10 October 2023 diff hist +7 SetDiscordApplicationID No edit summary
- 19:3119:31, 10 October 2023 diff hist +27 SetDiscordApplicationID No edit summary
- 19:2819:28, 10 October 2023 diff hist +1,204 N SetDiscordApplicationID Created page with "__NOTOC__ {{Client function}} {{Important Note|To reset, please use resetDiscordRichPresenceData}} The function can assign your own application to use in Rich Presence. You can create own '''[https://discord.com/developers/applications here]''' ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordApplicationID(string applicationKey) </syntaxhighlight> {{OOP||DiscordRPC:setApplication}} ===Required arguments=== *'''applicationKey''': a string represent key..."
- 19:0419:04, 10 October 2023 diff hist +1,067 N ResetDiscordRichPresenceData Created page with "__NOTOC__ {{Client function}} The function resets all the data we have previously transmitted and sets to default. ==Syntax== <syntaxhighlight lang="lua"> bool resetDiscordRichPresenceData() </syntaxhighlight> ===Returns=== Returns ''true'' if reset was successfull, ''false'' if the client has disabled synchronisation. ==Example== The example shows if you set up your own application and sample asset and then reset the data. <syntaxhighlight lang="lua"> setDiscordAp..."
- 18:5318:53, 10 October 2023 diff hist +1,042 N IsDiscordRichPresenceConnected Created page with "__NOTOC__ {{Client function}} The function check the client has synchronisation with Discord Rich Presence enabled. ==Syntax== <syntaxhighlight lang="lua"> bool isDiscordRichPresenceConnected() </syntaxhighlight> {{OOP||DiscordRPC:isConnected}} ===Returns=== Returns ''true'' if the Discord Rich Presence is enabled on the client, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the client has enabled Discord Rich Prese..."
- 18:4018:40, 10 October 2023 diff hist 0 Template:Client Discord functions No edit summary
- 18:3818:38, 10 October 2023 diff hist +403 N Template:Client Discord functions Created page with "<ul> <li>setDiscordApplicationID</li> <li>setDiscordRichPresenceDetails</li> <li>setDiscordRichPresenceState</li> <li>setDiscordRichPresenceAsset</li> <li>setDiscordRichPresenceSmallAsset</li> <li>setDiscordRichPresenceButton</li> <li>resetDiscordRichPresenceData</li> <li>isDiscordRichPresenceConnected</li> </ul> <noinclude>Category:Functions templates</noinclude>"
9 October 2023
- 20:2220:22, 9 October 2023 diff hist +52 Client Scripting Functions add discord tab