#πͺ -progaming
1 messages Β· Page 7 of 1

why do u wanna know?
ohh wait
the pronoundb plugin is unnecessary since discord introduced it as a native plugin but it has a few features discord doesn't like displaying pronouns in chat for easier viewing w/o opening a profile for that
India and u?
not u
wondering if there's a language barrier, if so we might have to change up how we speak. In case you're translating 
i was talking to lusaffi
yeah that's why i asked lol

nah its fine dw about it
yes, but i was there to answer the question idk what's the problem
i know ur pronouns ur a girl i got u

you can see it in all profiles normally thanks to Discord's update a while back
ohh so she was telling the truth all along i thought its a website for coding
that's not right either but sure
i'm just gonna go good luck
ok bye u too
LMFAO
ohh ok got u
bro listen u there?
ur a girl?
Who are you and why are you being so weird
yes
can u help me with coding please\
π
idk I dont wanna confuse things lol
Not you, Flether lol
im flether and im normal
i know 
just curious about thing on internet
can we be friends please
irl means?
which one?
All computer science courses in order
In Real Life :3
ohh ok got u
thanks for that
how old r u?
i think ur an adult
yeah, 21 
where r u from?
and by the way im 17
USA
and what do u work?
cool which state?
Data Entry, Washington (not DC)
ohh
whats data entry?
u dont have a college?
that job title sounds as boring as it could possibly be
nah i think its interesting thooo
wont bore you, but basically just take info and put it into a different system to save the data
like data analitics?
Shouldn't that be script work
shhhh I'm a valued part of the company
ohh im gonna do my specialization in data science and data analitics
cant let them know I have it all scripted lmao
lmfao yep
based af
congrates
wdym?
it's a good place to go, easy work
soooo free money basically?
whats lmfao and lmao????
agree
not really u need brains and smart work
when I don't want to do work, I just let a script run and it read the info, and puts it where it needs to go. No human interaction
I have to put in fake errors every so often cus it works too well 

bro can u teach me please
oh that's a neat site
I usually just use urban dictionary, I like that
please i will do what ever u want but please help me and teach me please
eh it's pretty simple, read text > find Excel Category > Go to empty slot > fill in info
all the script does
teaching yourself the art of scripting ain't that hard
I have a manual script that's just a few keybinds set to just find a slot when I hit it, I type something (like Patient Name) > then hit the next tab to zoom me over to the next field
i didnt get a single thing
sorry
when I wanna actually do stuff I just use the manual script 
you'll figure things out in time, coding is trial and error
but when ur blank everything is error
if something is blank, in terms it wouldn't really be an error, just empty. Like having a box with nothing in it, that box can be anything you want
bro i have a doubt
ohh nice idea
anyone can help me with the odins project please
anyone here?
π π
You need to read it yourself, and if you need help with a particular part, ask about that part
which course to start with?
in the odin project?
Since youβve not programmed before, the foundations course
ok thanks brother
god bless u'
the irony xd
π₯Ά
lmfao
Thanks
you're welcome
vesktop wayland support when
welp you made me switch to wayland/sway now, let's see how many stupid issues I run into now ;-;
(except for obs not working)
OBS does work with pipewire
and not being able to screenshare Β―_(γ)_/Β―
How in the ever living fuck do I install an extension I compiled myself to firefox (not developer edition), perminantly
I can install it in developer firefox after
about:config set xpinstall.signatures.required to false
and adding
"browser_specific_settings": {
"gecko": {
"id": "insert your email here"
}
},
to the manifest.json
how the fuck do I install it in NORMAL firefox
about:debugging#/runtime/this-firefox lets me load it temporarily, but not PERMANENTLY
ALL I want to do is modify a SINGLE FUNCTION
PLEASE help
Ok so it turns out its very easy to switch to firefox developer edition seamlessly
just go to about:profiles and change it to use your normal firefox pfofile
make a backup before you do this, as vanilla firefox won't want to use it after developer editon touches it
WHAT DO YOU MEAN TYPESCRIPT
https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification#image
have you tried image!
maybe it being a baby about it possibly being undefined
you don't
-w
https://github.com/Dj0ulo/OptiSearch
Is what I am doing morally wrong?
I guess you do then Β―_(γ)_/Β―
I don't think $1/month for the feature I want (chat in search page), is fair
If they had something cheaper for tiers that don't include paid LLMs then I would happily do it
i don't think that works
that's for accessing a nullable property
works for me in my project /shrug
not like that
{
test: value!
}
where value is Thing | undefined
wait their paid tier doesn't even include paid LLMs, all it gives you is access to chat in search
ohh
but the image prop doesn't exist in the first place

they stay when I click them
oh
well
I figured it out yeah
but it asks me for a fucking credit card so I just noped out anyway
I just looooove how enshittified everything is
I have literally went through the effort of pirating literally everything I have ever bought due to paranoia that it will get taken away from me because of some bullshit
ended up using a framework
WHY DID YOU CANCEL
the screen recorder on gnome is weird and skips the first seconds
i did ok first time
oh ok 
balges hanceled
Does anyone know why bookmarklet error msgs aren't showing up on translate.google.com and groups.google.com?
They both have this warning thing
and error msgs show up on other pages
and bookmarklets do work on the page
you can overwrite console.error
so that's what those websites are doing?
is there a way to unoverride it (make the errors show)?
It's kinda annoying not being able to see error msgs here, it was confusing me for like 10 mins earlier

what is currenlty the most well-maintained list of mappings of discord classes?
for theme development
i am using the scss placeholders from https://github.com/ClearVision/ClearVision-v6
but if there's anything better, i'd love to hear abou it
Is this programming chanel for all langauges? and is it for only vencord related stuff?
its for anything
ok cool, thanks
?
im trying to reverse engineer discord
right now the updater is working
but it cant launch the app itself
find it yourself
there are various tools for searching files on your system
just google how to do it
groundhog day moment
i found it
but it still says cannot find module
~/.config/discord/0.0.54/modules/discord_desktop_core
my version is set (spoofed) to 0.0.396
so why not rename
IT WORKS
got into the login screen
it also uses pure electron
29
unlike the newer versions
this one can be downgradable
might make mods
you only need a copy of build_info.json and discord's modules folder
to run it
it took a few minutes (errors) to launch
killing kwallet fixed the errors
Hi, guys. Who knows how to transfer the "voice activity" plugin to vencord ? I have a js code.
is it betterdiscord?
Is the fact that the compiler throws Unexpected tokens when you use a custom getter inside a function a compiler bug?
fun foo(name: String) {
val bar get() = "explode" + name // Unexpected tokens
}
try adding a newline before
it does not work
im banned from using krisp
how?
well i get a 403 while downloading discord_krisp-0.zip
wait, I don't think you can use getters on locals
only fields
skill issue
imagine not getting banned from krisp
You canβt use getters in a function
so bad
who likes krisp anyways
krisp is very useful lol
echo canceller Β―_(γ)_/Β―
yo i made a base64 plugin that uses the same span as the translation plugin however te base64 plugin always breaks the translation plugin, is there anyway to fix this other than constantly disabling and renabling it?
wait lemme send the code
const messagePatch: NavContextMenuPatchCallback = (children, { message }) => {
if (!message.content) return;
const group = findGroupChildrenByChildId("copy-text", children);
if (!group) return;
group.splice(
group.findIndex(c => c?.props?.id === "copy-text") + 1,
0,
<Menu.MenuItem
id="vc-base64dec"
label="Decode"
icon={QuoteIcon}
action={() => {
const accessoryId = `vc-translation-${message.id}`;
handleDecodeMessage(message.id, message.content);
}}
/>
);
};
const TranslationSetters = new Map<string, (v: string | undefined) => void>();
function handleDecodeMessage(messageId: string, encodedMessage: string) {
const decodedMessage = decode(encodedMessage);
TranslationSetters.get(messageId)?.(decodedMessage);
}
function TranslationAccessory({ message }: { message: Message }) {
const [translation, setTranslation] = useState<string | undefined>();
useEffect(() => {
TranslationSetters.set(message.id, setTranslation);
return () => {
TranslationSetters.delete(message.id);
};
}, [message.id]);
if (!translation) return null;
return (
<span className="vc-base64-accessory" data-accessory-id={`vc-translation-${message.id}`}>
{translation}
<button onClick={() => setTranslation(undefined)}>Dismiss</button>
</span>
);
}
export default definePlugin({
name: "Base 64",
description: "Adds the ability to decode a base64 message",
authors: [Devs.Samwich],
dependencies: ["CommandsAPI"],
contextMenus: {
"message": messagePatch,
},
start() {
addAccessory("vc-translation", (props) => <TranslationAccessory message={props.message} />);
},
stop() {
removeAccessory("vc-translation");
},
commands: [
{
name: "Encode",
description: "Base64 encoding",
options: [
{
name: "message",
description: "Message to be encoded",
type: ApplicationCommandOptionType.STRING,
required: true,
}
],
execute: opts => ({
content: encode(findOption(opts, "message", "")),
}),
},
{
name: "Decode",
description: "Base 64 decoding but as a message",
inputType: ApplicationCommandInputType.BUILT_IN,
options: [
{
name: "message",
description: "Message to be decoded",
type: ApplicationCommandOptionType.STRING,
required: true,
},
{
name: "send",
description: "Do you want the decoded message to be sent?",
type: ApplicationCommandOptionType.BOOLEAN,
required: false,
}
],
execute: (opts) => {
const message = findOption(opts, "message", "");
const send = findOption(opts, "send", false);
const decodedMessage = atob(message);
const channel = SelectedChannelStore.getChannelId();
if (!send) {
sendBotMessage(
channel,
{
content: decodedMessage,
author: UserStore.getCurrentUser()
}
);
} else {
sendMessage(channel, {
content: decodedMessage,
});
}
}
}
]
});
forgive the horrible code
i just need to know if theres a workaround to breaking the translation plugin
as it uses the same span
how the fuck
how do i check if a user has nitro
?
I'm not manually printing an error to the console
I made a typo in a bookmarklet, and it didn't work and I couldn't find where I made the error
random react question: what's the best practice for updating a component with an external variable? this is my solution right now, but i'm not sure if it's the best practice
export default function CanvasToolbar() {
const [selected, setSelected] = useState<CanvasNode | undefined>(undefined);
function onSelect() {
setSelected(Mouse.selected);
}
useEffect(() => {
Mouse.events.on("select", onSelect);
return () => {
Mouse.events.off("select", onSelect);
};
}, []);
return (<div>{selected?.name ?? "None"}</div>}
}
how do i uh, do that
its right there
premiumType > 0
i saw someone say that premiumType was like the old version or something
.
which was why i was confused
in the api responses it's snake case but everywhere else it's camel cased
ah okay
is there a way to get a server id from a message object? theres channel_id but no server id
does message.guildId not work?
why do I get <@&1027248917756268596> error when I join a discord clan
oh hell nah did I ping someone
did I ping someone

you pinged a role
does someone have this role
idk wait and find out 
what is <@&1027248917756268596> error
bump (ping reply please)
Have you tried https://react.dev/reference/react/useSyncExternalStore
const selected = useSyncExternalStore((onSelect) => {
Mouse.events.on("select", onSelect);
return () => {
Mouse.events.off("select", onSelect);
};
}, () => Mouse.selected);
Try this
that's much better, thanks
you have to fetch the guild separately
usually libraries will cache it for you though
or no
fetch the channel
channels have guild id
thank chuu <3
^
messages don't have guild id
iirc gateway message events have it
if you have guild intent you should not fetch it but retrieve from cache :)
.
i could not read
i love fixing dumb edgecases
i have a message in one of my servers that has a non-bot webhook 
idk if it's intended functionality -- it just came from a server i subscribed to
but i don't think there's an option to have the author proxy instead of showing the server
nvm i just realized it doesn't work, it doesn't update
yes
this was a bug for a small amt of time
where crossposted messages would have both a webhook ID and regular author
ah πΏ
gm
well ive changed but the error is still:
Uncaught (in promise) TypeError: lS.get(...) is not a function
at cS (TranslationAccessory.tsx:29:37)
at onClick (index.tsx:81:21)
and I do know it is the plugin I showed that breaks it
ok
i hate duke
good to know

is this maybe bad practice 
in theory the time will vary based on how many characters match
but cmon
@native spruce https://github.com/stadust/pointercrate/pull/135
you love
guessing flexbox and when you hide it set overflow: hidden on a while width goes down
then when you are done unhiding remove overflow:hidden
thanks but i should have deleted my message, i got a solution :)
oh ok :3 meow
i love making websites nobody will use
No care in the world since Iβm not doing auth anymore

is there an article how not to be dum

doing stuff like this without proper research is how you end up with problems later on i think
what exactly do u want to do
i assume the access tokens are sufficiently long and randomly generated, in which case it should be fine if you store them hashed
they're already random though so why would you hash
for the same reason you dont store passwords in clear text in a database
huh? that's because people reuse passwords. people don't reuse tokens π
oh, those kinda tokens, i was thinking you were doing smth else and of another type of token

hash the token and lookup
but doesn't that achieve exactly nothing
you generate random bytes as hex
then you store the hash as hex

what's the point using jwt with database
are you not doing jwt
i'm not
you can't manually expire unless you store everything you want to invalidate
which is just pointless because the main thing jwt achieves is not needing db lookup, right?
storing data within the token
when i used it i just made the payload a user id and a token id
which i could use for invalidation
auth is weird and im glad i don't have to deal with it anymore
the entire point of using tokens is that you can also use them to fetch data, no?
if you don't need to do that, why not just generate random bytes as token
that's what vencloud does
it doesn't store ur oauth token
i need to store the valid tokens for a user
i doubt that would be too vulnerable - it's not like you'd be able to measure the time it takes to compare strings to brute force?

it's over http soo
oh yeah
hasing it is pointless
somebody else was suggesting it
i mean if u really don't need the tokens and just need to check if u have them or not then hashing isn't a bad idea
for slightly better security if u ever get hacked
how does it improve seucirty
if there's a data breach
what are people gonna do? use the token on other sites
π
they can use them to access whatever the tokens are allowed to access
good point
however if they could read the tokens they could likely also write them (e.g. in sql injections)
is there just a secure way to check whether a list contains something in sql
i think it might just be checking
hey ya'll, did the docker image for vencloud get moved? I've had a broken instance for a while and am finally looking into setting it up again, but the docker image I'm trying to pull just doesn't exist anymore
vencord/backend (pulling from docker hub)
i don't think it's published anywhere?
you just clone and run command https://github.com/Vencord/Vencloud
oh, I have to build it myself? gotcha
got it working, thanks!
so I know custom builds aren't really supported, but I was wondering if it was possible to use a custom build of vencord with vesktop? I have a lot of custom plugins that I use and would like them on my linux devices as well. I'd expect I'd need to compile vesktop from source, but the source directions don't include an obvious way to change the location vencord is installed from (if that is indeed how it works, that is)
scroll down in vesktop settings
oh
from there you can set the vencord dist location (which you get from building vencord ;p)
oh that's simpler than I was expecting, thanks!
~~How can I get the src of these imgs and log them all to console joined by \n in one line?
I tried using .map and .forEach, but couldn't get it to work
javascript: console.log(document.querySelectorAll("table.wikitable tbody tr td:first-child img"));
```~~
solved in below msg
oh with Array.from
javascript: console.log(Array.from(document.querySelectorAll("table.wikitable tbody tr td:first-child img")).map(img => img.src).join("\n"));
what's the output of just console.log(Array.from(...))?
oh
well it wouldn't have the src's
doesn't really matter though
i just needed to extract image links from a wiki rq
joined by \n in one line
excuse me what? \n but no new lines?
do you mean you want \n in the output? then do \n
as long as your selector is correct that should just work
one line of code
I already got it
and no that doesnt work bc that's just a nodelist of the elements
not the src, and not joined by /n
ah
I meant the one with array.from(
ah
next time make it more clear you found the soluton
the edit you did now is good
found pretty much the same thing on stackoverflow and made that
[...querySelectorAll()].map
is also an option
the square brackets?
ok
The spread (...) syntax allows an iterable, such as an array or string, to be expanded in places where zero or more arguments (for function calls) or elements (for array literals) are expected. In an object literal, the spread syntax enumerates the properties of an object and adds the key-value pairs to the object being created.
me personally when i want to split a string on something thats not just "" i use the spread operator and override string.prototype[symbol.iterator]

|| /jk ||
Microsoft unveiled it's new Copilot-plus PC that features a Snapdragon ARM chip and is tightly integrated with artificial intelligence. Take a look at the future of computing with AI
#tech #ai #thecodereport
π¬ Chat with Me on Discord
π Resources
Copilot Plus PC https://blogs.microsoft.com/blog/2024/05/20/introdu...
horror
actually false
the spread operator correctly handles unicode while split doesn't
ve
console.log("spread", [..."π hello"])
console.log("split", "π hello".split(""))
undefined```
'spread' [
'π', ' ', 'h',
'e', 'l', 'l',
'o'
]
'split' [ '\ud83c', '\udfc6', ' ', 'h', 'e', 'l', 'l', 'o' ]```
what the fuck?

good language
Is anyone aware of some resources to learn more about electron apps? a quick search didn't reveal much
Javascript being Javascriptβ¦
actually true 
"π hello".split(/(?:)/u)
omg
meow machine
10m iterations, using regex seems to be the slowest one which was kind obviously
Spread
2028ms
Split ""
2032ms
Split /(?:)/u
5547ms
why is spread the fastest π
Idk, but 4ms difference isn't that much
And it looks like we have spread as a winner everywhere
real
Its impossible to understand javascript π
knowing js it has to emulate some weird extremely specific edge case
nothing will ever be deleted/get major change in js because of backwards compatibility
spread operator is new
and split isnt
it makes sense probably?
spread just calls the string iterator which yields all the codepoints in the string. that should be faster than scanning the entire string and comparing against your needle
what do you guys think of https://github.com/Equicord/Equicord
Not cute enough
vencord if it was corporate
Doesn't even say what it adds
Vencord+
wants to be Vencord+ so bad
vencord but with a plugin that vee didn't merge
(will not be supported for more than a couple months at best)
True
how do I PR a repo that I already have forked
like how do I fork equicord so I can remove clienttheme from it
uhhh
I figured it out
https://github.com/Equicord/Equicord/pull/4
i don't think they are required to remove your plugin
ok what do you guys think abt https://github.com/ArmCord/ArmCord
That is true
the license permits them to keep it
true but I would like to try
Based client
yeah armcords cool
see the only reason i use armcord is vencord has go in it
but armcord doesn't
so...
(i mean the installer)
armcord isn't anticute
anticute π
i have read the entire readme and website and i still dont know what this adds besides basic vencord features
I need to rewrite a bunch of that B's that fox wrote he's very annoying sometimes which is why he's not touching it anymore
Think their name was foxstorm1
I genuinely just used it because they wrote it
infighting in equicord uh oh!
Everytime they touch it they break the code
They said they won't touch it anymore tho lol so we good for now
I do also need to rewrite the readme and fix the installer stuff
I forgot I even had a website tf
I should shut that off
what does this even mean
it says what it means
and what it says is not a lot
seems pretty understandable
they're pausing development for the time being due to some events
at least you can read 
I messed around and published a package using JSR tonight
I am a massive, massive fan

it's so much better than npm's dx in pretty much every conceivable way, it took like 10 minutes to go from empty directory to packaged being auto published from github actions
they just found #1032200195582197831
i mean idc that my stuff is in there i just don't use it 
what do you guys think of https://github.com/powercord-org/powercord and https://github.com/replugged-org/replugged
haven't used replugged but seems like less shit BD
mid
replugged is not too bad tbh
Wasn't but nowadays it crashes all the time and is barely maintained
one of the replugged developers is a literal nazi (super racist, transphobic, etc) and they deleted the issue when they got called out on it π€‘
I dont think thats the definition of "nazi"
And I wouldnt say colin is super racist or transphobic
nazi might be a stretch but they do seem pretty bigoted iirc
we can argue over words, but that kind of combination of bigoted stuff is typical neo-nazi stuff... could say MAGA instead, as he's shown himself to be a pretty big trump supporter
but you are insane if you claim that he is not super racist and transphobic. he was literally one of the people who harassed maisy and made her eol vendetta and disappear from the internet. and there was plenty of racism and other stuff on his twitter.
Can I see that harrasment you are talking about
I discussed that before on different server but nobody bothered to send screenshots
I think he said some stuff to maisy about transistion but I still dont know what he said about it
i don't have screenshots of the maisy situation either, i asked back then. but it was backed up by multiple people that he said stuff like maisy was "groomed into" being trans. i doubt people would lie about this, but either way this is just the icing on the cake, there's plenty of evidence of him liking/retweeting transphobic, racist and other bigoted/right wing bs.
His Twitter likes were 2 years ago, and that doesnt prove anything
Not supporting transexuality!=transphobia
"not supporting you being alive isn't wishing you were dead"
i guess not actively showing support i.e saying pro-trans stuff isn't transphobia
?
I never said something like that
You are trying to dramatize it
sounds like a similar thing tbh
Not supporting transexuality doesnt mean "lets kill them all"
what does it mean then?
You can be aganist it by just trying to convince people to not do it
that's transphobic
No?
So you are telling me everyone has to blindly say its a good thing and otherwise you sre transphobic
Transphobia is harrassing bullying trans people etc. Not this
while i let mantika and toad argue of what transphobia is:
powercord was great, however, cynthia
replugged is a half-baked mod with a poor plugin ecosystem
even shelter could be better
i don't think there's anything more i can say
π₯΄
I think it was a little unlucky especially after SWC change
Vencord took off and people either sticked into betterdiscord ot Vencord
yop
Replugged took long time to rewrite
By the time they finished it, it was late
@nimble bone is it true you are blocked from husk
If you want a honest answer
Mixed
I like the new explorer tabs and upgraded native apps like note pad taskmanager
But I hate how them implemented AI into everything
And also start menu
So sticking to w10 until its over
who wants to help me make a uhhh
android version of discord client
i have the files and stuff i just don't know how to make it android
people keep telling me it's gonna eol
AntiHusk exploded
You love AI powered auto screenshot tool
NO
"trying to convince people not to do it" is basically equivalent to conversion therapy. it's not a thing people do for fun just because they want to. getting them to repress their feelings is highly likely to lead to them attempting suicide in the future.
well thats why you should think lots of time before doing it
gender change is not something very simple
if you didnt make your mind completely then you shouldnt do it
chat this is programming
and if you did why are you complaining some persons words
true
speaking of
is there like a proper way to modularize ur code base to account for subcommands using discord.js
or am i just retarded
step 1: don't use discord.js
actually discord.js is one of the nicer libs I've tried

what is the best lib to use if you want to use js
i always used discord.py
scared to learn what other libs you've tried
discord.js try not to split into a billion seperate modules with utility functions for everything (impossible)
discord.js more like discord.java
guild.members.fetch(id)?
oceanicjs is good
like i think it's part of GuildMemberStore i forgot i'm dumb as hell
or maybe detritus
https://discord.com/api/v9/users/734373931783553095/profile?with_mutual_guilds=true&with_mutual_friends=true&with_mutual_friends_count=false&guild_id=1015060230222131221
that's what vesktop sent in ctrl+shift+i Β―_(γ)_/Β―

i looked into it more both seem out of date
discord.js and oceanic.js only ones that are usable (if you use js)
oceanic sometimes breaks 
idk if discord.js does
well obviously i mean in major ways
reactions are broken in the latest version and no new version has been released since the fix which is kind of annoying
oof
actually
seyfert looks cool too
their memory usage benchmarks are weird
it shows them as lowest obvs
then oceanic as higher than discord.js which i don't think can possibly be true π
looking for GuildMemberStore.getMember(guildId, userId)?
they havent had a major backwards compat break in about 2 years
^^ this only checks cache though
if you need to fetch it use the gateway
i mean a major issue with functionality
y'all know how to fix this? https://i.ibb.co/vv90529/image.png
why is neovim being dumb
?
it thinks the // inside the string is the start of a comment
in fact, there seems to be more wrong there
Do you use tree sitter?
i don't think so, my setup is pretty basic because lazy
Basic language highlighting is really dumb without it
Parser are written in C as far as i know and it structures your code for highlighting instead of doing regex
ok just installed treesitter and the typescript parser, looks much better now
maybe it's parsing it as javascript and just... dying

:Ρ
hi luna
hi
Oh, cool somebody finally figured it out...
As you probably know, the Microsoft Security Center has an API that lets you query which AV is installed and whether it is up-to-date.
What is less well-known, is that it also has another, not publicly known API, that lets you tell it "I'm installing another AV now, please disable Defender". This is what all other AV products use. Microsoft has provided to them documentation of this API but under NDA.
Many years ago, I made a proof-of-concept - a small VBScript script that would use this API via WMI to "install" an imaginary AV, thus turning off Defender - but since it was based on information learned under NDA, I obviously couldn't make it public.
Now somebody has reverse-engineered the API from AVAST and has done pretty much the same (albeit a bit over-complicated) in C++:
Turbowarp is recommended:
https://turbowarp.org/908626779
Or use Turbowarp with pointerlock:
https://experiments.turbowarp.org/pointerlock/908626779
Project not downloading? Try this version with stamped triangles turned off:
https://turbowarp.org/938330986
Controls
WASD - Walk around
Space - Jump
Shift - Sneak (Turbowarp only)
R - Sneak (Vani...
@neon bear insanity
Undocumented functions are funny as fuck
undocumented av bypass
There is a really good line from liken
An 80s movie
It's an iconic movien
There were laws.made because of that movie
"Backdoors are not secrets."
:3
:3
discord.js server
D.js's server in a nutshell
red is kinda real tho
arch wiki FRFR
why are you repeating my punchline
you husk but i really can't stand people who don't do their own research
like often people ask questions they could just copy paste into google and find the answer
help vampires
yeah but the image is talking about scenarios where googling doesn't help
ive had countless issues where i google it
first link is a reddit post
and only comment is "lol google it you tard"
The worst is when the only result is a reddit post that matches your exact problem and the only comment is βsameβ
β r e c u r s i o n β
to understand recursion, see my message below
to understand recursion, see my message above
*** stack smashing detected ***
yo i wanna try porting some third party plugins into a user app thing but can they open modals?
if they cant open modals ill need to recode some parts of it
can they open modals
Yes; inputs are text only though https://discord.com/developers/docs/interactions/overview#modals
do you know if they are able to display images as i dont think it says that in the docs
nop
you're best off sending an ephemeral message and playing around with those new gallery components
dammit
my friends dunno how to get the dev build of vencord and they want the quoter plugin so i was gunna port it
nah i was hoping to basically just be able to copy paste the code with a few mods
not having to recode it
computer
uuh eblaborate
computer 
i love compuiters
TL;DR: We've been on the Cloudflare Business plan ($250/month) for years. They suddenly contacted us and asked us to either pay them $120k up front for one year of Enterprise within 24 hours or they would take down all of our domains. While this escalated up our business we had 3 sales calls with them, trying to figure out what was happening and...
:3

good read
They were extraordinarily underpaying for the traffic cloudflare was dealing with. I assume cloudflare themselves tried to contact them before and it got swept under the rug or there is missing context. I forgot the first email was 2 weeks eariler and "We politely declined, a bit confused as to the tone of the email."
the contract being whatever cloudflare thinks you'll pay is just how its done as well
I mean its why there is no specifc pricing on cloudclares website. its customer specifc
I guess cloudflare could have been more clear on the "problem" with their account
the news at 11: german woman arrested for hate crimes
The biggest issues ive seen from cloudflare is their services dying like twice due to internal mismanagement and them breaking their own no censorship guidlines
you don't get arrested for hate crimes in germany
you get elected (in 2025)
you will
(they're making an exception for you)
(racism)
who want they stack smashed
horror
i would rather my services be bombed by some non-megacorp
can you find me wireguard obfuscation magic
from the comments i've read the one that makes the most sense to me is:
cloudflare automatic "upgrade to enterprise" triggered
they look closely at the site and discover its a casino/gambling site
they dont want to take legal risk or ip reputation or whatever so they suspend them
failure to communicate the actual reason for suspension
cloudflare gave them a 2 week notice to do something about their account and they denied it so CF 2 weeks later forced a contract on them because they were sevely underpaying for the resources they used
yeah but i dont see why cloudflare would just throw away their contract and not negotiate with them
at the end
I assume the casino part did play a role in that
cloudflare for a good part decides what gets to get hosted on the internet and i would prefer that they kept their no censorship internal guidline but they broke it with kiwifarms
Cloudflare as a company has the right to pick and chose who they want to host as a private company however i do think there is a moral obligation for them to be indifferent of all possible customers
i think a company with this much influence should lose the choice to decide who they want to host or not host
for the greater good of humanity
Unfortunately most of the world has lost the ability to understand that supporting something in any way is not explicitly endorsing it.
where's the dum bot
@pearl stag hi
No
Sent from my iPhone.
alive
@pearl stag bye
see, the thing about the whole cloudflare situation is:
- they were definitely super shitty and untransparent, they should not have arbitrary unwritten limits on their "free" plan and intentionally be vague about it.
- it seems like the casino was probably running afoul of several regulations, so it kinda makes sense why they didn't want to risk having them as a customer anymore, especially if they don't pay for BYOI (bring your own ip) which reduces would reduce potential reputation harm to cloudflare ips. but then again, they were not transparent about this in the slightest, they just said "you have to pay up because we said so".
- neutrality is a good idea for the most part, but they very much should be allowed to suspend service in certain cases like clear unambiguous ToS violations, e.g. outright malware (for non-educational purposes), or illegal stuff, or stuff like kiwifarms which causes a lot of real world harm (ironically, they dragged their feet a lot on this one, themselves trying to take neutrality to the extreme to the point of platforming literal nazis, despite nobody forcing them to do so).
i think this "nobody forcing them to platform literal nazis" is very dangerous
once they start doing that, they're essentially policing what content is allowed and what isn't and that can quickly lead to them censoring innocent content
it's the same reason why freedom of speech is so important, even if it means people can say dumb opinions
yes kiwifarms bad but we should really not have a company as powerful as cloudflare policing what content is allowed and what isn't
no company or government can be trusted with that
their argument was similar, except it was not about leading to themselves deciding to self-censor more broad categories of consent (which makes little sense), but rather making it easier for governments to try to persuade them to censor content by pointing to the fact that they've censored content before. which, don't get me wrong, is an understandable concern, but honestly the harm done by kiwifarms far outweighs the risk of them having a harder time fighting requests to censor content. no offense, but if you start a sentence with "yes, kiwifarms is bad, but", you've completely lost the plot.
agree to disagree
cloudflare had valid reasons to want them to pay more cuz they were causing them to lose money in many ways, but the way they tried to bully them was fucked
they had enough incentive already that they would probably have kept them as a customer on the enterprise plan if they were just upfront
the article only shows communication with cf sales rep which is weird since in a situation like that with the heavy regulations you wouldnt send only sales reps to communicate with them
Hi
don't
hi :3
3:
ok outta curiosity is there any reason we cant just inject vencord onto a rooted phones discord like we would do on any other arm processor?
Vf mobile
Damn doesnβt work here
Well discord desktop and the discord app are made completely differently, thereβs no good way to inject vencord into it
me when vf mobile
yeah ive read that and from my understanding it just runs an injected version of web discord from the app
yes
i mean like inject it directly into the app with a rooted phone
any reason what wouldnt work?
nah i wwasnt actually gunna do it i was js curious
wait so is discord mobile entirely built on a diffrent language?/
or issit just the framework
it is made with react native, js is compiled into some bytecode (or at least not directly viewable), it doesn't use html (div etc), so everything must be made specifically to it
wait so then how do other applications that patch discord on mob work e.g aliu or pyon cord
like for a rooted and unrooted device its injected directly in but how?
rooted = can be injected using xposed while you use stock discord app
unrooted = just a modified apk with the mod directly injected into it
still possible to modify it, just in an entirely different way from the desktop app
yeah but how do the changes work?
they just modify the java code of discord or whatever it is presumably
idek
maybe not because cross platform mods exist and ios isn't java
probably something with react directly
aliucord: plugins are like xposed modules since the codebase is in java 
Do you think it would be possible to automatically block any user who spams NSFW discord links?
how would you even...? Detect that
regex π₯π₯
doesnt discord prevent the link to embed if its nsfw on a channel thats not
i know its not 100% accurate but
also what is spam: 1 link? 5 links? in what time span? who defines what url is nsfw? some urls host both sfw and nsfw content lol
You would need a database of those discord severs or something of the sort
Or you could make the user add a blacklist however I still think a database or dictionary is more viable
Then you can just use the api to extract the server name from the invite link
I took it from this stack overflow link
Do you know how to disable cors limit from discord ?
bruh
Apis always bypass cors
i wanted to make a non vencord script that use my server things
discord api ?
or other api ?
because i made a thing to use cors on a nodejs server
i absolutly need to fetch some data from a replit express server
From replit or discord
Like where are you sending thr request from
from my replit
from discord.com
Its a tampermonkey script
So I can't use vencord
Does replit not have an api you can use?
nope
because of discord cors
wait
VM14924 43455.8c79ce3.js:23 Refused to connect to 'mywebsiteurldontmindi putted real link' because it violates the following Content Security Policy directive: "connect-src 'self' https://status.discordapp.com https://status.discord.com https://support.discordapp.com https://support.discord.com https://discordapp.com https://discord.com https://discord-attachments-uploads-prd.storage.googleapis.com https://cdn.discordapp.com https://media.discordapp.net https://images-ext-1.discordapp.net https://images-ext-2.discordapp.net https://router.discordapp.net wss://*.discord.gg https://best.discord.media https://latency.discord.media wss://*.discord.media wss://dealer.spotify.com https://api.spotify.com https://music.amazon.com/embed/oembed https://sentry.io https://api.twitch.tv https://api.stripe.com https://api.braintreegateway.com https://client-analytics.braintreegateway.com https://*.braintree-api.com https://www.googleapis.com https://*.algolianet.com https://*.hcaptcha.com https://hcaptcha.com https://*.algolia.net ws://127.0.0.1:* http://127.0.0.1:*".
Discord cors only happens if you are making a fetch request i think
how to get data from external without fetchin
Wait what's the current code ur using?
Well there's always curl to get html and regex to parse
Always a healthy thing to rely on
we can use curl in JS ???
vanilla js also
don't forget this is a tampermonkey script
Are you fetching the tampermonkey script or is the code run there
Wait js to confirm ur current code uses a fetch request??
i can use a fetch request to get the info that i want
So why not just fetch('replit link'l
here
because replit does not figure in the authorized website
Tried something like this:
https://stackoverflow.com/questions/48728173/how-do-i-fix-cors-issue-in-fetch-api
testing the
fetch('http://ip-api.com/json')
.then( response => response.json() )
.then( data => console.log(data) )
VM14924 43455.8c79ce3e1753b38de4a4.js:23 Refused to connect to 'http://ip-api.com/json' because it violates the document's Content Security Policy.
Tried a proxy server or using like replits weird api?
just ignore this person because they dont know what theyre talking about
iirc GM_fetch bypasses cors?
look that up in tamper/greasemonkey docs
CORS are controlled by the server you're fetching, not discord
if you have control over the express server, follow "Enable all CORS requests" https://expressjs.com/en/resources/middleware/cors.html
otherwise, use GM_fetch like lily said
this is CSP, not CORS
GM_fetch bypasses CSP too
is GM_fetch only for Vencord ?
..
nope, only for tamper/greasemonkey
don't try helping if you have no clue what you're talking about
it just confuses the helpee further and wastes everyone's time
"helpee" is... not wrong but super unusual
ofc :D
how do you fix cors errors tho I had an old project which kept giving me cors errors and I couldnt solve it at all
so i just gave up on it
if you tried the same thing and failed, why would you attempt to help someone else with it
thanks for the answer~
Set up @movie-web/simple-proxy
this is the german mindset, creating new words on the fly to better express yourself

honestly i never saw anyone saying helpee but like a payer is someone who pays and a payee is someone you pay, so a helper is someone who helps while a helpee is someone you help 
idc if it's a word or not, im saying it anyway 
quickquestion what version is my pnpm supposed to be?
oh and also does pnpm have ot be install explicitly through npm or can i install it using curl or corepack
whar
9.1.0
doesnt matter
oh alr thanks
meower meowee
a lot of languages 
hehe christmas lights
Is Krisp working with the latest update?
Parsing html with regex...
Are you a troll?
why not?

Ok i found a tutorial
https://stackoverflow.com/a/1732454
NAH
not a troll just really bad at doing what i do best
look, imho finding a something in a known piece of html via regex is not bad
I just don't exactly know what you wanna do
what is this
a message on discord
a tutorial to parse html w/ regex
||please tell me i got someone||
I parse HTML with regex in one of my side projects because I only need to grab small strings from the response text
is that the one that got locked
funniest stackoverflow thread ive read in a while
do y'all know how to retrieve messages through commandline
like I know how to post a message via commandline
just not the opposite
I've got the channel id for the channel I want to see and my token
That may be a bad idea
just as a one-off
Fucking with the api can be risky
easy way to get your account disabled but in any case the endpoint you want is GET /channels/:channelid/messages
optionally add /:messageid to the end to get a specific messahe
erm actually just add super props header
nop
bot only
oop
actually do it with a user token then π
well that's what im doing
user accounts have to use /channel/:channelId/messages?limit=1&around=:msgId
(this was a joke btw don't use the ID endpoint I mentioned or you will increase the risk of ban on a user account a ton, do what wing said)
look at curl docs
make sure to add the x-super-props header though
less risky
jesus christ that's a huge fucking man page
its not a heavily monitored route anyways though
if you know how to do this then it shouldn't be hard to change what you have
also for future reference just refer to https://docs.discord.sex
.sex.........
don't let the domain fool you
yeah right now I'm using
curl https://discord.com/api/v9/channels/<channel-id>/messages \
-H "Content-Type: application/json" \
-H "Authorization: <token>" \
-d '{"content": "<message>"}'
also I found out the extremely annoying way that single quotes are '"'"' inside your message
erm @wheat kernel whoever made the social image forgor about safe areas
ah
also, I tried to run the message post script without -d and it dumped a huge json and said curl: (3) URL using bad/illegal format or missing URL at the end
did you remove the json data after the -d as well
that's a bot-only ep, it doesn't work for user accs
i already corrected
i just copied the org img tho, if you have a better one pls pr π₯Ί
it doesnt show up on subpages either
Messages are the core of Discord. They are the primary way users communicate with each other, and they can contain text, images, and other media. Embeddable content, such as polls, system messages, an...
cuz i thought it was annoying
i think i lost the project file for the logo
could see if the svg is hiding somewhere
as a react svg yeah
too lazy to convert back
i probably have it on disk anyways
yeah i think someone just slapped the logo on a blurple bg
looks easy enough to remake tbh
i don't remember the font
only thing is just the door(?) book which is just a trapezoid with rounded corners
oh is it not discord's font?
its a book
its a similar looking font
can't use ginto bc its paid
yea fair
wtf is a safe area
area least likely to get clipped
its where you're supposed to put important information
safe area is not in my vocab
horror
this is what filmmakers had to go through in the transition from 4:3 to 16:9 or vice versa
me
is there some good way to update a json file using the js dot notation?
like a cli or vs code extension
for example i wanna set the key of `obj1.obj2.obj3=whatever'
or something lilike that
typing it out is pain
jq
jq '.obj1.obj2.obj3="foo"' file.json


