https://github.com/nea89o/evalbot
Discord bot for evaluating code snippets in a sandbox.
https://github.com/nea89o/evalbot
compile discord eval
Last synced: 7 months ago
JSON representation
Discord bot for evaluating code snippets in a sandbox.
- Host: GitHub
- URL: https://github.com/nea89o/evalbot
- Owner: nea89o
- License: mit
- Created: 2018-07-04T12:08:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-28T12:21:30.000Z (over 6 years ago)
- Last Synced: 2025-04-05T20:41:31.379Z (9 months ago)
- Topics: compile, discord, eval
- Language: Python
- Size: 21.5 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
EVALBOT
------
Discord Code eval bot using the [Rextester][rextester] API.
### SETUP
- Create a discord bot account at [the discord developers page][discord-devs]. **IMPORTANT** Create a bot user as well.
- clone the repository and create a [Virtual Environment][venv]
- Install all the requirements via `pip install -r requirements.txt`
- Create a `config.ini` in the following format:
```ini
[discord]
token = YOURDISCORDTOKEN. DISCORD! TOKEN! NOT ID OR SECRET
```
- Launch the bot via `python main.py`. If you want to run the bot permanently i recommend using `tmux` or `screen`.
[discord-devs]: https://discordapp.com/developers/applications/me
[venv]: https://docs.python.org/3/library/venv.html
[rextester]: http://rextester.com/main