Discord REPL
Project description
Discord REPL
A discord bot to run code in containers.
Development
Requirements
- python 3.10
- docker
Install pipenv
python -m pip install --user pipenv
Prepare the environment
pipenv install --dev
Run the tests
pipenv run test
Running the bot
First of all you will need to create a application/bot on discord. Here are some usefully links:
Get your bot token and add it to .env
or as variable when running the bot.
Using .env
.
Add to the .env
echo "DISCORD_TOKEN=... >> .env
Run the bot
pipenv run bot
Take care of your token, don't commit it.
Using as variable
DISCORD_TOKEN=... pipenv run bot
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for discord-repl-0.0.dev1677500204.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c781c098f965a5145367df182bdf85a7a2680e1db2f4d37014dffaa821dfc900 |
|
MD5 | 84566039b7e842eef6a87d109dc0df5b |
|
BLAKE2b-256 | cdd5dbf0b1fb69f104dc0201b0ba91659f5c89f2360bab79a7b0090c6bf6fd6f |