Skip to content

Test Bed

Praveen Premaratne edited this page Feb 16, 2021 · 1 revision

Bot icon Test Bed

About

Test Bed is a Slack code execution plugin powered by Piston - general-purpose code execution engine.

This repository only contains the code for the Slack integration

Installation

Add to Slack

Usage

Inline usage prompt

  • /tb-help command will provide guide on how to use with in Slack
  • /tb-lang will provide a list of languages supported by the bot
  • /tb will executed the give command and respond with the output

/tb [lag]

code

[arg] [arg] [arg]...

/tb python3

from sys import argv
print(f'Hello {argv[1]} {argv[2]}')

John Smith

Output


Sample screenshots

Command options

Inline usage guide output

Language support output

Code execution sample output