GithubHelp home page GithubHelp logo

bhavjitchauhan / blobby Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 198 KB

A friendly bot that does all sorts of things related to Khan Academy.

Home Page: https://discord.com/api/oauth2/authorize?client_id=821543764946190367&permissions=0&scope=applications.commands%20bot

JavaScript 0.45% Shell 0.07% TypeScript 99.48%
discord discord-bots discord-js khan-academy

blobby's Introduction

Hello World

blobby's People

Contributors

bhavjitchauhan avatar canonrouge24 avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

blobby's Issues

Show warning about boilerplate for `/run html`

It doesn't seem general knowledge that boilerplate is enabled by default for /run html.

Possible solutions include:

  • A warning if error is caused by boilerplate
  • Remove boilerplate if <!DOCTYPE detected at start of the code

Create `/help` command

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.

`/info` fails for topics with long content

Discord's 2,000 character limit needs to be taken into account for topics with long content.

Possible fixes sorted by appeal

  • Somehow bypass the restriction (e.g. multiple messages)
  • Warn or throw error on bot start
  • Truncate content

Keep Puppeteer browser open for `/run`

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.