Skip to content

Instantly share code, notes, and snippets.

View jdc20181's full-sized avatar

jdc20181

  • Founder of Krypto Projects
View GitHub Profile
@hkirsman
hkirsman / mobtable.html
Created June 27, 2012 08:34
turn tables into mobile friendly
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="et">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>table</title>
<style type="text/css">
.odd { background-color: #808080; }
.generated_for_mobile { margin-bottom: 30px }
const Discord = require('discord.js');
const bot = new Discord.Client();
bot.commands = new Discord.Collection();
bot.on('ready', () => {
console.log(`Logged in as ${bot.user.tag}!`);
});
bot.on('messageReactionAdd', (reaction, user) => {
if (!reaction.message.embeds) return;