mikeshardmind / SinbadCogs

A set of community resources
Apache License 2.0
50 stars 48 forks source link

[EmbedMaker] Support advanced templating (e.g. use set parameters passed to command) #182

Closed Jackenmen closed 4 years ago

Jackenmen commented 4 years ago

Stuff that could be part of this (just putting all thoughts, not all of this may make sense to spend dev time on or it may not be a good idea at all):

And you said that it might be good to make it dependent on red#3163 so putting that thought here as well.

mikeshardmind commented 4 years ago

I have some long term ideas on this which I didn't try to spell out in detail with the current issues with Discord's responsiveness (or lack thereof)

I'll be looking to allow safe access to certain things from the invocation context.

I'm unsure if I want to support args to this yet, and may need to give handling this more thought, as whatever converters are exposed for this need to only return formatting safe objects.

If supporting args, I may take the time to first make the formatting safe converters for work upstream in core Red, then utilize them myself for EmbedMaker as well.

Either way, these ideas are all floating on my radar right now and are just waiting to be handled at a point where all prior necessary work is done, and I have time available to handle it.

mikeshardmind commented 4 years ago

Won't be added