Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discord-repl-0.0.dev1668814207.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file discord-repl-0.0.dev1668814207.tar.gz.

File metadata

File hashes

Hashes for discord-repl-0.0.dev1668814207.tar.gz
Algorithm Hash digest
SHA256 873799eeb3abb162c881a76d6a63701fdeacec543ac77e282854548c81470d98
MD5 793102edfa797e887768e9d45415ac4f
BLAKE2b-256 a1183723448fa672f046cb7162ac9f52fab9f2fd3374b79ad469d751acc88475

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page