pyborg-1up
pyborg-1up copied to clipboard
No unlearn command in discord version
I just got the discord version of pyborg to run, but there doesn't seem to be an unlearn command. Is there a way to implement that or am I missing something?
It is not currently feature compatible with the old school irc mod. The best way to unlearn is to run the linein interface currently. It would be possible to create a command for it (you'd need to add it to mod_http and to the discord builtin commands) but you'd need to do some admin/permissions that we don't have in the discord mod right now. I'm amenable to a PR for it but it's not in my personal usecase.
I'll see what I can do. Maybe I'll add it and create a PR.
Regarding the command line utility, I didn't manage to get that to run. I installed with pip install --pre pyborg and when I run pyborg anything it just gives me a blank line.
a blank line how? pyborg linein is the frontend/mod I was suggesting. you may need to rehash your path its rehash on zsh but idk what it is on bash
C:\Users\Maku>pyborg
C:\Users\Maku>where pyborg
C:\Python38\Scripts\pyborg.exe
C:\Users\Maku>pyborg --help
C:\Users\Maku>pyborg --version
C:\Users\Maku>
How would I do the rehash?
Just tried it again on WSL, works right away. Issue with command line only happens on Windows for me.
rehashing is a unix terminal thing where it queries whats in $PATH. This is some entrypoint issue on windows I'll have to investigate. I have a w10 machine i can test on. I suspect it ought to work if you skip the entrypoint.