✨ add nix env
This commit is contained in:
parent
abb1f16129
commit
b8a9041e36
|
@ -0,0 +1,10 @@
|
|||
{ pkgs? import <nixpkgs> {}, ... }:
|
||||
let
|
||||
pythonEnv = pkgs.poetry2nix.mkPoetryEnv {
|
||||
projectDir = ./.;
|
||||
};
|
||||
in pkgs.mkShell {
|
||||
buildInputs = [ pythonEnv ];
|
||||
|
||||
PYTHONPATH = ".";
|
||||
}
|
|
@ -628,8 +628,9 @@ class MiscCog(Cog, name="Divers"):
|
|||
if joke.file:
|
||||
text += " - image non inclue - "
|
||||
|
||||
name = who.display_name if who else "Inconnu"
|
||||
embed.add_field(
|
||||
name=f"{i} - {who.display_name} - {len(joke.likes)}", value=text
|
||||
name=f"{i} - {name} - {len(joke.likes)}", value=text
|
||||
)
|
||||
|
||||
await ctx.send(embed=embed)
|
||||
|
|
Loading…
Reference in New Issue