bot icon indicating copy to clipboard operation
bot copied to clipboard

Inline invokation of commands or tags

Open vcokltfre opened this issue 4 years ago • 5 comments

This proposes the ability to invoke commands (or if not commands generally at least tags) inline in a normal message, for example:

  • command: this is a message {!e print("message")} more message runs the eval command in there
  • tag: Hey, there's actually a tag explaining that: {!customcheck}

vcokltfre avatar May 21 '21 01:05 vcokltfre

I'm not a fan of this idea, it may be pretty confusing. We already have workarounds in place, for example !eval will remove text outside of the code block before evaluating and you can place any text after a tag invocation. I think the syntax is the biggest issue, not a lot of people may understand what it means.

Akarys42 avatar May 21 '21 07:05 Akarys42

I am very much in favour of this, as it would be incredibly useful to me quite commonly. For me, one of the biggest use cases would be inline usage of the docs commands.

There is another issue though: how does it handle multiple invocations in a single message?

laundmo avatar May 25 '21 02:05 laundmo

Perhaps rather than commands in general it's just tags, this removes the complications of all the other commands which can be confusing. As for multiple invocations it would just take the first instance and use that

vcokltfre avatar May 25 '21 02:05 vcokltfre

maybe limit it to commands that are meant to respond with some content, like tags, docs, pypi

laundmo avatar May 27 '21 10:05 laundmo

I would absolutely love this feature. A lot of times I need to send a command, then ping the person and explain to them what it was for. With this I don't have to :D

Objectivitix avatar May 31 '21 12:05 Objectivitix

Closed in 2025 review of open issues. We do not feel there is a large need for this feature.

jb3 avatar Jul 22 '25 20:07 jb3