#dev-chat
1 messages · Page 12 of 1
i know i cannot join townhall so i asked to this server
this isn't "townhall 2" this is discord developers
i knowww at least can u help me why i cannot join the townhall?
no, that has nothing to do with this server
okay thank you
Olla
I thought that Python does not store ints as X-bit?
How are you
it doesn't, I wasn't talking about python specifically there
I could be wrong here but I do believe that the memory footprint would be similarly smaller in python also, but yeah
i just realized/saw that the github background isnt black 😭
slow
on my main screen it looks black D:
#1c212a
Yes, I checked once and it's lighter
May i ask what are we doing
If it is important i will not interfer
AutoMod just gave me an error.
May i ask what does AutoMod do?
If you want to contact Discord staff, you do it through https://dis.gd/contact
No staff in this server will dm you
AutoMod is a limited moderation tool for servers
I Understand
it is 0D1117
not on my screen
?
its
it hard to see
if you take a look at the message when you type “hi”, you’ll see why it was blocked
color code is the same everywhere
too single
fr
its right
that won’t work either, you need to contribute to the conversation or go to discord.gg/discord-townhall for general stuff
yo guys i have a question
Yes
is not about dev but anyone know when server partner comes?
The program has been shutdown for quite a while iirc
oh
I update my macs os 15.7.5 discord lags out the app had switch to the internet one not app
!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
i have a question. im from canada and i want to use premium features on my application, how i do it?
please anwser me with an mention. thanks in advance!
premium apps isn't available to Canadian devs, only us, uk, and eu
thanks and soon is gonna be added?
no
expanding premium apps availability is not a priority so it is not currently planned
ok
Should i be here?
If you want to be
Ok
i need some help with signing in on my phone im so confused and stressing out right now and idk what to do is there anyone i can dm or anyone i can help????
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

I have important question why I can't use super reaction in my phone
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
should have this button, just hold on a message to react, open the full emoji menu, click that icon, then click on the emoji you want to super react with
if you’re wondering why you can’t super react in this specific server it’s because reactions are off
if you can’t super react in any server/dont have the option to, your client is very very VERY out of date
Anyone know how to get the recent activity added to your discord server?
discord features are not opt-in
you are either selected, or you arent
not quite sure what that means
it's not a setting i can turn on? or a bot i can add?
hi I speak spanish y need help doo you know a person ho can help me?
no... there is no setting to enable that... discord adds it to your server themselves... if you dont have it... you cant get it
and the same the other way around... if you dont want it but have it, you cant turn it off
that's lame ash
I don't know, but every time I try to log in to that page, it won't let me. It says I'm entering something wrong. I copy all the information from my account, and it still won't let me. Is there a way to message someone on Discord?
On what page?
Do you mean discord developer portal or
did you create a support account? it's separate to your discord login
So, I have to create an account and then link it to my Discord account?
just create an account using the same email as your discord account
you dont need to link it... discord does that automatically if the emails match
Thank you very much. Today I had a problem with my main account. I hope the Discord page can help me.
Hello, I'm having a problem with the Discord Modals interface.
I'm using discord.py 2.7.1.
I need to add a file upload field to a modal.
When I submit the modal, I get the error:
data.components.1: Value of field "type" must be one of (1, 10, 18)
The component I added is FileUpload, and it generates type: 19. My question is: Does Discord Modals now support direct file uploads? What is the correct way to add a file upload field to a modal?
i dont know the syntax for it in discord.py... but modal components can only have action rows (type 1), text displays (type 10), or label components (type 18) as its direct child components
if you want to use other types of components, they need to be wrapped inside of a label component
here's the label component examples https://github.com/Rapptz/discord.py/blob/master/examples/modals/label.py
^ as sam said
discord.ui.Label(text="Heading", description="desc", component=....) # place your file upload in the component
Ty
Excuse me, but I'm developing my own app, and there's something called an interaction endpoint URL. When I try to link to my server, authentication doesn't work. Is there anyone who knows about app development here? (T ^ T)😢
(T ^ T)
This is my first time making an app (T^T)
I don't know how to do it (T^T)
prior to setting an Interaction Endpoint URL... you must set up handling for validating that an interaction was sent correctly... as Discord will send 2 requests, one valid and one invalid requests to that endpoint... if either aren't handled correctly, they deny setting the URL
thank you (T . T)😢
i would first like to confirm... are you trying to set up an HTTP only based Discord bot? or are you just trying to set up a normal bot? as this step is completely optional and the less common way of making bots
this server doesnt have any voice channels
and i am not going to private call... if you have a question, you can ask here and myself or someone else can help
ok, then you can follow that docs page i linked above on how to properly handle validating the signature of an interaction requests, as well as handling a ping requets
this requires prior knowledge on how to create a web server to listen to a specific endpoint
@quiet saddle decided to do rate limiting first with a partially done guild object
now I'll probably make it so I can listen to events then app commands
here's the repo as I said I'll show
https://github.com/TakemiSora/dispy
class Snowflake:
def __init__(self, snowflake: int):
self.id = snowflake
def __eq__(self, object: object) -> bool:
if isinstance(object, self.__class__):
return self.id == object.id
return NotImplemented
def __hash__(self) -> int:
return hash(self.id)
is hash(int) not just int itself
Code
id = bot.user.id
print(id == hash(id))
Eval Result
True
oh true
Yall know how I can get new Discord UI?
new?
Does this loook cool or a create ticket button which give you this to select after clicking creating ticket like select the tag thing in a modal and you can describe your issue too and also upload a file but thats optional
Can you please explain this
yea Ill replace it in a bit
It's my code
it's a Snowflake class i made for anything that has a discord snowflake id
stuff like User, Channel, Guild, Role can inherit it
I'd assume you mean components v2?
documentation suggestion for @rustic badger:
Component Reference
What is this type of component called?
Which component?
that looks like just a container with a section
section containing text display and a thumbnail
Aah alr ty
average C# method name length
await durableClient.ScheduleNewDedicatedIpDeprovisionedEventOrchestratorInstanceAsync(new(ipId));
Ohh nice you are owner of this sv
No
I am just a normal dev hanging out here
sora the owner
if I was the owner everyone gets a free cookie
I think it might need a comment to explain what it does but idk
Discord owns this server
asynchronously schedules a new instance of an orchestrator responsible for handling an event of a dedicated ip being deprovisioned
really rolls off the tongue
Okay
Means what
Exactly what he said
the select menu in modal don't work with me anyone know the reason?
#1478857869960019968 and share details
Ya. Without more information, then we can't help you... Because select menus definitely work in modals
Why does my vote system stop working
When I restart my bot it works fine then next day it stop working and I don't find any error in the console of my server
It's extremely rare (I'd put my money on almost never) that a bot would just stop working with absolutely zero information about why it's not working.
How does the vote system work?
is it like topgg?
your bot listens for when a user votes on topgg?
Can I try
Ye
I made homework using it's ai feature
Even it's like chatgpt
With gifs like owo
You can make a created_at property for it
I'd say also a mention property but it wouldn't apply to guild/message
I have my own collection of objects where I made such an ABC
Well yeah right now I'm getting it working ergonomics/convenient features and documentation are for later
next up I want to make it be able listen to events properly and implement *some app commands features
Yurp
for message you can do link no
wait that'd need channel id and stuff too nvm
and it'd also have store which type of mention to do
don't feel like there's a merit when I'll implement the mention property on the objects like Role, User themselves
And channel
Make sure you add slots to your objects
Hey guys, any tips how can i make my bot appear on app list and get it verified?
There's respective pages for both on your app's section in the Developer Portal
will do when the object stuctures are finalized
right now like for user i basically implemented all the fields that api exposes
for guild it's half done
I can already tell you the most painful object of all is message
I still didn't finish mine
True lots of stuff
I also make a TypedDict for each object so it takes even more time
stuff like User, Channel, Guild, Role can inherit it
all these resource have snowflake IDs, but they arent extensions of snowflakes themselves. Its a is-a vs has-a problem, you should have an ID property containing a snowflake rather than extending these classes of some base snowflake class
That's not the same purpose
I skipped it for now, maybe later
A snowflake ABC would be a class utilizing its own existing ID attribute
Yeah that's fair, it takes a while to make
I think I kind of get what you mean
like User isn't a snowflake, it has a snowflake id?
Yes
But that doesn't contradict if you ask me, even dpy follows this pattern afaik
yep, the ID is a unique identifier for the resource, not the resource itself
Well if it's all about the name then it can be named Object
thats a slippery slope into a god object
Yea
class Hashable:
__slots__ = ()
def __eq__(self, object: object) -> bool:
if isinstance(object, self.__class__):
return self.id == object.id
return NotImplemented
def __hash__(self) -> int:
return self.id
do you mean something of this sort?
and having a separate Type for Snowflake?
or am I wrong
Hashable being inherited
or I can ig implement __hash__ manually on the classes themselves
but that'd be a lot of duplication

this looks unnecessary
eh
Server cat
take a scenario where two resources have the same ID (which does happen sometimes). With this, you could have a guild == channel return true, when they are not the same thing
@vestal fractal
Ace @olive depot
Oh, I thought snowflakes would be unique all across
its also not breaking DRY to have similar trivial code like an ID across many places
but more fundamentally, this
Okay got it I'll change it up soon

Does it? 
as far as I understand snowflakes should be unique at least within discord
everyone role is the same as server id
og general used to be same as server id
threads can share the message id iirc
there are many cases they can, but its intentional
oh yeah I knew about that, though it did slip my mind a bit
I was mostly thinking about cases where you'd have an unintentional collision
@solid wind also i think python is a sus language where this is legit if they are the same class (ie if you extend 2 times then the role and channel class should be different
Why hash and not just access id directly
e.g. two messages or say, a guild and a messages having the same id
I changed it to manually implement the hash on the class itself
and yes to prevent this too i realised
cuz you could compare a role to a guild otherwise
That's not going to be a problem
Afaik
Actually wait it can
Worst case implement the magic method of instancecheck but I'm not sure it can overlap like this
it could be an issue though, like say you have fancy classes like NewsChannel... now say this got changed back to a normal channel of TextChannel, now you trying to compare them will fail
😨
Why shouldn't it fail
Hello my friends
Those would be two different objects so they shouldn't be comparable no?
Is it possible to use WebBluetooth in Discord Activities? I want to use a DAW and other hardware
Or WebUSB
Or I can have a base Channel class which will be inherited by Voice channel Textchannel etc
that would be better
The eq method in dpy objects is typically an instance check and id check
what is your favorite game? Mine is Grand Theft Auto V and BeamNG.Drive
you can change a channel from normal to news
You should do this regardless in cases where methods are repeating
they would still be the same id
^
sure, i was just trying to say how that one impl wasnt fully full proof
But in my first idea where I had a Snowflake class being inherited wouldn't that mean you could compare a Role and a Guild?
Wait is that how self.class works I'll have to confirm
If you make that snowflake an actual ABC then I don't think so
I'll need to check
Nobody? Neat lol
did you try looking at the docs/asking in the activities channel
Wait No I am wrong I'm confused now
Yes and I have hardcoded the ip of top.gg
I promise you I searched the activites channel and the search in general + it likely wouldn't be in docs it's a pretty niche use case
I highly doubt the dev team has considered connecting hardware as a use case lol
@daring wasp
yes I was just checking that and it seems to work with normal too
then I can keep the base Snowflake technically but it is wrong conceptually
Well yeah self.__class__ is type(self) and it's not routing to the class you're extending
No reason not to
yes my understanding was wrong idk why I thought that
But you really don't have to add an init to this base snowflake
If the object extending it has id attribute then it will use it
I made with my feet
Your pronouns 🖖
So sora what would be the issue then why my vote system suddenly stop working next day after starting
err idk tbh
First day it works then next day it stopped working and it doesn't give error
isn't topgg like they post a request to you when a vote happens
I already told you it doesn't show any error
webhooks
Yes
err not as in errors, err as in errrrrr
But why does it stop after just one day
I don't know to be honest
I even hardcoded the ip to be safe
For me it doesn't
Really
Yuh it works
Make sure you're following the documentation
Enable logging and debug it Ig
Already on but I don't see any error or problem
Also you can use the test button to test it
Did it already
devops is sooo devopsful
I wanna learn coding
Good, what is stopping you?
What language should I learn first
Coughs
Depends on the case, if you want to make discord bots you can make them in literally any language that can send http requests
assembly
There's a reason a ton of intro CS programs have started moving to Python for starting students off in programming.
That said, it's really entirely up to you and what you want to do.
opened it, will check it out in a min 
yeah, though CS programs aren't necessarily entirely aligned with what you might be looking to do, so what you're actually trying to do should determine what you start with
Morning

Still alive I see.
Same goes for your VSC
In my opinion, Python is a perfectly reasonable choice, and I get why universities are going that route. A lot of programming is simply algorithmic thinking, which is very similar across all languages. It's just a way of approaching problems. Python is very simple, and people give it crap for that, but it's a strength too. When you're just starting off, it's already a firehose of information, which can easily become overwhelming. Picking a language to start with that abstracts away at least part of that onslaught can help you get the fundamentals of the programming paradigm down faster.
yeah I just woke up though haha
Good news it wasn't for you anyway
yeah, I don't disagree with this at all, and python is what I also learnt first (and is what my uni uses) and I certainly don'y have regrets about that
Is Python easy
I started with Java in school, and oof, not my favorite.
but e.g. if you wanted to go into gamedev I probably wouldn't recommend python
your first programming language doesn't really matter
used to be java at my uni also, but that was well before I enrolled
I do think it does, but I also think there are a lot of languages that would generally be okay choices
I'd probably choose python over e.g. js or java but all of them would be quite okay... on the other hand there's cobol 
it can shape how you think about programming, so in that sense it matters... but like, most general purpose languages are going to feel difficult and abstract in the very beginning, then start to feel a lot easier, then start to feel much more complicated when you realize how much you don't know, like anything
the only reason I know about it is because they still give credits for it if you did it before the change 
Honestly even using a gif of that anime ages me, lol
learn the fundamentals of programming...as they all translate to any language you choose
or at least did when I did the python courses
I actually don't recognize it. where's it from?
I also don't recognize it 
Yu Yu Hakusho
Ooh 90s era
There's a few things wrong right now :p
and I am attempting to implement event listening
implementing rate limit handling is good idea to do early on
That's already been done in http.py you can check that
Is that good or bad
oh thanks
this seems very solid, good job
gm chat
thanks :3
im doing monitoring and ci/cd rn
doing intents then gateway hopefully by today or tomorrow
but I also have to study maths 😔
tried copilot free it sucks I gave it a simple task and it couldn't do that right 😭
don't bother with it tbh
?
what's the tag?
Also @raven agate Use a service like pastebin to send long code
ohk
wdym
what is the tag
By tag, i meant like there's commands which allows you to send a pre-saved reply
i forgot 😔
I have the memory of a goldfish sometimes
is there any residencial proxy scraper ?
just what are you trying to do
Djs user app has some "tags"
You can also use it to reference discord docs iirc
dont ask to ask, just ask
-# as long as its a dev question
how to get Developer badge
#faq discontinued
i still don’t know why they want to have badges
More badges = bigger flex on kids
same
oh no i suck then ive got no badges
i think i had a few on my old acc @kind otter
You are not cool then
i love flexing how cool i am on discord.com
thx
omg buildathon role /j
so cool
i liked my just starting role better honestly lol
matches your pfp
guys
isnt there is a website u can use to make it less?
is developer badge Available?
No
nope
I edit mine manually in Photoshop for more precise control over the quality reductions
2
We found that the Active Developer Badge created a heavy amount of support issues with little benefit to developers. We've made this decision to better align our developer recognition efforts with programs that more meaningfully celebrate our developer community.
#faq for more information
support issue = bot ghost
??
You can make UserFlag(None) return None
eh?
wait how do you do that
As stated in the automod message, please help us keep conversations meaningful and enjoyable. We've had issues with people just chaining "hi"'s for extended periods of time, which made chats spammy and diverge from the actual topic.
If you mean "hello", please read the automod message
Ok
hmm, i feel like i still prefer the custom classmethod to be honest
How can I become a staff member?
Also blunder
google: "discord job"
the original is this really cool sequence from the opening credits of Frieren
yes I saw that after pushing i fixed it itll be fixed in my next push
im also removing the State object being passed everywhere since im gonna change that object up a bit
and the objects dont need them i think (rn i will think when i need it)
what does the state object hold rn
right now its just a aiohttp client session, i dont know why i passed it around everywhere tbh
itll contain more stuff like cache etc
Is it a supposed singleton
i think it would be considered so
a good question to ask yourself would be "does [x object] need [some large object being passed around], and if so, does it need the whole thing, or is it just using a small part of it"
yes ill keep that in mind
a "client" class for example - this is generally something you just have one instance of, which is initialized when your program starts
also didnt you say you wanted to learn coding like a hour ago 😭
Yuh
you seem to be pretty knowledgeable already
I don't think so
for someone saying they want to learn coding id say youre knowlegable
it's tempting to just add all of your properties - like cache, http client, commands, event handlers - all onto the client class and expose them directly, then pass the client around
im putting the cache and the gatewayclient later onto the state
and there are undoubtedly some benefits to doing so - it makes it easier for different parts of your lib/app to interact with each other
cache as in like caching the user objects and guild
but it's also dangerous, because you're not only giving read access to all these properties, but also write access (unless you implement safeguards, which can be difficult to do, particular at a beginner level)
so a command (which should have relatively few "permissions" in your program) now has the power to modify very important things like your cache or websocket connection
Agree
languages like C++ use explicit access modifiers to control this sort of behavior (e.g. public, private)
iirc python takes a pseudo-explicit approach by signaling member variable access via prefixes (_ or __) - though I don't believe this is actually enforced in any way
then langs like javascript are pretty much implicit, where it's left up to the developer to control (or not control) variable access - although js does have decent support for immutability which makes this a bit easier
for Go there is no public or private keyword, you just use first letter case to declare should object be "exported" or not
ugh that's annoying
no why lol
I've just really never been a fan of enforcing stylistic preferences into syntax
in Som++ i would like to declare degree of privacy via spaces amount
Som++?
the troll language on go im trying to develop
ah
I mean this effectively breaks snake_case and camelCase which are by far the two most popular naming conventions for general variables
__ does get mangled up, but yeah a developer can still force their way through
That’s so bad ngl
well i have never seen someone writing on go with snake_case, only camelCase
so you just do camelCase for "private" and PascalCase for "exported"
yeah you generally right but i mean people get used to this (?)
Hey guys, what do you think i should learn as a starting developer? Should i learn networking etc?
I want to develop bots and websites, i know front end html and css but i want to upgrade.
Also i am installing fedora linux, is it good? Ubuntu didn't worked somehow.
honestly though if the only thing stopping you from breaking your code is an actual enforcement mechanism on these you're doing something very wrong imo 
Is fedora stable and smoother than ubuntu?
Yeah but PascalCase for variables and exported functions conflicts with things like interface/class naming
it's pretty much standard convention across almost all langs to use Pascal for interfaces and classes
no no, you just directly follow this algorithm - camelCase for "private" and PascalCase for "exported" - for constants, variables, structures, interfaces, functions, methods, attributes, etc.
an actual enforcement mechanism could be better... but it's a major skill issue if python's current system doesn't work for you 
...I'm not going to name an interface using camelCase just cuz I'm not exporting it, that's majorly confusing
(you as in general you, not specifically referring to anyone)
Very interesting design go chose
yeah
What about leading underscore, is it private too
I wasn't really trying to be opinionated about it, just explaining how it works
im going to investigate that
yeah I really just wanted to add the mangling bit (which isn't proper enforcement but it's not nothing) and then trailed off
Interesting that Google style for C++ said to use trailing underscore for private members and they do this to Go
What have they done
Exactly - they're extending an opinionated style preference to an entire language
and no, that is not a bitwise xor operator (damn you fortran (ibm))
Which is why companies like Google have no business pushing new programming languages in the first place
Personally I think it's fine to do that, and to some extent all languages do just that
as i understood privacy depends on first letter case
I also think it's perfectly fine to not want to use a lang because of that
Go is fun but := and the new quirks are kinda meh
I think it's still fine if i don't think about it too much
To some extent but it's usually not so rigid and it's usually driven moreso by collective community preference
Happy Dev Mommy days ❤️
Just like how != in Lua error with the error "hey we don't like the others, use ~= instead" or index starts at 1
or fortran
and then there's rust shipping with its own linter and python forcing indents for logic
Both do force quite a lot
Honestly you'd have to take that one up with Luna, I don't know enough about fortran to have an opinion there
If you fail indent in python, it's just a skill issue ngl
This was not a point of "failing". It's a point of "those languages force style on you too"
(fortran has just been influential enough that a number of things we do are done in that specific way because fortran did them that way, and nobody wanted to/bothered with changing that)
gugu gaga
which is really just the same popularity thing
Have yall heard of AIX
Yes, part of why I dislike the philosophy of these languages
I indent in other languages just like i indent in python, no real problem for me
but it's specifically what amounts to an arbitrary choice that was made long ago and everyone just stuck with it
It's not about it being it being difficult or a problem - it's more just why should this matter when it doesn't need to
Why y’all don’t use prettierrc?
doesn't mean that the choice was necessarily bad (unless it's the bitwise xor operator and I will die on this hill) but it often is more or less arbitrary
Some uses space, some uses tab too which f up the indentation too
.editorconfig
who is using tab for indentation
That's mostly handled by IDEs these days
me?
and honestly there's no reason not to have your IDE insert spaces on tab keypress
(and to be clear this is not the same as using tab = 4 spaces or whatever)
I don’t know how does 8 tab seems normal but I use 4
You know what, there are less people using tabs so if you use tab you can trigger more people
2 looks so tight
is 7 spaces indent good
Tab spacing has nothing to do with it, that's totally configurable
Tab sizes are just inconsistent
I’m just trying to fit the language’s principles
What language?
I like 4 spaces but I do follow style guides for whatever lang I'm using
It might look perfectly normal on your machine, on github, but on some other people machine it will just jump all over the place
Never heard of a lang enforcing use of TAB char instead of spaces
For example JS recommends you to use variable functions
No no nooo
I’m just giving an example
I've only seen it the other way around
in some but not all cases
What do they recommend when you’re coding
I believe python would recommend you to use tab rather than space either
No?
Why people use js tho
ts is objectively better
No?
I use TS, I just gave an example
This is simply not the case... are you just confusing "auto insert 4 spaces when I press tab" with TAB
no i mean i often meet people calling themselves "professional js coders" but 0% knowledge about TS
because those are very much different things
python specifically recommends using 4 spaces for indentation, tabs can be used (but are not recommended) to remain consistent with code that was already indented with tabs
and mixing the two is not allowed
First sign they are not "professional" at all 
Just did research, yeah they recommended spaces over tab by PEP 8
im hungy now more writing code later :p
Hi hungy now more writing code later :p
this has caused me some grief
(when editing code outside of a code editor that'll automatically insert spaces)
No, I do use tabs that one takes a big space of 4 white-space
I need dvd
yeah me too why not
okay well... that's fine, it's just unconventional lmao
...that is the definition of insert spaces when pressing tab. No?
I don’t know, copying 4 spaces when copying a code snippet looks weird to me
Wait i misread, thought it is plural at a big space
what do you mean "looks weird"
It just looks off to my eyes –not pleasing me
...but it looks identical
depends on prefs
Copying code with tabs definitely looks weirder for me, cuz only recently i have the chance to config the tab size in my terminal, before my terminal uses the default 8 width tabs. So code when i edit on my terminal is different from code when i edit on my editor
While on other 🖐🏻, seeing while copying an empty blank (tab) with clicking to your right key with an instant animation is what I like most (to copy indent)
and the file you're working on iirc
Guys why is it when I put my bot banner it's blurry but the image isn't pls help
Idk cuz all of a sudden I noticed my editor started doing 2 space indent when working with nested stuff in Python
So I changed settings to a tab of 4 spaces
Which isn't just 4 spaces
Can someone help?
On space version, you click, click, click and click (total of 4 times) to get the spaces being selected —yeah I know cmd / shift helps to take all
clicking?
Who tf uses space key what
Set your app is banner on your code instead of DD page
SHIFT + HOME my friend
To keyboard i mean pressing sorry skdjdj
How to do in vs studio
I use my mouse for 99% of things
I only use spaces for indentation if I have code that needs to be indented differently than the default for the file
Hold on, lemme share you the code snippet
e.g. an sql query in a python file
I'm now confused as of what should be the configuration for Python
tab = 4 spaces
keyboard for crtl + c / crtl + v
The question is why do you want to go to the first column of the line?
4 actual spaces?
yes
i do this constantly
just a second I'll grab the bit from pep 8 
I only go to the first letter of the line
oh, thats what I meant
Ah so changing to a non space tab wasn't good then
Does anyone use their keyboard for selecting text
Me
ya
Selecting?
Absolute crazy work
If you use neovim it's just V to go to visual line
Yep
i mean i use it interchangeably and in combination with mouse, it really depends
Mouse is just faster
cmd + shift + arrow keys
Ok now can u come in dms and tell what to do pls
💀
Not when you are coding
Plss
You just fill the variables bruh
Well it is for me
Eh, you lose time
Just pls and tell which spots I should fill in come dms
I primarily use a mouse for selecting
Dude, check the gist please
i'm not hardcore enough to use vim... i just make heavy use of INS/HOME/DEL/END/PGUP/PGDN
I don't even have half of those on my keyboard 
I use it for everything lmao
I wouldn't recommend using a mouse for typing 

Wtf 😳
ig if youre on a laptop then makes sense
$ is to the end of the line (and # is to the start?)
Yeah that's the only exception
oh I have those on my laptop
Ya
just not on my normal keyboard
oh do you have a 65%
(half is actually a lie, I have 4 of 6)
I’m using touchpad lmao
yup
you what now
Touching pad
Oh hell no
Now I know why you don't use a mouse
Coding challenge using only OSK :skull:
My mouse’s battery dies, so yeah
Use wired
plug it in..
And how bad can it be
I use macbook bro 😔
I don't use any wireless peripherals on my pc

Where should I paste the image or Image link
Should I paste the image or image link?
Is this where
nick: null,
avatar: null,
banner: null,
bio: null,
they have ports
I do not want to charge stuff, much less replace batteries
I do habe portable port too
They use the mac mouse 💀
But, I don’t have wired mouse 🐁
The one with the charging port at the bottom or something
wdym "mac mouse"
was that the thing you need to turn upside down 
My mouse can last 70 hours without charging
Absolute cinema design
this thing 
No, the first lines. const APP_BANNER one
no using when chargin
god that was the dumbest design ever made
Some guy printed a thingy for this
Then comment all of others which is client application avatar one
And next to I should paste the image link?
Since you don’t want to upsate avatar
my wireless headphones do like 50 hours between charges now (used to be 60) and that's way too short
Yes, send it to Discord then copy the link to be quickie
O hell na
I'm not charging my mouse on a weekly basis or whatever 💀
i need at least 1000 hours of charge before id consider wireless mouse
Oh ok can u add me just incase if I need help lol
Join to my server and create ticket, i don’t help in dm sorry
I used my headphones wired when using the pc
No I meant just add me so I know ur user to ask u here.
i cba to even charge my phone
wireless mice would have some advantages over wired, esp. since I like light mice, but I absolutely do not want to deal with charging
Wireless wire
I have wired headphones I use with my pc
Yeah someone's having fun designing that one mouse
Only reason I use the wireless is cuz otherwise my charging dock won't have lights 
Can u send the link of the guild tag ur using?
I like wireless, because it is wireless
Wireless is not always superior if you ask me
No cable issue
why does this thing come after crossing 75 servers ?
But charging
manage your cables
Btw I use python to code my bot so this command for the profile will work right?
cables aren't really an issue if you're at a desk IMO
Also depends, if you use BT headphones when gaming that's dumb
Uh oh
This is for nodejs environment
Because these are privilege intents
Uhh
it shows
This application is not currently in the minimum number of servers required to apply intent verification.
but i have already crossed 75 srvs like 2 days ago
wait a day or two
BT is always inferior to cable. The 2.4 chip isn't
You have a warning when you turn it on before 75 servers btw
U know any in python
if you care about audio latency using windows is a mistake anyways 
I do, but I don’t like python
BT is always delayed
already got the warning but this thing is still poping up
No { } is big no no no for me
windows often adds a fair bit more latency than a low latency BT connection will 
Also JS comes handy when you want to build web stuffs so
RealTek audio drivers :horror:
Maybe but it generally is, like on a phone there's latency too
Can u give me it pls
I don’t have it
and I'm specifically talking about windows for a reason, much less of an issue on e.g. linux
I had too much fun trying to fix my audio when i still use windows
About how to update an app’s banner
So which u recommend me to code with JavaScript or python
Just put it on your ready event
Can u send link?
I recommend JS ||TS||
a wired connection will typically have lower latency but it's not that much lower vs. a good BT connection
i usually just have my macbook on the side of my desk and listen to my music from there lmao
Not recommended as it can happen after a reconnection
I don’t know d.py
Ts?
No I meant server invite link
there are other benefits to a wired connection also (higher quality audio, no packet loss or interference issues, and of course no charging) but honestly latency often isn't much of an issue unless you're comparing a high latency BT connection to wired
Why would I be in a server where I hate the language
just don't use front audio port lmfao
Why do you ever change your banner on startup
But do u know the link? To server
.gg/dpy
hey ready isn't necessarily just startup 
I use the aux port at the front of my pc and I think I messed up either the cable end or the hole because it's suuuuper sensitive
Pisses me off how easily it disconnects
at least in my experience it's probably the cable
cables tend to break easier than the ports themselves
And my stupid headphones use the aux that has one smaller end
guys i hosted my discord bot on my router
Blud you did not
Sorry, automatically is the more correct way to describe it
Next task: host it on microwave or fridge
And if I use the mic hole with the headphones then volume is lower
yes i must buy a samsung smart fridge
could host it on say, a keyboard
Baby steps
it could just be the nature of using the front port.
the front audio cable has very little shielding and traverses the entire length of your PC case, crossing many other wire bundles that are carrying higher voltage and many more amps... then it usually connects to your MB very close to where the power supply is situated
basically a nightmare for electrical interference
I don't even bother connecting it on my build
On my previous pc I used the front usb port for an external hard drive 
Idk if it's related but it did get corrupted at one point, waste of 5tb
what does "variable functions" mean 🤔
I think you mean defining functions as const instead of with the function keyword
Yeah this
it's more about just using whatever is appropriate based on how you're using the this scope (if at all)
or when using generator functions, as these must be defined with the function* keyword
Hey guys please give me nitro please I need 🙂🙂😭😭😭 please send me
No
Why
Hm
Hey can someone help me?
Can’t promise
I need a bot developer for a server
go to fiverr or similar sites
🙂
Looking for a bot developer for a server
Mmmm bean water
I should get some bean water too
JavaScript water?
can anyone help me to connect discord activity app to connect with web app
Thanks
OK
Ayy
nice!
Can we update our app's namestyle for specific guild? I think it was possible but it was not documented
yes
Yeah you can do that per-server bot profile
i mean you can for only specific guild, not global
What is this
infinite discord nitro + a badge (if possible)
discord partner but better
is there any information about that I can gather?
There's display_name_font_id, display_name_effect_id, and display_name_colors fields that can be set per-server
font id and effect id takes integer and colors takes array of colors encoded decimals
-# sorry no documentation for you tho, AutoMod almost got me fried
technically unsupported but technically not gated between user and bot API :mmlol:
It's explicitly supported afaik yeah
Bro this JavaScript safe
You tell us
If you are not sure, don't use it
Ok
It’s most certainly not going to work, regardless of what it’s supposed to do.
Looks like some of the script got removed somehow
Hm
Token logger huh
The end of the first line is incomplete:
let t=JSON.parse(f.contentWindow.localStor
😂😂
seems to me you're wanting to copy your user token or what
Maybe don't send that here
Ok
But either way, this ☝️
And if you can't understand it, don't exectute it
Yes
-# not "your" i assume
So, how should I do it?
Don't
Im not helping you (probably) break tos
Ok
Yo can someone help me in making my game?
Please don't input your token anywhere or execute scripts for "free nitro" lmao
who me?
If you have specific, actionable questions about your code or setup or similar yes. If you want someone to do it for you, no
Na Like If I get some big problems or errors and if he could help me with that
hey, I needed some help with linked roles verification
If you run into issues you can make a post in #1478857869960019968 and we'll be happy to help troubleshoot with you, yes
K then thx
I dont understand how do I set it up properly or what's the layout for it
the other doc site?
Ya
ho rip
.food one?
Linked roles is something not many use it seems tbh
Indeed
it seems like I can't patch it?
a
Method: PATCH
Endpoint: /members/@me
Payload:
{
"display_name_font_id": int,
"display_name_effect_id": int,
"display_name_colors": [int]
}
globally patching will just ignore that
souppp
Does anyone have a bot with customizable V2 components, like the ability to specify what the button will send, etc.?
Like using a dashboard?
That's the beauty of components: you can have it do whatever you want when you write the code yourself: https://docs.discord.com/developers/components/overview
Do note that this server is for getting help with making your own bot, we're not a bot-listing server
Yes, just set only emoji field in button components, that's it
I mean if I have big icon i'd split it into 2 emojis and do like<emoji><emoji> will this show up in button?
No
Why
I'm not discord api and UI/UX engineer but that's pretty obvious, you can put only one emoji exactly named emoji field
discord api specifically limits each button component to one emoji object
this just copies your token lol?
why would you even send that here
It won't work, it's missing some lines
They tried to but failed to even copy paste something
i know
its no longer bro!!
@upbeat anchor
OMGG
ikr!!
It's not even OMG, it's OMGG
OMGG 😭
Thats so revolutionary
oh my good game
Profound
Oh my God God
Double god

early sheeppp
why moderator blocked?

Who badge verified developer bot?
So i need help my friend acc is gonna be banned due to her being in a server that got massed reported in and she didn’t talk to anyone in there
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
not related
no template copy like and
Well idk what server to go to.
adverseting make it copy
But alr nvm
ok
what
Support is the only way. There is no server. Also your friend will need to make the request on the support site, not you
soheab
Alright
this
..?
🙏
what?
you should ask this yourself
why does it matter lol
early verifed bot developer someone badges. soheab..
and so what?
Someone someone soheab
Who badge verified developer bot?
that doesn't even explains what you are asking
neither this
it does not make sense at all 😆
idk profiles.
is bro just typing all english words he know...
badges. make Lol it original soheab date
hey can someone help with my code
Probably
You can make a post on #1478857869960019968 so it won't be buried on this chat
wumpus doing meow?
What sort of animal is Wumpus
Purple?
🤔
How to write 5sec in js
5000
Why 5k not 5 only
It’s all about milliseconds
Hmm
In JS, many functions use milliseconds so I guess
Can't they just define it as sec or milliseconds
@buoyant drift
Idk why I get so peeved when people say making games with rust is bad but then they say they only used rust for it 
like rust for a entire game is not a good idea that is why so many projects use other languages ontop
Just ask
dont ask to ask just ask your question
?? Why did you reply to a 3 year old message..
FRETTTT
Sogeab
Later better than never
its mlue
Burp? You mean Blurple?
Guys.
Hm
I need help with how to become a discord moderator.
Across all of discord.
Or even just in this server.
They don't have a dedicated server like reddit
Discord Staff?
They aren't accepting discord moderators for this server
They don't accept mod for this server
but that's an actual discord employee
On Discord, when i use my cursor to click on a message's content, it shows the blinking cursor for some reason as if i was editing the message (PC)
Today is very good day
Can you remove it
is it all over the pc or just discord
oh you are right
it is all over pc oops
ye same, it just happened randomly to me as well
as
anyways, press f7
ohhh ok thanks
Is v2 components available in discord.py?
hmm, does discord even have a Trust & Safety team anymore?
of course
yes
Alrr
alr ty for the info
what about DTesters? (now that you're here @zealous gate)
what about it
nah, discord closed the server and most of the program
it's not closed it's just private
I have a question
well right they don’t take people as much as before
What are the buttons for ticket thing
wdym
Claim,close,...
i would like to join, do you have any info on this?
what about it
https://dis.gd/bugs it's not possible at the moment
I forgot what buttons are there
you can't, omg im lagging
u cannot join whenever u want, they need to invite u
I mean what buttons are there in ticketing system or commands needed
that's entirely up to you
🤕
there is no universal thing like that, just do what you want
I wan nothing just a close button will do right I need sum opionion
🤕
/periods track user :ace
AIX is a cool os
xAI
#api-chat message oh hmmmmm maybe i should be more smort
Never heard of it
Grox
I'm frome morocco
Does it affect flamey?
Huh
I think you're missing permissions...

