Better customtext management #5360
Unanswered
Andre601
asked this question in
Ideas and Feature Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now any
/customtextvalue is stored inside a singlecustom.txtfile.This feels extremely weird as you have to deal with a somewhat unusual system for creating different chapters (Using
#textfor chapters) and also suffering the problem that text is auto-paginated if it goes beyond 9 lines.My suggestion is to update the system to use a dedicated
customtextfolder, where each chapter would be its own file to manage.In addition could the files allow the usage of settings through a YAML-frontmatter like formatting to change stuff like the split/pagination behaviour.
As an example, if I want to make a
/customtext votingcommand that prints a text without any pagination, I would make acustomtext/voting.txtfile with the following content:This would print all lines without any pagination when using
/customtext votingAdditionally, to make the creation of new TXT entries easier could perhaps a
--createoption be considered?It would essentially create a bare-bones example using the provided name as file name. I.e.
/customtext newtext --createwould create a file callednewtext.txtAlternatively could it be its own dedicated command (or you would use a specific subcommand, but that may break existing setups)
Beta Was this translation helpful? Give feedback.
All reactions