Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Default arguments for slash commands #1041

Open
3 tasks done
Sqaaakoi opened this issue Aug 15, 2024 · 0 comments
Open
3 tasks done

Default arguments for slash commands #1041

Sqaaakoi opened this issue Aug 15, 2024 · 0 comments

Comments

@Sqaaakoi
Copy link

Plugin Description

Optional slash commands in some bots are sometimes programmed to default to an option you'd rather not use. A real world example is esmBot's /speechbubble, where I would almost always set alpha to True and flip to True.

Regarding UI for this, maybe a chatbar button could be added while writing a slash command to set/temporarily disable default arguments?
I am unsure if the arguments should be injected directly into the chatbox as if you typed them normally, or if they should be added only in the request. If the latter option is chosen, a "Ignore default value" or similar option could be added to multi-choice arguments.
I don't know exactly how the settings component should look like.

Note: I am only making this request as I was reminded of the idea after 4 months, and while I do have the skills to make this myself, I am not personally committed to building this yet.

Existing Plugin for other mod

No response

Request Agreement

  • I read the above and made sure my plugin is possible and allowed
  • I checked the existing plugins and made sure my plugin doesn't already exist
  • I searched the existing issues and made sure a similar request doesn't already exist
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant