<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://redemptionps.com/wiki/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ADiscordIntegrator%2Fcode.js</id>
	<title>MediaWiki:DiscordIntegrator/code.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://redemptionps.com/wiki/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ADiscordIntegrator%2Fcode.js"/>
	<link rel="alternate" type="text/html" href="https://redemptionps.com/wiki/index.php?title=MediaWiki:DiscordIntegrator/code.js&amp;action=history"/>
	<updated>2026-06-05T17:30:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://redemptionps.com/wiki/index.php?title=MediaWiki:DiscordIntegrator/code.js&amp;diff=60230&amp;oldid=prev</id>
		<title>Danbopes: Modified version of the discord integrator</title>
		<link rel="alternate" type="text/html" href="https://redemptionps.com/wiki/index.php?title=MediaWiki:DiscordIntegrator/code.js&amp;diff=60230&amp;oldid=prev"/>
		<updated>2022-10-12T08:23:30Z</updated>

		<summary type="html">&lt;p&gt;Modified version of the discord integrator&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * Name:        DiscordIntegrator&lt;br /&gt;
 * Author:      KockaAdmiralac &amp;lt;wikia@kocka.tech&amp;gt;&lt;br /&gt;
 * Description: Allows intergration with Discord [https://discord.com]&lt;br /&gt;
 */&lt;br /&gt;
(function() {&lt;br /&gt;
    &amp;#039;use strict&amp;#039;;&lt;br /&gt;
    var generateElement = (config) =&amp;gt; {&lt;br /&gt;
         return mw.html.element(&amp;#039;iframe&amp;#039;, {&lt;br /&gt;
                src: &amp;#039;https://discord.com/widget?id=&amp;#039; + config.id +&lt;br /&gt;
                     &amp;#039;&amp;amp;theme=dark&amp;#039;,&lt;br /&gt;
                width: config.width || &amp;#039;100%&amp;#039;,&lt;br /&gt;
                height: config.height || &amp;#039;400px&amp;#039;,&lt;br /&gt;
                allowtransparency: &amp;#039;true&amp;#039;,&lt;br /&gt;
                frameborder: &amp;#039;0&amp;#039;&lt;br /&gt;
            });&lt;br /&gt;
    }&lt;br /&gt;
    $(&amp;#039;.DiscordIntegrator:not(.loaded)&amp;#039;).each((idx, el) =&amp;gt; {&lt;br /&gt;
        console.log($(el).data())&lt;br /&gt;
        $(el).addClass(&amp;#039;loaded&amp;#039;);&lt;br /&gt;
        $(el).html(generateElement($(el).data()));&lt;br /&gt;
    })&lt;br /&gt;
})();&lt;/div&gt;</summary>
		<author><name>Danbopes</name></author>
	</entry>
</feed>