Select a Youtube video. I choosed Lil Nas X - Old Town Road (Official Video) ft. Billy Ray Cyrus for this example.
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# 4 hrs 14 mins ████████████▍░░░░░░░░ 59.2% | |
| TypeScript 2 hrs 5 mins ██████▏░░░░░░░░░░░░░░ 29.2% | |
| JSON 34 mins █▋░░░░░░░░░░░░░░░░░░░ 7.9% | |
| XML 5 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.3% | |
| TSConfig 3 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.7% |
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
| //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
| 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
| 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 => { |
NewerOlder