-
-
Notifications
You must be signed in to change notification settings - Fork 192
Proper user configurable jsk py dict vars #199
Copy link
Copy link
Open
Labels
no acceptable implno known implementation that suitably satisfies the conditions of closure within standardsno known implementation that suitably satisfies the conditions of closure within standards
Description
Metadata
Metadata
Assignees
Labels
no acceptable implno known implementation that suitably satisfies the conditions of closure within standardsno known implementation that suitably satisfies the conditions of closure within standards
The Problem
In the jishaku python's command, there's some aliases we can use to shorten our evaluation code, such as
meforContext.me,getfordiscord.utils.get, etc.I wonder if configurable aliases like those is possible to implement.
The Ideal Solution
My idea is to add more aliases to jishaku. Something like this design is what I'm thinking of:
The Current Solution
Fork the repository and add the desired aliases manually into the
get_var_dict_from_ctxfunction inrepl_builtins.pyfile.Summary
A feature that allows the user to configure or add jsk py aliases to use in the command.
I don't know if this feature is already possible to do or implemented, so I'm making an issue to make sure.