blob: c2684044cd5423b9873a4215d9af6e3cd417577c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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
|