bhavjitchauhan / blobby Goto Github PK
View Code? Open in Web Editor NEWA friendly bot that does all sorts of things related to Khan Academy.
A friendly bot that does all sorts of things related to Khan Academy.
This is because KA doesn't support smaller sizes via URL parameters but perhaps editing the DOM directly could work.
Discord's 2,000 character limit needs to be taken into account for topics with long content.
Possible fixes sorted by appeal
This check doesn't seem to be working.
Currently, the /show_scratchpad
endpoint is used to check for a program's existence. Falling back to /scratchpads
or an alternative endpoint should do the trick.
It doesn't seem general knowledge that boilerplate is enabled by default for /run html
.
Possible solutions include:
<!DOCTYPE
detected at start of the codeInclude links to willard.fun, Khanalytics, KA Hearth, etc.
Useful for quickly checking compatibility across browsers. Puppeteer seems to support Firefox at least experimentally.
Potential tools:
To let the user know things are working, if Discord rate limits permit, an embed can be edited to show progress.
Most of the execution time of /run
commands is for loading Khan Academy. By keeping the browser open, resources will be cached possibly leading to lower load times.
Although slash commands have their own "help" command via the menu, they're still new for most users who are familiar with traditional Discord bots.
Case in point: it takes over a minute to get whitelight's profile because they have 10,215 programs.
Gathering full program stats for users with more than a specific amount can be set as an option or button if needed in the future.
And rename /search code
to /search program
.
Resources:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.