#dev-chat

1 messages · Page 12 of 1

neat olive
#

anywhere between 0 seconds and the heat death of the universe

#

really doesn't seem like a relevant topic to this guild though

rugged vector
dark moth
rugged vector
dark moth
#

no, that has nothing to do with this server

rugged vector
#

okay thank you

main isle
#

Olla

pale hull
#

I thought that Python does not store ints as X-bit?

patent hawk
#

How are you

neat olive
neat olive
tall thunder
#

i just realized/saw that the github background isnt black 😭

olive depot
#

slow

tall thunder
#

on my main screen it looks black D:

lethal pier
#

#1c212a

vestal fractal
unique pike
#

May i ask what are we doing

runic axle
#

i need staff to dm me

#

very important things

unique pike
#

If it is important i will not interfer

sharp lantern
#

AutoMod just gave me an error.

unique pike
#

May i ask what does AutoMod do?

runic field
lethal pier
unique pike
#

I Understand

tall thunder
lethal pier
static epoch
#

?

sharp lantern
static epoch
#

it hard to see

spring hollow
# sharp lantern its

if you take a look at the message when you type “hi”, you’ll see why it was blocked

tall thunder
sharp lantern
#

too single

static epoch
#

fr

sharp lantern
#

its right

static epoch
#

i try too it say the samething

#

try hello

spring hollow
solemn mulch
#

yo guys i have a question

hoary pagoda
#

Yes

solemn mulch
#

is not about dev but anyone know when server partner comes?

pale hull
#

The program has been shutdown for quite a while iirc

solemn mulch
#

oh

spring hollow
frail quiver
#

I update my macs os 15.7.5 discord lags out the app had switch to the internet one not app

tired obsidian
#

<@&1050493473033289778> in several channels

#

Thanks, Purpzie! Bro was being mean

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

wanton shadow
#

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!

native pilot
wanton shadow
native pilot
#

no

wanton shadow
#

ok why?

#

@native pilot

native pilot
#

expanding premium apps availability is not a priority so it is not currently planned

wanton shadow
#

ok

warm plaza
#

Should i be here?

tired obsidian
#

If you want to be

warm plaza
#

Ok

fiery egret
#

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????

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

bright citrus
grand field
#

I have important question why I can't use super reaction in my phone

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

polar viper
#

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

warm thunder
#

Anyone know how to get the recent activity added to your discord server?

patent carbon
#

you are either selected, or you arent

warm thunder
#

not quite sure what that means

#

it's not a setting i can turn on? or a bot i can add?

icy smelt
#

hi I speak spanish y need help doo you know a person ho can help me?

warm thunder
#

^ this is what I'm trying to get

patent carbon
# warm thunder

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

warm thunder
#

that's lame ash

icy smelt
#

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?

daring wasp
#

Do you mean discord developer portal or

patent carbon
#

did you create a support account? it's separate to your discord login

icy smelt
patent carbon
#

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

icy smelt
#

Thank you very much. Today I had a problem with my main account. I hope the Discord page can help me.

stark vector
#

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?

patent carbon
#

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

daring wasp
#

^ as sam said

discord.ui.Label(text="Heading", description="desc", component=....) # place your file upload in the component
lofty schooner
#

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)

patent carbon
#

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

lofty schooner
#

thank you (T . T)😢

patent carbon
#

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

lofty schooner
#

ok

#

vc?

patent carbon
#

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

lofty schooner
#

ok

#

I'm trying to set up an HTTP-only Discord bot.

patent carbon
#

this requires prior knowledge on how to create a web server to listen to a specific endpoint

daring wasp
winged swan
#
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

proven daggerBOT
#

Code

id = bot.user.id
print(id == hash(id))

Eval Result

True

winged swan
#

except for -1

#

but no snowflake is -1 anyways

rustic badger
#

Yall know how I can get new Discord UI?

ionic night
#

new?

versed creek
#

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

stray basin
daring wasp
daring wasp
daring wasp
flint epochBOT
sullen cove
#

What is this type of component called?

daring wasp
sullen cove
#

Container SMTH right?

daring wasp
#

that looks like just a container with a section

#

section containing text display and a thumbnail

sullen cove
#

Aah alr ty

solid wind
#

average C# method name length

await durableClient.ScheduleNewDedicatedIpDeprovisionedEventOrchestratorInstanceAsync(new(ipId));
stray basin
daring wasp
#

I am just a normal dev hanging out here

olive depot
#

sora the owner

daring wasp
#

if I was the owner everyone gets a free cookie

daring wasp
patent carbon
solid wind
#

really rolls off the tongue

stray basin
stray basin
olive depot
terse wing
#

the select menu in modal don't work with me anyone know the reason?

patent carbon
bleak pond
#

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

trim geode
#

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.

daring wasp
#

is it like topgg?

#

your bot listens for when a user votes on topgg?

plush bone
#

I made bot using ai

#

It's better than most bot

versed creek
plush bone
#

Ye

#

I made homework using it's ai feature

#

Even it's like chatgpt

#

With gifs like owo

versed creek
#

Not working

#

It doesnt show up in the sv

vestal fractal
#

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

daring wasp
#

next up I want to make it be able listen to events properly and implement *some app commands features

vestal fractal
#

Yurp

daring wasp
#

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

vestal fractal
#

And channel

daring wasp
#

yes

#

like Role, User

vestal fractal
#

Make sure you add slots to your objects

wide pasture
#

Hey guys, any tips how can i make my bot appear on app list and get it verified?

vestal fractal
#

There's respective pages for both on your app's section in the Developer Portal

daring wasp
#

right now like for user i basically implemented all the fields that api exposes

#

for guild it's half done

vestal fractal
#

I can already tell you the most painful object of all is message

#

I still didn't finish mine

daring wasp
#

True lots of stuff

vestal fractal
#

I also make a TypedDict for each object so it takes even more time

solid wind
vestal fractal
#

That's not the same purpose

daring wasp
vestal fractal
#

A snowflake ABC would be a class utilizing its own existing ID attribute

vestal fractal
daring wasp
#

like User isn't a snowflake, it has a snowflake id?

vestal fractal
#

Yes
But that doesn't contradict if you ask me, even dpy follows this pattern afaik

solid wind
#

yep, the ID is a unique identifier for the resource, not the resource itself

vestal fractal
#

Well if it's all about the name then it can be named Object

solid wind
#

thats a slippery slope into a god object

daring wasp
#

Yea

daring wasp
#

Hashable being inherited

#

or I can ig implement __hash__ manually on the classes themselves

#

but that'd be a lot of duplication

frank kelp
daring wasp
#

eh

versed creek
#

Server cat

solid wind
#

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

daring wasp
solid wind
#

its also not breaking DRY to have similar trivial code like an ID across many places

daring wasp
#

Okay got it I'll change it up soon

verbal wraith
neat olive
#

as far as I understand snowflakes should be unique at least within discord

upbeat anchor
#

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

neat olive
#

I was mostly thinking about cases where you'd have an unintentional collision

upbeat anchor
#

@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

vestal fractal
neat olive
daring wasp
#

I changed it to manually implement the hash on the class itself

daring wasp
#

cuz you could compare a role to a guild otherwise

vestal fractal
#

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

upbeat anchor
jade current
vestal fractal
#

Why shouldn't it fail

weary pagoda
#

Hello my friends

daring wasp
weary pagoda
#

Is it possible to use WebBluetooth in Discord Activities? I want to use a DAW and other hardware

#

Or WebUSB

daring wasp
#

Or I can have a base Channel class which will be inherited by Voice channel Textchannel etc

vestal fractal
#

The eq method in dpy objects is typically an instance check and id check

errant jay
#

what is your favorite game? Mine is Grand Theft Auto V and BeamNG.Drive

upbeat anchor
vestal fractal
upbeat anchor
#

they would still be the same id

upbeat anchor
daring wasp
#

Wait is that how self.class works I'll have to confirm

vestal fractal
#

I'll need to check

weary pagoda
#

Nobody? Neat lol

neat olive
daring wasp
bleak pond
weary pagoda
#

I highly doubt the dev team has considered connecting hardware as a use case lol

vestal fractal
#

@daring wasp

daring wasp
#

then I can keep the base Snowflake technically but it is wrong conceptually

vestal fractal
#

Well yeah self.__class__ is type(self) and it's not routing to the class you're extending

daring wasp
vestal fractal
#

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

bleak pond
versed creek
bleak pond
#

So sora what would be the issue then why my vote system suddenly stop working next day after starting

bleak pond
#

First day it works then next day it stopped working and it doesn't give error

daring wasp
#

isn't topgg like they post a request to you when a vote happens

bleak pond
bleak pond
#

Yes

daring wasp
bleak pond
#

But why does it stop after just one day

daring wasp
#

I don't know to be honest

bleak pond
#

I even hardcoded the ip to be safe

vestal fractal
#

For me it doesn't

bleak pond
#

Really

vestal fractal
#

Yuh it works

bleak pond
vestal fractal
#

Make sure you're following the documentation

bleak pond
#

It works fine when I started the bot

#

But then next day it stopped working

vestal fractal
#

Enable logging and debug it Ig

bleak pond
#

Already on but I don't see any error or problem

vestal fractal
#

Also you can use the test button to test it

bleak pond
#

Did it already

balmy basin
#

devops is sooo devopsful

jade current
#

I wanna learn coding

verbal wraith
#

Good, what is stopping you?

jade current
#

What language should I learn first

versed creek
verbal wraith
stoic thicket
muted karma
tropic sandal
quiet saddle
neat olive
#

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

sudden yoke
#

MorningSK_wave

quiet saddle
sudden yoke
tropic sandal
#

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.

quiet saddle
tropic sandal
#

Good news it wasn't for you anyway

neat olive
jade current
#

Is Python easy

tropic sandal
#

I started with Java in school, and oof, not my favorite.

neat olive
#

but e.g. if you wanted to go into gamedev I probably wouldn't recommend python

quiet saddle
#

your first programming language doesn't really matter

neat olive
#

used to be java at my uni also, but that was well before I enrolled

sudden yoke
neat olive
#

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 cyberlul

quiet saddle
#

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

neat olive
tropic sandal
#

Honestly even using a gif of that anime ages me, lol

lethal pier
#

learn the fundamentals of programming...as they all translate to any language you choose

neat olive
#

or at least did when I did the python courses

quiet saddle
neat olive
#

I also don't recognize it cyberlul

tropic sandal
#

Yu Yu Hakusho

quiet saddle
#

Ooh 90s era

daring wasp
quiet saddle
#

implementing rate limit handling is good idea to do early on

modest geyser
#

Damn no scams for 7h

#

Last scam was at ~4am

daring wasp
quiet saddle
#

yep thats where im looking

#

was just commenting that it's good you're doing that

versed creek
daring wasp
#

oh thanks

balmy basin
#

gm chat

daring wasp
balmy basin
#

im doing monitoring and ci/cd rn

daring wasp
#

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 😭

quiet saddle
#

don't bother with it tbh

daring wasp
#

No we dont spoonfeed we can help you fix it though

#

!tag pastebin

raven agate
#

?

daring wasp
#

what's the tag?
Also @raven agate Use a service like pastebin to send long code

daring wasp
#

By tag, i meant like there's commands which allows you to send a pre-saved reply

peak halo
#

there is none, it's not d.py the server

daring wasp
#

I have the memory of a goldfish sometimes

raven agate
#

is there any residencial proxy scraper ?

neat olive
#

just what are you trying to do

verbal wraith
#

You can also use it to reference discord docs iirc

shy barn
#

guys

#

i have a question

daring wasp
shy barn
daring wasp
rugged vector
#

i still don’t know why they want to have badges

verbal wraith
#

More badges = bigger flex on kids

daring wasp
#

i think i had a few on my old acc @kind otter

verbal wraith
#

You are not cool then

quiet saddle
shy barn
daring wasp
#

so cool

quiet saddle
#

i liked my just starting role better honestly lol

daring wasp
#

matches your pfp

quiet saddle
#

yeah

#

my pfp was a pain to get under 10 MB

shy barn
#

guys

rugged vector
shy barn
#

is developer badge Available?

verbal wraith
#

No

rugged vector
shy barn
#

but why?

quiet saddle
tawny zealot
#

2

rugged vector
#

? like what u want me say

tawny zealot
#

im here since the developer badge released

#

now its deleted

verbal wraith
# shy barn but why?
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.
maiden girder
jade current
#

??

jade current
daring wasp
#

wait how do you do that

shrewd wasp
#

Why i cant say

#

H

near crescent
#

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.

daring wasp
shrewd wasp
#

Ok

jade current
daring wasp
#

hmm, i feel like i still prefer the custom classmethod to be honest

onyx nimbus
near crescent
#

google: "discord job"

quiet saddle
daring wasp
#

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)

quiet saddle
#

what does the state object hold rn

daring wasp
#

itll contain more stuff like cache etc

jade current
#

Is it a supposed singleton

daring wasp
quiet saddle
#

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"

daring wasp
#

yes ill keep that in mind

quiet saddle
#

a "client" class for example - this is generally something you just have one instance of, which is initialized when your program starts

daring wasp
jade current
#

Yuh

daring wasp
#

you seem to be pretty knowledgeable already

jade current
#

I don't think so

daring wasp
#

for someone saying they want to learn coding id say youre knowlegable

quiet saddle
#

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

daring wasp
quiet saddle
#

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

daring wasp
quiet saddle
#

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

jade current
#

Agree

quiet saddle
#

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

balmy basin
quiet saddle
#

ugh that's annoying

balmy basin
#

no why lol

quiet saddle
#

I've just really never been a fan of enforcing stylistic preferences into syntax

balmy basin
#

in Som++ i would like to declare degree of privacy via spaces amount

quiet saddle
#

Som++?

balmy basin
quiet saddle
#

ah

quiet saddle
neat olive
balmy basin
wide pasture
#

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.

neat olive
#

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 cyberlul

wide pasture
#

Is fedora stable and smoother than ubuntu?

quiet saddle
#

it's pretty much standard convention across almost all langs to use Pascal for interfaces and classes

balmy basin
neat olive
quiet saddle
neat olive
#

(you as in general you, not specifically referring to anyone)

winged swan
#

Very interesting design go chose

balmy basin
#

yeah

viscid steppe
quiet saddle
balmy basin
#

im going to investigate that

neat olive
viscid steppe
#

Interesting that Google style for C++ said to use trailing underscore for private members and they do this to Go

#

What have they done

neat olive
#

average google moment

#

would you care for 2^32 bits of AI with that?

quiet saddle
#

Exactly - they're extending an opinionated style preference to an entire language

neat olive
#

and no, that is not a bitwise xor operator (damn you fortran (ibm))

quiet saddle
#

Which is why companies like Google have no business pushing new programming languages in the first place

neat olive
balmy basin
neat olive
#

I also think it's perfectly fine to not want to use a lang because of that

viscid steppe
#

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

quiet saddle
weary bluff
#

Happy Dev Mommy days ❤️

viscid steppe
#

Just like how != in Lua error with the error "hey we don't like the others, use ~= instead" or index starts at 1

glass vortex
#

Both do force quite a lot

quiet saddle
# neat olive or fortran

Honestly you'd have to take that one up with Luna, I don't know enough about fortran to have an opinion there

viscid steppe
#

If you fail indent in python, it's just a skill issue ngl

glass vortex
#

This was not a point of "failing". It's a point of "those languages force style on you too"

neat olive
#

(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)

frank kelp
#

gugu gaga

neat olive
#

which is really just the same popularity thing

modest geyser
#

Have yall heard of AIX

quiet saddle
viscid steppe
#

I indent in other languages just like i indent in python, no real problem for me

neat olive
#

but it's specifically what amounts to an arbitrary choice that was made long ago and everyone just stuck with it

quiet saddle
weary bluff
#

Why y’all don’t use prettierrc?

neat olive
#

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

weary bluff
#

Some uses space, some uses tab too which f up the indentation too

viscid steppe
#

.editorconfig

neat olive
#

who is using tab for indentation

quiet saddle
#

That's mostly handled by IDEs these days

weary bluff
#

I’m not fan of spaces

balmy basin
quiet saddle
#

and honestly there's no reason not to have your IDE insert spaces on tab keypress

neat olive
weary bluff
#

I don’t know how does 8 tab seems normal but I use 4

viscid steppe
weary bluff
#

2 looks so tight

balmy basin
#

is 7 spaces indent good

quiet saddle
viscid steppe
#

Tab sizes are just inconsistent

weary bluff
quiet saddle
#

What language?

neat olive
#

I like 4 spaces but I do follow style guides for whatever lang I'm using

viscid steppe
#

It might look perfectly normal on your machine, on github, but on some other people machine it will just jump all over the place

quiet saddle
#

Never heard of a lang enforcing use of TAB char instead of spaces

weary bluff
weary bluff
#

I’m just giving an example

neat olive
quiet saddle
weary bluff
#

What do they recommend when you’re coding

#

I believe python would recommend you to use tab rather than space either

viscid steppe
#

No?

balmy basin
#

Why people use js tho

ts is objectively better

weary bluff
weary bluff
quiet saddle
#

This is simply not the case... are you just confusing "auto insert 4 spaces when I press tab" with TAB

balmy basin
quiet saddle
#

because those are very much different things

neat olive
#

and mixing the two is not allowed

verbal wraith
weary bluff
daring wasp
#

im hungy now more writing code later :p

viscid steppe
#

Hi hungy now more writing code later :p

neat olive
balmy basin
#

i need more devops this day

#

i need to ci/cd ci/cd

weary bluff
weary bluff
balmy basin
quiet saddle
viscid steppe
#

...that is the definition of insert spaces when pressing tab. No?

weary bluff
#

I don’t know, copying 4 spaces when copying a code snippet looks weird to me

viscid steppe
#

Wait i misread, thought it is plural at a big space

quiet saddle
#

what do you mean "looks weird"

weary bluff
quiet saddle
#

...but it looks identical

vestal fractal
#

Vscode tab is not 4 space unicodes afaik

#

Like with the setting being set to tab

quiet saddle
viscid steppe
#

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

weary bluff
#

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)

neat olive
nocturne spade
#

Guys why is it when I put my bot banner it's blurry but the image isn't pls help

quiet saddle
vestal fractal
#

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

nocturne spade
#

Can someone help?

weary bluff
vestal fractal
#

Who tf uses space key what

weary bluff
quiet saddle
#

SHIFT + HOME my friend

weary bluff
nocturne spade
vestal fractal
#

I use my mouse for 99% of things

neat olive
#

I only use spaces for indentation if I have code that needs to be indented differently than the default for the file

weary bluff
neat olive
#

e.g. an sql query in a python file

vestal fractal
weary bluff
olive depot
viscid steppe
#

The question is why do you want to go to the first column of the line?

vestal fractal
neat olive
#

yes

quiet saddle
neat olive
#

just a second I'll grab the bit from pep 8 kekw

viscid steppe
#

I only go to the first letter of the line

quiet saddle
vestal fractal
neat olive
vestal fractal
#

Does anyone use their keyboard for selecting text

viscid steppe
#

Me

jade current
#

Selecting?

vestal fractal
#

Absolute crazy work

viscid steppe
#

If you use neovim it's just V to go to visual line

quiet saddle
#

i mean i use it interchangeably and in combination with mouse, it really depends

vestal fractal
#

Mouse is just faster

weary bluff
#

cmd + shift + arrow keys

nocturne spade
vestal fractal
#

💀

weary bluff
nocturne spade
#

Plss

weary bluff
vestal fractal
weary bluff
nocturne spade
neat olive
#

I primarily use a mouse for selecting

weary bluff
quiet saddle
#

i'm not hardcore enough to use vim... i just make heavy use of INS/HOME/DEL/END/PGUP/PGDN

weary bluff
#

You have to fill quotes (“”)

#

There is comments please

neat olive
vestal fractal
neat olive
#

I wouldn't recommend using a mouse for typing clueless

vestal fractal
quiet saddle
viscid steppe
#

$ is to the end of the line (and # is to the start?)

vestal fractal
neat olive
weary bluff
neat olive
#

just not on my normal keyboard

quiet saddle
neat olive
#

(half is actually a lie, I have 4 of 6)

weary bluff
#

I’m using touchpad lmao

neat olive
quiet saddle
weary bluff
vestal fractal
#

Now I know why you don't use a mouse

viscid steppe
neat olive
#

I have a full size thinkpad keyboard on my laptop :p

#

including the funny red thing

weary bluff
#

My mouse’s battery dies, so yeah

vestal fractal
#

Use wired

quiet saddle
vestal fractal
#

And how bad can it be

weary bluff
neat olive
#

I don't use any wireless peripherals on my pc

verbal wraith
nocturne spade
quiet saddle
neat olive
#

I do not want to charge stuff, much less replace batteries

weary bluff
daring wasp
viscid steppe
weary bluff
#

But, I don’t have wired mouse 🐁

viscid steppe
#

The one with the charging port at the bottom or something

quiet saddle
neat olive
vestal fractal
#

My mouse can last 70 hours without charging

viscid steppe
#

Absolute cinema design

neat olive
#

this thing kekw

weary bluff
daring wasp
#

no using when chargin

quiet saddle
vestal fractal
#

Some guy printed a thingy for this

weary bluff
#

Then comment all of others which is client application avatar one

nocturne spade
weary bluff
#

Since you don’t want to upsate avatar

neat olive
weary bluff
weary bluff
neat olive
#

I'm not charging my mouse on a weekly basis or whatever 💀

quiet saddle
#

i need at least 1000 hours of charge before id consider wireless mouse

nocturne spade
weary bluff
vestal fractal
nocturne spade
quiet saddle
#

i cba to even charge my phone

neat olive
#

wireless mice would have some advantages over wired, esp. since I like light mice, but I absolutely do not want to deal with charging

jade current
#

Wireless wire

neat olive
viscid steppe
vestal fractal
nocturne spade
weary bluff
#

I like wireless, because it is wireless

vestal fractal
#

Wireless is not always superior if you ask me

weary bluff
#

No cable issue

solar niche
#

why does this thing come after crossing 75 servers ?

weary bluff
#

But charging

quiet saddle
nocturne spade
neat olive
#

cables aren't really an issue if you're at a desk IMO

vestal fractal
#

Also depends, if you use BT headphones when gaming that's dumb

weary bluff
#

This is for nodejs environment

viscid steppe
nocturne spade
#

Uhh

solar niche
olive depot
vestal fractal
#

BT is always inferior to cable. The 2.4 chip isn't

viscid steppe
#

You have a warning when you turn it on before 75 servers btw

nocturne spade
solar niche
#

thanks for the help!

neat olive
#

if you care about audio latency using windows is a mistake anyways cyberlul

weary bluff
vestal fractal
#

BT is always delayed

solar niche
weary bluff
#

No { } is big no no no for me

neat olive
weary bluff
#

Also JS comes handy when you want to build web stuffs so

viscid steppe
vestal fractal
nocturne spade
weary bluff
neat olive
#

and I'm specifically talking about windows for a reason, much less of an issue on e.g. linux

weary bluff
#

Ask for help in d.py server or check out their documentation

viscid steppe
#

I had too much fun trying to fix my audio when i still use windows

weary bluff
#

About how to update an app’s banner

nocturne spade
weary bluff
#

Just put it on your ready event

nocturne spade
weary bluff
neat olive
#

a wired connection will typically have lower latency but it's not that much lower vs. a good BT connection

quiet saddle
#

i usually just have my macbook on the side of my desk and listen to my music from there lmao

vestal fractal
weary bluff
nocturne spade
nocturne spade
weary bluff
#

Typescript

neat olive
#

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

weary bluff
quiet saddle
viscid steppe
nocturne spade
vestal fractal
#

.gg/dpy

neat olive
vestal fractal
#

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

neat olive
#

at least in my experience it's probably the cable

#

cables tend to break easier than the ports themselves

vestal fractal
#

And my stupid headphones use the aux that has one smaller end

carmine gale
#

guys i hosted my discord bot on my router

vestal fractal
viscid steppe
verbal wraith
vestal fractal
#

And if I use the mic hole with the headphones then volume is lower

carmine gale
neat olive
verbal wraith
#

Baby steps

quiet saddle
#

I don't even bother connecting it on my build

vestal fractal
#

On my previous pc I used the front usb port for an external hard drive Clueless

#

Idk if it's related but it did get corrupted at one point, waste of 5tb

glass vortex
quiet saddle
#

I think you mean defining functions as const instead of with the function keyword

quiet saddle
#

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

strange roost
#

Hey guys please give me nitro please I need 🙂🙂😭😭😭 please send me

jade current
#

No

strange roost
#

Why

magic holly
#

Hm

quiet saddle
magic holly
#

Hey can someone help me?

weary bluff
magic holly
#

I need a bot developer for a server

zealous gate
#

go to fiverr or similar sites

magic holly
glass silo
modest geyser
#

Mmmm bean water

neat olive
#

I should get some bean water too

glass silo
#

JavaScript water?

stiff herald
#

can anyone help me to connect discord activity app to connect with web app

strange roost
#

Where to find JavaScript for Quest Discord

#

Because I need to make a ticket.

daring wasp
#

@quiet saddle YAY

#

got gateway working

magic holly
strange roost
#

OK

glass silo
quiet saddle
weary bluff
#

Can we update our app's namestyle for specific guild? I think it was possible but it was not documented

grim pawn
olive depot
#

i mean you can for only specific guild, not global

strange roost
weary bluff
grim pawn
weary bluff
glass silo
#

It's not documented

#

So technically unsupported

grim pawn
#

-# sorry no documentation for you tho, AutoMod almost got me fried

glass silo
#

Ooh damn it's automodded now

#

I guess that's fair

grim pawn
glass silo
#

It's explicitly supported afaik yeah

strange roost
#

Bro this JavaScript safe

verbal wraith
#

You tell us

strange roost
#

Safe or no

#

Tell me

verbal wraith
#

If you are not sure, don't use it

strange roost
tired obsidian
#

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

glass silo
#

Token logger huh

tired obsidian
# strange roost Hm

The end of the first line is incomplete:

let t=JSON.parse(f.contentWindow.localStor
strange roost
#

😂😂

daring wasp
#

seems to me you're wanting to copy your user token or what

glass silo
#

Maybe don't send that here

tired obsidian
#

And if you can't understand it, don't exectute it

olive depot
#

-# not "your" i assume

strange roost
verbal wraith
#

Don't

daring wasp
#

Im not helping you (probably) break tos

strange roost
#

Ok

arctic gulch
#

Yo can someone help me in making my game?

glass silo
#

Please don't input your token anywhere or execute scripts for "free nitro" lmao

tired obsidian
arctic gulch
robust hazel
#

hey, I needed some help with linked roles verification

tired obsidian
robust hazel
#

I dont understand how do I set it up properly or what's the layout for it

zealous gate
glass silo
#

Ya

zealous gate
#

ho rip

olive depot
#

.food one?

glass silo
#

Linked roles is something not many use it seems tbh

glass silo
weary bluff
glass silo
#

Are you patching current guild member?

#

It's not supported globally

weary bluff
#

a

vestal fractal
#

Method: PATCH
Endpoint: /members/@me
Payload:

{
  "display_name_font_id": int,
  "display_name_effect_id": int,
  "display_name_colors": [int]
}
grim pawn
#

globally patching will just ignore that

olive depot
#

souppp

dry temple
#

Does anyone have a bot with customizable V2 components, like the ability to specify what the button will send, etc.?

vestal fractal
#

Like using a dashboard?

tired obsidian
#

Do note that this server is for getting help with making your own bot, we're not a bot-listing server

balmy basin
#

i love grafana

#

just set it up

versed creek
#

I have a question

#

Can you have only 1 emoji on a button

#

Not the unicode one tho

grim pawn
versed creek
grim pawn
#

No

versed creek
#

Why

grim pawn
#

I'm not discord api and UI/UX engineer but that's pretty obvious, you can put only one emoji exactly named emoji field

rancid crane
#

this just copies your token lol?

#

why would you even send that here

verbal wraith
#

It won't work, it's missing some lines

#

They tried to but failed to even copy paste something

rancid crane
#

i know

modest geyser
#

its no longer bro!!

modest geyser
upbeat anchor
#

OMGG

modest geyser
#

ikr!!

verbal wraith
#

It's not even OMG, it's OMGG

grim pawn
#

OMGG 😭

modest geyser
#

Thats so revolutionary

olive depot
#

oh my good game

upbeat anchor
#

Profound

daring wasp
#

Oh my God God

verbal wraith
#

Double god

random lotus
olive depot
formal mesa
olive depot
#

early sheeppp

shy meteor
#

why moderator blocked?

pale hull
shy meteor
#

Who badge verified developer bot?

native loom
#

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

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

shy meteor
#

No

#

delete why

ionic herald
#

ops

#

sorry

shy meteor
#

no template copy like and

native loom
shy meteor
#

adverseting make it copy

native loom
#

But alr nvm

ionic herald
#

ok

olive depot
pale hull
shy meteor
olive depot
shy meteor
shy meteor
olive depot
#

you should ask this yourself

rancid crane
shy meteor
#

early verifed bot developer someone badges. soheab..

rancid crane
#

and so what?

verbal wraith
#

Someone someone soheab

olive depot
#

Who badge verified developer bot?
that doesn't even explains what you are asking

olive depot
rancid crane
shy meteor
#

idk profiles.

olive depot
#

is bro just typing all english words he know...

shy meteor
#

badges. make Lol it original soheab date

shy fern
#

hey can someone help with my code

verbal wraith
#

Probably

versed creek
olive depot
#

wumpus doing meow?

jade current
#

What sort of animal is Wumpus

tired obsidian
#

Purple?

wicked bane
bleak pond
#

How to write 5sec in js

wicked bane
#

5000

bleak pond
#

Why 5k not 5 only

wicked bane
#

It’s all about milliseconds

bleak pond
#

Hmm

wicked bane
#

In JS, many functions use milliseconds so I guess

bleak pond
#

Can't they just define it as sec or milliseconds

buoyant drift
#

@buoyant drift

lofty quartz
#

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 epicsob

#

like rust for a entire game is not a good idea that is why so many projects use other languages ontop

jade current
#

Just ask

modest geyser
#

dont ask to ask just ask your question

glass silo
#

FRETTTT

jade current
#

Sogeab

versed creek
olive depot
versed creek
#

Burple

#

Burple

#

Burp le

jade current
#

Burp? You mean Blurple?

bleak pond
low narwhal
#

Guys.

bleak pond
#

Hm

low narwhal
#

I need help with how to become a discord moderator.

#

Across all of discord.

#

Or even just in this server.

bleak pond
#

They don't have a dedicated server like reddit

daring wasp
#

Discord Staff?
They aren't accepting discord moderators for this server

bleak pond
daring wasp
autumn python
#

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)

bleak pond
#

Today is very good day

autumn python
bleak pond
#

Can you remove it

olive depot
autumn python
#

it is all over pc oops

olive depot
#

ye same, it just happened randomly to me as well

late sundial
#

as

olive depot
autumn python
#

ohhh ok thanks

sullen cove
burnt tapir
zealous gate
#

of course

zealous gate
sullen cove
#

Alrr

burnt tapir
#

what about DTesters? (now that you're here @zealous gate)

zealous gate
#

what about it

rugged vector
zealous gate
#

it's not closed it's just private

versed creek
#

I have a question

rugged vector
versed creek
#

What are the buttons for ticket thing

zealous gate
#

wdym

versed creek
#

Claim,close,...

burnt tapir
olive depot
zealous gate
versed creek
olive depot
rugged vector
zealous gate
#

bots can put anything as button labels

#

they have to choose the button style

versed creek
#

I mean what buttons are there in ticketing system or commands needed

zealous gate
#

that's entirely up to you

versed creek
olive depot
versed creek
olive depot
#

you never take opinion as a opinion, you just clearly copies

#

so ask somewhere else

versed creek
#

/periods track user :ace

modest geyser
#

AIX is a cool os

jade current
#

xAI

upbeat anchor
bleak pond
bleak pond
mellow sorrel
#

I'm frome morocco

olive depot
#

Does it affect flamey?

bleak pond
#

Huh

jade current