#dev-chat

40532 messages Β· Page 42 of 41

vestal fractal
#

Big bots are likely whitelisted

modest geyser
#

!support

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
#

hi maukkis

dark moth
modest geyser
rotund spruce
#

I don't have anything like that on the server.

vestal fractal
#

So is it just a coincidence that they can do it freely? I don't think so

dark moth
#

Its probably some heuristic thing where scale matters

vestal fractal
#

You can also search the internet for a fix, probably faster

amber moth
modest geyser
misty hemlock
winged swan
#

my radix sort in C takes 10KB just for 20 elements πŸ’€

Og: [12, 13, 14, 15, 16, 17, 18, 19, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ]
Sorted: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ]

<Arena, size=5, head=000001C400AF0270, current=000001C400AF0270>
<Pool, used=10048, capacity=16000, base=000001C400ACDA40, next=000001C400AF04E0>
hollow tinsel
#

Reading all these threads are so interesting

jade current
#

What threads

lime pebble
#

im need mod

winged swan
dark moth
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

hollow tinsel
jade current
#

Me curious: what do you find interesting about them? :thinking:

lime pebble
#

!support

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
lime pebble
#

I got hacked on my main account and got blocked for nothing I know who is responsible for this who could help me mod etc gave him a ban etc I don't know dms

jade current
hollow tinsel
lime pebble
jade current
patent carbon
hollow tinsel
# lime pebble ?

Did you know that this server can’t help you with hacked accounts

verbal wraith
quiet saddle
viscid steppe
#

"I don't like the answer so I'm gonna block you" πŸ˜”

marble slate
#

☝️

jade current
#

if True then not False

patent carbon
hollow tinsel
#

lol

lime pebble
patent carbon
hollow tinsel
tired obsidian
quiet saddle
#

one sec lemme text John Discord and see if he can help

jade current
#

Jason

tired obsidian
#

John retired. Better call Jane

wicked ravine
jade current
fiery ingot
#

I have a question, does anyone know how to get the number of nitro a user used on your server, I tried reading the messages sent when someone boosts but it doesn't seem to work

quiet saddle
#

Not possible, it's not public information

#

(Not via API endpoint, I mean)

fiery ingot
#

Ik but what I tried was reading these messages and store the user that boosted

quiet saddle
#

Yes, you can see who boosted the server but not if a member just has Nitro in general

daring wasp
#

im pretty sure thats what they asked

quiet saddle
#

Or - I might be wrong - you can see the number of boosts for sure. Not sure about who.

#

In any case, those are system messages, they aren't like normal messages - your bot won't receive them through the gateway.

cinder holly
#

n

#

nwozycanv44

fiery ingot
hollow tinsel
quiet saddle
cinder holly
quiet saddle
#

Your server should have a role for boosters

hollow tinsel
fiery ingot
quiet saddle
#

see if you can query the members in that role

jade current
fiery ingot
quiet saddle
#

The number, or who boosted

fiery ingot
#

The number of individual boosts

hollow tinsel
#

So basically both

jade current
#

:confused:

quiet saddle
#

Guild has a field for this, but I think it's the number of distinct members who are boosting the server, so not exactly what you're looking for

hollow tinsel
#

Well, in my thought, since I’ve seen bots role users a specific role once they boost, it is possible for the bot to detect the boost, and a new section or whatever for the database is needed to store that information.

balmy basin
#

I just graduated

quiet saddle
#

gzz

hollow tinsel
balmy basin
#

Ty!!!

patent carbon
hollow tinsel
#

🀣🀣

balmy basin
#

We don't have any here

hollow tinsel
#

Oh

#

Well congrats anyways

jade current
jade current
stoic pike
#

congrats

hollow tinsel
jade current
#

Real

daring wasp
#

im gonna start my first year in a month

hollow tinsel
balmy basin
jade current
quiet saddle
#

me neither

hollow tinsel
#

Damn

sleek dome
#

Hi, where do we report bugs and PoCs on Discord?

viscid steppe
balmy basin
#

I mean as for mac we have it here, but rebranded due to sanctions

#

Same for kfc

jade current
#

Jollibee be McDonald's but Philippines

hollow tinsel
#

Joybee

hollow tinsel
#

Perfect name trust

balmy basin
daring wasp
#

how do i handle rhis 😭

#

do i just add a member field to my user object 😭

jade current
#

Huh

daring wasp
#

array of user objects, optionally with an additional partial member field
means that member is provided in user["member"] right?

#

ive gotta go

jade current
stoic pike
#

n=int(input())
ls=[]
for i in range(n):
ls.append(int(input()))
L=False
for i in range(len(ls)-2):
if ls[i+1]/ls[i]==ls[i+2]/ls[i+1]:
L=True
else:
L=False
break
if L:
print("Hendesi silsile yaradir")
else:
print("Hendesi silsile yaratmir") bros is that code true?

#

it works every situations

daring wasp
sudden yoke
#

print("Hello World.")

hollow tinsel
jade current
stoic pike
sudden yoke
stoic pike
#

you are master pythonista!!!

daring wasp
#

ill do it i guess

stoic pike
#

but you can edit this a="Hello World!" print(a)

quiet saddle
#

do you guys not have interfaces in python MenheraCurious2

daring wasp
jade current
stoic pike
#

Sumqayit usagi var burda?

jade current
stoic pike
daring wasp
quiet saddle
#

this is definitely not how you would do it in typescript

stoic pike
#

is there any "Sumqayit yetimleri" in this sv?

quiet saddle
#

and i don't think "member" is supposed to be an attribute of user

daring wasp
#

ill just parse it to a normal Member | User

quiet saddle
daring wasp
#

wait I think Im confusing myself here

jade current
#

In the dpy docs, it's annotated as list[abc.User], though not necessarily meaning as a whole/complete Member or User object

daring wasp
#

I have a PartialMember class for that

daring wasp
quiet saddle
#

Okay I think it's pretty clear

marble turtle
#

someone tell me how to get develpoer bag

daring wasp
marble turtle
quiet saddle
daring wasp
# quiet saddle

well yes i know that i have a specific object type for partialmember

modest geyser
marble turtle
daring wasp
#

maybe my wording here was confusing :p

spring hollow
quiet saddle
wicked ravine
livid ridge
#

123

#

who can help me?

#

?

jade current
livid ridge
#

nobody?

jade current
modest geyser
#

If you dont tell what you need help with no one can help you

livid ridge
#

My whatsapp was stopped

#

who can?

#

nobody?

quiet saddle
#

what kind of server do you think this is

jade current
#

A little reading might help

patent carbon
livid ridge
#

I do it

jade current
livid ridge
#

I did it, but result is same

jade current
#

We are not WhatsApp Support though

livid ridge
#

I know, but you are expert at program

#

help me

patent carbon
quiet saddle
patent carbon
#

Or is that fake? Like your pfp?

quiet saddle
#

interesting last name, too

livid ridge
#

Alright, But I can't do it

patent carbon
#

Ok. You're not gonna get help here tho

#

We're not "tech support"

kindred tapir
livid ridge
#

so, nobody has experience?

quiet saddle
kindred tapir
livid ridge
#

if someone handle this problem, I will pay him

quiet saddle
#

<@&1050493473033289778>

kindred tapir
#

dead ass

#

sm1 ping mods

#

@pallid oriole

livid ridge
#

I am waitting

quiet saddle
#

I pinged, no need to ping individual mods

kindred tapir
#

w mods

quiet saddle
soft minnow
#

i am here

#

@soft minnow i am a frontend dev

jade current
#

Me an end dev

vestal fractal
jade current
#

No recruitment

frozen sable
soft minnow
jade current
jade current
soft minnow
vestal fractal
soft minnow
jade current
#

I don't identify as 0s and 1s

soft minnow
misty hemlock
daring wasp
misty hemlock
#

Fainly i finished my bot

jade current
#

My bot finished me

soft minnow
misty hemlock
soft minnow
misty hemlock
soft minnow
#

hmm his bot was too hungry i think

misty hemlock
vestal fractal
# daring wasp its in gateway message create event
class MentionUser(User):
  __slots__ = ("member",)

  member: PartialMember


class Message:
  def __init__(self, data: MessageData) -> None:
    ...
    mentions: list[User | MentionUser] = []

    for user_data in data["mentions"]:
      user = User(user_data)
      member = user_data.get("member")
      if member:
        user.member = PartialMember(member) # type: ignore

      mentions.append(user)
    
    self.mentions = mentions

Technically you could do this (not sure I really like it)

soft minnow
#

so moral of the story " always feed your bot , if you want to use it ' πŸ™ƒ

soft minnow
jade current
#

self.mentions = mentions :horror:

daring wasp
vestal fractal
sharp pawn
#

A

vestal fractal
daring wasp
#

or would it be better than this

vestal fractal
#

Equally confusing IMO

misty hemlock
misty cave
misty hemlock
vestal fractal
#

No spam guys nerdpoimt

misty cave
misty hemlock
jade current
daring wasp
vestal fractal
half barn
vestal fractal
#

Suggestion: don't use that unicode for the lines

#

It's too thin

runic field
#

Why is it not centered

half barn
#

why is what not centered

vestal fractal
#

Descriptions

misty hemlock
half barn
#

you mean with text centering?

daring wasp
half barn
#

because i do not like text centering one bit

vestal fractal
runic field
vestal fractal
#

the context is a member, so i think doing what they did is best, cache aside, i was wrong to say its that

soft minnow
half barn
vestal fractal
#

thumbsup (so my suggestion is making it thicker)

soft minnow
#

i've got a design

runic field
#

Looks like ai

vestal fractal
#

theres one 🐘 in the :room:

jade current
#

Lorum epsum

soft minnow
#

i have more in my learning dir

#

you know it's the 2nd year since i am learning web dev just to refine skills

half barn
soft minnow
half barn
half barn
#

i've seen real people write like that sadly

half barn
#

that is somewhat by design though to bring the text closer to the center

soft minnow
#

πŸ˜‘

dull fox
half barn
#

yeah

#

tailwind being tailwind as usual

dull fox
#

πŸ‘

soft minnow
half barn
#

i understand why it did what it did, but it also only did that because the compiler isn't the smartest

dull fox
soft minnow
half barn
#

i'm just gonna shove it all in a div with overflow scroll

runic field
jovial remnant
#

Q: there are bots that use some user data for themselves, do they have to store them on their own servers somewhere? E.g. Mudae remembers your pokemon collection. Also, for bot setting like picking a channel where the bot sends messages, does it have to be stored on bot servers too?

runic field
#

Could just be me tho

dull fox
#

Gotcha, was wondering how it would look as your right column is not centered on the page

half barn
#

ideally the entire thing would be in a single scrolling div but i separated them into different pages for SEO reasons

vestal fractal
# half barn

I like that idk
(also maybe you can try to make their ends rounded)

patent carbon
half barn
#

the first iterations had the socials links float to the bottom of the container but it left way too much dead space

patent carbon
soft minnow
dark moth
#

try alligning the left icons with the bottom of the right text?

soft minnow
#

The Fix: Increase the line-height of your paragraph text slightly. You can also add more margin-bottom to the "Hi There!" heading and the first paragraph to stretch the content vertically.

half barn
#

that's not the finished content

soft minnow
#

what's left now

half barn
#

... all of the content? that paragraph is a placeholder

soft minnow
#

hmm I am Done

half barn
#

with that big text column fading to 0 opacity on the top/bottom

sudden yoke
cunning arch
#

@cunning arch

verbal wraith
#

Bro just mentioned himself WeirdChamping

patent carbon
#

@hexed heathbadgeguy

#

Oop sorry opal, it was for a bit

round canopy
upbeat anchor
dark moth
#

no it's because you spammed duplicates

daring wasp
#

part 2 of a commit that should've been 2 commits

dark moth
#

someone who doesn't handle the actual appeal just cleaned up the spam you bombarded them with

daring wasp
#

I am not good with git :p

dark moth
#

you learn some patience and you wait

daring wasp
zenith belfry
#

guys does dtesters program is still joinable through google groups? im betatester on android and i dont know if i can join into dtesters server (prolly not)

dark moth
#

that hasn't been public for years now

zenith belfry
#

i know

dark moth
#

then why ask?

zenith belfry
#

i wanted to know if i can get there being android betatester

dark moth
#

no, and doesn't have anything to do with this server

zenith belfry
#

okay thanks for answer

glass silo
#

AE, are you excited for the opal badge that'll you get in 7 months

vestal fractal
daring wasp
#

wait the second isn't here now so does he count..?

dull fox
vestal fractal
prime tinsel
#

anybody have any clue what to do if when i go to verify my id to get my app verified, it never updates and im told stripe 'flagged me'? I've tried multiple times. Using a Passport, in date, very clear image.

dull fox
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

marble slate
vestal fractal
#

((:

marble slate
#

LMAO

prime tinsel
# vestal fractal !support

i tried that and i was told
'Thank you for your patience while we investigated your verification status. After review, we've found that your verification attempt was flagged on Stripe's end.

Unfortunately, we cannot override Stripe's verification system as they are our trusted verification partner. Their system has specific security measures in place to maintain the integrity of the verification process.'

prime tinsel
# vestal fractal So go to Stripe support

the annoying thing abt it is that stripe has verified my id before for setting up my stripe account as i use it for SaaS software that i make, but i guess stripe support is probably my only option now

#

thx for the idea. i kinda forgot that i could ask stripe about it 😭

vestal fractal
#

Yuh, hope the best

daring wasp
#

anyways good night :p

vestal fractal
#

My commits' names on my bots are horrible

#

99% of commits on one of my bots is "changes"

half barn
vestal fractal
daring wasp
#

mine are understandable i think

daring wasp
vestal fractal
#

Which I had to rebase once to delete something from history

#

Though it's a private repo

half barn
#

I think my flexbox layout is quite limiting for this too

daring wasp
#

gn

half barn
#

might try having the header/nav stuff be fixed at 50% - half the width of the content, since the content is a fixed width on this "wide" format

vestal fractal
#

this one's funny

half barn
#

but either way yea i'll need to tweak the balance between header/nav and content a lot

viscid steppe
half barn
#

idk why im doing this i'm not even a web dev

#

i do gameplay programming & backends KEKW

vestal fractal
#

Hmm modrinth πŸ€”

viscid steppe
#

curseforge but without the 40% screen ads banner

half barn
#

modrinth's ui is way nicer but their creator revenue is scuffed

#

they got completely shafted on their ad deals

half barn
#

something like this?

dull fox
half barn
#

I don't follow what you mean by that

dull fox
#

So 1 column for the title + blurb and then a 2 column layout

half barn
#

ahh

#

that's something i tried before but i felt the title was oversized

#

I think this one is a bit better balanced?

dull fox
#

I think in your current version, the name makes it feel off balance because it over reaches to the left

#

That whitespace feels off

half barn
#

i'll give it a shot then ig

#

may also try changing the font so i can have tighter spacing and slightly lower weight, that may help a little

vestal fractal
half barn
#

i care because i make most of my living off of modding :)

vestal fractal
#

idk
I do stuff for fun at this time

floral rapids
half barn
#

ehhh

#

yes but the rates are so low that it's not worth mentioning

floral rapids
#

others have no disregard for if the creator is earning or not, they only care about their own earnings

half barn
#

mine works out to about $0.00005/download on modrinth

#

on curseforge it's at least a dozen times higher

#

a lot of it is library dls though and lib devs get paid next to nothing on modrinth

floral rapids
#

i swear im so about to glue my hand while trying to glue back the w key lmao (broke the stuff that are used to handle the key)

floral rapids
#

most use it due to api

queen bramble
#

I will make A ai

#

WHAT???

vestal fractal
#

good luck

queen bramble
#

I MEANT TO SAY HI

#

/grant-staff-role Admin

floral rapids
#

@pure verge

glass vortex
verbal wraith
#

@m-a my beloved

floral rapids
vestal fractal
vestal fractal
floral rapids
vestal fractal
#

Huh weird

night pewter
#

@pastel turtle

glass vortex
vestal fractal
#

Ah generally

#

Meh it's fine

dark moth
#

alright intellij/opencode, does either of you feel like telling me what you're trying to run on my system? no?

eternal oyster
#

half joking because it may literally just be running bash

dark moth
#

it only showed that until i rejected it

#

then it showed it was a find command

#

so this thing can actually hide away the actual command its gona do, don't trust it one bit

#

lol now the main agent and subagent are fighting πŸ˜‚

half barn
dark moth
#

subagent went down a rabbit hole of irrelevant suggestions and the main agent isn't pleased

half barn
#

oop need to invert the lines on the nav links too

dull fox
dark moth
#
Wait, did I provide the wrong prompt or did the agent hallucinate/ignore the prompt? My prompt was very clear:
...
This is extremely strange. It looks like the agent might have picked up some context from somewhere else or just completely failed.
I should try again, perhaps with a different approach or by breaking it down. 
...
Or maybe I'll just do a manual review of a few key files since I'm the primary agent.
#

and now the main agent is doing it itself, peak "fine i'll do it myself"

#

and now this one is off on a different sidequest. this is just hilarious meowlul