Skip to content

Instantly share code, notes, and snippets.

View cborac's full-sized avatar
🎡
Sunflower - Rex Orange County

Bora Ciner cborac

🎡
Sunflower - Rex Orange County
View GitHub Profile
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 => {
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)
//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', () => {

SOONℒ️

How to get Youtube Video ID

Way 1

Step 1

Select a Youtube video. I choosed Lil Nas X - Old Town Road (Official Video) ft. Billy Ray Cyrus for this example.

Step 2

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
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%
--[[
β–„β–„β–„β–„ β–„β–„β–„ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆ β–„β–ˆβ–€β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–€β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–ˆβ–ˆβ–“ β–ˆβ–ˆβ–ˆβ–„ β–ˆ β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–€β–ˆβ–ˆβ–ˆ
β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–’β–ˆβ–ˆβ–ˆβ–ˆβ–„ β–’β–ˆβ–ˆβ–€ β–€β–ˆ β–ˆβ–ˆβ–„β–ˆβ–’ β–’β–ˆβ–ˆβ–€ β–ˆβ–ˆβ–Œβ–’β–ˆβ–ˆβ–’ β–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–’ β–ˆβ–ˆβ–’β–“β–ˆβ–ˆ β–’ β–ˆβ–ˆβ–’ β–“β–ˆβ–ˆ β–’β–“β–ˆβ–ˆβ–’ β–ˆβ–ˆ β–€β–ˆ β–ˆ β–’β–ˆβ–ˆβ–€ β–ˆβ–ˆβ–Œβ–“β–ˆ β–€ β–“β–ˆβ–ˆ β–’ β–ˆβ–ˆβ–’
β–’β–ˆβ–ˆβ–’ β–„β–ˆβ–ˆβ–’β–ˆβ–ˆ β–€β–ˆβ–„ β–’β–“β–ˆ β–„ β–“β–ˆβ–ˆβ–ˆβ–„β–‘ β–‘β–ˆβ–ˆ β–ˆβ–Œβ–’β–ˆβ–ˆβ–‘ β–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–‘ β–ˆβ–ˆβ–’β–“β–ˆβ–ˆ β–‘β–„β–ˆ β–’ β–’β–ˆβ–ˆβ–ˆβ–ˆ β–‘β–’β–ˆβ–ˆβ–’β–“β–ˆβ–ˆ β–€β–ˆ β–ˆβ–ˆβ–’β–‘β–ˆβ–ˆ β–ˆβ–Œβ–’β–ˆβ–ˆβ–ˆ β–“β–ˆβ–ˆ β–‘β–„β–ˆ β–’
β–’β–ˆβ–ˆβ–‘β–ˆβ–€ β–‘β–ˆβ–ˆβ–„β–„β–„β–„β–ˆβ–ˆ β–’β–“β–“β–„ β–„β–ˆβ–ˆβ–’β–“β–ˆβ–ˆ β–ˆβ–„ β–‘β–“β–ˆβ–„ β–Œβ–’β–ˆβ–ˆ β–ˆβ–ˆβ–‘β–’β–ˆβ–ˆ β–ˆβ–ˆβ–‘β–’β–ˆβ–ˆβ–€β–€β–ˆβ–„ β–‘β–“β–ˆβ–’ β–‘β–‘β–ˆβ–ˆβ–‘β–“β–ˆβ–ˆβ–’ β–β–Œβ–ˆβ–ˆβ–’β–‘β–“β–ˆβ–„ β–Œβ–’β–“β–ˆ β–„ β–’β–ˆβ–ˆβ–€β–€β–ˆβ–„
β–‘β–“β–ˆ β–€β–ˆβ–“ β–“β–ˆ β–“β–ˆβ–ˆβ–’β–’ β–“β–ˆβ–ˆβ–ˆβ–€ β–‘β–’β–ˆβ–ˆβ–’ β–ˆβ–„β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–“ β–‘ β–ˆβ–ˆβ–ˆβ–ˆβ–“β–’β–‘β–‘ β–ˆβ–ˆβ–ˆβ–ˆβ–“β–’β–‘β–‘β–ˆβ–ˆβ–“ β–’β–ˆβ–ˆβ–’ β–‘β–’β–ˆβ–‘ β–‘β–ˆβ–ˆβ–‘β–’β–ˆβ–ˆβ–‘ β–“β–ˆβ–ˆβ–‘β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–“ β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–’β–‘β–ˆβ–ˆβ–“ β–’β–ˆβ–ˆβ–’
β–‘β–’β–“β–ˆβ–ˆβ–ˆβ–€β–’ β–’β–’ β–“β–’β–ˆβ–‘β–‘ β–‘β–’ β–’ β–‘β–’ β–’β–’ β–“β–’ β–’β–’β–“ β–’ β–‘ β–’β–‘β–’β–‘β–’β–‘ β–‘ β–’β–‘β–’β–‘β–’β–‘ β–‘ β–’β–“ β–‘β–’β–“β–‘ β–’ β–‘ β–‘β–“ β–‘ β–’β–‘ β–’ β–’ β–’β–’β–“ β–’ β–‘β–‘ β–’β–‘ β–‘β–‘ β–’β–“ β–‘β–’β–“β–‘
β–’β–‘β–’ β–‘ β–’ β–’β–’ β–‘ β–‘ β–’ β–‘ β–‘β–’ β–’β–‘ β–‘ β–’ β–’ β–‘ β–’ β–’β–‘ β–‘ β–’ β–’β–‘ β–‘β–’ β–‘ β–’β–‘ β–‘ β–’ β–‘β–‘ β–‘β–‘ β–‘ β–’β–‘ β–‘ β–’ β–’ β–‘ β–‘ β–‘ β–‘β–’ β–‘ β–’β–‘
β–‘ β–‘ β–‘ β–’ β–‘ β–‘ β–‘β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–’ β–‘ β–‘ β–‘ β–’ β–‘β–‘ β–‘ β–‘ β–‘ β–’ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘ β–‘β–‘ β–‘
β–‘ β–‘ β–‘β–‘ β–‘ β–‘ β–‘ β–‘
// 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)
})
{
"compilerOptions": {
"module": "commonjs",
"target": "es2019",
"types": [
"node"
],
"strict": true,
"moduleResolution": "node",
"declaration": false,