[TSE] Multiple Issues with TagScript Block
& TagScriptEngine
#49
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
question
Further information is requested
Heya lemon,
Opening up an issue if that makes you easier to work on & keep track of -
{shortcircuit}
or{break}
Making
{override}
block to override more commands -- Override doesn't work in quite a few commands - from red's core, mod to other 3rd party cogs - such as in
roletools
It cannot overriderole add
/role remove
currently, commands likeslowmode
(from Mod cog), which it should be able to override, etc.In TSE, the issue with simultaneous usage of command blocks, leads to miss execution of a few.
- In TSE currently ALL 3 command blocks execute/run at the exact same time which is problematic, so adding a delay (for a few milliseconds) or making it so it executes one after another might solve the issue plus it's the right way to do.
4.1 Currently " processing reasons" In TSE, embed block
⚠️ Note that - At the moment with all the "manual attributions" you still can't create the embed having more than 4k characters.
{embed(description)}
- The description is capped at 2k characters, even tho embed description can easily go up to 4096 characters. This cap should be removed.4.2 AND currently in TSE, embed JSON - You can't create an embed having more than 2k characters (even tho the limit is 6k characters in total). This limit should also be removed.
5. This one is not really an issue: But in
{target}
block -Seina-Cogs/tags/mixins/processor.py
Line 138 in 598c237
Can this use/accept
ID
(from the user_message - by checking if the message has user ID ) instead of taking the ID fromuser_mention
!!- Because target block won't work if you pass just the
ID
(of a targeted user), and IDs are the first thing that you copy then you add <@> to make it mention, so being a user you're by default passing IDs first
6. In
Tag global
Seina-Cogs/tags/mixins/commands.py
Line 595 in 3ea973e
tag global add
should behave just like adding a guild tag withtag add
. Currently withtag global add
it does not prompt you to override the tag with new data (so you'll have to delete > add it again).Proposed Updates on TSE
{allowedmention}
block -{allowedmentions(role1, role2, etc)}
(only the mentioned roles will be pinged)tag usage/stats
- Discord sometimes messes up the code block, with their unannounced changes to the API which breaks the embedded code block, Hence its better to ditch the code block and just use an embed for it, which won't get damaged by those changes{lower}
&{upper}
block - Sravan already has PRs for it.{embed(footer)}
from-
,
;
|
~
(users can pick and choose) - as footer breaks with ANY conditional blocks (if
,and
,or
,any
etc) due to the presence of|
.{embed(field)}
is not affected by this tho to keep everything safe, we can also add the same to the field to accept all of the delimiters.(Changing the delimiter to accept Multiple characters would solve the issue, but it won't be a huge breaking change per se. - Fewer tags will be broken if not none, this way)
I think, this is all the problems we have with TSE at the moment, I hope you can get back to this as soon as possible as it's been pending for many months!
The text was updated successfully, but these errors were encountered: