linkie-discord
linkie-discord copied to clipboard
Allow reusing the last command in DMs
I'm porting a rather large mod from MCP to yarn, and it would be really nice if I could configure default mappings or if linkie could reuse the last mappings without you having to type them every time. It could probably work a couple ways:
The ideal would probably be that if you sent a message without a command it would implicitly reuse the last one you used:
!dv SomeName AnotherName yetAnotherName !dvm someMethod anotherMethod !dv SoManyNames
If that isn't possible, then having an empty command (and/or having the name as the command) would also work
!dv SomeName ! AnotherName !yetAnotherName
Even more ideal would be if it would reuse the last mapping, without carrying over the type (class/method/field)
!dvc SomeClass !m someMethod !f someField SomeAnything
ever considered using an auto remapper https://architectury.github.io/architectury-documentations/docs/forge_loom/using_mcp
I would, however the library is written in Kotlin, so the remapper wouldn't work.