Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/net-tech/test-track

A Discord bot with benchmarking and eval capabilities.
https://github.com/net-tech/test-track

Last synced: 3 days ago
JSON representation

A Discord bot with benchmarking and eval capabilities.

Awesome Lists containing this project

README

        

# Test track

A Discord bot with benchmarking and eval capabilities.

## Commands

### `eval` (text command)

Evaluates JavaScript code.

### `/benchmark` (slash command)

Opens a model which accepts two code inputs and runs them against each other. The results are displayed once the benchmark is complete.

## Running the bot

A docker file is provided however not tested. We recommend you run this on a VPS and keep the process alive using a process manager such as PM2.

1. Copy the `.env.example` file to `.env` and fill in the values.
2. Run `pnpm install` to install the dependencies. If you do not have yarn
installed, run `npm install -g pnpm` to install it.
3. Build the project using `pnpm build`.
4. Start the bot using `pnpm start`. If you are using PM2, run `pm2 start
dist/index.js --time --name test-track`.