837
Oops, wrong person. (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] kromem@lemmy.world 47 points 11 months ago* (last edited 11 months ago)

I don't think the code is doing anything, it looks like it might be the brackets.

That effectively the spam script has like a greedy template matcher that is trying to template the user message with the brackets and either (a) chokes on an exception so that the rest is spit out with no templating processor, or (b) completes so that it doesn't apply templating to the other side of the conversation.

So { a :'b'} might work instead.

this post was submitted on 02 Jan 2024
837 points (99.4% liked)

Programmer Humor

32730 readers
63 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS