Blockzilla
Blockzilla
Explore posts from servers
DDeno
Created by Blockzilla on 8/3/2023 in #help
Looking for a library to pretty print </br>, <a>, etc tags
As that title says, I'm looking for a library that can pretty print a string containing the mentioned tags, it should also be able to parse &amp; etc, Does such a library exist? Example:
Lorem ipsum dolor sit amet,</br> consectetur adipiscing elit.</br> <b>Aliquam</b> quis augue eu metus efficitur dapibus. Ut pharetra ullamcorper vestibulum
Lorem ipsum dolor sit amet,</br> consectetur adipiscing elit.</br> <b>Aliquam</b> quis augue eu metus efficitur dapibus. Ut pharetra ullamcorper vestibulum
should output something like this: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam quis augue eu metus efficitur dapibus. Ut pharetra ullamcorper vestibulum
10 replies
DIAdiscord.js - Imagine an app
Created by Blockzilla on 7/15/2023 in #djs-questions
are the isCommand() is isText() etc, functions are going to get deprecated?
i recall seeing this somewhere, but either im going crazy and i can't find it anywhere.
42 replies
DDeno
Created by Blockzilla on 6/23/2023 in #help
Deno LSP randomly breaks until a restart (unable to send result to client)
2 replies
DIAdiscord.js - Imagine an app
Created by Blockzilla on 5/21/2023 in #djs-questions
What events are sent out when someone prunes members?
Hypothetically if someone prunes 100 members, the bot receives a audit log prune event. Does it also end up receiving 100 gateway member leave events as well? I'm trying making a logging feature and I don't really have a way to test this. Very annoying but understandable that discord doesn't send the ids of pruned members.
9 replies
DDeno
Created by Blockzilla on 1/8/2023 in #help
Possible to check of a file is being run as worker?
if (import.meta.main) {
main()
}
if (import.meta.main) {
main()
}
is there a way to disable calling main() if the file is being run as worker
3 replies