https://github.com/errbotio/err-code
Make the bot execute code snippet in C, CPP and Python
https://github.com/errbotio/err-code
Last synced: 3 months ago
JSON representation
Make the bot execute code snippet in C, CPP and Python
- Host: GitHub
- URL: https://github.com/errbotio/err-code
- Owner: errbotio
- License: gpl-2.0
- Created: 2012-05-21T11:57:04.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2016-06-15T05:50:10.000Z (almost 10 years ago)
- Last Synced: 2025-07-04T01:03:00.400Z (10 months ago)
- Language: Python
- Size: 13.7 KB
- Stars: 8
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
## codebot - a code execution plugin for Errbot
This plugin allow you to make the bot "execute" C, CPP and python snippets.
It is actually backed by codepad, so nothing is executed on the bot itself.
For more information about err you can find it here: https://github.com/errbotio/errbot
### Installation
If you have the admin rights on an Errbot simply use this in a one-to-one chat:
```
!repos install https://github.com/errbotio/err-code
```
Then `!help` to see the available commands and their explanation.
### example
Execute a Python snippet.
```
>>> !python print(range(10))
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
```