Skip to content

args for snippets/aliases #3384

Closed
Closed

Description

@4soobs

Is your feature request related to a problem? Please elaborate.

sometimes i want to reply with a snippet in which i can dynamically change the text just for that reply without actually modifying the snippet itself, e.g. ?link https://www.google.com

Describe the solution you'd like

so let's say the link snippet looks like this:
please check out the following link in order to continue: {arg}

and when someone uses ?link https://www.google.com,
please check out the following link in order to continue: https://www.google.com
will be sent

Does your solution involve any of the following?

  • Logviewer
  • New config option

Describe alternatives you've considered

i don't think there are any alternatives

Who will this benefit?

i think this will benefit people who have snippets that are long in size and who want to dynamically and temporarily (one-time) make snippets appropriate for their situation.

Additional Information

No response

Activity

  1. lorenzo132 commented on Jul 27, 2025

    @lorenzo132
    Member

    Hi,

    This is already possible through an alias.

    If for example you do
    ?alias add link reply Use this link:

    Then do
    ?link https://google.com

    It will then work as you are requestsing.

  2. 4soobs commented on Jul 28, 2025

    @4soobs
    Author

    hi @lorenzo132
    i didn't know about that! thanks for showing me that, however i was leaning more towards the placeholder based solution due to the fact that your approach will work only when you need to add information after a message. say i did

    ?alias add link reply Use this link:
    Thank you for contacting Modmail!
    

    and then did ?link https://google.com. the produced result therefore would be

    Use this link:
    Thank you for contacting Modmail! https://google.com/
    
  3. lorenzo132 commented on Dec 7, 2025

    @lorenzo132
    Member

    Hi,
    I'll be adding this in the near feature.
    This is actually a great feature with alot of use-cases.

    I have added this to my todo list, thanks for the suggestion!

  4. self-assigned this
    on Dec 7, 2025
  5. lorenzo132 commented on Dec 13, 2025

    @lorenzo132
    Member

    Hi, this has been added in #3418

    I'll be closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions