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
File details
Details for the file discord-repl-0.0.dev1668817246.tar.gz
.
File metadata
- Download URL: discord-repl-0.0.dev1668817246.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e989b16d58cbd4cd4c54f6c93f70d136aa7dff3e720d6b14d7fe5babf6b3b60f |
|
MD5 | 551c2732ef93698395b89b1641e11781 |
|
BLAKE2b-256 | 5adbb52c6ffb7db425f75dd05b74fb8da84db1b86a51ba1aa8c9274fc5b56b88 |