This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"os" | |
"strconv" | |
"fmt" | |
"log" | |
"strings" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function start_embed_generator(window, document) { | |
var my_token = "-YOUR_TOKEN_HERE-"; | |
var color_reg = /(\#.+?)(\s|$)/; | |
var text_bar_color = "rgb(92, 156, 199)"; | |
window.addEventListener('keydown' , handle_event); | |
window.addEventListener('keyup' , revert_bar ); | |
return !console.log("Embed generator up!"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Discord = require('discord.io'); | |
var fs = require('fs'); | |
var client = new Discord.Client({ | |
token: "", | |
autorun: true | |
}); | |
var channelToArchive = "", | |
channelToPost = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Types = new Map(); | |
Types.set(Array, function(v) { | |
var l = v.length; i = 0, a = Array(l); | |
for (i; i<l; i++) { | |
a[i] = v[i]; | |
} | |
return a; | |
}); | |
Types.set(Number, function(v) { | |
return v * 1; |