Giter Club home page Giter Club logo

piston_bot's Introduction

piston_bot's People

Contributors

the-blank-x avatar tusharsadhwani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

piston_bot's Issues

Conversation mode

  • simply typing /run language should make the bot ask you about the rest of the info, before running it
  • editing the original code message should edit the response with new output
  • add stdin and commandline args support to this as well

The bot fails to read the gcc compiling error and goes straight to running the output binary.

It returns the following output:

Language:
gcc

Code:
This should throw a compiler error

Output:
/piston/packages/gcc/10.2.0/run: line 6: ./a.out: No such file or directory

When it should have returned something like:

Language:
gcc

Code:
This should throw a compiler error

Output:
main.cpp:1:1: error: ‘This’ does not name a type
 This should throw a compiler error

I'm guessing it does this with any other compilable languages?

issuse in deploying

-bash: syntax error near unexpected token `newline'
Unable to read bot token. Make sure you export $TOKEN in the environment.

I receive such error in deploying on ubuntu server, what do I do?

Add monitoring for stats

Use something like sqlite to store metadata of what user, group and time someone uses the bot, and implement /stats commands

Stats button

Add a button to show usage stats, like cpu time and ram used

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.