#dev-chat

1 messages Β· Page 17 of 1

earnest wolf
#

i'm nepali lol

patent carbon
#

Not all users here are American... but everyone here has to speak English

weak vale
#

Hi, I'm Brazilian, how are you?

pale hull
#

I know this was a while ago. But if you are using a razer product try completely killing the razer software. It makes my mouse have noticeable input lag

#

Because you know.... It's not like I should expect that the software for my mouse does not interfere with its latency a significant amount.

polar bobcat
#

I see

#

I got logitech

#

And it started happening today

#

Yesterday it was fine

tranquil widget
#

guys, i was having three discord accounts having 1 year of nitro for each one and they were 2015 and two 2016 and i got grabbed one day bcz of a stupid confidence i was having on a friend and when he grabbed and spamed some pics of +18 and nsfw like something big than epstein himself i got suspend on all these accounts, is there any solutions ?!

strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

tranquil widget
#

they didnt help with anything

forest ivy
tranquil widget
forest ivy
patent carbon
tranquil widget
patent carbon
#

you can appeal a ban on the "standings" page... but because you weren't hacked, rather were sharing an account (which is also against the TOS) you are unlikely to get a resolution you desire

tranquil widget
patent carbon
elder epoch
patent carbon
#

what do you think it is?

elder epoch
whole needle
#

How do we get a dev badge at profile?

patent carbon
daring wasp
#

another day another exam tomorrow

patent carbon
#

9+10=21

here ya go...should be all you need

daring wasp
jade current
#

Another day, another bug

patent carbon
#

oh i suck at geometry...

cunning pecan
#

and 6 times 7 is 67

blissful sequoia
blissful sequoia
#

burn this server down

patent carbon
#

no

jade current
#

All right angles are never wrong

patent carbon
#

what about a triangle with 3 right angles

blissful sequoia
#

TE_widepeepoHappynew monitor coming TE_widepeepoHappy

patent carbon
#

4k?

quiet saddle
#

i almost have 67 functions in the ratchet tree

blissful sequoia
#

1440p

patent carbon
#

hmmm ThonkSpin

jade current
#

1.44k

blissful sequoia
#

going to be experiencing subnautica 2 in wonderful quality

patent carbon
#

the cracked version that got released today? DogeLaugh

blissful sequoia
#

-# no the real one i prepurchased

cunning pecan
blissful sequoia
#

yeah i saw that

#

im going to be eating good thursday

jade current
#

Is it coded in Python

patent carbon
#

it's just wild to me there's been like 5 games cracked pre-release recently

blissful sequoia
#

c++ kek

patent carbon
#

UE5

blissful sequoia
#

what games other than this one are you referring to?

daring wasp
#

Subnautica...Sea...C...C++

jade current
#

Would more iconic when written in C (sea)

daring wasp
blissful sequoia
#

well to be fair, this is subnautica ++ sooo

patent carbon
daring wasp
patent carbon
#

all cracked before release

blissful sequoia
#

LotDK got cracked?? crazy

#

damn it also comes out soon

#

$70 for a lego game is kinda crazyyy though ngl

patent carbon
#

ya that's crazy

blissful sequoia
#

i get its gonna be like skywalker saga and its very arkham-esque gameplay wise but cmon

#

even the bundle of the arkham trilogy and then buying origins isnt that expensive lol

#

these specs are also insane

patent carbon
#

that's for a lego game?!?!

#

mimimum 8GB VRAM?

blissful sequoia
#

spiderman 2 has lower recommended specs

blissful sequoia
patent carbon
#

like...i would get it if Subnautica 2 had those requirements... but for a Lego game... that's insane... it's a family couch game

blissful sequoia
#

theyre actually quite similar lmao

patent carbon
#

ya... similar requirements for my game using UE5 too

blissful sequoia
#

they are both ue5 though so i guess its not that insane anymore

patent carbon
#

Lumen and Nanite really are VRAM hungry

#

but damn are they pretty

blissful sequoia
#

who needs nanite in a lego game though

#

subnautica 2 though... in 1440p 😩 if i could've got 4k i would've

patent carbon
#

it's really helpful for dynamic LODs (i cant remember what their actual name is)

daring wasp
blissful sequoia
#

also having 3 monitors will be nice

patent carbon
#

i dont know where i would put a 3rd monitor if i got one... would either block my mic arm or have to go above another one

jade current
#

Why not 4

blissful sequoia
#

im gonna try above

jade current
#

Could be 5. Even 6 or 7

blissful sequoia
#

though idk where the webcam would go lol

patent carbon
#

who needs a webcam?

blissful sequoia
#

me

patent carbon
#

i have mine on my side monitor

#

but i also rarely use it

blissful sequoia
#

i mean this is the current setup but im not sure how well i can fit a 3rd above it

jade current
#

Why have a webcam

manic plinth
#

hey guys how we doing today

delicate wing
#

id

patent carbon
wooden fern
#

Does anyone know a good spot to find regex patterns to block non PG words for automod? (or have any)

verbal wraith
daring wasp
#

Channel Objects is so hugeee

#

and has so many inner more types i have to do

#

Will take multiple days :<

#

I should probably skip a bunch of types but I don't wanna

south cairn
#

That was close to midnight for me

#

Oh wrong channel mb

dense obsidian
daring wasp
#

just saw it's discords birthday today

daring wasp
bleak pond
#

what

verbal wraith
#

It's May 13th

olive depot
#

If you're not sure then why you're saying it

jade current
#

Discord is old

olive depot
#

-# ok that was lame one πŸ₯€

dense obsidian
olive depot
#

What

jade current
#

How old is Discord

patent carbon
#

11?

dense obsidian
# olive depot What

Accounts that fail verification or are determined to be underage (under 13 or the local minimum age) are banned,

olive depot
#

Finally something younger than me

ornate temple
#

Crazy thing to say

jade current
#

Technically, there will always be something/someone younger than you

#

Anyway, Discord would soon be old enough to create their own Discord account

dense obsidian
jade current
#

Any%

ornate temple
#

Guys if I have to track locations and stuff and learn more about it...where do I learn it from?

#

I wanna get into cybersecurity

dense obsidian
ornate temple
#

I choose a random number and try its so hard I crash out😭

daring wasp
jade current
#

It likely is still the 12th at Discord's time

olive depot
#

And that was a lame joke

dense obsidian
#

we miss a @time birthday

#

xD

slow inlet
#

Till now there's no replacement of the dev badge ?

modest geyser
#

no and there will probably never be

patent carbon
#

Ya. They're unlikely to replace a replacement

#

Didn't work the first time

slow inlet
#

Disappointed to hear

patent carbon
#

The badge never really meant anything anyways... if you really want to show off your projects... add a github link or a portfolio to your About Me

glass silo
#

There is the opal badge though

olive depot
#

what should a button be labed which shows "already suggested ideas"

broken shoal
#

/.

pastel vine
fallow ridge
daring wasp
bleak pond
#

django is making me mad

merry blaze
#

Guys

#

I faced one small problem

I am trying to transfer ownership of my Developer Team, but I receive the following error:

[20039]: Unable to complete the action because the team has a pending verification request.

I cannot find any way to cancel or manage the pending verification request. how I can remove the restriction or cancel the pending request so I can transfer ownership.

maiden girder
strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

daring wasp
#

After applying/being accepted for verification you can't change the ownership of the team

daring wasp
jade current
daring wasp
#

Making payloads is making me mad (I still am doing it tho πŸ˜”)

#

the channel one is confusing for me since I also want to split it per type based

#

i go eat now me tired

jade current
#

Me when freeloads
-# I'm not rich enough to pay

modest geyser
#

Because i can make my deserializers and serializers templated

daring wasp
modest geyser
#

So i no longer have to write stuff that just puts the json into the object

#

Like these

Invite::Invite(const nlohmann::json& j){
  type = j["type"];
  code = j["code"];
  jsonToOptional(guild, j, "guild");
  jsonToOptional(channel, j, "channel");
  jsonToOptional(inviter, j, "inviter");
  jsonToOptional(targetType, j, "target_type");
  jsonToOptional(targetUser, j, "target_user");
  jsonToOptional(approximatePresenceCount, j, "approximate_presence_count");
  jsonToOptional(approximateMemberCount, j, "approximate_member_count");
  jsonToOptional(expiresAt, j, "expires_at");
  jsonToOptional(guildScheduledEvent, j, "guild_scheduled_event");
  jsonToOptional(guildScheduledEvent, j, "guild_scheduled_event");
  jsonToOptional(flags, j, "flags");
}
daring wasp
#

Ah

jade current
#

Jason

modest geyser
balmy basin
daring wasp
balmy basin
#

Also called "models"

daring wasp
#

it'll throw if a malformed payload comes in

#

maybe later I'll change it to that but I feel typeddicts is fine

#

typeddicts are basically ignored in runtime

balmy basin
#

Idk json tags are my beloved

verbal wraith
#

Weird it doesn't show on chat but it does when trying to jump to the message

brisk needle
#

discord.js please work😭

verbal wraith
#

It does work

brisk needle
#

it hates my bot as my bot flash errors and tterminal closes

verbal wraith
#

Well, error probably tells you why

dark moth
#

Discord has 0 control over your terminal

#

If the terminal clises on error, thats on your end completely

brisk needle
#

idk the prob how do i fix it i use discord.js 14

dark moth
#

Add something that waits for input before closing to your run script, log to a file, ... lots of things you can do

#

But none of them are on discords end

crimson gulch
#

@short meadow

brisk needle
lethal pier
#

@brisk needle please keep related questions in one channel

brisk needle
#

ok

vestal fractal
daring wasp
#

Like BaseChannelPayload and then inherited payload types for every (not now) channel type like guild text dm channel etc

#

or should I just have the one huge payload that discord has in the api docs

#

having separate payloads would make sense since then I'll be able to cleanly map to different channel types

vestal fractal
daring wasp
vestal fractal
#

gotta love typeddicts cRy

daring wasp
#

why in just one file :p

vestal fractal
vestal fractal
daring wasp
jade current
olive depot
silk iris
#

H7h

#

Facing a problem can anyone help me

lethal pier
#

maybe?

vestal fractal
#

Hm now in message parsing I need to determine whether user is normal user or webhook user

#

I think I'll just have to check whether the object has the 3 keys of webhook user only

olive depot
jade current
#

Never mind, misread it. Why not just "ideas" or "submissions"

daring wasp
#

both in payload and object type

olive depot
olive depot
jade current
#

What exactly are you asking for...?

vestal fractal
olive depot
daring wasp
#

ye I'm planning on splitting them early

#

maybe components I'll dump for then and get app commands working

#

I really don't wanna dump though

vestal fractal
sudden yoke
vestal fractal
#

Type checker does not like the proper way PensivePeach

#

Guess I'll have to type: ignore it

#

Looks like dpy doesn't have logic for webhook user, odd

#

Wait nah nvm

kindred ore
#

and the main bot profile ?

olive depot
grim pawn
jade current
#

I wanna start coding in Python πŸ₯€

vestal fractal
jade current
#

Python better, skill issue

grim pawn
#

lmao

vestal fractal
mental helm
#

D1 ragebait

jade current
#

I wonder how many Python libraries there are already for the API

verbal wraith
#

At least few

jade current
#

So a hundred? That's cool

verbal wraith
#

6 that has components v2 support

jade current
#

That don't seem related to my inquiry

sudden yoke
#

welp, gl

grim pawn
#

this is not Linus Tech Tips server

vestal fractal
#

Nah

gentle totem
#

(Reasons why you shouldn't download strange things)

verbal wraith
#

What about stranger things?

jade current
#

Dr. Strange

olive depot
#

i always wondered what will mouse say

solid wind
#

squeak

glass vortex
lyric escarp
#

alright the crashes should be fixed....:pensive:

floral prism
#

Is there a good JavaScript tutorial 😞

glass silo
jade current
#

One that isn't AI

floral prism
glass silo
dark moth
#

Lets stay on topic

floral prism
dark moth
#

Nobody is gona verify your bot for you

#

It would be a horrible idea to verify a bot, and then give the token to a random person on the internet

glass silo
# floral prism Can't find good one

https://youtu.be/DHjqpvDnNGE is usually a good channel but searching "JavaScript" to give good enough results as well for me

JavaScript is the the programming language that built the web. Learn how it evolved into a powerful tool for building websites, servers with Node.js, mobile apps, desktop software, and more https://fireship.io/courses/javascript/

#js #programming #100SecondsOfCode

πŸ”— Resources

History of JavaScript https://youtu.be/Sh6lK57Cuk4
How JavaScrip...

β–Ά Play video
glass silo
#

❀️ Soup

near crescent
#

(yes, book, it indeed says that, book, like the thing you read)

glass silo
#

Reading a book in 2026?!??

verbal wraith
#

Is there an ebook at least?

glass silo
#

tbh I've never read a book outside of school / without being forced to

olive depot
#

us

glass silo
dark moth
#

Not our problem

glass silo
#

Luckily verification doesn't go through PayPal

dark moth
#

You are literally asking us to take ownership of your bot and remain legally responsible for whether you do with it. Doing thay would be plain stupidity

glass silo
#

Lol you can't get that badge.. it's called "early" for a reason

near crescent
#

considering you are nowhere near "early": nope

olive depot
#

rip

glass silo
glass silo
dark moth
#

There are coures, but even those only cover different parts

modest geyser
#

Hows yalls AIXing going

near crescent
#

eloquent JS is crazy good and thorough

glass silo
floral prism
glass silo
#

The channel being called "bro code" doesn't look good

floral prism
verbal wraith
#

3,2 mln subscribers

glass silo
#

Holy

#

Lmao the avatar

verbal wraith
floral prism
olive depot
glass silo
#

Exposed!

olive depot
floral prism
olive depot
#

the face figure

floral prism
verbal wraith
#

I don't think there is anything bad about it, it's just funny

grim pawn
# verbal wraith

what you mean c++ and c full crash course is only 6 hours unlike python and java 😭

olive depot
glass silo
#

Based on popularity Kappa

floral prism
modest geyser
grim pawn
verbal wraith
#

All of them?

grim pawn
floral prism
modest geyser
grim pawn
#

and MLS too

modest geyser
#

I love talking about random stuff

olive depot
modest geyser
olive depot
#

but yeah unrpfoessional doesnt always means bad

#

wolf

modest geyser
#

I do not see how that matters

floral prism
olive depot
#

a lot does

floral prism
#

Programming with Mosh have a bald guy smiling

#

But somehow have 5.04M subscribers and professional

olive depot
near crescent
#

@olive depot what did you do to get that spammer flag? supremely annoying when trying to jump of your messages, ngl

olive depot
#

and im only active in here and risky server, so...

modest geyser
#

i dont see the spammer flag weird

olive depot
modest geyser
#

interesting

grim pawn
#

🫑

near crescent
#

did they just stop hiding spammer messages now? kek

grim pawn
#

i think discord stopped hiding messages from likely spammers

grim pawn
modest geyser
#

Their spam flag got too messed up they just stopped hiding them lol

olive depot
verbal wraith
#

Instead of fixing the flagging just remove hiding messages 5head

grim pawn
#

but they did implement forced blocked messages from suspended accounts tho

near crescent
#

i mean, i've been quite annoying re: not being able to read people's messages and discord support false-flagging a metric heckton of users int eh last few months
and they said they're reviewing the issue
didn't think that means they just stop hiding messages, but it is less annoying than having to unfold them manually, for sure

daring wasp
olive depot
verbal wraith
#

Maybe this is just a temporary solution until they fix the flagging issue. They must be aware of it since they made this change

modest geyser
#

now if my gentoo update broke my nvidia drivers again im gonna cry

barren lance
#

Are there any Arabs here?

dark moth
#

This server is english only as per #rules

ionic jungle
#

hey anyone tell me how to get google arcade camp 2026 access code?

olive depot
empty light
#

S

dark moth
#

This seems to be completely unrelated to this server?

dense socket
ionic jungle
olive depot
#

what the what

dark moth
split temple
#

bot grew from 0 to 1000 servers in the past 2 months and discord hasn't responded to my intent request yet

modest geyser
#

Damn are they finally starting again

verbal wraith
modest geyser
#

Because then you can just automod it

olive depot
split temple
#

and ping on join which is another feature but not as important as adding roles

olive depot
#

is it the main feature of bot?

split temple
#

pretty much

olive depot
#

is bot named something like "join roles" ?

split temple
olive depot
#

then?

split temple
#

dms

verbal wraith
split temple
#

i got banned for advertising in here once (i had the bot linked to my bio) not risking it again

verbal wraith
#

Yea but that was ages ago. Saying just the name should be fine

split temple
#

verification

olive depot
#

ye i just wanted to know name cause i was wondering if people just searches up "join roles" and it comes up in results

#

cause discord app dir search is pretty much good in that way

#

well, its not mostly about join roles though

#

atp i'll just replace it with top.gg vote

split temple
#

why? most servers never hit 30 joins a day

solid wind
#

the kind of servers that would be considering a verification bot would be easily

olive depot
#

all members??

split temple
#

wym all members?

olive depot
#

after 30, all memebrs will have to vote who join afterwards?

split temple
#

so yes if u join after 30 u gotta vote

olive depot
split temple
#

for that day

olive depot
split temple
#

that's my decision to make

olive depot
#

bad decision

split temple
#

if you say so

olive depot
#

they are memebrs who never ever wanted to use your bot, just joined a server and was forced to vote

#

which surely leaves bad impression, or he will just leave the server

split temple
#

Right... only if the owners had the option to kick the bot

solid wind
#

it seems like an unusual punishment but i mean, the more i think about it the more it makes sense

#

we're just devs, not business strategists πŸ˜‚

split temple
#

sometimes users on discord forget that the system most people are in is capitalism

solid wind
#

and i would expect the free market probably delivers more generous/free alternatives too, but if its working then its working

split temple
#

yes its a system that punishes bad decisions

#

its free markets

#

anyway still waiting for those intents smh

solid wind
#

realistically, its unlikely to make a meaningful amount of money, but the way i see it, if a bot can sustain its own expenses to keep operating that's a win

split temple
solid wind
#

a learning experience above all else

glass silo
# olive depot lol

Interesting how the free tier stores no personal information but the paid ones do

zealous gate
#

showing a temporary discount price in big then the much more expensive price in the fine print is such a dark pattern

split temple
zealous gate
#

well yeah obviously that would probably be straight up illegal otherwise, still misleading though

split temple
#

haven't had any problem with any of the customers

#

i think they are able to read

tired obsidian
#

Just b/c no one has complained yet doesn't make it a dark pattern

tired obsidian
#

Suspense pointed out a dark pattern being used. You said, you haven't had any problems with customers. Your fact doesn't change theirs

split temple
#

well its not a dark pattern to me

tired obsidian
#

That's not how it works at all

#

Just b/c you don't believe something doesn't make it not so

#

It's a dark pattern

split temple
#
  • checkout
zealous gate
#

show the actual price of the subscription, then separately add something that says "one month free" or whatever the promotion is. showing a big price that isn't what people will end up paying in the long run is not ok imo

olive depot
daring wasp
#

i would say you can do $6.99 $2/mon
and right below *Discounted price applied for first two months

near crescent
#

love how that'sjust standard these days for any subscription service

near crescent
#

big <reduced price>
small print <actually you pay this after n>

zealous gate
#

it's a sad standard

split temple
#

google started it

zealous gate
#

it's not really a reason to copy them

zealous gate
tranquil tulip
#

Which software is best for make discord bot 24/7 online

tired obsidian
#

The one you know the best

tired obsidian
#

"Best" is subjective

zealous gate
daring wasp
#

Im gonna lose this tablet whne i go to college πŸ˜”

zealous gate
#

how

#

do you have a keyboard attachment

daring wasp
#

its my moms, i use it right now because at home

daring wasp
olive depot
#

sell phone + tablet and get a laptop thumbs_up

tranquil tulip
#

Which software should i used for make discord bot 24/7 online

daring wasp
tired obsidian
olive depot
daring wasp
daring wasp
#

its my moms

olive depot
verbal wraith
#

If you have friends and you are not sitting in your room 24/7? Kinda

olive depot
#

maybeee

daring wasp
#

and would like 17k inr be enough for a usable laptop

#

17k inr is like 180$

olive depot
#

it depends, buy a used laptop

daring wasp
#

i could technically use my earned money too even then not enough for a decent laptop

#

im just gonna wait until my parents can buy me one/i save enough

#

if my parents buy me one its obviously gonna be more powerful than a cheap used one id buy

#

im gonna buy a keyboard and a mouse this month probably

olive depot
bleak pond
daring wasp
#

im gonna be buying both probably under 13$

#

i dont wanna spend too much on it

bleak pond
#

Wow

glass silo
#

World of Warcraft?

jade current
#

Peak

bleak pond
versed creek
#

I have a question

#

Does making emojis role specific hide them just from emoji or chat too?

#

Also can you make an existing emoji role specific

verbal wraith
zealous gate
#

it hides them in the picker but you can still see them on other messages
and yes you can

verbal wraith
#

I don't think I ever encountered roles specific emojis on any server

dark moth
#

Its not very known, discord doesn't advertise it and has no ui for it

near crescent
#

underlying system for twitch subscriber emoji sync back in the day, iirc
-# as in, that's why it exists

dark moth
#

Yeah

terse plover
#

hey anyone help me

near crescent
terse plover
#

Hello, @near crescent

I wanted to ask if I can still get the Active Developer Badge. I already created a bot, but I’m not sure if I completed all the requirements correctly. Could someone please help or confirm what I still need to do?

maiden girder
#

badge is removed

maiden girder
terse plover
versed creek
jade current
#

for react to get role thing
Why not buttons, or dropdowns, or id:customize

terse plover
#

I noticed that I was kicked from the server, and I wanted to ask if there was a specific reason for it ?

dark moth
#

Yes, the fact we answered 3x and you keep repeating the question

terse plover
olive depot
olive depot
#

Not directly by discord

versed creek
olive depot
#

They are storing each member status data in db

viscid steppe
#

me when i can check if the user has the role to assign/remove instead of camping for reaction add/remove

daring wasp
#

i dont see a reason where someone would use reactions as buttons, instead of just..using buttons

viscid steppe
#

legacy codebases

daring wasp
#

well those will also use plain embeds too ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

quiet saddle
#

I went to bed and we were talking about reactions vs. buttons... I wake up... and we're talking about reactions vs. buttons

daring wasp
#

hi Madelinee

quiet saddle
#

hey sora

daring wasp
#

i added typed dicts to my lib

sacred oak
daring wasp
#

doing channel payload but its rlly confusing ill do it tomorrow probs 😭

jade current
#

I miss hating working on my lib

tired obsidian
jade current
#

I feel le pain

quiet saddle
versed creek
# daring wasp so can <id:customize>

But but but what if a use missed or doesnt know or wants to remove it and if you have too many roles how many things you gonna for each of the category

quiet saddle
tired obsidian
#

::phew::

daring wasp
#

and about your second point, that applies to normal old reaction based role channels

daring wasp
versed creek
#

I personally if i am tired just select anything and continue its not that good while joining the sv

verbal wraith
jade current
daring wasp
#

A user missing something happens with nearly everything

jade current
daring wasp
jade current
#

What lib

daring wasp
#

i go eat now

jade current
#

A part of me is fed on AI

#

Also, I only know functions for now

versed creek
quiet saddle
#

my take on this is:
the Channels & Roles, custom role buttons, and reaction roles all do the same thing, it's just a different ways of presenting the options to the user. server owners should know their userbase and choose whatever will be easiest for their users

jade current
#

Peeps be stating anything else but their pronous in their "pronouns" section of their profile, yet still also make a reaction role for pronoun roles

versed creek
verbal wraith
#

25 alts?

quiet saddle
# versed creek

Also minor correction but unless your country has a specific law that states otherwise, 13 is the minimum age requirement to use Discord, not 14

versed creek
near crescent
#

love how "choose some pings" is not optional badaSip

#

you can choose HOW you want to be pinged, not IF

quiet saddle
verbal wraith
versed creek
versed creek
versed creek
#

-# I only have 24

verbal wraith
#

If I'm forced to something I'm straight up leaving the server

quiet saddle
verbal wraith
#

Hell nah

quiet saddle
#

/j

olive depot
#

Doing my part, -1 server

modest geyser
#

I have a really floofi tail

jade current
#

Is it a cat tail or a python tail

quiet saddle
olive depot
#

Yes, they were looking for feedback/suggestions

#

they kicked it already anyway

versed creek
quiet saddle
versed creek
modest geyser
versed creek
#

A cabbage

balmy basin
versed creek
#

Buzz light year

daring wasp
versed creek
#

Most random thing

#

But hi lol

fierce iris
#

Hi from iran

#

Wtf

tired obsidian
#

Let's keep the chat on-topic please

fierce iris
#

You may not believe it, but here we are at the height of the century of restricted and filtered internet. Since the war began 70 days ago, the internet has been national.

#

I don't know much about coding. What's my purpose in coming here anyway?

quiet saddle
#

No idea, but you need to stay on topic

glass silo
#

You joined it?

tired obsidian
jade current
#

Sogeab

upbeat anchor
#

guys do i trust my sus (decently llm) rust code or stick with my ts.... in theory if i did things right the rust is more stable but also idk

tired obsidian
#

"In theory" doesn't give any confidence

upbeat anchor
#

(the actual logic is still in ts, this is just my event forwarder and noise reduction)

glossy terrace
#

selamΔ±n aleykΓΌm

tired obsidian
#

Good TS code is better than sus Rust code any day

quiet saddle
tired obsidian
#

Rust is only as stable as the dev who wrote it :p

upbeat anchor
upbeat anchor
daring wasp
#

Honeypot Lite is Rust

upbeat anchor
#

but what i meant is that is it even worthwile to do, as im gonna actually look thgouth its code if its good idea or just can it

fierce iris
upbeat anchor
#

in my current benchmarks, its like 3% -> 0.4% cpu usage (locally)

tired obsidian
upbeat anchor
#

that same 3% is like 10% on my vps

fierce iris
#

I don't know much about coding but ai knowthumbs_up

upbeat anchor
#

and thats even with it doing zstd on the rust side

quiet saddle
fierce iris
#

What are you doing there?

versed creek
#

I just got the answer for what I wanted ace didnt you ask why i dont I have /steal command for emoji rather than context menu command

upbeat anchor
#

the main thing i believe is alot in not needing to parse the json fully, as in TS there isnt any nice ways to partial parse and then all the heeps of objects that GC needs to remove

fierce iris
#

VPN😭

tired obsidian
#

???

upbeat anchor
versed creek
weak vale
#

Hi, I'm Brazilian, and you?

jade current
#

I'm me

tired obsidian
quiet saddle
upbeat anchor
#

alotta strings that i care like 0% about

quiet saddle
#

so... get rid of them

upbeat anchor
#

only thing we need to know is the op code and for the ws itself and then if dispatch work out of an event i care about

upbeat anchor
#

like im getting at least 100 events per sec from noisy servers, so im already not forwarding most to my event handler now but its still getting the noise

#

the proper long term solution is clearly getting a better vps, but also like my options are stay with this sus discordjs/ws code, make my own ws client in ts, or do a better edition in rust

quiet saddle
#

or optimize your code

upbeat anchor
#

if optimised it as much as i can 😭

quiet saddle
#

doubt

upbeat anchor
#

short of removing discordjs/ws and making my own lib (already a noticable savings from my hacky thing i made)

modest geyser
#

Wait risky did you hear my friend β€œone shotted” meowatscam to their ts bot with claude

upbeat anchor
#

πŸ’€

modest geyser
#

It did miss a few things

upbeat anchor
#

as one would expect

modest geyser
#

As expected

upbeat anchor
#

oh also imma make a funny discord ratelimit setup client, and as bun supports unix sockets in fetch imma use that instead of tcp coz im funny

quiet saddle
upbeat anchor
quiet saddle
#

well you need to ban members too

upbeat anchor
#

the main thing i dont want to deal with is actually handling each error case

quiet saddle
#

that's an API call

upbeat anchor
#

this thing im doing is just WS -> see if i care about it -> push to redis -> event handler (ts) pops -> actions

quiet saddle
upbeat anchor
#

it actually is in some cases better than properly parsing the json

quiet saddle
#

parsing json is horrendous

#

regex is not terrible

modest geyser
upbeat anchor
#

pretty sure that bun uses smth like that from webkit

quiet saddle
#

you should be using a cached hashmap

upbeat anchor
#

hashmap of?

quiet saddle
#

your channels, I would assume?

upbeat anchor
#

oh yeah rn its just a redis call (im lazy)

#

but in rust its a hashmap

#

my 3% cpu usage was without that tho, just the raw getting event and nothing else

balmy basin
#

ew rust mentioned

modest geyser
#

If you want performance dont use rust

upbeat anchor
#

you want me to use c++

#

meowlib

modest geyser
#

Or literally anything else than rust

quiet saddle
#

yeah

modest geyser
#

Rust is kinda slow and unstable

quiet saddle
#

@modest geyser he just wants to use rust because bun announced like yesterday that they're rewriting their code in rust

upbeat anchor
#

the other option i have is to try and use discords earlpack, but seems like more effort than its worth to try it out (discord.js doesn't support it)

quiet saddle
upbeat anchor
#

i actually have been thinking of doing this for weeks, and last week i spent a while trying to be funny with zig and i gave up with it as the libs and making the event loop was annoying

#

at least with rust tokio works as id want

upbeat anchor
#

i dont really like the verboseness and all of rust compared to zig, but its only a simple thing and frankly itll do

#

it had been infinitly better experance than trying to get c++ to exist

upbeat anchor
#

my goal here you see is trying to make it as good as i can even when i dont need to... like initially i just chose to make the bot without cache to be nice, but now im trying to see if i can get away with making it as nice as possible to not need to need to think about "clustering"

#

like if i do this right, then i dont need to deal with workers in TS, as tokio will span the shards across my cpus

tired obsidian
#

-# he says, only half-joking

quiet saddle
#

riskymh anti-proletariat confirmed

upbeat anchor
#

.
and just like jarred, im not going to use smth unless im actually sure that its good... like if i didn't care id already be using it, but as i actually want to ensure its the best case for people and not half attempt things

upbeat anchor
upbeat anchor
olive depot
upbeat anchor
#

like idk if you know but in my current code ive got it such that it reshards when discord wants it to have more (ie if i grow too much, i dont need full on restart)... but this also comes with alotta pain

like right now it means i can have 2 clients and one is just ignored until i flip... this gets extra chaos when im using workers

hollow charm
#

TIL what the 13 means

upbeat anchor
#

honestly i dont really need to do this, as sooo much wiggle room and ive restarted it properly more often than when i would have gotten issues - but remember how i dont just want to do the bare min :)

#

anyway i should go to mr sleep place

rough hill
upbeat anchor
#

the rewritten into rust stuff idk if i really count as often it can be done not as intented (the bun edit is barely using rust tbh - its still very much pretending to be zig)

upbeat anchor
stoic dome
#

Hi.. I'm not sure if this is the correct server to help me with questions about creating and editing my discord server..

I'm looking for someone who would be so kind as to help walk me through adding language roles to my server.. I'm pretty new to discord coding and I've been learning as I go, however the language needs to be set up ASAP, as there are many individuals in the server who speak many different languages.

tired obsidian
#

This server is for help making Discord bots

upbeat anchor
#

nearly 500k people there... there used to be way over a mill members, i wonder what happend

steep locust
#

Hey, does anyone know how long can application for privileged intents take and how will be informed of its outcome? My bot went from 4 -> 150 servers overnight on Sunday and it requires one of those for some on its functionalities.

tired obsidian
#

-# or more, really

tired obsidian
#

<@&1050493473033289778>

quiet saddle
tired obsidian
#

Got a troll here

quiet saddle
#

wasnt meant to be a reply sorry risky lol

craggy forge
#

is this a real bot?

upbeat anchor
#

Hmmmmmmmmm

grim pawn
quiet saddle
#

was replying and then canceled to ping mods

craggy forge
grim pawn
#

Discord staff will never ask you for DMs and friend requests, we have !support for that

strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

upbeat anchor
pallid oriole
tired obsidian
craggy forge
pallid oriole
#

discord staff will never DM you or ask you to change anything about your account

near crescent
#

lol, not them faking the verification checkmark

upbeat anchor
#

this is also interesting (this has even less reason to be in rust, but i was trying to be funny).... sockets are cool over just tcp

#

http one is silly as its just redirect to https on cf edge

jade current
#

"Dedicated program for fraud review" :kekw:

upbeat anchor
delicate magnet
#

Hello can anyone please teach me about discord development

upbeat anchor
#

also even clyde bot had nitro iirc, why wouldnt support people

near crescent
#

"discord secure access validation beta" hits different

tired obsidian
quiet saddle
# upbeat anchor LOL

"The TypeScript Proletariat" (2012, colorized)
A TypeScript Worker (center) holds a copy of "The TypeScript Handbook"

delicate magnet
#

Thank you

daring wasp
#

extremely boreed

upbeat anchor
#

"High priority account", congrats i guess?

jade current
upbeat anchor
#

also i still think TS is the best lang to use generally

daring wasp
quiet saddle
jade current
daring wasp
jade current
#

Fair

upbeat anchor
#

its just a few specific cases where i think using more "native" can have more benifites... like its taking me way more pain to get libs and stuff to behave than if i just use TS (could just be a skill issue tho)

lyric escarp
#

It's been 2 years and there's still traces of old username remnants

upbeat anchor
#

also imo using more cpus should be a last resort, in theory you should be able to do alot on just one

upbeat anchor
#

yeah

upbeat anchor
lyric escarp
#

so it's semi-intentional

upbeat anchor
lyric escarp
#

hmmmmmage

upbeat anchor
#

lol

daring wasp
#

if you have a role named like let's say sora and you try pinging my username it will add the #0000 lemme confirm

upbeat anchor
#

its prob a dumb nullible thing that 0 gets converted to number which then is same as undefined/false which gets fallback

supple tartan
#

Hola amigos

daring wasp
upbeat anchor
#

@daring wasp bad client frfr

lyric escarp
#

@ocean girder don't send random friend request to people

daring wasp
#

i did that ss in my test server

daring wasp
#

you can still send ping without #0000 but it's just that autocomplete adds it by default

upbeat anchor
vestal fractal
#

ts only getting worse

jade current
#

Red waves

daring wasp
vestal fractal
#

At least I'm already halfway through Message

vestal fractal
sudden yoke
vestal fractal
#

discord.watch be like

daring wasp
vestal fractal
#

I'll be doing a module dump but not directly on the main module

sudden yoke
#

Very little load

upbeat anchor
vestal fractal
sudden yoke
upbeat anchor
balmy basin
upbeat anchor
#

like from bla import * is the same as import bla

upbeat anchor
#

its sorted by server count i think after whatever name search

versed creek
upbeat anchor
#

wdym?

versed creek
#

Like is the av transparent

upbeat anchor
#

oh ya transparency is nice

versed creek
#

Cool

upbeat anchor
#

even my discord pfp is too

daring wasp
versed creek
upbeat anchor
daring wasp
#

with import bla it imports it as kind of a module, you have to do bla.something
with from bla import * it's like importing everything from bla
so you can just do something directly

sudden yoke
#

Any Ideas for what to improve?
I got no idea if this is like PERFECT or if it could use some more

sudden yoke
daring wasp
#

I think you shouldn't have fields and should just have Status: Online

vestal fractal
upbeat anchor
#

AHHHH

vestal fractal
#

So you use __all__ to control it

upbeat anchor
#

can python just plzzz have a proper export thing than needing you do wacky stuff like that or let everything be exported

zealous gate
#

don't include the player list field if there are no players, and nest the ping stuff under a button

vestal fractal
#

I don't like how in dpy they dumped everything into the main module, on my project I have a types for that

sudden yoke
upbeat anchor
#

i think in next version they are separating it again (ie in this latest stable they want you to import everything from the main package and not others even tho its just reexporting)

upbeat anchor
daring wasp
sudden yoke
zealous gate
#

you could even show a basic ping then, inside a cv2 section, have an accessory button that shows the whole image

daring wasp
#

right now mine is also just everything dumped (which is just classes no real methods right now) and a payload folder with the typef dicts

bleak pond
#

my teacher is making me rich right now

sudden yoke
olive depot
#

Inline Fields are the only benefit of embeds and you're not using them πŸ˜‘

upbeat anchor
upbeat anchor
#

doesnt get worse than sql injection

tawny tiger
#

Can someone teach me discord.js ig

#

I build bots through Bot Designer for Discord

tired obsidian
daring wasp
#

<@&1050493473033289778>

#

pat da cat

upbeat anchor
pale hull
#

I thought the same thing Β―_(ツ)_/Β―

upbeat anchor
#

discordβ„’

#

(its through a simple proxy im making thooo)

pale hull
upbeat anchor
#

yeahhh

#

really sad tho

zealous gate
pale hull
#

I don't even get the point the majority of the "fixes" that agents make don't need to be PRs? Just make it on a personal fork

upbeat anchor
#

also i don't really see any actually important issues there, other than just customisation

pale hull
#

I mostly don't trust people when they say "it was resolved and nothing has changed"

#

Missing a lot of context

zealous gate
#

risky was that reply for me or

olive depot
jade current
#

I build

olive depot
#

-# it builds beautiful containers on its own?

tawny tiger
#

For beginners

#

I mainly use replit for making bots

vocal osprey
#

Oiee sou novo aqui G_P_JOIA

glass silo
#

It's not necessarily for beginners only

#

It's a mobile app to write bots using pre defined variables

verbal wraith
#

Does it support components v2 it's my question

glass silo
#

Good question

zealous gate
#

probably it's old now

glass silo
#

It does!!

verbal wraith
glass silo
#

Not like anyone is gonna read that lmao

verbal wraith
#

They are evolving

glass silo
#

Container and section are under the embeds header πŸ₯€

tired obsidian
daring wasp
#

use termux

gentle totem
pale hull
#

BDFD from what I can tell actually allows for a lot of customization. I would recommend it for people who want to make a basic bot for there server but have no interest in programming

glass silo
#

Yeah it has a lot of stuff builtin like

#

But it's nowhere near programming

tired obsidian
fallow wren
#

Help

glass silo
#

No

fallow wren
#

Someone insulted me and God.

pale hull
#

Ok?

tired obsidian
#

That's…nice?

fallow wren
#

I want to file a complaint.

glass silo
#

Nice

fallow wren
#

How will I do it?

sudden yoke
tired obsidian
#

You can try to !report them but general poking fun isn't against ToS

strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. To make a report to the Trust and Safety team, please use the in app reporting tool. For more information see this help article.

glass silo
#

Hold the message > report > select "I don't like it" or any option you may find relevant ig

pale hull
#

Is VSC the main IDE for JS?

daring wasp
patent carbon
#

Heh. I just started rewatching all of them

glass silo
#

Which anime? Asking for a friend ofc

daring wasp
tired obsidian
glass silo
#

I see

patent carbon
daring wasp
pale hull
#

There is the saying "poor planning on your part does not constitute an emergency on my part" there should be the same for just because you don't like it does not mean it's wrong

fallow wren
fallow wren
patent carbon
daring wasp
#

I don't even watch a lot of anime, usually just manga
-# though I think we're getting offtopic here

fallow wren
patent carbon
sudden yoke
#

ugh.. updated my VSC after not doing it for a good while and now we got even more AI stuffcat_huh

bleak pond
#

why does my database not loading

#

and worked fine on server

daring wasp
#

the ui looks too different

sudden yoke
bleak pond
#

search aidisable then tick

glass silo
pale hull
#

Agents are dumb

terse scaffold
daring wasp
#

I just use code oss (cuz open source and can run near natively on android:3)

bleak pond
patent carbon
sudden yoke
#

why cant any company just NOT include AI into there stuffcrycat

jade current
#

Disable AI

bleak pond
#

running code in phone only legends do that

terse scaffold
terse scaffold
jade current
#

AI ugly

pale hull
#

Did you guys see the graduation speaker that got booed when they said AI is the future.

sudden yoke
bleak pond
#

many find it good even though it give inacurate results sometimes

terse scaffold
#

When did it happen

daring wasp
#

by natively i meant it can run natively on android Bionic
without needing proot glibc (which most linux distros have)

daring wasp
pulsar sigil
#

Hi there, anyone know discord's release date yet?

tired obsidian
daring wasp
tired obsidian
#

You're using it right now

jade current
#

may13accountcreator πŸ€”

pulsar sigil
tired obsidian
#

If you're asking about release dates for not-yet-released functionality, then no. Discord doesn't announce things like that

deep wren
#

@bext

bleak pond
pulsar sigil
bleak pond
#

so

pulsar sigil
#

@errant jay is my first account

pulsar sigil
tired obsidian
#

Not sure how that's relavent to this server

languid trout
#

ΨͺΩ…

bleak pond
pale hull
#

Oh it is discords birthday πŸŽ‚

verbal wraith
#

Indeed

pulsar sigil
bleak pond
#

and there is no reward for users

glass silo
#

Oooh

verbal wraith
#

That's a classic

patent carbon
pale hull
verbal wraith
#

Everyone sign up for nitro!

patent carbon
#

Everyone! Get the opal badge!

pulsar sigil
bleak pond
bleak pond
patent carbon
glass silo
patent carbon
pulsar sigil
bleak pond
#

anyone can help me

pulsar sigil
daring wasp
verbal wraith
#

XD

jade current
glass silo
#

That's wild

pale hull
#

Just buy 6 years worth of nitro at once bigbrain

sudden yoke
#

@pure verge

patent carbon
glass silo
#

Poor active

daring wasp
verbal wraith
#

Ping fail

sudden yoke
sudden yoke
pulsar sigil
bleak pond
#

ping a random guy is insane

jade current
verbal wraith
#

@m-a my beloved

bleak pond
#

anyone

glass silo
#

Oh that's genius

bleak pond
#

pls help me alt

patent carbon
patent carbon
#

My account is 2015... I didn't get anything for that

pale hull
pulsar sigil
sudden yoke
#

what yall think about that Xbox and DC collab?

glass silo
#

What in the agent is that response

pulsar sigil
verbal wraith
#

Nitro for buying xbox pass

patent carbon
bleak pond
#

@daring wasp

#

help me