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
/* eslint prefer-destructuring: 0*/ | |
var Spark = require("Spark") | |
const io = require("socket.io-client") | |
const Engine = Spark.engine("Spark-dashboard") | |
const version = "1" | |
Engine.code = (client) => { | |
if (!client.config.apiKey) { | |
return | |
} | |
client.socket = io("https://dashboard.discordspark.com/", { |
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
exports.name = "eval" | |
exports.aliases = [] | |
exports.level = 10; | |
exports.command = function(client, message) { | |
const clean = text => { | |
if (typeof(text) === "string") | |
return text.replace(/`/g, "`" + String.fromCharCode(8203)).replace(/@/g, "@" + String.fromCharCode(8203)); | |
else | |
return text; | |
} |
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
exports.name = "name-bf"; | |
// Execute this command every specified amount of time. | |
exports.time = 0 | |
// Delay for how long after the "ready" event this function should be executed | |
exports.delay = 0; | |
exports.function = function(client) { | |
// execute your code on boot here. |
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
<html> | |
<head> | |
<title> Spark standard page </title> | |
</head> | |
<body> | |
<h1> <%- data.botname %> </h1> | |
<p> Made by <%- data.ownername %> </p> | |
<p> Running Spark <%- data.version %> </p> |
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
MIT License | |
Copyright (c) 2017 Tobias Feld (tobias.feld@hotmail.com) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
input[type=checkbox]{ | |
height: 0; | |
width: 0; | |
visibility: hidden; | |
} | |
label { | |
cursor: pointer; | |
text-indent: -9999px; | |
width: 35px; |
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
T̶͍̞̞͎̭̖͔͔̦̦̺̭ͭ̓͊͑ͪ͆ͣ̐̀̾͊ͬ͊͂h̸̵̻͙̳̲̝̟̩̯̜͔̗̣̮͍̱̟̓ͧ̈͂̄̋̓͘͜͢ͅi̪̜̺̥̩̪͕̟̭͑ͩ̄̀͌̀ͯ̇͊̄̿͊͛̀͒͘͡s̛͍͍̩̼̠̭̳̀̐ͤͥ̈́ͤ̊̏̒̄̾ͫ́̕͞ ̶̛̩̩̤͉̺̙̱̱̤̟̟̣̙͇̭̘͊̊̎́͐͗͂ͯ̊̀͜ͅͅi̴̢͓̗͕̞̥͈̠̹͉͓̘̺̪͕̱͙̹ͥͤ̿͌͗͗̽͡͡͞s̨̭͎̰̳̘̾͐̅ͯͧ͂ͬ͊ͮ̇ͥ͌̒͒̚͝ ̨̡͚̱̤͇̙͖̖̱̹̦̲̱̘̭̘̫̐̄͐̎ͮͧ͋̂͛ͥ̆̋͊ͨ̽ͤ̚͘Z̧͙̫͖̮̳͖̖̩ͩͩ̋̎͟a̛̛͍͉̮̫̬̬̝͎͈͔͖̳̮͇͍̯͚̐͌͊ͭ͋̐́ͅl̷̛͈̦͚̲͚̗͕̜̘͕̲ͤ̊̔̿͗͂́́ͯ̚͟͜g̶̡̧̧̫̤̲̤͉͈̮̖̗̝̲̪̬͎̐ͮͭͣ̌̉ͨͪͩ͝ö́ͤ̇̊̌̓̐҉̼̩͕̘̬̱̯͓͔̯͇̫̙̠͠ͅ === This is Zalgo | |
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 input = msg.content.split(" ") | |
if(input[0] == config.prefix + "accept"){ | |
d = new Date(); | |
if (client.guilds.get("294509304868896769").members.get(msg.author.id) == undefined){msg.channel.sendMessage("", {embed: {title: "You have no permission to execute this command!", description: "Only an **ADL Team Member** is able to do this.\nYou are: **ADL User**" , color: 0xff0000, footer: {text: ":no_entry: "}, timestamp: d}}); return} | |
else if (client.guilds.get("294509304868896769").members.get(msg.author.id).roles.get("295625073241620490") != undefined){msg.channel.sendMessage("", {embed: {title: "You have no permission to execute this command!", description: "Only an **ADL Team Member** is able to do this.\nYou are: **ADL User**" , color: 0xff0000, footer: {text: ":no_entry: "}, timestamp: d}}); return} | |
if (input[1] == null || IsNan(input[1]) == true){msg.channel.sendMessage(":1234: Please use a number"); return} | |
connection.query("select * from cases where cases = ?", [input[1]], function(err, resul |