This file contains hidden or 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
try { | |
message.react("β ").then(r => { | |
if (args[1] && cmds.has(args[1])) return cmds.get(args[1])(message) | |
message.author.send( | |
new MessageEmbed() | |
.setColor("Help has arrived!") | |
.setDescription(`Don't worry I am here to help. Choose a topic from below and type .help \`topic\` in somewhere`) | |
.addField(`Available Commands`, "`" + cmds.keyArray().join("`") + "`") | |
.setColor("GREEN")).catch(err => { |
This file contains hidden or 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
const fs = require("fs") | |
const dictionary = ["if", "print"] | |
const allowedAscii = [13] | |
const bjargs = [] | |
fs.readdir(`./`, (err, files) => { | |
if (err) throw err; | |
files.forEach(file => { | |
if (file.endsWith(".bjarg")) bjargs.push(file) |
This file contains hidden or 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
//C:\Users\BBY1\Desktop\Blackboard Bot | |
const Discord = module.require("discord.js"); | |
const bot = new Discord.Client(); | |
const Canvas = require('canvas'); | |
const prefix = '!'; | |
bot.login('TOKEN'); | |
//console.log: ready | |
bot.once('ready', () => { |
This file contains hidden or 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
import DataUtil from '../../constants/util/DataUtil'; | |
import REST from './REST'; | |
import { APICHANNEL, APIEMBED, APIGUILD, APIGUILDPREVIEW, APIMEMBER, APIMESSAGE, APIROLE, APIUSER } from '../../constants/Types/Responses'; | |
import Permissions from "../../Structures/Permissions" | |
import { BitFieldResolvable } from '../../Structures/Bitfield'; | |
import Emoji from '../../Structures/Emoji'; | |
import ColorConvertable from '../../Structures/ColorConvertable'; | |
const { stringify: json } = JSON |
This file contains hidden or 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
TypeScript 13 hrs 33 mins βββββββββββββββββββββ 81.4% | |
JavaScript 1 hr 19 mins βββββββββββββββββββββ 7.9% | |
Other 40 mins βββββββββββββββββββββ 4.0% | |
JSON 33 mins βββββββββββββββββββββ 3.4% | |
HTML 12 mins βββββββββββββββββββββ 1.2% |
This file contains hidden or 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
--[[ | |
ββββ βββ ββββββ ββ ββββββββββ ββββββ ββββββ ββββββ βββββββββ ββββ β βββββββ ββββββ ββββββ | |
βββββββ ββββββ ββββ ββ βββββ ββββ βββββββ βββββββ ββββββ β βββ βββ βββββ ββ ββ β ββββ βββββ β βββ β βββ | |
ββββ ββββββ βββ βββ β ββββββ βββ ββββββ βββββββ ββββββ βββ β βββββ ββββββββ ββ ββββββ ββββββ βββ βββ β | |
ββββββ βββββββββ ββββ βββββββ ββ ββββ ββββ ββββββ ββββββββββ ββββ βββββββββ βββββββββ ββββ β βββββββ | |
βββ βββ ββ βββββ βββββ βββββ βββββββββ β ββββββββ βββββββββββ ββββ ββββ ββββββββ βββββββββββ βββββββββββ ββββ | |
ββββββββ ββ βββββ ββ β ββ ββ ββ βββ β β ββββββ β ββββββ β ββ ββββ β β ββ β ββ β β βββ β ββ ββ ββ ββ ββββ | |
βββ β β ββ β β β β ββ ββ β β β β β ββ β β ββ ββ β ββ β β ββ ββ β ββ β β β β β β ββ β ββ | |
β β β β β β ββ β β β β β β β β β β β β ββ β β β β β β β β β β β β ββ β | |
β β ββ β β β β |
This file contains hidden or 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
// Just execute this script on console on a board | |
Array.from(document.getElementsByClassName("hCL")).filter(x => !x.src.startsWith("https://i.pinimg.com/75x75_RS")).forEach(x => { | |
const btn = document.createElement("button") | |
btn.onclick = () => window.open(x.src.split("/236x/").join("/originals/")) | |
btn.innerHTML = "Download" | |
btn.style = "height: 25px; width: auto; position: absolute; z-index: 100;" | |
x.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.prepend(btn) | |
}) |
This file contains hidden or 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
Show hidden characters
{ | |
"compilerOptions": { | |
"module": "commonjs", | |
"target": "es2019", | |
"types": [ | |
"node" | |
], | |
"strict": true, | |
"moduleResolution": "node", | |
"declaration": false, |
OlderNewer