Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Releases: aahnik/run-py-bot

1.0.2

20 Dec 05:10
309e154
Compare
Choose a tag to compare

Fix dual response on wakeup

0.1.1

26 Nov 11:54
Compare
Choose a tag to compare

Fix issue #15

0.1.0

18 Nov 05:06
Compare
Choose a tag to compare
  • rewrite using asynchronous code
  • execute code using rextester api
  • make an evaluation of pythonic expression default
  • give code stats
  • code is non-blocking
  • allow import statements

Take the example of the old versions:
Suppose you give an infinite loop. It will block the bot for 6s. Suppose I give a simple calculation during this time, the bot will do it only after 6s.

In the new ( v0.1.0 + ) version:
You can execute code that takes a longer time, till the rextester limit.
You give a long calculation, the bot will not get blocked. In the meantime, it can do calculations by other people.

0.0.5

16 Nov 15:34
fba3e71
Compare
Choose a tag to compare

Thanks @gabrielesilinic for adding import support

This release will support imports via a pre processor.

This is a legacy version, and will be deprecated in future.

To use this version:
First clone this repo and then
git checkout tags/v0.0.5 -b main

0.0.4

15 Nov 15:32
Compare
Choose a tag to compare

0.0.3

11 Nov 12:44
46e9198
Compare
Choose a tag to compare
  • Fix horrible security bug by @gabrielesilinic
  • Update repo Readme, with social links

0.0.2

06 Nov 16:33
Compare
Choose a tag to compare
  • Logs should contain time-stamps in the deployer's desired time-zone instead of server time.
  • Uplift ban from exponentiation ** as the cause of bug found and can be handled.
  • Hanging in case of certain long calculations can be prevented.
  • Reduce bot's response time by preventing the repetition of execution.

    earlier when there was no output after executing the code via python -c code, the bot would run eval(code).

  • add new command /e to run pythonic expressions.
  • add new commands /help and /code
  • remove the dependency on Makefile as it had only a few lines
  • add more detailed docstrings
  • make the readme instructions simpler to follow.
  • host the code for this in an independent repo, to make deploying and updating code on server steps easier.
  • fix all pylint errors