Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i forgor undefined 💀 #392

Closed

Conversation

randomPoison
Copy link
Contributor

NOTE: This PR is meant to be merged after #384, so only the last commit in this PR is actually new. Once #384 gets merged this PR should automatically show only the one new commit.

When using .forget to forget a memory that doesn't exist, the current message is... not ideal:

12:21 PM <randomPoison> .forget asdlkasdjf
12:21 PM <@Hayt> I've forgotten asdlkasdjf is undefined.
12:21 PM <randomPoison> nice

This PR updates the message to one that more directly calls out that they key doesn't exist, which should help people realize when they typed in the wrong key name.

* Add new `replace` command.
* Update existing `rem` command to direct users to `replace` when attempting to overwrite an existing key.
* Update docs to reflect current commands.
Isn't test driven development fun?

oobps
@randomPoison randomPoison deleted the forgor-undefined branch December 28, 2023 09:36
@randomPoison
Copy link
Contributor Author

Okay given the convo I had with @sshirokov in #a it sounds like this wouldn't land for a while anyway, so i'm dropping it in favor of merging the fix into #384 (which also won't land for a while lol).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant