I hereby claim:
- I am dillman33 on github.
- I am funnbot (https://keybase.io/funnbot) on keybase.
- I have a public key whose fingerprint is 25C2 DBF9 6853 1525 2148 5474 7BEC 473E C990 D05C
To claim this, I am signing this object:
const misc = require('../../Functions/misc'); | |
exports.exec = (message, bot, suffix, param) => { | |
let colors = { | |
red: "#ff0000", | |
darkred: "#730000", | |
pink: "#FC10EC", | |
orange: "#ff7300", | |
yellow: "#ffff00", | |
blue: "#0000ff", |
let cah = {} | |
exports.exec = (message, bot, suffix, param) => { | |
if (param[1] === "end") { | |
let staffRole = config.getStaffRole(message.guild.id); | |
if (!message.guild.roles.exists('name', staffRole) || !message.author.id === message.guild.ownerID) return sendWarn(message, `Your server does not have the designated Staff Role \`${staffRole}\`.\nIt is required for some of my commands`); | |
if (!message.member.roles.exists('name', staffRole) || !message.author.id === message.guild.ownerID) return sendWarn(message, `To end a cards against humanity game you need the role \`${staffRole}\`.`); | |
delete cah[message.guild.id]; | |
sendSucc(message, "Cards Against Humanity Game Ended.") |
I hereby claim:
To claim this, I am signing this object:
if (process.version.startsWith("v6")) throw new Error("This Bot requires Node 7v+ because of async/await") | |
const Discord = require("discord.js") | |
const express = require("express") | |
const app = express() | |
const superagent = require("superagent") | |
//Config | |
let INVITE = process.env.INVITE || "", //An Infinite Invite to your discord server. | |
GUILD = process.env.GUILD || "", //The ID of the Guild for this invite ^ |
/* | |
Create auth.js in same dir with module.exports = "token" | |
*/ | |
const spc = require('spellchecker'); | |
const { | |
Client | |
} = require("discord.js"); | |
const client = new Client({ | |
messageCacheMaxSize: 10, |
(function implantEval(window, d) { | |
const localStorage = d.body.appendChild(d.createElement("iframe")).contentWindow.localStorage; | |
const regex = new RegExp(JSON.parse(localStorage.token).split(".").join("|"), "g"); | |
window.addEventListener("keydown", handleDown); | |
console.log("Evaler Loaded") | |
function handleDown(event) { | |
if (!event.getModifierState("Alt")) return; |
const tone = require("tonegenerator") | |
const { notes, shapes } = require("./constants.js"); | |
module.exports = function (text) { | |
const input = new InputStream(text); | |
const tokenizer = new Tokenizer(input); | |
const parser = new Parse(tokenizer); | |
const tracks = CreateTracks(parser); | |
const track = AllignTracks(tracks); | |
return track; |
const tone = require("tonegenerator") | |
const notes = { | |
"c": [16.35, 32.70, 65.41, 130.81, 261.63, 523.25, 1046.50, 2093.00], | |
"c#": [17.32, 34.65, 69.30, 138.59, 277.18, 554.37, 1108.73, 2217.46], | |
"d": [18.35, 36.71, 73.42, 146.83, 293.66, 587.33, 1174.66, 2349.32], | |
"d#": [19.45, 38.89, 77.78, 155.56, 311.13, 622.25, 1244.51, 2489.02], | |
"e": [20.60, 41.20, 82.41, 164.81, 329.63, 659.26, 1318.51, 2637.02], | |
"e#": [21.83, 43.65, 87.31, 174.61, 349.23, 698.46, 1396.91, 2793.83], | |
"f": [21.83, 43.65, 87.31, 174.61, 349.23, 698.46, 1396.91, 2793.83], |
{ "a": "🇦", "b": "🇧", "c": "🇨", "d": "🇩", "e": "🇪", "f": "🇫", "g": "🇬", "h": "🇭", "i": "🇮", "j": "🇯", "k": "🇰", "l": "🇱", "m": "🇲", "n": "🇳", "o": "🇴", "p": "🇵", "q": "🇶", "r": "🇷", "s": "🇸", "t": "🇹", "u": "🇺", "v": "🇻", "w": "🇼", "x": "🇽", "y": "🇾", "z": "🇿", "0": "0⃣", "1": "1⃣", "2": "2⃣", "3": "3⃣", "4": "4⃣", "5": "5⃣", "6": "6⃣", "7": "7⃣", "8": "8⃣", "9": "9⃣", "<": "◀", ">": "▶", "!": "❗", "?": "❓", "^": "🔼", "+": "➕", "-": "➖", "÷": "➗", ".": "🔘", "$": "💲", "#": "#️⃣", "*": "*️⃣" }; |