#dev-chat

1 messages Β· Page 31 of 1

jade current
#

W Advaith

rugged vector
#

why did he ghost us? 😭 anyway

jade current
#

Advaith gotta do advaith things

cursive wraith
crisp jewel
jade current
#

I wonder how I could break Python :thinking:

viscid steppe
jade current
#

Ooo so the break keyword breaks the program? :thinking:

daring wasp
#

What would the most unnecessarily complex way to print hello world in python πŸ€”

jade current
#
def helloWorld(*, is_complex: bool) -> None:
  print(f"Hello, World! {"(but complex)" if is_complex else str()}")

helloWorld(is_complex = True)

-# Unnecessary, and complex

#

Heh, syntax highlighter breaks on Python's f-strings

viscid steppe
#

Write a whole programming language with python, make it self host, rewrite the language in itself, and write hello world with that language

jade current
#

Code it in HTML(ish)

ancient jolt
#

i never code again i will be gone

jade current
tired obsidian
#

Truely cursed code

jade current
#

Programming in CSS? Why not in HTML too :dogeKek:

upbeat anchor
jade current
#

It works :wilted_rose:

vestal fractal
upbeat anchor
dark mortar
#

I am new here

jade current
#

Hi new here

dark mortar
#

Where is anthony I have missed the session

jade current
#

What session

dark mortar
lean grail
#

wer kan i see my discord id

dark mortar
#

@silver arch big fan Blue_lightening

rugged vector
jade current
agile pond
#

Does anyone know how I can set up a bot to say a specific text whenever certain words are used? I can't seem to get it working right now... I must have made a mistake somewhere.

dark mortar
jade current
dark mortar
#

Okay byy I will back in next session

jade current
verbal wraith
rugged vector
#

not falling for ragebait

glass silo
#

aaa

modest geyser
#

AIX?

jade current
# agile pond i using my own bot

Does it have the message content intent enabled? (Both in the Developer Portal and in the code)
-# Though, when applying for the intent, this isn't a valid use-case

If not, was the bot pinged in the message?

jade current
rugged vector
jade current
agile pond
daring wasp
#

or is there a better way to handle this

jade current
#

Holy cases

jade current
rugged estuary
daring wasp
#

Multiple Chanel types based on the type

#

i could just case _ for the last but ehhh

jade current
daring wasp
#

Because it can't know that me parsing out the type field would parse out the correct payload type

#

or I can just yk dict[str, Any]

#

that would work

hazy latch
#

why all have the name !

daring wasp
#

nvm that doesnt

daring wasp
sudden yoke
jade current
# daring wasp the pyright complaining that the payload is the wrong type

Considering you're not generalizing the annotations as ChannelPayload, you could just match by class object: ```py
def channel_dto(payload: Union[GuildChannelPayload, ThreadPayload, PrivateChannelPayload]) -> Channel:
if isinstance(data, GuildChannelPayload):
...

` data["type"] ` may be tamperable which could return a wrong object
glass silo
#

dict can't be a specific TypedDict tho lol

#

just ignore it

jade current
#
from functools import singledispatch

@singledispatch
def channel_dto(data: GuildChannelPayload) -> GuildChannel:
  return GuildChannel(data)

@channel_dto.register()
def _(data: ThreadPayload) -> Thread:
  return Thread(data)

@channel_dto.register()
def _(data: PrivateChannelPayload) -> PrivateChannel:
  return PrivateChannel(data)
``` heh (I think)
daring wasp
#

tbh I just used cast to shut up pyright and thats it

#

and yay that's all the modelling done (for now)

#

next is gateway and http reworking and adding more handling

solar plaza
#

Hello everone?

daring wasp
#

@jade current

#

biggest one yet

#

i go put this on charge lol

solar plaza
#

I want to know your topic

daring wasp
#

Im learning stuff and building my own python library for discord bots :p

jade current
#

@steel stirrup
If you have questions, just ask here

steel stirrup
#

I'm unable to send

daring wasp
winged swan
jade current
daring wasp
pale hull
#

You added all of that in only 800 lines?

daring wasp
#

the payloads types were in previous and there's no actual methods right now

#

and the "managers" rn are just classes with a fetch methods
i will add more stuff to them later

jade current
pale hull
#

Was about to say because pycords embeds.py file is 1080 lines doggokek

daring wasp
#

I think pycord has the payload types in the same file no? or

#

ima look at it

#

nevermind there's a lot

jade current
daring wasp
jade current
#

Why even have both

daring wasp
#

true Advaith said they're both same now

#

should remove one

jade current
#

Anyway, that's all I could comment for now lol

daring wasp
jade current
#

Me when @enum.unique

jade current
daring wasp
#

easyyyyy

#

(I totally did not notice it later after pushing)

jade current
#

Why is there a BaseThemeType

jade current
daring wasp
#

like when i type Message and click enter it has autoimport but for autoimport it just adds the full path

jade current
#

Lol

#

I have autocomplete and Pylance disabled:P

daring wasp
#

i go now byeeeee

vestal fractal
#

Improved logic of open api spec parser πŸ₯€

#

I don't really use it but it's fun

verbal wraith
#

I didn't know discord removes messages from suspended accounts TIL

near crescent
#

seldomly

verbal wraith
#

Yea, I was looking for mentions about robots.txt on one server and find it this way kappalul

#

Idk why they show up in searching tho

stiff herald
#

any mod can free to help me?

verbal wraith
#

Mods here don't work for discord

sinful copper
#

cool

stiff herald
daring wasp
sinful copper
#

TIL hello and hi are blocked :O

winged swan
stiff herald
near crescent
#

looks like you applied for a public integration with the social SDK and they want to see what you built before they let you publish it

steel stirrup
#

Can anyone do modding

arctic gulch
#

Guys I need a help so would anyone like to help me?

near crescent
#

@arctic gulch you have been here long enough to understand that just stating that you need help is not enough for anyone to actualy help you

sinful copper
#

i wonder why people ask help to help

stiff herald
near crescent
#

the entire idea of the social sdk is shared friend lists and communication (text messages/voice) between discord and your game
if you don't know what that is, i doubt the social sdk is even what you need/want

near crescent
winged swan
hexed scroll
#

Is there anyone here who can help me out, I'm trying to verify my APP on discord.com/developers and I'm stuck on the last step which requires verifying my ID.

near crescent
#

not much anyone can help with there

balmy basin
near crescent
#

you have to scan your document via stripe, if that doesn't complete make sure the document is accepted by stripe
try different lights/lighting conditions/angles
for some people/conditions it takes a lot of tries, there's not really a way around that

proven daggerBOT
#

Code

if x := 10 > 5:
    print(x)

Eval Result

True

hexed scroll
near crescent
#

minimum age for app verification is 16

hexed scroll
#

Is it possible and advisable to try a wards ID?

weary bluff
near crescent
#

no. do not scan someone else's ID under your account

#

if you want a sponsor to do it for you, you have to transfer the app to their own account

pale hull
hexed scroll
near crescent
weary bluff
near crescent
#

what about it?

verbal wraith
#

Nothing, you can still see interaction info

weary bluff
#

Is it being logged or not?

near crescent
#

what we log is for us to know and you to not care about

#

if that's what you mean

#

on mobile long-tap

weary bluff
#

I didn’t know that is being showed on follow-up interactions

near crescent
#

everything caused by any type of interaction command has that SCagreed

verbal wraith
#

A lot of people doesn't and they got banned kappalul

near crescent
#

shoutout to all the trolls thinking they are anonymous with their wannabe "raids" comprised of follow-ups to ephem messages

weary bluff
#

Oh okay nice, cause i was wondering if they post something breaking rulesβ€”you know

weary bluff
verbal wraith
#

User apps are also scanned by automod afaik

near crescent
neat olive
weary bluff
neat olive
#

I mean you can check interaction info but it's a hassle and a lot of users clearly aren't informed about it

near crescent
#

firShrug could just show it in the command instead of "original message was deleted"

neat olive
#

if it followed regular interaction ui it'd work just fine also

#

but yeah the current form is not good imo

weary bluff
#

Ephemeral messages are not read by automod right?

fleet sierra
#

<@&613426529623605268> There is a serious proplem

glad prawn
#

call me dumb if you want, im not that experienced yet.. .what exactly is this? it looks interesting πŸ˜›

weary bluff
fleet sierra
#

@obsidian sentinel There is a serious proplem

glad prawn
#

it seems a little sketch, and im a new-ish dev

near crescent
#

do you want to elaborate on your serious problem?

#

or are you content with just saying that there is one?

young pilotBOT
#
Server Info <:emojisnxt_blue_crown:1430112799467638835>

emojisdiscord Name:
emojisexperienced_seller ID: 613425648685547541
emojisSQ_hearts Server Icon: None

emojismax_r_owner Owner: Unknown
emojisdiscord Owner ID: Unknown
emojiswhite_arrow Created At: <t:1566322471:F>

emojisemoji_1738476603350 Total Boosts: 0
emojistz_Boost_icon Boost Level: 0

emojisuser Members: None
emojisemoji_1738476614300 Channels: 0
emojisemoji_1738476622593 Roles: 0
emojisemoji Emojis: 0

weary bluff
#

Are these bots or what lmao

glad prawn
near crescent
#

a menu exposing who caused an authorless message

fleet sierra
near crescent
#

you said that, yes

glad prawn
#

oh thats actually useful imo for logging imo

#

so whats the problem then?

modest geyser
#

Sooj i dont think you get it there is a serious problem /j

tired obsidian
#

Super serious problem!

glad prawn
#

elaborate on the problem, because now im interested. is it just due to the fact of priv info??

near crescent
#

for logging? sure, i guess, it's in the message payload and can be used for logs as well
that screenshot just demonstrates how the discord native client makes use of it

dark moth
#

walks in
serious problem in chat? damn
walks away

neat olive
#

there's an acronym at my work called soop and it reminded me of sooj

near crescent
#

@inland axle keep your idk what this is out of here, thanks

neat olive
#

I don't actually know what the acronym stands for cyberlul

inland axle
#

Like a troll or wtv

near crescent
#

yeah, do that elsewhere

glad prawn
inland axle
dark moth
#

nor is it even remotely funny

modest geyser
#

Speaking of scams any interesting scsams today?

near crescent
#

no, all boring

inland axle
#

Woah

neat olive
#

I haven't seen any scams today

young pilotBOT
#

πŸ“ Pong! 164ms

dark moth
#

having to pay for ipv4 is a scam, trying to get rid of it on some of my vps servers

glad prawn
# hexed scroll Do you code?

yes but i wouldnt consider myself some expert or nearly as experienced as most of you are.. im a hobbyist if anything who is still learning

near crescent
#

@fleet sierra You can find details on how to report messages and users to Discord at https://dis.gd/howtoreport.
we moderate this server only and cannot help you

neat olive
#

a racket, even

hexed scroll
#

What's ipv6?

glad prawn
#

hit them with the RICO act, send drone strikes

near crescent
#

@inland axlefor the last time. please test your app in your own places

dark moth
#

yeah, turns out talos doesn't even work without it

modest geyser
neat olive
#

I don't remember the rfc? that specifies ipv6

dark moth
#

so just gona see if i can keep one machine dual stack and use that as a nat gateway

near crescent
#

giving bots pronouns is absolutely unhinged

neat olive
modest geyser
near crescent
#

always reminds me of people's AI partners

neat olive
dark moth
#

sure it'll increase the load a bit but from what i see most things should work with just ipv6 except some startup things

modest geyser
#

I sometimes give pronouns to stuff i have like my server but im not really serious about it

glad prawn
#

lmfaooo ahhh yes my discord bot wife, so beautiful, yet its face never seen by the human eye

dark moth
#

prob gona let the worker nodes keep it though cause its a little trickier to remove it there

neat olive
dark moth
#

especially with discord not supporting ipv6 yet

neat olive
#

(gendered pronouns to be more specific, I'm fine with non-gendered pronouns)

modest geyser
near crescent
#

i somehow mind making AI agents/discord bots etc. seem more person-like more than people naming their appliances firHmm
my mate's roomba is called Giesela and i don't find that problematic at all

#

odd

dark moth
#

like if discord did ipv6 it might be possible, but discord is quite bandwith intensive so no way i'm routing all that through a gateway vm meowlul

glad prawn
near crescent
#

though giesela does need googly eyes
bc roombas with googly eyes are peak

glad prawn
#

clown nose would be a thought

near crescent
#

hinders it in reaching towards the wall

modest geyser
glad prawn
#

i never understood that personally.. treating ai like a person, but to each their own i guess

near crescent
#

changelog be like:
"<bot> was diagnosed with an error and will have surgery later today, taking her out of commission - she'll be back to her old, bubbly self tomorrow"

glad prawn
#

imagine

near crescent
#

don't have to imagine. have read that kinda thing before

glad prawn
#

oh.... thats... yeah

daring wasp
#

soupji I got the college I applied for today :D

near crescent
#

yippieh

dark moth
#

congrats!

glad prawn
#

woooooooooooooooooooo

#

maybe one too many o's

near crescent
#

unfortunately my congarats emoji seems to have gone away

daring wasp
#

yay thanks

modest geyser
daring wasp
glad prawn
#

im new here, so idk what you are going for. mind if i ask?

near crescent
#

close enough

weary bluff
#

Rat party πŸŽ‰

daring wasp
glad prawn
daring wasp
#

thanks:3

glad prawn
#

of course πŸ˜„

near crescent
#

ah shucks, you need a bot scope to forward into DMs, right?

#

don't think user installed apps can forward a message firHmm

#

annoying

modest geyser
#

Yea and you also need message content intent

near crescent
#

so instead i need to re-build the thing from the message reference on message context, great

#

i somewhat hoped we'd have bookmarks by now, considering discord still teases me with it to get my alt to buy nitro

rugged ferry
#

guys

#

need a little help wiht smth

#

@bot.event
async def on_ready():
await bot.change_presence(
status=discord.Status.,
activity=discord.Activity(type=discord.ActivityType.playing, name="πŸŽ‚ rzv Bot")
)
await tree.sync()
print(f"βœ… {bot.user} is online!")
bot.loop.create_task(check_birthdays())

#

there i want to set the status on phone

#

status=discord.Status., here i need but idk hwo to set on phone its just online offline and idle

modest geyser
#

Thats with setting connection properties pretty sure most libs dont expose that as it is NOT supposed to be changed

rugged ferry
#

oh

viscid steppe
#

change_presence and command syncing in on_ready πŸ˜”

modest geyser
#

Yea..

glad prawn
#

refreshing to see a server where people arent instantly attacking someone for using a certain scripting language...
gauging the community...

modest geyser
#

All languages have their place

glad prawn
#

i agree

patent carbon
modest geyser
#

They are just tools to write stuff in

#

Python isnt even that slow if im honest its usually due to unoptimized code

glad prawn
modest geyser
#

Languages are just preferences

glad prawn
vestal fractal
glad prawn
#

well people. it was nice meeting a few of you. i appreciate the friendly atmosphere here. maybe i will stick around in this server to learn new things. im enjoying the journey of learning to using python and make my silly little bots. i hope you all have a good day/night wherever you may be. take care of yourselves and be well πŸ™‚

i have some stuff to do in the big scary world which i dislike going into XD

daring wasp
vestal fractal
#

Yuh

jade current
vestal fractal
#

I learned of it in da python server as well as many things

#

The parser works pretty good but yeah I don't trust it enough yet
(The code is generated from the open api spec with some hardcoded adjustments)

modest geyser
#

Introducing nginx-poolslip, a fresh RCE for the the latest nginx release 1.31.0.
οΈ€οΈ€
οΈ€οΈ€nginx-rift has been patched, but our security agent Vega has found a new 0 day.
οΈ€οΈ€
οΈ€οΈ€We will release the full technical writeup with ASLR bypass 30 days after the patch on nebusec.ai.

**πŸ’¬ 7β€‚πŸ” 72 ❀️ 337β€‚πŸ‘οΈ 49.8K **

β–Ά Play video
#

no idea if its actually real as theres no cve yet and no other info

vestal fractal
#

As of Nginx, is there any good web (or not web?) based dashboard that has a user friendly way of editing/making configurations?

rancid crane
modest geyser
#

yea probably

rancid crane
thick tangle
#

Hi can anyone help me with my telegram bot

balmy basin
#

no

patent carbon
#

Not likely since this is a Discord developer server...

balmy basin
#

you are in the wrong place

floral rapids
#

you know, i should really look at what my extensions are, i've had this for years and i just kept ignoring it

pallid oriole
tawdry cape
#

Wsp gus

#

I am new here

vestal fractal
dreamy gate
#

Yo so how does any know how a bit can stop nukes

verbal wraith
#

Idk but I know how you can stop them

patent carbon
#

Best way to stop nukes is just to have good permissions in your server

verbal wraith
#

Don't give permissions to poeple you don't trust

vestal fractal
#

I really need to just switch to using ast

near crescent
#

if a message has the cv2 flag set but also has files, do they not embed at all if they're not referenced?

dreamy gate
#

@near crescent do you know a bot stops nukes

daring wasp
#

you have to specifically use components to display them

near crescent
#

so i cannot have the attachment unfurler AND components?

daring wasp
vestal fractal
patent carbon
neat olive
patent carbon
patent carbon
neat olive
#

technically all bots stop nukes

#

but also none of them do

dreamy gate
patent carbon
#

You pinged a random person. Just because they had a purple name, you thought they would give you a different answer

near crescent
#

let's move on from that, thanks

dreamy gate
neat olive
#

I have java but no code Tired

daring wasp
patent carbon
verbal wraith
#

I have java but no script

vestal fractal
#

Very unfortunate

#

I can now say Turing machine is easier than Stack-based finite state machines

left ocean
#

Hi i am being invite to the team someone send me invite in developer portal but i don't see where to accept the invite can anyone tell me please ?

patent carbon
#

You get an email

left ocean
#

Ah let me check it real quick

left ocean
patent carbon
#

o7

balmy basin
#

still dont get '07' meaning

cobalt tide
#

Does anyone know how can i redeem nitro with ltc ?

patent charm
cobalt tide
balmy basin
#

hi colin!!

cobalt tide
#

Colin

#

Like do you got any solutions for it

#

You are litteraly the "Discord Mod"

patent charm
#

No that is off topic for this server

cobalt tide
daring wasp
patent carbon
#

Hey, I have a meeting at that same time next Wednesday... I know it's going to be recorded but do you know how fast the recording will be published? I know it can take a couple weeks from past recordings

Aka... should I record on my laptop in another room?

patent charm
patent charm
#

it will be recorded as well, so feel free to ask your questions in the form!

patent charm
patent carbon
#

much appreciated... i can wait a couple days.... or some of these other ddevs nerds can fill me in!

#

or i can skip the weekly all-hands meeting /j

cunning plume
#

28 friggin YT videos. Holy crapola. That's a ton of documentation and editing. I don't recommend lol

light steeple
#

Bruh

#

I can't say hi anymore

#

Huh

pallid oriole
#

Yes, that is intentional

tired obsidian
#

Read the automod message

light steeple
tired obsidian
#

What’s annoying is a string of 20 people saying nothing but β€œhi”. That is annoying

patent charm
#

hi

light steeple
#

Ok fine

tired obsidian
#

Especially when it drowns out useful and valid conversations

light steeple
patent charm
#

whats everyone working on

tired obsidian
light steeple
#

So he gets to say hi

#

And i don't

normal relic
#

Guys did something happen to dyno

light steeple
modest geyser
normal relic
modest geyser
#

colin what do you think of MeowAtDAVE

daring wasp
light steeple
daring wasp
#

im still learning thou :p

modest geyser
patent charm
normal relic
modest geyser
patent charm
#

love a DAVE impl

daring wasp
dark moth
#

banging my head into a wall trying to get talos to work in network with only ipv6 and having another machine be the ipv4 gateway. it just doesn't wana do it

modest geyser
silver arch
#

Is DAVE a cat person or dog person?

verbal wraith
#

Pikachu reaction in this economy?

daring wasp
#

im gonna work on reworking the gateway and opcode handling tomorrow :p

modest geyser
daring wasp
modest geyser
#

Honestly surprised how MeowLib is able to handle a lot of events a second

#

Its actually a usable library somewhat

light steeple
silver arch
light steeple
#

Oh ok

patent charm
modest geyser
light steeple
patent charm
#

i saw railway / gcp had some issues last night dead

light steeple
#

They got nuked

verbal wraith
patent charm
modest geyser
#

How i feel about DAVE

patent charm
#

scheduled maintenance

light steeple
#

Ok

cunning plume
#

Time for people to install InfiniTea xD

silver arch
light steeple
#

Rip dyno

modest geyser
spring tendon
#

yo guys are recon/cyber sec bots allowed in discord? idk if this is right place to ask

modest geyser
#

Its good for when you need another class to access something from another class without exposing it publicly although friend classes are kinda pointless in writing an application in library development they are really useful

#

As exposing some interfaces to users may cause the user to accidentally break something

balmy basin
cunning plume
patent charm
modest geyser
#

this is the class that has the dave class as a friend

class Encryptor {
public:
  Encryptor(const std::vector<uint8_t>& derivedKey, Dave *dave);
  constexpr uint32_t getMaxHeaderSize();
  std::vector<uint8_t> encrypt(const std::vector<uint8_t>& vec);
private:
  Dave *dave;
  void changeKey(const std::vector<uint8_t>& key);
  std::mutex keymtx;
  std::vector<uint8_t> key;
  int aes128GcmEncrypt(uint8_t const *pt, int ptlen, uint8_t *ct);
  std::vector<uint8_t> uleb128encode(uint64_t a);
  std::atomic<uint32_t> nonce = 0;
  std::atomic<uint8_t> previousNonce = 0;
  std::atomic<int> generation = 0;
  std::atomic<bool> passthrough = false;
  friend Dave;
};
cunning plume
#

Literally everything

potent python
balmy basin
#

yeah i should make docs for my new stuff btw sadcat

daring wasp
patent charm
daring wasp
#

i need to think about docs for my lib too (but that's a matter for future me!)

modest geyser
#

i use doxygen

daring wasp
#

i havent even come up with a proper name for my lib yet!

balmy basin
# balmy basin rolling out HMAC-SHA256 update

@quiet saddle now my tokens (and API keys) look like discord's ones
for example
MTc3OTI5NDI1OToxNDIzMDk5NjQ3Nzk1MjE6MTQyMzIwNzY3MjM0MDQ5Oh8x-ZYUvEdcBcHn7vgZPJsPbyVf9OEH4C9F3rFHQDfU.wyY6FCWmgAJkVP8nvSvlMK6EO4Hl1Wo1dx5gpcQaDh4

cunning plume
#

i'm trying to cover video tutorial documentation & text format. People like different types of content.

daring wasp
balmy basin
#

soracord

daring wasp
#

disakari

#

that doesnt sound too bad

balmy basin
#

it was a joke tho

verbal wraith
#

Who's kari

#

And why should I diss her/him

daring wasp
modest geyser
#

they shouldnt be too critical

daring wasp
#

di+spy :3

#

spy lib

balmy basin
#

debugging time

verbal wraith
#

At least you can do some kind of branding about it

daring wasp
balmy basin
#

i recently found out debug mode in vsc

daring wasp
#

whats it do

balmy basin
#

well to be fair i began using vsc recently

daring wasp
#

never touched it

balmy basin
#

lemme show

daring wasp
#

i dont know the language you are speaking, and also this is a english only server

#

i think you are trying to report someone?

blissful sequoia
#

french

daring wasp
#

if so then go !report

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.

sand plinth
#

french

verbal wraith
#

Remove french language from your linux asap

sand plinth
#

?

#

Why

daring wasp
#

This is a dev community server, no one can help you here

blissful sequoia
#

not an actual serious request

sand plinth
#

ha ok phew haha

balmy basin
# balmy basin lemme show

you can add red points called breakpoints, in debug mode program stops executing on them waiting for your decision to go forward, backward or even stop debugging session

#

here i can see that my duration broke and i need to find the place where it breakes

blissful sequoia
#

breakpoints are great

balmy basin
#

yeah

steel stirrup
#

Any good modders here ?

sand plinth
#

sorry I insulted

balmy basin
daring wasp
#

ill see it tomorrow i eepy

#

its night time

balmy basin
#

gn then

misty smelt
#

Test

balmy basin
#

failed

olive depot
#

unsuccessfully

misty smelt
#

I want to ask how long it takes for the application to be approved for Presence Intent until it is accepted

balmy basin
#

no ETA

misty smelt
#

Day 7 btw

dark moth
#

yeah you just got to wait

olive depot
dark moth
#

plenty of people complaining about several weeks

olive depot
#

Myself been waiting for 16 days

dark moth
#

we don't know actual numbers cause all we see are the users asking about it here

balmy basin
#

AE what do you think about HMAC-SHA256?

dark moth
#

so that's a very scewed view

#

and i know some people like to do funny math to make it look worse trying to get attention and faster responses

sturdy fjord
#

hi everyone, what is the limit for the mta 1.7 client?

spring hollow
#

wot

patent carbon
#

the limit for the what client?

sturdy fjord
patent carbon
#

i have no idea what that is

spring hollow
#

what the heck is an mta client

(i know of the mta, new york city transit lol)

patent carbon
#

thats what i was thinking too lol

misty smelt
patent carbon
dark moth
#

it might, we don't know either way

patent carbon
#

could get a response sooner, or you could get a response later... no one here can give an accurate estimate as discord does not provide estimated wait times

tawdry sedge
#

Have the devs ever said anything regarding tables?

patent carbon
#

yes, that they arent supported

tawdry sedge
#

Meaning they will never add them?

patent carbon
#

no... just that they arent currently supported

#

no one has said anything about future components

tawdry sedge
#

Alrighty

patent carbon
#

they might talk about future components at the next stage event... but the one yesterday had nothing to do with platform changes

tawdry sedge
#

Tanks

modest geyser
#

@misty smelt if you have questions or need help please ask here instead of sending random unsolicited friend requests

misty smelt
modest geyser
#

Okie

patent carbon
#

<@&1050493473033289778>

polar viper
#

second job posting i’ve seen today

modest geyser
#

Damn mods lurking that was quick

patent carbon
#

fr fr

pallid oriole
#

broomπŸ’¨

patent carbon
#

thx crystal!

#

or... should i call you cat... instructions unclear

vestal fractal
#

Hmmm well it works
Tried mimicking what I learned today

polar viper
#

catrystal

zealous gyro
#

Hi, I applied for Privileged Gateway Intents approval 6 days ago but still haven’t received any update. My bot is at 92 servers. How long does the review usually take?

floral prism
#

Why is C++ freaking hard while C# is easier

polar viper
#

there’s not really a set time but 6 days is definitely too short of a wait time to expect a response

untold iris
quiet saddle
#

C# isn't really related to C++

floral prism
modest geyser
#

C# came from java

quiet saddle
#

C++ is a direct extension of C

modest geyser
full hound
#

is cybersecurity imporant for devoloping?

quiet saddle
modest geyser
#

A lot of standard C code doesnt even compile in C++

#

Due to C++ having a stricter type system

#

Theres no implicit void ptr casting to other pointer types

quiet saddle
#

Meanwhile, C# was developed by Microsoft and took most of its inspiration from VisualBasic.NET (the successor to VisualBasic, which succeeded BASIC) and Java

full hound
#

by microsoft?

quiet saddle
#

Yes, C# is a Microsoft product

full hound
#

TS is a lot easier than c#

quiet saddle
#

TS is also a Microsoft product, and also completely unrelated to C#

full hound
#

i have memory problems so learning C# is impossible

zealous gyro
#

its too long duration

quiet saddle
full hound
quiet saddle
#

It's my favourite language to write in personally

full hound
#

better than JS πŸ˜„

#

for me bc i wanna see my mistakes

#

JS just gonna mix my code

quiet saddle
#

yeah JS is pretty awful

#

and it used to be 10x worse

full hound
#

really?

floral prism
#

Why y'all even hate JavaScript this much

quiet saddle
# full hound really?

before 2015:

every variable was var-scoped. no let, no const.

arrow functions (e.g. (...args) => number) did not exist

no template literals console.log(``this is ${someVariable}``) < didn't work

no built-in modules - you had to use third-party frameworks if you wanted to import code from a different file

patent carbon
#

JS without arrow functions, just seems wrong

blissful sequoia
#

i dont think ive used

listener(event, function(args) {})``` syntax in like ever lol
patent carbon
#

ya... without it being a callback function, it looks weird... only exception would be if i pass a function itself rather than declaring the function in the listener

upbeat anchor
patent carbon
#

types are bloat

untold iris
#

just use jsdoc

quiet saddle
#

fun fact: in the US, "JavaScript" is trademarked by oracle

patent carbon
#

and JS is not I don't believe

#

which is why NodeJS is fine

#

madeline do you know if the lawsuit is still going to invalidate that trademark due to inaction from oracle?

quiet saddle
#

Looks like they're still in the discovery phase. I can't find any updates on the suit since late 2025

balmy basin
rocky dagger
#

Jeyyy

upbeat anchor
versed creek
vestal fractal
#

I mean it's very inefficient but it works

waxen thicket
#

@dark mothCan I ask you something?

dark moth
#

if it's about your modmail, pulling it into a public channel does not change the answer at all

patent carbon
jagged agate
#

question on my website i use webkit for scroll bar to remvoe the annoying little arrows on each side but it doesnt seem to work i see on other websites it works for them

trim geode
#

webkit usually is a prefix given to expermential or like safari specific things if I recall...so you'd have to likely use other properties that are standardized on top

#

most stuff in CSS requires some form of layering for optimum support

peak halo
#

See the note that it's not standardized

#

So shouldn't be expected to work on all browsers

#

If it works on your browser but other website, see how they did and compare with yours

heavy terrace
#

mm

quiet saddle
latent bay
#

Anyone know how to selfhost a Bot?

#

Im broke ngl

patent carbon
#

you would have to have some form of computer running your code... do you have a spare laptop or a raspberry pi?

#

delete this... it can trigger people's epilepsy

dusty spoke
#

Sorry

#

πŸ˜”

patent carbon
#

@upbeat anchor did you figure it out? XD

#

or did gearboat get mad at you

upbeat anchor
#

it was the interaction handler case, not default setup

outer lodge
#

Damn

reef shell
#

Hi,
i have a question about the Discord permission

is this the right channel ?

patent carbon
reef shell
#

I want a mute command and my bot takes away the permission to speak in the channel

but it only works if the user is leaving and joining again

#

and i dont understand why, even if i change the permission by hand

patent carbon
#

why not just server mute them?

#

it's intended to be something that is temporary

reef shell
#

the usecase is for the bot to mute everyone in the channel if the channel owner uses the command yk

#

The bot can't mute anyone because it doesn't have admin privileges

marble slate
#

edit the channel and set the Send Messages permission to disabled for the everyone role (and any role overrides) altho that wont work for users with the Administrator permission

reef shell
#

By β€œmute,” I mean the people in the voice channel

marble slate
#

then edit the connect and/or speak permission instead of send messages

reef shell
#

So, when I change the β€œpush-to-talk” permission, it works right away, but when I change β€œspeak,” they have to rejoin for it to work.

marble slate
#

bear in mind the connect permission will not let anyone new join the voice channel, the speak permission will prevent them from, well, speaking

#

you could always just apply a server mute/deafen as a toggle which is then un-toggled when the command is re-run or whatever functionality you want

reef shell
#

But then the bot would have to mute each one individually

marble slate
#

there's no easy way to mass-mute a ton of people in a vc, discord isn't built for that

reef shell
marble slate
#

that's how discord permissions work, what are you trying to do exactly? seems you didn't describe what you wanted well enough so we're struggling to help you properly

reef shell
#

I have a voice channel with people in it, and I want to mute everyone in the channel using a command so they can't talk. This should be possible if I revoke their β€œspeak” permission in the "everyone" permission. The problem is that nothing happens when I revoke the permission until the person leaves the voice channel and rejoins it.

marble slate
#

permissions in voice channels only apply on-join aside from a few like ptt like you said earlier

what you want to do is server mute them and then unmute them when they are allowed to talk again. for this you can use the discord.Member.timeout() and then reference the discord.VoiceState.mute AND discord.VoiceState.self_mute attrs to see if they are muted (and by who if they are)

what language/wrapper are you using?

uncut scroll
#

is it normal for stripe verification to take more than 30 minutes, am i supposed to keep waiting, they don't even tell you what's happening

marble slate
marble slate
reef shell
zealous gate
marble slate
# reef shell d.py

a simple solution would be to just iterate over every member and (un-)mute them as required, something like this:

for member in voice_channel.members:
    await member.edit(mute=True, reason="Channel mute")```

```py
for member in voice_channel.members:
    await member.edit(mute=False, reason="Channel unmute")```


another way could just be to make a new role, ex. `Muted`, with no speak permissions etc and just assign/remove that role as nessicary
#

forgive me if those methods are a little wrong, im a pycord guy not a d.py guy haha

mortal zephyr
#

Bonsoir Γ  toutes et Γ  tous,
Je voulais vous demander Un/des dΓ©veloppeur(s) qui pourrais m'aider dans mes projets ?

Merci d'avance pour vos rΓ©ponses ! πŸ‘

marble slate
marble slate
reef shell
marble slate
reef shell
#

All right, thanks for your help, and have a nice evening

marble slate
#

no worries, hope ya get it working! have a nice evening too man

uncut scroll
patent carbon
#

the verification failing doesnt always mean your document is invalid, just that the automated tool that reads it failed to do so

#

if your document is an accepted document according to that page (depending on your country), then just try it again using the same document

uncut scroll
#

as i already mentioned, it's valid & i tried multiple times

#

yet it just kept refusing

patent carbon
#

there's nothing else we can do for you... that's how the system works...

#

it's 100% automated... you could try contacting dev support for assistance but i think they defer to the stripe verification

modest geyser
#

I have big fluffy ears

rugged vector
upbeat anchor
#

<@&1050493473033289778> seems sus to request proxy like that.. and then promo itself

uncut scroll
#

not providing a help option is quite irresponsible from discord. It doesn't matter to me what method they use for ID verification; they need to be cautious with this

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

rugged vector
near crescent
#

where then the promo resides

vestal fractal
near crescent
#

which is literally just a way to bypass filters

#

gg, but try again

cunning coyote
#

who dare summon me

vestal fractal
modest geyser
cunning coyote
#

hi

modest geyser
#

Hows u doing

weary bluff
cunning coyote
#

sleepy

weary bluff
#

Someone wrote β€œhi” i can rest in peace now

cunning coyote
#

i have the power or something

modest geyser
weary bluff
#

blessed

modest geyser
#

Any cool projects lately?

cunning coyote
#

uhhh, been moving off github mainly

upbeat anchor
upbeat anchor
weary bluff
#

Gitlab

cunning coyote
upbeat anchor
#

when will git hosting sites let us use custom domain so we can move easily without changing urls

weary bluff
#

May I ask why people move on another git hosting sites?

upbeat anchor
quiet saddle
upbeat anchor
weary bluff
upbeat anchor
#

idk if its bad enough for me to leave as i abuse their free stuff alot

weary bluff
#

I don’t know, it does my work pretty much fine

upbeat anchor
#

oh also their internal repos got pawnd coz an engineer had a sus extention

weary bluff
#

I have to organize my sponsors to reach to my private repository

#

And GitHub handles that pretty well

upbeat anchor
#

sometimes i wonder if its really a sponsor if you get something in return like that... like at what point is it just paying for a good/service rather than "donation"

weary bluff
#

Today

#

Idk, GitHub is really nice on payouts too

#

No taxes but monthly payments

#

Which is okay for me

quiet saddle
#

you're supposed to pay taxes on it Giggle but i'm not telling anyone

weary bluff
#

I already pay my taxes as working, goddammit government

#

πŸ˜›

quiet saddle
#

I mean it's income

#

IRS needs their cut

upbeat anchor
#

but do you pay tax on donations

weary bluff
#

If you do $3 donation

#

I get $3 donation

upbeat anchor
weary bluff
#

But on stripe side, I also get same amount of money

#

So there is no cut, idk lol

#

Patreon one has fee

quiet saddle
upbeat anchor
#

hmm

#

i wonder if aus law is nicer/harsher

weary bluff
#

GitHub already cuts it by holding my money

#

Idc, it’s not an instant payout

quiet saddle
upbeat anchor
#

github says they take no cut, unless its an org thats sponsoring

weary bluff
#

I want full revenue

upbeat anchor
quiet saddle
#

quite seriously, yes

#

that's taxable income

weary bluff
#

Whoever made taxes, I want to kiss that person β€”differently.

quiet saddle
#

if you steal money you're also required to pay taxes on it

upbeat anchor
#

ok but when you earn enough half goes away... it kinda makes the higher pay grades seem silly as you barely see it

quiet saddle
#

hmm it's almost like massive income discrepancies shouldn't exist to begin with

weary bluff
#

Isn’t life so cruel lol

You find a land, want to build a house then some people come at you and then tell you β€œyou need to pay for this place” you pay once but they say β€œno you gotta do it forever”

So, learn using AI guys. Tell AI to use my browser and look for how can I earn money online fast and solve the problems and get money. Let agents work as much as they can.

quiet saddle
upbeat anchor
#

tho it is funny how in some places you may get payed 2x, but it also costs you 2x+ just to live there

balmy basin
#

I'm tired

quiet saddle
weary bluff
upbeat anchor
quiet saddle
#

no. we don't need more tech

upbeat anchor
#

your right, AI our goat

neat olive
balmy basin
#

I'm feeling good having no-tech in my town

#

Better than big or small tech tho

weary bluff
#

I still do websites on my own, idk

#

AI have bad taste

#

But it is good for deeper things or organizing things

#

Which is good for to call as assistant

#

You are the boss, agent is the manager in your office :P

balmy basin
#

Issues begin when you threat it as a boss

weary bluff
#

I test it before pushing anyway

#

Who don’t do it needs to be punished lol

balmy basin
#

Yeah lol

#

I just pushed some updates with invalid config path

#

Because its different inside container

shy scarab
drowsy mulch
#

is anyone using fly.io to host?

trim geode
#

host what?

drowsy mulch
#

discord bots

#

is it a good vps

spring hollow
#

i’ve never heard of it

#

doesn’t really sound legit to me

patent carbon
#

looking into it for at a glance (not personal experience) it looks like a decent option for hosting a discord bot with a couple caveats

  1. it uses Shared IPv4 addresses unless you spend $2/m extra for a dedicated IPv4... meaning on that cheaper tier, you risk random and unpredictable rate limits if someone else using that IP spams the API
  2. it looks like it defaults to spinning up multiple applications based on location of the request and load on your app... this means that you might be running several instances of your bot and that will cause issues... so you'll have to disable that
#

so, i wouldn't say it's the best option for a bot as you're likely better off just using a cheap VPS... but fly is just a service to run a container/VM in the cloud... so nothing super special about it at least for a long lasting application like a bot (aka, is up persistently, not like a serverless or multi-instance application)

drowsy mulch
#

Im trying to run a docker bot for one server on a vps

drowsy mulch
patent carbon
#

like i said, i havent used it before... so i cant answer that... i just saw on their website that they advertise "running close to your users" which means they can run multiple instances of your application

so it was more of a guess on how they work, rather than actual advise on how to use that service

drowsy mulch
#

I have no idea, this is as far as I have ever made it

#

I quit after secrets and enviromental variables last year, but I just figured out how to input those

cunning gorge
#

you might want to consider railway for easy setup, still doesn't solve point 1 though

#

I think fly is probably harder to set up, but I also haven't tried it

drowsy mulch
#

is railway the best option?

#

it looks cheaper, fly.io charges based on resource usage

#

railway got suspended by GCP

trim geode
#

no option is good like that for Discord bots

drowsy mulch
trim geode
#

No one is saying you shold, you just need to get a proper host

outer comet
#

How do I get that badge?

spring hollow
#

not possible

outer comet
#

😒

drowsy mulch
trim geode
trim geode
#

IPv4 has basically "run out" so it's no longer given for free on top of the hardware shortages raising prices

drowsy mulch
#

I'm warry of railway now

trim geode
#

there's plenty, we list a lot of them in that thread

drowsy mulch
#

hetzner has a lot of setup right?

patent carbon
#

hetzner is very popular, yes

drowsy mulch
#

I think sapphire(bot, not framework) runs on it?

#

so hetzner or SparkedHost

#

sparked looks like it is for specific uses, while hetzner has a lot of computing power

#

I think sparked, unless anyone has any alternatives

#

I don't know how to use linux, hetzner looks like it requires that skillset

trim geode
#

Sparked is also overpriced IMO

#

I have an entire breakdown on them.

#

And even then you don't get a dedicated IP. Unless you want to pay I think it was like eight bucks or something for a dedicated

drowsy mulch
#

I went with hetzner

drowsy mulch
#

hetzner seems reliable and complies to gpdr

cunning coyote
#

hetzner is good

trim geode
#

a lot of people here usually use something like Hetzner yeah.

#

I started with Hetzner

cunning coyote
#

i might move my stuff on k8s though

trim geode
#

I'm moving my stuff to a dedi on ReliableSite

cunning coyote
#

id get a dedi but there's not many good local cheap options

sinful lagoon
cunning coyote
#

no

sinful lagoon
cunning coyote
#

you don't

sinful lagoon
cunning coyote
#

cause we aren't looking for any

sinful lagoon
#

didnt answer my question tho

quiet saddle
#

you don't become mod, mod becomes you

patent carbon
#

she did tho... you asked to become a mod... you cant

sinful lagoon
patent carbon
sinful lagoon
#

i asked how do u become a mod

#

i didnt ask can i become a mod

quiet saddle
#

she's already a mod

#

she doesn't need to become one

sinful lagoon
#

ok noone speaks english cya

quiet saddle
#

no, just you

patent carbon
#

"how do you become a mod" is asking the question of how one becomes a mod... and the answer is you dont

trim geode
cunning coyote
#

yeag

trim geode
#

yeag indeed

quiet saddle
pale hull
#

Stupid app can't read the barcode in the virtual world that the emulated phone is in... Grumble... Grumble...

olive iris
#

Hey

What about
New update (private profile)

I didn't get the advantage

trim geode
#

what in the LLM email formatting is that

patent carbon
quiet saddle
olive iris
patent carbon
#

you cant control it... its 100% random

trim geode
#

Okay, I see the translation now

quiet saddle
quiet saddle
#

np

olive depot
#

πŸ‘€

zinc swift
sinful lagoon
zinc swift
#

u want badges just for status and Nothing else

quiet saddle
zinc swift
#

Okay

sinful lagoon
zinc swift
#

okay end it

sinful lagoon
#

uh?

#

i dont wanna end my life

pale hull
zinc swift
#

but whatever

pale hull
#

Welp, might need to figure out if I can get my actual phone to do it

daring wasp
elder ibex
pale hull
#

Welp. The API is protected by a bearer token anyway. Not sure why I can't get the price of items at the grocery store via API

#

I guess maybe so other stores can't track their price changes

tawdry cape
grand field
glacial steeple
#

probably dumb question, but just making sure that the subs for app purchases are actually free for the app creator? it showed 100% off so i thought easy option to just make my account have the max limit for my app rather than coding in an override for myself, but its now saying in the sub its 19.99?

patent carbon
#

This server isn't a job board

jade current
#

This server isn't a recruitment server (I read carefully)

patent carbon
#

<@&1050493473033289778>

jade current
#

Anyway, I suffered enough Java today

patent carbon
#

Ew. Why are you writing Java?

jade current
#

College made me so

patent carbon
#

Oh. Fair

#

Still gross

#

Now that you don't have to do school coding. You can do real coding

With JavaScript

jade current
#

Agree

#

JavaScript :vomit:

patent carbon
#

You're right. TypeScript

viral helm
#

Does anyone know a staff member at discord, my account got banned a while back for reasons I still dont know. I've tried to contact support via the ticket system and on twitter but received no response. I do not want to lose the account since ive had it since 2018 and just need to get the message out to someone working at discord to assist me

#

I know this isn't an official server but im out of options here

patent carbon
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

jagged spruce
#

they don't do live chat for support (if anyone DMs you claiming they can help or claiming to be staff, that's a scam)
only way is through the support ticket system, it can take a while to get a reply so have to be patient

patent carbon
viral helm
#

just looking to see if anyone knew anybody

patent carbon
#

A discord employee would NEVER for any reason ever DM you for support

viral helm
trim geode
#

Discord has no form of live chat support. There is no one on the Discord platform itself that can provide you any form of support in any capacity for any support team issues.

#

Even those employeed by Discord inside communities do not work for the support team and can not help

viral helm
#

So i just accept that my account is gone then?

trim geode
#

The only people who can answer that are support, which we are not

patent carbon
#

There's should also be an appeal button from inside of that suspended account

Otherwise, check to see if they replied to your ticket or keep waiting

viral helm
#

Thank you guys for the responses and apologies for bringing it into here

patent carbon
#

Thank you for being understanding compared to a vast majority of the people who ask the same question here

#

But ya. There really is nothing that we can do to help you. Anyone here who claims otherwise is likely a scammer

viral helm
#

Gotcha, thanks for the advice. I'll just keep making attempts to reach out the support team

glossy hearth
#

can someone tell me how do I fix this

] {
  library: 'SSL routines',
  reason: 'ssl/tls alert handshake failure',
  code: 'ERR_SSL_SSL```
#

this error shutdown all of my bots

warm pond
viral helm
warm pond
#

forever

#

it's a discord_user_numbers now

jade current
#

I thought it was sort of like a hash

pale hull
#

Isn't that because your SSL certificates expired?

patent carbon
#

expired or is invalid

glossy hearth
glossy hearth
cunning coyote
#

man i'm so bad at web design

trim geode
#

aren't we all

patent carbon
#

just keep the dev ui into prod

jade current
#

Don't design itβ€”keep it raw

trim geode
#

That's not web design β€” that's web art

jade current
#

After all, we aren't spiders

patent carbon
drowsy mulch
#

and we have analytics

#

reading the hetzner docs was productive

#

shout out to LLukkas for their help implementing watch dog and container health

hearty kite
#

uhhh
my discord is facing some problems and i dont know nay other official servers
where can i ask for help?

patent carbon
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

patent carbon
#

it sounds like you might also need to look at #safety

glossy hearth
hearty kite
glossy hearth
#

I can't fix it :(

#

so many errors

#

proot-distro is also giving a lot of errors
I didn't even do anything

shy vigil
#

πŸ‘‹ Hey does anybody know how do i use the https://docs.discord.com/mcp discord's mcp on antigravity. @ me for reply

jade current
#

They've already been assisted

trim geode
#

Discord has an MCP?

shy vigil
steel stirrup
#

Does anyone have a server with some good developers?

upbeat anchor
queen lake
trim geode
#

It doesn't even look like the basic MCP instructions even work lol

jade current
trim geode
#

likely just auto generated by Mintlify...wonder if it's actually tested

upbeat anchor
#

Yeah its just mintlify

#

I dont use mcp so idk

patent carbon
#

why you need a minecraft portal?

trim geode
#

the search tool works lol, but that's it

hexed elk
#

Huiu

tidal ridge
#

guys

#

can anyone tell me how do I get the developer badge?

jade current
tidal ridge
#

??

glossy hearth
tidal ridge
trim geode
jade current
#

Anyway, there's a server member limit? :confused::thinking:

trim geode
#

yes there is.

verbal wraith
#

200k or something?

trim geode
#

It's really high by default but once you hit a certain point you move to like large guild status

tidal ridge
#

then can you tell me how do I get the HypeSquad badge?

jade current
#

So the limit only applies to guilds not considered as "large"?

trim geode
#

unless they disabled the max member limit recently

tidal ridge
#

example HypeSquad Balance

verbal wraith
#

You can't either

jade current
tidal ridge
trim geode
#

I'm looking at some server data and seeing -1 as the max server member limit...

jade current
trim geode
#

so maybe they decided to no longer limit it? or it's bugged on my end?

tidal ridge
trim geode
#

25,000,000 is what it's listed for DDevs?

verbal wraith
#

I think they will announce it no?

trim geode
#

I think it's just bugged for me tbh