From df4aacb528970348c01fe62b4e76d50bb094d3b4 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Fri, 28 Oct 2022 14:14:17 +0200 Subject: [PATCH] update deps (back to discord.py + rich) --- flake.nix | 12 +++++++++--- requirements.txt | 5 +++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 1f97fc4..24688c6 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = ""; + description = "HeidiBot for Discord"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; @@ -15,14 +15,20 @@ }; myPython = pkgs.python310.withPackages (p: with p; [ - yt-dlp + discordpy + python-dotenv + beautifulsoup4 + requests + pynacl + rich ]); in { devShell = pkgs.devshell.mkShell { - name = ""; + name = "HeidiBot"; packages = with pkgs; [ myPython + nodePackages.pyright # LSP ]; # Use $1 for positional args diff --git a/requirements.txt b/requirements.txt index 77ce0c0..f0b1e9f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ -# discord.py # not maintained -py-cord # maintained fork of discord.py +discord.py # maintained again +# py-cord # maintained fork of discord.py python-dotenv # discord guild secrets beautifulsoup4 # html parsing requests # request web page pynacl # voice support +rich