#dev-chat
40532 messages Β· Page 42 of 41
!support
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
hi maukkis
Unlikely
Hello sora
I don't have anything like that on the server.
So is it just a coincidence that they can do it freely? I don't think so
Its probably some heuristic thing where scale matters
^ @rotund spruce
You can also search the internet for a fix, probably faster
?
Read the message below the message you replied to.
Nice
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>
Reading all these threads are so interesting
What threads
im need mod
it's prolly like super inefficient or smth LOL
!support
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
Dev helps etc
Me curious: what do you find interesting about them? :thinking:
!support
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
Read what the bot says. You don't run the command
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
Who can help you mod what
Read the bot's message above...
Well something interesting is reading information that I have no knowledge on.
Ah fair
?
https://dis.gd/contact
-# No one saw anything :eyes:
Did you know that this server canβt help you with hacked accounts
- blocked


"I don't like the answer so I'm gonna block you" π
βοΈ
if True then not False
Womp womp
1 guy hack me and my pc with discord. And discord: You r4iding servers... Me? IM NOT BRO.
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
Okay realistically what do you want members of this server to do? Contacting support is your best option
Thatβs their only option. No one but support can help
one sec lemme text John Discord and see if he can help
Jason
John retired. Better call Jane
Right.
*Aluminium
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
Ik but what I tried was reading these messages and store the user that boosted
Yes, you can see who boosted the server but not if a member just has Nitro in general
im pretty sure thats what they asked
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.
Maybe I can read them through a selfbot idk I will try everything
Uh what
Uh, don't do that
url bro
Violation
Your server should have a role for boosters
For what
Ik but just to see if it works on a dummy acc
see if you can query the members in that role
Still a violation
Yes but what I need is something to see the exact number of boosts and that doesn't exist and they said that this will never be implemented
The number, or who boosted
The number of individual boosts
So basically both
:confused:
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
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.
I just graduated
gzz
Congrats bro

We don't have any here
Congratulations
Do you have Jollibee nearby at least?
congrats
Absolute peak
Real
Wish they had more locations
Never heard of it
:broken_heart::wilted_rose:
me neither
Damn
Hi, where do we report bugs and PoCs on Discord?
Didn't know you're a vtuber :sadge:
McRonalds
Jollibee be McDonald's but Philippines
Joybee
Perfect name trust
McPutin /j
Huh
wuh
array of user objects, optionally with an additional partial member field
means that member is provided inuser["member"]right?
ive gotta go
I would just either:
class PartialMember(User(Object)): ...class Member(User(Object)): ...
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
i already have partialmember classes but here the user will need to have an attr member right
print("Hello World.")
Wow
Why not just give out a PartialMember object outright? Check if user object has the optional member field
bro this is amazing
you are master pythonista!!!
Yes thats what I was going to do tbh but ehh
like User.PartialMember
ill do it i guess
but you can edit this a="Hello World!" print(a)
do you guys not have interfaces in python 
how does dpy handle this?
Would still raise an error if I typed in characters that cannot be converted into integer
Sumqayit usagi var burda?
#rules: English only
we must use integer in geometric series
Oh they just make a normal Member/User list hmmm
this is definitely not how you would do it in typescript
is there any "Sumqayit yetimleri" in this sv?
and i don't think "member" is supposed to be an attribute of user
@quiet saddle ^ :p its in MESSAGE_CREATE
ill just parse it to a normal Member | User
that's not what a partial is
wait I think Im confusing myself here
In the dpy docs, it's annotated as list[abc.User], though not necessarily meaning as a whole/complete Member or User object
I have a PartialMember class for that
So shouldnt I do this
Okay I think it's pretty clear
The mentions parameter includes an array of user objects along with a guild_member object corresponding to each of those users, with the user field ommitted from the guild_member object (hence why it's a partial):
https://docs.discord.com/developers/resources/guild#guild-member-object
someone tell me how to get develpoer bag
why
well yes i know that i have a specific object type for partialmember
why
maybe my wording here was confusing :p
this is because it's gone
I don't see what the question is then
no
:pensive:
nobody?
With what? We can't read minds, you know
If you dont tell what you need help with no one can help you
what kind of server do you think this is
Did you at least do what it says in there?
A little reading might help
All programmers are tech support, duh
I do it
Fix my printer
I did it, but result is same
We are not WhatsApp Support though
So are you apparently. Mr Senior .NET engineer with 12 years of experience

Or is that fake? Like your pfp?
interesting last name, too
Alright, But I can't do it
real
so, nobody has experience?
Stop.
not with whatsapp no, that would be up to whatsapp support team
if someone handle this problem, I will pay him
<@&1050493473033289778>
I am waitting
I pinged, no need to ping individual mods

Me an end dev
Nested classes are an odd pattern imo
No recruitment
Ok got it
back-end or front-end
Nested programming
Dead-end
π
And wuddahell is that new, I don't remember seeing the partial member thing
deadend (BINARY) ......... π
I don't identify as 0s and 1s
..........
its in gateway message create event
Fainly i finished my bot
My bot finished me
you finishedddd it π
π
IYKYK
Your bot have π«?
hmm his bot was too hungry i think
I agree
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)
so moral of the story " always feed your bot , if you want to use it ' π
am i ..
self.mentions = mentions :horror:
No im just adding member partial member on the user object tbh
thats not so bad
A
Yeah you can do that (potentially confusing but whatever)
but having a separate MentionUser type would be even more confusing no?
or would it be better than this
Equally confusing IMO
?
B
C
No spam guys 
D
Or c++ π
Why is self.mentions a list[User | MentionUser] here when the PartialMember object is an attribute to the User object
dpy just seems to kind of flip it and make a full member object by adding on the user object as a attr to the member
Ok
Because the User object has no indication of having a "member" attr in this context
It's a dynamic attribute, the annotation is to "trick" the type checker
Cuz of cache
design/layout feedback please people
Why is it not centered
why is what not centered
Descriptions
Wow
you mean with text centering?
eh
because i do not like text centering one bit
actually,
Left and right section
the context is a member, so i think doing what they did is best, cache aside, i was wrong to say its that
πππ
It's not actually unicode, it's a 1px high span with a 0.075em border on it
(so my suggestion is making it thicker)
i've got a design
Looks like ai
theres one π in the :room:
Lorum epsum
i have more in my learning dir
you know it's the 2nd year since i am learning web dev just to refine skills
I don't think I can. If i make it even 1px thicker it looks super chunky
dollor sit amet ... π
only 1 of 19 (i dont know why butt the file is half
I mean cool design but wtf is an "immersive developer experience"
i've seen real people write like that sadly
also, it is centered. maybe it's just that the nav bar is thinner so it looks unbalanced?
that is somewhat by design though to bring the text closer to the center
π
sadly agree πππ
i understand why it did what it did, but it also only did that because the compiler isn't the smartest
Do you have multiple pages of content (eg that needs scrolling down for?) If so, how does that look?
the plan is that i'll do a view api transition between the pages, but each one is expected to be taller than one screen
i'm just gonna shove it all in a div with overflow scroll
That makes it feel unbalanced for me
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?
Could just be me tho
Gotcha, was wondering how it would look as your right column is not centered on the page
ideally the entire thing would be in a single scrolling div but i separated them into different pages for SEO reasons
Yes. They have to store that data themselves
I see what you mean but i'm also not sure how I could solve this, realistically.
the first iterations had the socials links float to the bottom of the container but it left way too much dead space
You should look into how to use a database. A good one to start with is SQLite
Add a "Skills & Tech Stack" Marquee or Grid
try alligning the left icons with the bottom of the right text?
okii
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.
that's not the finished content
what's left now
... all of the content? that paragraph is a placeholder
Yeah this
hmm I am Done
this is obviously not styled properly but the plan is this
with that big text column fading to 0 opacity on the top/bottom
@cunning arch
Bro just mentioned himself 
Why are some new tickets processed while older tickets are still pending? Is it because I processed them during the holiday?
they infact don't have opal badge :(
no it's because you spammed duplicates
part 2 of a commit that should've been 2 commits
someone who doesn't handle the actual appeal just cleaned up the spam you bombarded them with
I am not good with git :p
What do I do
you learn some patience and you wait
@jade current @vestal fractal
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)
that hasn't been public for years now
i know
then why ask?
i wanted to know if i can get there being android betatester
no, and doesn't have anything to do with this server
okay thanks for answer
AE, are you excited for the opal badge that'll you get in 7 months
Dw that happens to me a lot
opal badge guy the third...
wait the second isn't here now so does he count..?
I'm a bit mixed on having such a narrow column for the main content π€
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.
I'm thinking maybe narrowing the left column and have the title full width at the top and this allows you to have more width on the content column
!support
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
bruh
((:
LMAO
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.'
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 π
Yuh, hope the best
My commits' names on my bots are horrible
99% of commits on one of my bots is "changes"
Tried just widening the content but i think the image here makes it worse than it would normally be
Like 700 commits
mine are understandable i think
:p
Which I had to rebase once to delete something from history
Though it's a private repo
I think my flexbox layout is quite limiting for this too
gn
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
this one's funny
but either way yea i'll need to tweak the balance between header/nav and content a lot
Hmm modrinth π€
curseforge but without the 40% screen ads banner
modrinth's ui is way nicer but their creator revenue is scuffed
they got completely shafted on their ad deals
Something like this layout #dev-chat message
I'll try. Probably gonna redo the whole thing anyway since I need to un-flexbox everything
something like this?
I would have the Name + blurb be full width
I don't follow what you mean by that
ahh
that's something i tried before but i felt the title was oversized
I think this one is a bit better balanced?
I think in your current version, the name makes it feel off balance because it over reaches to the left
That whitespace feels off
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
I wouldn't really care if I was able to post there for free (never checked)
i care because i make most of my living off of modding :)

I do stuff for fun at this time
at the very least they are providing something back to the creator lol
some might be getting enough to keep developing though, which is important to know
others have no disregard for if the creator is earning or not, they only care about their own earnings
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
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)
honest opi?
most use it due to api
nailed it, brb
good luck
@pure verge
git commit --amend?
@m-a my beloved
was meant to mention active moderators sorry
For what purpose
Not sure it's that serious though
message was deleted
Huh weird
@pastel turtle
To not have two commits that are meant to be one
The merge thing?
Ah generally
Meh it's fine
alright intellij/opencode, does either of you feel like telling me what you're trying to run on my system? no?
bash
half joking because it may literally just be running bash
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 π
having the title above looked wrong, but i think this feels more balanced?
subagent went down a rabbit hole of irrelevant suggestions and the main agent isn't pleased
oop need to invert the lines on the nav links too
I think it feels better because everything on the left colun is left aligned
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 
