Skip to content

Instantly share code, notes, and snippets.

View jensz12's full-sized avatar
🐋

Jens Møller jensz12

🐋
View GitHub Profile
@jensz12
jensz12 / senestevid.php
Created March 29, 2019 17:19
Eksempel på customapijson kommando i JensBot
{<?php
$video = json_decode(file_get_contents('https://www.googleapis.com/youtube/v3/search?key=API_KEY&part=id&channelId=UCBqXdivqgtgiZg-00oSxvaw&order=date&maxResults=2&type=video'), true);
$video_id = $video['items'][0]['id']['videoId'];
?>
<?php echo number_format("$sub_count_main;") ?>"senestevid":"https://youtube.com/watch?v=<?php echo $video_id; ?>"}
@jensz12
jensz12 / moderator.php
Created October 3, 2018 20:48
:think;
<div class="well well-sm">
<h1>JensBot moderator kommandoer</h1>
</div>
<div class="jumbotron">
<h2>Custom kommandoer</h2>
<div class="table-responsive">
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Kommando</th>
@jensz12
jensz12 / keybase.md
Created August 27, 2017 23:18
keybase.md

Keybase proof

I hereby claim:

  • I am jensz12 on github.
  • I am jensz12 (https://keybase.io/jensz12) on keybase.
  • I have a public key ASCpxUDy_ixjfPsUBAS2mHi1G0oHLl1ONm0vZu7We5wBYQo

To claim this, I am signing this object:

data-chrome="nofooter noheader transparent noscrollbar"
/summon AreaEffectCloud ~ ~ ~ {Particle:"largesmoke",ReapplicationDelay:20,Radius:2f,RadiusPerTick:-0.002f,RadiusOnUse:0.5f,Duration:600000,DurationOnUse:0.0f,Effects:[{Id:7b,Duration:2400,Amplifier:10b}]}