<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Discord%3A%3Aupdate</id>
	<title>Discord::update - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Discord%3A%3Aupdate"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Discord::update&amp;action=history"/>
	<updated>2026-07-24T19:18:01Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Discord::update&amp;diff=862&amp;oldid=prev</id>
		<title>imported&gt;Xabi в 10:31, 2 января 2023</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Discord::update&amp;diff=862&amp;oldid=prev"/>
		<updated>2023-01-02T10:31:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function will let you set further details for the [https://discordapp.com/developers/docs/rich-presence/how-to Discord Rich Presence] field for a player if they have Discord running. Each argument represents one line under the &amp;#039;playing a game&amp;#039; section.&lt;br /&gt;
&lt;br /&gt;
[[File:UpdatedRichPresence.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;{{ClientsideCsJsFunction}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.discord.update(detailedStatus, state)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;detailedStatus:&amp;#039;&amp;#039;&amp;#039; {{RageType|String}}&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;state:&amp;#039;&amp;#039;&amp;#039; {{RageType|String}}&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Undefined&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{Example}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.discord.update(&amp;#039;Playing on Freeroam&amp;#039;, &amp;#039;Playing as Ronald McDonald&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{CSharpContainer|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;RAGE.Discord.Update(string details, string state)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Parameters}}&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;details:&amp;#039;&amp;#039;&amp;#039; String details&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;state:&amp;#039;&amp;#039;&amp;#039; String state&lt;br /&gt;
{{Example}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot;&amp;gt;&lt;br /&gt;
RAGE.Discord.Update(&amp;quot;Playing on Freeroam&amp;quot;, &amp;quot;Playing as Ronald McDonald&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Xabi</name></author>
	</entry>
</feed>