From e2ad060ba6002f1659c1df1c943e71ef9ef78b4f Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 22 Jun 2024 18:48:01 +0000 Subject: [PATCH 1/2] initialize devcontainer --- .devcontainer/devcontainer.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..39f8e3f --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,18 @@ +{ + "name": "Python 3", + "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", + "postCreateCommand": "pip3 install -U discord.py", + + // Configure tool-specific properties. + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance", + "ms-python.black-formatter", + "charliermarsh.ruff", + "GitHub.copilot" + ] + } + } +} From 8a838958ddd90db204a33f1abba80bd7d7c32eae Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 22 Jun 2024 21:10:45 +0000 Subject: [PATCH 2/2] use py-cord instead of discord.py --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 39f8e3f..5bcdcaa 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,7 @@ { "name": "Python 3", "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", - "postCreateCommand": "pip3 install -U discord.py", + "postCreateCommand": "pip3 install -U py-cord", // Configure tool-specific properties. "customizations": {