Skip to content

Slash Commands are not replicable #275

Closed

Description

@borgrel

Is your feature request related to a problem? Please describe.
People ask for help and helpers show them tags which explain what they need to know. These same people then go and use the same commands to help other people.

This is how all bots work in all platforms. People see it being used and then they duplicate it.

Unfortunately when u use the command /tag mooc all that is shown to the user is george used /tag. So they will be unable to repeat the action for the benefit of others.

Describe the solution you'd like
Hopefully we can make the command show the sub commands too, not just the top most value.
Otherwise we need to include the tag in the embed footer perhaps.


Proposal

We add an explaining string to the footer, like:

illuminator3 * used /tag id:foo * Today at 7:21 PM

Maybe there is also a better location for this, feel free to experiment with the UX and propose slight changes.

For now, it will be enough to only add this to the /tag command, i.e. TagCommand.java. Other commands are not that user-facing. Maybe also /tex.

If possible, we could invest into a solution that targets all "user facing commands that respond with embeds", maybe by having a specific embed generator class/method that they will use (there is already MessageUtils#generateEmbed). But I am unsure whether this can be made abstract enough so that everyone will actually also use it.

Activity

  1. added
    enhancement
    on Nov 22, 2021
  2. illuminator3 commented on Nov 22, 2021

    @illuminator3
    Contributor

    You can hover over the blue part.
    image

  3. Tais993 commented on Nov 22, 2021

    @Tais993
    Member

    While the full command is visisble, I think we should still display the tag's name in the title.

  4. Zabuzard commented on Nov 23, 2021

    @Zabuzard
    Member

    Maybe in the footer. "illuminator3 * used /tag id:foo * Today at 7:21 PM?

    @borgrel Does that sound good? Can convert this to a "good first issue" then.

  5. borgrel commented on Nov 23, 2021

    @borgrel
    ContributorAuthor

    that should work, we will just have to try and see if ppl notice it or ask 'how did u do that'

  6. added
    enhance command
    good first issue
    and removed
    enhancement
    on Nov 23, 2021
  7. added this to the Improvement phase 1 milestone on Nov 23, 2021
  8. DevSerendipity commented on Dec 7, 2021

    @DevSerendipity
    Contributor

    Currently working on this issue, could I be assigned to it?

  9. Zabuzard commented on Dec 7, 2021

    @Zabuzard
    Member

    Currently working on this issue, could I be assigned to it?

    Sure, enjoy! :)

  10. linked a pull request that will close this issueAdding tag used in the footer #308on Dec 7, 2021
  11. linked a pull request that will close this issueAdding tag used in the footer #309on Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhance commandgood first issuepriority: normal

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions