#dev-chat
1 messages · Page 16 of 1
no seriously

dude no
which i think you shouldnt
you just have a specific browser os and device string
I rearanged that sentance about 7 differnt ways leaving out some words and it would not let me send it
like i thought
awe man that sucks, would've made something nice for it
Are we gonna communicate through screenshots? 
Hahahah might have to
aight man
XDDDDD
w form of protesting
nah i think its fine because automod broken
yea ik
And everyone gets banned for bypassing automod
automod notification channel be poppin off rn
#mod-logs going to be full of spam
did someone make a modmail already
Just did if no one else did
do user apps bypass automod?
nope
Nope afaik
Nah
huh
That would be a nightmare
/j
hello lol wtf
i wonder what they changed with the automod rule to make it flag
I have a question
screenshot it
We might have an answer
🥀
Nice question buddy
You can do image moderation with AutoMod other than flagging the image file names
if you mean the ones with just images as attachments you dont with automod
no way my all gifs loaded at a time again
Both answers confuse me even more
AutoMod can't view images. On the name of them
Usually
ok nvm
So how do you get rid of them
not a lot of bro's
bro
Image hashing
needs images hashed
checking for spam across channels and honeypot channels work somewhat
or you can be like me and perform image analysis on them
you have to use perceptual hashing for this
also you need images to hash
Ok bro i am not doing this exactly
Right because they modify the images slightly
yea
they straight up dumped a bunch of words into the rule
I can do the honeypot but now what about blocking some words phrases from users name from automod
how does someone get a list of scam hashes?
April fools
I think you wrap it in * * for that
ts late
There is a git afaik
The automod thing should be fixed now, sorry for the trouble everyone
i get mine from my other detection method
message, docs
No problem. Was kinda fun
yup it works
Like every word but how would that stop them from putting it in there nick not msg
I'm not certain. I would have to double check how you test for user data rather than message data
What’s good y’all
😭I am not wanting to add this with a bot prolly
I always wondered what the rule that blocks words in profile does to actually block it
automodding bro would still stop 10%
Uh
just timeout everyone
must communicate via custom status
Why does the disabled_communications_until field exists if it never clears
only 3 scams today
Someone is just too lazy to remove it or fix it I guess
wait no 4
Advaith explained it few days ago iirc
What do you mean by never clears? Does it not just get reset when they are in a new timeout?
It doesn't reset when timeout ends
would you care to share?
the hashes?
But its a timestamp, so you know it is in the past
You should send a weekly dump on your gitlab 😉
Weird UX
lazyy
so remove the field 
Fair
thank you
Clearing the field would also take away some information. Like knowing when the person was last put in a timeout.
Hmm but it does clear when you manually remove timeout
oh, well /shrug
Why does Discord even use ISO, is that another thing related to languages not supporting large ints
What'd be the benefit of ISO over putting unix in a string
More DX than UX, the user doesn't care
Is this what when you try to add a banned word in name gives a error like when you try changing per server profile
no, but it converts it into the most cursed string to parse, which means a normal message with components can turn into "spam" for automod
i mean tbf the api could just turn it into null if its ended...
yes. I do not think that the rules apply retroactivly though. Only when a users changes there profile somehow will the scan be run
🐧 any linux enjoyers in chat https://www.youtube.com/watch?v=BwNfmazmU4o
god my internet is terrible today
PLEASE tell me it's arm linux app
Lol I find this very funny that I woke up to the r/discordapp post about someone on cashyos saying they couldn't update discord today
can i use it via mac m1 -> x64 windows -> arm linux
ME
why not linux arm -> linux x86 sim -> linux arm sim
my internet speed is so annoying me right nowww
Just download more
Good changes. One more thing that would make moving to Linux easier
nope
what is booster
why😞
did i hear linux enjoyers
what even bothered them to add it again
lol i came across this and it kinda makes sense
https://github.com/discord/discord-api-docs/issues/208
Read the first thing in #rules
That's why. Don't come here and beg for free stuff
- accessibility
- personal preference
- it doesn't hurt anyone
hmmm
Almost 10 years and that "purge channel" endpoint still ain't here 
its called rm -rf channel
and then remake it
#1478857869960019968 moment
Seems like a torrent client, (probably) pirating forza horizon
do you mean what's a torrent client?
downloading free ( unauthentic way ) forza horizon
i sometimes wonder if they could have restored it if they actually wanted to... but knew it would be not worth their time and the bad pr
What does it
like if it was a way bigger active server (or their internal).. would they maybe
hey Who can help me with TypeScript and React?
A torrent file is just a peer to peer file transfer, basically the server doesn't contain the file the users have parts and they can download from each other, you should google to learn more though
if you mean about how to pirate obviously I'm not going to help you with that
I have a question
if you have a dev question just ask here / #1478857869960019968
if you're hiring/looking for people then it's not allowed here
pirating = illegally acquiring something
For MEMBER_PROFILE automod rule whats the diff that will happen with BLOCK_MEMBER_INTERACTION
BLOCK_MESSAGE
in this case*

sooj always watching
no no I’m asking here because I want to know if anyone can help me with something I need to update some code but I can’t write the proper code myself
questioning my sanity, as per usual


oh wow i didn't know you owned sanity cms
soopji why are these blocked
there was an automod issue earlier, it should be fixed now
e🅱️ic. I plan on switching soon™
Please stop bringing up topics that are off topic for this server.
Shift + reply my beloved
i want shift reply to ping
please when
TIL
shift click on user is also my beloved
i keep on wishing it applied to channels too
VIM users like:
"I want SHIFT : r + ! p to reply with no ping"
For MEMBER_PROFILE automod rule whats the diff that will happen with BLOCK_MEMBER_INTERACTION
BLOCK_MESSAGE
if you use reply arrow to right (instead of left), then your reply doesn't ping frfr
guys who can code on Typescript or react?
so true
both but why
if you have a question... ask it
https://dontasktoask.com
can u help for smth
say it
there no react category
this server doesnt have language specific categories... just ask a question and we will answer if we can
react is development. this is dev-chat
Old replies :peepoCry:
very fun replies
The joke is that arrow to the left is a reply, arrow to the right is a forward message which in fact won't ping
shift-reply arrow disables the ping
Samtino learned that today
im glad you can hold shift to see the more options as it kept on being annoying to reply to yourself
tbh ive not used the edit button as much as reply as if latest i just up arrow
Real
dont call me out like that
If only we could change the keybinds in discord. Although I guess I can just map my macro keys to what the keybind is
Sorry 
why can't you ping reply yourself :(
irony? 😄 cuz you can, for most stuff ig
I don't know
Why would you want to?
fork bomb on school computer in start up folder is even funnier
Messing with school computers and ruining them for everyone else just because they are the "schools" property 🔥 \s
ow that hurts
account linking event soon™! :D
I want to speak, but the moderation bot won't let me 😭
mine too
a
b
Moderation bot?
if you're talking about AutoMod... then it explains why you can't send single word messages like "hi"
m
ok
me too
Can anyone help me to learn how to make discord bots?? (Only if possible 💀)
what programming language(s) do you know?
idk how I managed it, but I was able to reset my token without remembering the password and I didn't lose my account. LET'S MAKE THIS BOT THAT I WANTED!!!
i see why the intents take ages now... they been putting all the resources on the games
so none? i would then recommend you go and learn python

@obsidian sentinel can you help me
How bro
lol
or there is a thing that helps you 💀ai
Samtino??
The Internet is filled with resources and guides to learn any programming language.
who here develops roblox games
This is not a place to hire people if that's what you're trying to do.
ah alright my bad
Thanks (not)
first learn basics then learn python and watch tutorials how to make a bot with self hosting (no cost own computer does everything good for short term )
Can't give much more information when you haven't said which language you want to learn...
Plus it's not difficult to Google "learn [insert language]"
tru now days ai also is very helpful for beginners
Actually, something that would be easier to start with. You know I'm using a phone and I don't want it to burn by it's own heat.
Oh you're right.
Lemme give it a shot
Coding on mobile is not recommended, it's just not comfortable and hard to do it.
If you're on a phone... you're going to have a hard time coding
Not impossible, just very annoying in my opinion
@runic field , @patent carbon yeah I agree with you boiz 💀
n ice
👋
Done ,done
Wello
bot event next week hehe, the staff is going to hate me
that stage was so cool
I just wanted to hear answer about
Will Discord support built-in party feature to Discord Activities?
😔
New dev badge confirmed!?
what's dvrl?
:O
also some people should read rules before entering, the amount of dms i got through the stage was so high...
dev relations
i would close my dms entirely to this server if it wasnt for modmail
i have DM and friend request bombed while i was in the event lol
that's colin's job title
The Discord Developer Relations people... the people who communicate between the dev team and the community
they want to be your friends!!! (just kidding)
so you want to enter it?
no... they were just all in the stage channel with it locked about 15 minutes before the event started
into the stage
samtino should be devrel
devreal

Real dev?
Hello! I specialize in web apps and AI tools that automate tasks, deliver insights, and enhance user experience. contact me if you’d like to collaborate.
no
no
this is not a job board
no
not the place
not this place, also someone didnt looked into the rules...
some people cant collaborate with the rules
or even read them
a
That's why we love ddevs
why are you using the profile picture of a discord staff member?
is that colin on ur profile?
a genius?
I wanna know why my friends account that was suspended for 2 years now shows as account deleted
!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
early bird gets to redirect people to fiverr and townhall
And support
it’s not gonna be opened again and it’s not the server u should talk about this
a "2 year suspension" is permanent. the account is deleted the day before the suspension "expires"
when !townhall command that sends the townhall invite
I mean, you can just remember the invite code
tru
did the colin impersonator get obliterated
yes
damn, someone get blowed up
Nice
@sudden pewter knows all of them by heart
bam
I wonder if they know what their username means
let's make it 8
Hello! I specialize in web apps and AI tools that automate tasks, deliver insights, and enhance user experience. contact me if you’d like to collaborate.
Noooo
2nd time's the charm ig
no
Is there any server to talk about this
I don't know them all LOL also I thought this was about support articles off the notif 💀
nope, only support can help you
yeah, !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 already answered you
bold of you to assume people can read :trol:
so humble....

Are ModMail ( ticket in dms ) better for tickets or channels/threads?
depends on the preferences of the mod team
So i should make it configurable per server?
probably better than having multiple channels as tickets but threads works well too
personally think channels are better
modmail is better for anonymity of the moderators
In most cases it doesn't even need to be anonymous
but it's better to have it and not need it then need it and not have it
if it's used for lots of servers though, channels are generally better - since sending lots of DMs via API is never good practice
modmail is more appropriate for custom bots for individual servers
So anyone knows smth about bots nickname style thing?
Undocumented
true
happens to be working on the guild level rn, undocumented, could go away/change at any moment
yes when you dm modmail the moderator is granted the anonymity so you dont know with what moderator are you talking when you create ticket or write a problem in chat the messages with mods can be skipped and lost or something like that
shortly just use modmail its better
i agree more with what madeline said
one advantage of channels, too - and again this depends on your community needs - is a moderator can open a ticket and then "pull in" a member they wanna discuss something with by adding them to the channel perms and tagging them
it's generally better to use channels if it's gonna be in multiple servers but modmail if it's js one bot for one server
as so often in life "better" depends on your use case and requirements
So i may end up making them two separate modules
yeah still it depends on server mods one likes modmail one likes tickets or both
Or Toggle between modmail or channels/thread
I found this was helpful in a server I moderated as we something we sometimes had to address issues with certain members but didn't want to cause drama by doing that in a public channel
i manually use private threads for that, if needed
and you never know what people's DM preferences are, a lot of people have them turned off for non-friends
Why not modmail in private threads instead of DM? The issue I have with modmail is that I can't have two separate issues open at the same time.
what with discord voice
Can still have the same anonymity by mirroring the threads to another internal channel/forum like you'd do with DM modmail
Sounds complex for a normal user
how u even do that

Webhook?
forum for mods, private threads in general for users, proxy via bot, guess that could work, ye
you wouldn't even necessarily have to use webhook
well, same thing with extra steps, no need to
Did I miss it?
not really. We use it in our communities and have zero issues. It's less confusing in many ways because there's no risk of it going to another community if you use the off the shelf modmail
Click a button, fill out a modal with initial information, it opens thread...that's all they see as a user 
why?
I think a private channel is still better
Given that if you ping someone in a thread they get added to it.....
I meant staff by normal used, but yeah that works too
Even staff it's pretty easy
Only if you allow users to add others. It's a setting per thread
this is all it is on the staff side, at least for my implementation
Simple in what sense? What do I have to do to contact mods on your server?
So I do need to find that out first. Instead of a big button that... just opens the ticket/channel to talk in
tbh all modmail solutions are "simple"
I mean the instructions are right there for example
its at the top of the member list
just like this server
Yeah, on this server it's unintuitive for every mobile user too
why specifically for mobile?
No member list in view
make a #contact-staff channel instructing them to modmail then
Why not just a button there
why not just have tickets?
idk i dont like those
Very valid reason
The button is there, being the modmail @mention
what's bad about tickets that isn't bad about modmail 
How is an @ botname mention easier than a button?
And then open its profile, click msg, and you'll have to DM HIM FIRST which is annoying
esp. when you need to know the mention in the first place
the channel tells you it
Honestly curious what feels easier about modmail
Clicking a button is one step. Don't even need to read any instructions
people just use it for anonymity mostly ig
Idk man I just dont wanna implement a button system ngl
Well, I just said how DM is irrelevant for anonymity
Ah, so easier for you as developer? Not the users. Fair
Although that's also only true if you already have the DM system in place
I don't see how it's easier to develop tbh
Because they existed before buttons did
it seems like a ton of complexity that a ticket wouldn't need
Is the badge coming back?
no
no
Tickets with reactions were horrible, I can understand not doing those and opt for DM instead

yeah, the bot was written in 2017
way before the buttons were exist
absolutely atrocious yea
when did those ever exist what the heck
I don't think reactions would be worse than dm functionality tbh
worse than buttons? sure but not dms
The whole time before buttons were a thing
The reaction role era
dms are great
for non community servers these are still great lmao
Why would you create non community server
yeah no
idk if i want a private server
Just use buttons
Nah, they aren't. Ever since buttons exist reactions should not be used for stuff like that anymore
there's no scenario where they're even on par with buttons
There's millions of users on Discord and community feature doesn't suit everyone...
and there's not much of a difference for community vs. non-community server here
it's just worse in both cases
community off has a benefit i guess
the show all channels button is forced
so annoying that i have to manually enable show all channels nowadays
a lot of people actually
Oh yeah, reaction roles are still way more common than reaction tickets I'd say
don't tell me bot devs still uses reactions for embed pagination
yeah onboarding should replace reaction/interaction roles more or less 100% of the time
Youll never know :glueless:
Onboarding lowkey sucks
and if you're not using onboarding because you need x feature not available on it... use interactions
I've dealt with it extensively and it actually is so bad half the time
Unless no community
I'd legit rather have my own bot do it then Discord onboarding
not as much as reaction roles
Onboarding got better. I'm okay with it by now
Honestly? It's a bit 50-50 on that
and I hate reaction roles
in what scenario is a reaction role better than onboarding 
When you don't have 5 channels for everyone to see
it’s not better but not that worse
it's not about if it's better, they do different things. I'm just saying experience wise...they're both just as crappy more often than not
That's not okay, it should be skipable
I don't see any real point for reaction roles in any scenario tbh
interaction? sure, there are some edge cases, but not reaction roles
What if hyper reaction role
Huh? If you as server owner decide you want/need onboarding then no, it should not be skippable. If the things you ask aren't required then it should not be in onboarding
They not making any new ones ?😭 I am trying to get a rare badge
What for? They are just worthless pixels
If everyone can get rare badges just by asking are they rare?
Well idk it just looks cool
Prb not
you seem to have missed your stop "badge hunter central" - this is discord developers
As a user, that experience just sucks, it takes 3-4 seconds of loading to show onboarding, then you'll have to click random options for multiple seconds
how often do you join servers that that matters?
yeahh, onboarding just feels rough
MB
1-3 a day?
They're just trying to look like this
I apologize for talking off topic
Why?
Holy
Even if its 1, its just annoying
i think i found the issue
at one point i was creating a bot for self-roles to combat onboarding, but stopped development
does work tho
but random options definitely seems more like people are like misusing it; but I do wish there was branching options ngl
😂
That doesn't even matter alat
Infact I'm used to it now
Like for example, I have a server where there is both Overwatch and Marvel Rivals in it; but in onboarding we have the rank selection where we either show 2 pages (one for each game) or 1 page with all roles...which feels bad because it should be able to select the game they play then branch into those selections or none if it's irrelevant
Isn't the server limit with nitro 200, do you just join and leave, 1-3 a days, for how many days
Just gave a rough approx, and yeah i just explore, not staying forever
What happens when you go over the non-Nitro limit and then your Nitro ends, does it just leave random servers
Huh servers have nitro limit?
No, nothing happens
No the limit you can join
That's nice
Ooooooh
Buy nitro
Join 200 servers
Don't renew nitro
Profit
That's too many servers anyway
i would agree, if emoji/stickers weren't so stupid on discord compared to telegram/signal
bunch of friends have like 10 servers for their stickers, bc you only get 5 free slots per server
Staying in 200 servers at a time hurts
why are you in 200 servers
I'm on 35 right now (most of them are mine)
Who tf uses signal
who tf doesn't use signal
Bit of a money thing
oh sorry thats the first thing i read LOL
Who does, what's the reason for it
Me
What u hiding on there /j
There should be user emojis 🫤 for nitro users
Custom emojis*
why not Matrix
Over here people primarily use WhatsApp
- ability for meta to intercept
if i disable the message content intent since approval is taking forever, can i just re-enable it when/if approval goes through, or do you have to request approval every time you enable it?
You can disable, doesn't affects Anything
Unless your bot depends on it
yes, i'd have to remove the usage of intents as well otherwise it'll error out, that's fine - just wondering if i'll have to re-apply for approval later on, or can i just enable it once i get feedback on the current request
ratchet algorithm mentioned!
Just enable when approved
it gets auto enabled permanently once approved
TIL
Makes sense
that's great
When did you applied?
exactly a month ago
Use case for intent?
it embeds anilist urls with more data than the actual link embed provides
Huh. Neat!
unique
Woa
citron 🍋
early happy Discord's anniversary!
hap birf
Half B bird day
happy birthday discord
discordo*
Bro is living in the future
Its 1am for me
2015
Huh?
It's not about the discord release date
Well the topic is but the comment aint
it's about their local time
Rick astley was a wise man?
It's a shame that the Active Developer badge disappeared right on my birthday. I still remember it to this day. I wonder if there will ever be something similar, but permanently on our profiles /ot
hopefully not
because whenever someone suggests they re-add it, it goes to show why it was removed in the first place
"Active Developer" in your bio is p permanent (until you remove it)
yerp
Or link your GitHub repo to your bot (or a website for it)
Make a portfolio!
Get ||employed||
how can i get the new developper badge ?
the blue
I could have early dev and early nitro if i wasn't a child in 2017 🫠 used to have the app for playing tfm and my father knew it but i stopped and only came back when i was 13
in this economy?
im gonna hold your hand when i say this
This Isn't new lol
Early

click on your name > edit profile > add "I'm a developer" in the "bio" field
Get a time machine
my portfolio link is in discord activity proxy link
Worth to invest
good side project
lmao
they stole those wormholes from star citizen

I created a bot in 2020 that was always active; it had /commands, and yet I don't have the badge.
Como coloca emojis personalizados na categoria?
- english only
- what category
- dont ping mods for questions
- #rules this is an english only server
- you cant put custom emoji in category names
Slash commands are 6 years old already?
Member since 2023
he is a badge goblin, of course he has multiple accounts
I have several accounts btw
How do I add custom emojis to a category?
you cant, as stated
i already answered that... you dont
those are not custom emoji
sigh
those are unicode emoji that are available on all devices / platforms
yea i already and ?
you're at the wrong place if you're badge hunting, go elsewhere, maybe townhall
Ho ok
the blue developer badge has nothing to do with slash commands
not even townhall for this thing
Is this real?
- can i get badge
- no
- but whyyyyyyy waaaaa i had a bot once waaa
no
Are you stupid or what? I'm not looking for bugs; if I were, I would have investigated the problem with Discord not long ago
Ok
It's probably a rick roll
Someone should make Discord Badge Hunters so we can redirect them there 
nope, wish we had private messages tho
if you would re-read my message edit
no one said bugs
it's just one read only channel with an embed that says "go away"
nobody giving there free time for this pixel chasing guys
Yes, I understood that you need to have an active application for a long time, and that's the case; I have one that's been working since 2020
these guys really dont let up
no... that has nothing to do with it either
dude, u not getting the badge, shush
automod rule that flings the user (in real life) into the sun if they mention "active dev"
How come someone wants the badge but can't read the badge name 😞
No, this joke isn't even aged well lmao
Idk , I don't want it, but taking away our little green badge is really unfair; it prevents us from developing and being recognized.
he's still talking
lmao
lol... prevents us from developing... sure
"it prevents us from developing and being recognized" WILD take
You know people are still developing right?
prevents us from developing
a discord badge causes that?
and being recognized
portfolio links?
^
Too much ddevs for today
my activedev badge got removed... i suddenly forgot how to code, also my code editor and all my files got obliterated
lmao?
i used it for single sign in on github... lost all my projects December of 2025
so sad, life over..
the world is cruel :smh:
hell you dont even need a portfolio or any link, you can just put "C++ developer" in your bio and call it a day
yes i suddenly forgot how to code
ew... single letter variables
what do i do with this information
and why do you have single letter vars lol
yea you wnt all the code ?
Pls fix the warning
no i really dont care for it
oh nah
if its run i dont fix
Absolutely, because these are not problems that interrupt the bot's operation.
lmfao
"fix the problem even if it's pointless"
it's a problem regardless
I don't edit my codes, i just put new code in
As long as it works, a problem like this is pointless; it's a waste of time
Every line is set in stone
me when i see "traceback" so i just throw my macbook into the lake
macbook 🥀
128 characters
a bit too much no?
when im in a losing an argument competition and my opponent starts criticizing unrelated things about me
woah which model do you belong to
what are you, an LLM?
im a LLM that says "idk lol"
plsssssssssssss
you shall be introduced to type hinting
why
why you dont want to show
How can I report a user when their entire server wants to report me for nuking, even though they were actually the one who nuked it and is now trying to frame me? I have evidence in the form of photos and several message IDs.
"hey paragpt can you tell me why im getting a typeerror here"
"idk lol ask claude"
!report
This server is for help with Discord APIs, SDK and other various integrations. To make a report to the Trust and Safety team, please use the in app reporting tool. For more information see this help article.
you fix the code
You can't report a batch of events
do i owe you my code
screen ?
no
Also time to follow more PEP stuff like 2 spaces gap between things (:
Sure
So, what can I do?
It could be anything, but yes it's dpy
Why do you need such low level control of client
I'm not seeing anything super low level there
import is_even
And why in the world is that future import necessary
Bro, your main.py file needs a treasure map to follow the indentation.
Yea not very low level but using clientsession..?
I dont know what to do
Boilerplate atp
Mobile view
why not just
from discord.ext import commands
bot = commands.AutoShardedBot(...)
Because i have subclassed and added things to my bot
You can subclass AutoShardedBot too...
Yeah i subclassed it
Yet you're using ClientSession directly
Because i want a web client
idk why i sent that gif
Wuh 🤔
So i can use something like
await bot.cs.get(link) as r:
a = await r.json()
So you're using the internal clientsession as an http client?
Ofc you can open one for every request, but id like to have one for the bot
Ngl that's a good idea
off-topic but can some scammers have verified servers?
Don't worry, it's not Indiana Jones getting lost in your main.py file, excellently organized.
I also do have my http client. But I use a separate AsyncClient from httpx. Never thought about utilizing the bot's one which atp seems hacky
Also uh make sure this doesn't include the Authorization header for every request...
No to get data from external api
For example i have my own api for random words that i want to get
Suddenly, VR gaming
- yes exactly ik, just utilizing the same session that is used for dpy stuff. as i said thats a cool idea. me like
Main concern though
It's a default ClientSession
What user agent is this
So it's not the one that's going to be used for, let's say, bot.fetch_user?
you IDENTIFY you gateway connection with browser property of Discord VR
Yeah, for that i just do it via dpy provided methods
Is it passed to your client in a way that makes dpy use it automatically?
when britday on discord
tf is britday
Nop, i just have it running along with the bot
boston tea party
Oh so I take it back, not optimized any more than what I do lmao
But personally my http client is not tied to the bot instance (that'd just require more imports on other files. not the best idea imo)
Instead, I do
from http_client import get_client
client = get_client()
Not client variable directly as it may not be set 
Sorry to be exact, it will require importing the bot file. Just more overhead than importing the client alone
I passed into the bot so i just need the bot instance, in which, it's everywhere
I almost never use my bot instance in other files, usually you can just use interaction.client....
Yeah
Just put Interaction[FurinaBot] as the typehint and it will treat Interaction.client as FurinaBot instance
I'd do
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from bot import Bot
async def command(interaction: discord.Interaction):
bot: Bot = interaction.client
And i will have typehint for the bot subclass
You don't use strict type checker do u (:
Because unfortunately it won't like that
bot: Bot = interaction.client is the only way compatible with strict checkers 
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from bot import Bot
async def command(interaction: discord.Interaction[Bot]):
...
ik

You can use generics tho!
My lsp doesn't complain
no i tried this
So 🤷
Which lsp are you using, Pylance?
I think basedpyright also doesn't have any issue with that
I haven't used both of them for a bit
Actually, this will work just not in every situation
This works for commands for example
got a 100 in my prog final lfg
But in a Modal's on_submit, you'd get "Client*" is not assignable to "Bot"
And no this is not fixable whatsoever, in the context of subclassing
In command they can just make the decorator use a protocol. But the parent classes like Modal don't use decorators. You're just overriding their funcs
Although hmm they could use a protocol
Pass the bot instance to the Modal directly 😎
or just do bot: Bot = interaction.client
Tbh i have only used the modal to store text value and that's it, the processing part is not from the modal
I just get the modal.input.text field
oh come on why does it run the local pyright in 3.12>
💀
No idea man no idea
yuh
i do a bunch of assertions there
like assert isinstance(self.input.component, ui.TextInput)
purely for typing
i could use cast but... meh
just update it with npm
i thought it'd be updated already, it's pretty new
maybe theres an argument for it
Also for as long as this bug stays (usage of a variable as a type arg), this is very nice if you don't subclass the view (:
Lowkey want them to keep it
yuh
very skill
/shrug message:works to me
nice shrug
dang built-in command LMAO
it resets slash command state when i switching servers for funny reason
or just probably reply thing happend
shrug
/shrug message:lol
ah so i'm doing that too quick before discord reacts to that
ah maybe its broken for replies specifically
it resets on replies and there's a little window before discord suggests to use command instead of raw text
race condition lul
lol but normal slash command just keeps the reply for me to use now
Good morning chat
also why is there an emoji picker on making channels now
worthy server experiment that adds emoji picker for channels and categories name
custom emoji????\
no :(
aw
when it was only rolling out i thought it was something like beta revamped mobile UI had that once for channel icons
but these were autogenerated tho
i’d be surprised if we get custom emoji in channel or category names
but it’d be cool for further customization
Hello, can you help me with my main Discord account that was hacked? I think I've been talking to a bot on Discord support for about a week now, but it hasn't helped me. I need real help. Two-factor authentication is enabled on my account, and I suspect the codes have been changed; I can't access it.
Help
És
!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've also responded to support via email, but I'm always getting the same bot replying. I need real help; it's been 1.5 weeks since I lost my account.
where do i even get support for this
https://support-dev.discord.com/
You cannot transfer a team without support's assistance. And it removes verification on all apps in that team
Hiya, what could be the possible options to store transcripts of tickets besides .txt, and HTML files?
Love how the VM on my proxmox just gets access to 25 cores while my bots only need 3
json
xml
txt and html would be the last options I would choose
could also use a database
anyone else having issues logging in onto dev portal?
Hmm, I feel like I didn't have proper context for what exactly I wanted to ask.
So, I don’t like the way HTML looks when we want to see transcripts. In that scenario what could be possible options, and the bot is not used across multiple servers.
No?
Haven't tried it in a bit BC I don't need to
nope, got in fine
Every time I login it just goes right back to the main login page constantly.
Hm, works fine here
this is a website?
Love how an avg VM gets 25 cores while my bots get a nice... 3 whole cores
I lost access to my 2FA authenticator. I still have access to my email but I cannot log in. Please help me recover my account or remove 2FA.
What?
!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
@torn zodiac
Nobody here can help you. Maybe support but unlikely
is this for a website?
This isn't really the place for it yk.. it's not like we can magically fix it
Who can help?
Nobody, thats the entire point of 2fa
No, a Discord Ticket/ModMail.
😭
Modmail is only for things related to this server
I cant help
How can I get help regarding my hacked account? I contacted Discord support but I think a bot responded. It's been 1.5 weeks and I really need help.
you really should provide better context and details for what you need help with
If you have recovery codes/one time backup codes, use them to disable 2FA, then add a new one.
It's been removed.
not possible anymore, #faq (it’s gone)
-# honey??? Huhh
Ty
I was referring to my question, about possible options to store transcripts.
That wasn't clear at all, tbh i still don't have any clue whay you're looking for reading your history
He's looking for ways to store an transcript.
But not with use of HTML

haha
json, xml or database are the options
I would personally go with json or XML, but i mainly use HTML for my transcripts
i use an python module that exports it into html that makes it look almost exactly like the messages in discord
Store, or be readable to the end user?
but json is good, or a db
Those are 2 completely different usecases
this is an excellent question
Store them in a minimal format and have a open source public webpage you can upload the file to and it will render it nicely
but overall, just use threads
Tokens = .env
Simple config = .json
Data = .db
That's my avg setup, will store things like a debug toggle in the .json config and tokens and APIs in the .env
Then just HTML for transcripts
honestly i try to store most in the db, with the access to the db in the env and then pull all from a secure stored db
I store all configurations in json, logs in txt and user data in the db
lmfao
i mean as a transcript i wouldnt want to edit it personally, but having it as something you can ingest easy json isnt bad
I’m looking for options for storing transcripts, but I don't like how HTML files store them, and they aren't very good to read. So, I’m looking for something that resonates with the actual chat and is easy to read. The bot isn't used across the server, mainly on 1-2 servers.
omg i need to steal this
that is funny
Have you been reading the chat. We have been talking about that for the past few minutes
whos doing the reading? and are you trying to read the pure html? or render it?
is it mainly for reference? or is it meant to be actionable?
haha
I got many memes at this point😭
It's a mix of everything
i need to collect a bunch of memes
god the amount of times my works ignored no friday deploys....smh
Here's a good one ;)
Yeah, I did, and your idea about the website thingy seems good.
and whats with some of these professional companies that provide tech services like oh we dont support after hours deployments.....like come on lol oh yea let me take production down during hours smh
nah that script would be final_final_final_final_v2.sh
Even fellow IT/CS students still say to me otherwise 🥀
I was reading the raw file. 
well thats the problem launch it in a browser let the browser render it
it might as well be saved as a txt file at that point
Ikr..
I am in the second year of my study ATM, I am doing both System engineering and Cyber security
I got my break (we firstly get 15 mins, then an hour and after that another 15 mins) and just set in the canteen minding my own business and chilling while some people behind me are just yapping about vapes and stuff.
The second I open a terminal (a basic shell in my proxmox) they start to yell at my that I try to hack them😭
Got a 5 year study btw
haha
Computer bugs
does anyone know how's this possible?
The '✓ app'
do I ask in #1478857869960019968?
you register your bot?
They meant name style
nonono, sorry, forgot to say context, the name style, yes
Don't know, don't mess around in the dev panel more then I need
really?! I tought I had to make a spearate account
-# jk ofc
ok, I'll just ask in the help channel
The modify current member endpoint with the display namestyles object
can we go to #1503888706023456848
Theres no other stuff to add
hello can anyone help me i wanna know that how can i enable media channel it is not available even the server is a community server
nonono, I just need reference
that's allmore clarification
Theres no docs its undocumented
oh, interesting
Afaik its an experiment and only available for select guilds
oh ok so is there any way i can get on my server ??
No
ok thanks
Thank you maukkis!
Oh thank you
I wish discord let us customize the side bar layout like I could make the channels list on the right
hello, iirc, theres a daily 200 application create limit right?
is that for newly created commands only?
like what if i add sub commands / groups, or change an already existing command's logic
Discord doesn't care about the command's callback; updating the app command does nothing if you only changed callback/logic
but adding a sub command is modifying the options on the command (sub commands are just an option type that is another command itself)
which is also rate limited but i dont think if it's the 200/d one
i see
so 200 is strictly for either new commands, or when you change name/description of an existing one?
i am not 100% certain on if / what type of app command data modification is on that shared limit
alright, ty
New command
anyone else got a glitchy mouse after recend windows pdate

Can we go to DMs real quick?
If you have questions, just ask here
My mouse worked normally.
0+
they will say they cannot respond but ok, does anyone know the display_name_styles object?
it’s undocumented
I know, but some poeple know it
so I am trying to find out
Weren't you already told the endpoint to do it? You said so here: #1503888706023456848 message
But ya... no one here is going to help you with undocumented api endpoints / request data... we only offer documented assistance here
yes, but idk the object
can’t help with something that’s undocumented
there's many ways to find that data on your own.... but since stuff like that isn't recommended (because it could change at any time for any reason with no warning), we don't tell people how to do it here
Olá.
Olá.
Achei só tinha americanos aqui kk
Hi... this is an English only server

🕹️
