Pre-release
This release is a pre-release and may not be stable for production use.
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
Release files for discord-repl 0.0.dev1676634032
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| discord-repl-0.0.dev1676634032.tar.gz | 9.1 kB | Details |
Release files / discord-repl-0.0.dev1676634032.tar.gz
| Download URL | discord-repl-0.0.dev1676634032.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1641c62af0b08969a2bca57aa7378e2e3b279d21648a14fbdae457e3ce59f5c0
|
|
BLAKE2b-256 checksum How to use checksums |
512c69df02135d2aeb08def6f59389e7df2b09af2eae073e21512ae49e34d278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|