#dev-chat

1 messages · Page 27 of 1

hollow swift
#

Hey I'm back

#

That was uncalled for.

trim geode
floral rapids
#

yes and no, client should have full access to the container, when it comes to easily stopping, starting, restarting should possible issues occur, i think it's fair for them to have access to it though

storm nimbus
#

Having issues as to why my profile isn’t displaying my Spotify -_-

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

ashen oak
#

i get what u are saying but that mindset locks out a lot of people who just need to get work done not every client or team member needs to know the whole stack. that is why panels exist. to abstract the hard parts so people ca focus on their actual job. it is not about being dumb it is about efficiency

hollow swift
#

battery_nope my batteries running out. motorola could have some new higher battery phones. do you need any help developing for Motorola phones? I have a sample subject.

trim geode
#

That's not efficiency – that's job security for the developer who has to fix all the issues

hollow swift
#

we could optimize the phone app for Motorola to make it drain less and use less data. I used discord once and it used all my data!

jade current
#

:😕:

ashen oak
trim geode
#

My clients never have access to the running docker containers

hollow swift
#

The optimization crew could change the average user setting to normal and then change the creation user setting to average

trim geode
#

ever ever ever.

hollow swift
#

Do you want my help? I have a lot of coding experience.

hollow swift
# ashen oak Damn

1 GB of data man that's all my data. I'm a coder in desperation rn

dull fox
hollow swift
#

What is this for then?

#

Why are you stomping a minors neck?

trim geode
ashen oak
trim geode
#

Can we not promote things that are likely violating TOS of providers....or just scams

#

that would be greaaatttt

ashen oak
near crescent
#

yeah, stop

trim geode
#

anyway...trying out DataGrip since I have a jetbrains subscription...not sure if I like it yet. DBeaver is nice, and free

near crescent
#

datagrip is now also free for persona use

trim geode
#

Maybe I'm just not the target audience for datagrip

trim geode
#

so I have the all products package

ashen oak
ashen oak
trim geode
#

I wish GoLand was free. I tried Go editing with VSC and Zed and it just felt subpar to the experience in GoLand.

balmy basin
#

My friend uses zed for go

trim geode
#

until Zed fixes their low power issues, it's nothing more than a worse sublime text for me

near crescent
#

still cannot get remote connections work on zed

dull fox
near crescent
#

so i returned to nvim for now

trim geode
#

feels like people praise Zed, but like...yeah I experience things that are just non-starters for me. It doesn't work well on low power, it's extensions marketplace is meh (but that's not on them), I kept having random crashes, it's go support felt worse, the integrated terminal had a lot of font issues (I think they fixed that?), and like...in VSC and sublime if you force exit the app and reopen it, it still maintains all unsaved files...Zed doesn't...which means there's a lot of potential random stuff lost.

#

should I save these 10 random untitled files I have text in? Yes.
Am I? No.

brisk needle
#

i have finally found what was stopping robo it was my system 32 host file and i have fixed it my multi purpose bot with 62 commands is finally awake again

jade current
#

62? :horror:

verbal wraith
#

Make it 64 so it's gonna be 32x2

jade current
#

Why stop at 64, make it 67

olive depot
#

unfunny cringe

brisk needle
vestal fractal
#

Apparently you should not download Arial from "Online Fonts"

#

Straight out of Temu

olive depot
brave martenBOT
#
🤖 Robo Bot Commands

/xpleaderboard, /rank, /balance, /beg, /daily, /leaderboard, /work, /addmoney, /give, /removemoney, /rob, /crime, /codecreate, /redeem, /flip, /dog, /cat, /dadjoke, /ban, /kick, /mute, /unmute, /warn, /warnings, /purge, /lock, /unlock, /ai, /newchat, /selectchat, /chatlist, /deletechat, /translate, /factcheck, /analyze, /tupperadd, /tupperlist, /tupperremove, /afk, /add, /servercount, /ping, /help, /serverinfo, /whois, /setlogs, /ticketsetup, /welcomeset, /verifyset, /addword, /analyze_message, /avatar, /reverse, /roll, /randomnumber, /shrug, /userinfo, /meme, /reminder, /about, /role, /unrole

brisk needle
#

this guy ^

jade current
#

Holy sink in the kitchen

vestal fractal
#

You don't need a help command when this exists

olive depot
#

That's whole hotel

trim geode
#

bro got the sink and the oven

daring wasp
# brave marten

If all your help command does is list out the commands just use the native button

olive depot
#

Or atleast make help cmd show actual help, not cmds

daring wasp
jade current
#

I see no sub/group commands even

vestal fractal
white zealotBOT
#
kitchen

verbal wraith
#

Chicken sink

brisk needle
#

because if i group it i will have to update it every time i make/remove a command

vestal fractal
#

and?

brisk needle
#

it is boring

olive depot
#

He's busy making more cmds

daring wasp
trim geode
#

you already have to update it when you make/remove a command...

brisk needle
#

so i just make it check the commands in the list using discord.js

vestal fractal
jade current
#

Make TypeScript a native feature?

vestal fractal
#

yeah yeah

#

definitely

jade current
#

What if I don't like JS/TS

brisk needle
#

help: {
data: new SlashCommandBuilder()
.setName('help')
.setDescription('List all available commands'),
async execute(interaction) {
const list = Array.from(interaction.client.commands.keys())
.map(key => \/${key}`) .join(', '); const embed = new EmbedBuilder() .setTitle('🤖 Robo Bot Commands') .setColor('#5865F2') .setDescription(list) .setFooter({ text: Total: ${interaction.client.commands.size}` });
return interaction.reply({ embeds: [embed] });
}
},

#

bruh

daring wasp
brisk needle
#

discord formatting

vestal fractal
#

use `````` for codeblock

vestal fractal
#

Not that necessary but why not

daring wasp
vestal fractal
#

yes

daring wasp
#

eh sure probably

#

when I get to gateway again

jade current
#

What if I want to display a smart fridge status

vestal fractal
#

u can also do the VR one

olive depot
#

I mean what symbol, never saw anyone with That status

vestal fractal
jade current
#

Moderate a server in VR lmao

olive depot
#

..?

trim geode
#

at one of my contracts I had a coworker who was bored one weekend so be basically made a VR representation of the vector DB so we could explore the entire DB in VR and tbh it was really interesting to see how everyhing connected in that way

#

It was a RAG AI bot so all the data was like...chunked confluence data and wiki data for the company

olive depot
#

Why tooo small icon

vestal fractal
#

That'd mean Discord has some sort of VR integration for users

vestal fractal
jade current
#

VR cool, but AR cooler

#

I wonder if I could build a bionic arm for my thesis soon so I could help out one of my professors

daring wasp
#

I feel borwd

#

gonna try running zed natively

vestal fractal
#

I wanna make a pyproject.toml, and as of required version - I'm not sure anything below 3.14 will even work

#

Hmm

#

For example I'm not sure since which version you can have a method with a return type of the current class without quotes
And generally not using from future ... at all

daring wasp
#

just use from typing import Self

jade current
#

Isn't it 3.14?

daring wasp
vestal fractal
daring wasp
#

im on 3.13 since that's the default ships with termux

vestal fractal
daring wasp
#

so I didn't know

vestal fractal
jade current
vestal fractal
#

all that stuff yes

#

I don't use it in my project so I'm saying older versions might crash from NameError

jade current
#

Meh, I'm on 3.14 and don't bother/use it in any of my projects

vestal fractal
daring wasp
#

im gonna have to see how to update that

viscid steppe
#

use typing_extensions instead of typing

#

ancient code

viscid steppe
vestal fractal
jade current
#

PIM is cool

vestal fractal
#

But we kept 3.11 since you never know which native software might be using it

daring wasp
#

if I rely on 3.14 features then my lib would need 3.14 at a minimum

vestal fractal
#

Yea

neat olive
vestal fractal
#

3.15 should be released this year :p

#

And many libraries still don't have 3.14 support

neat olive
#

3.16 should release next year SharSmug

vestal fractal
daring wasp
neat olive
#

Any notlikeduck

viscid steppe
#

oh well, aarch64 problemo

vestal fractal
#

I don't tend to use Any but it may be used

daring wasp
#

I'll just ask around in termux support

vestal fractal
#

I use NotRequired a lot

neat olive
#

I don't use any of those

vestal fractal
#

And TypedDict

daring wasp
viscid steppe
#

i use TYPE_CHECKING the most

#

sometimes Any, and that's it

vestal fractal
#

Literal can be very useful

neat olive
#

basically 100% of what I used typing for is now just | cyberlul

#

(by volume)

daring wasp
#

i use Any, NotRequired, Required, TypedDict, Literal

vestal fractal
#

Here if I didn't use Literal then type checker wouldn't be able to match between one TypedDict and the class that uses it
(Yes there's other ways to do this but I like this one)

daring wasp
vestal fractal
viscid steppe
#

i used to use the older ones like Dict, List etc but new lsp just keep yelling at me to use dict, list so I'm no longer doing that

vestal fractal
#

😭

daring wasp
vestal fractal
#

Because they have it

daring wasp
#

is there a select which doesn't have

vestal fractal
# daring wasp instead of having in the base?

Yeah so I did have a base. As a matter of fact, the base also had type until I realized I need to specify the right one for each.
And I thought, why have a base juuust for id... idk

neat olive
#

the new style is definitely nicer imo

daring wasp
vestal fractal
#

hmm yeah I could do that

#

it wouldn't match the rest of the style but i could

daring wasp
#

it's your style tho so doesn't really matter both do the same thing

vestal fractal
#

yes i think i remembered for some reason that one of them doesnt have id

#

will be pushed in a moment, ty

jade current
vestal fractal
#

yes

jade current
#

:hmm:

daring wasp
#

I'll look up what's extra in 3.14 and then see if I want to update

jade current
#

Well I guess that's fair. I do pip freeze > requirements.txt on mine though

vestal fractal
#

But hey i also dont use formatters

#

not sure i should be proud of that

#

💔

vestal fractal
blissful oriole
#

i need a discord dev now

daring wasp
river linden
#

I need help with my bot verification. My Discord ID/name is different, but the documents I am using are in my real original name.

I am trying to verify my bot, but it is not getting approved and I don’t know the exact reason. Please tell me what I should do. Do I need to change anything in my Discord account, submit extra proof, or use any other document?

Please guide me so I can complete the verification properly.

jade current
vestal fractal
blissful oriole
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

vestal fractal
#

But I use it still cuz I like using latest

daring wasp
#

we're not discord devs here

#

we're devs on discord

blissful oriole
#

gng support aint do nthn i want a human to speak to

vestal fractal
#

But the typing changes since 3.12 are something i really need

pliant tartan
# daring wasp

istg every time i see python code i start yearning for python... it just looks sooooo good

jagged locust
#

!support

strong sealBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

daring wasp
vestal fractal
daring wasp
pliant tartan
#

and the actual discord employees that are here are swe's lol

blissful oriole
#

then where tf do i contact sm1 from discord

daring wasp
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

pliant tartan
pliant tartan
vestal fractal
#

In 3.15 you will be able to natively lazy import which is cool

blissful oriole
jade current
pliant tartan
jade current
#

Also variables direct to t-string without the need to str.format(), if I remember

blissful oriole
vestal fractal
#

🥀 why're they planning ahead that much

pliant tartan
daring wasp
#

I'll check if proot debian/other distro have a more later version of python

vestal fractal
#

Idk what proot is but you can install 3.14 in Debian

daring wasp
daring wasp
#

you can install most "normal" apps that support arm on there

daring wasp
neat olive
jade current
daring wasp
vestal fractal
#

also dont u need string.templatesomething to use it properly

daring wasp
#
  • even termux is just a containerized android app
vestal fractal
vestal fractal
#

string.templatelib

#

nvm looks like its optional

neat olive
vestal fractal
#

but i dont have a use to that, just like how i dont use .format()

jade current
#

French

#

fries

neat olive
#

source: removing the french language pack actually takes quite a while

daring wasp
neat olive
#

that preserves root

#

removing system python should break the os

jade current
#

Peeps be os.remove("C:/Windows/System32") and think it works
-# It doesn't

vestal fractal
#

can u really even delete it

jade current
#

With shutil.rmtree()

neat olive
#

would also need enough perms

jade current
#

Does Ubuntu even support 3.14 natively/by default yet

rugged haven
#

Guys how can I be an administrator in this server

rugged vector
rugged haven
rugged vector
#

‘cause u cannot

rugged haven
#

I will ask any administrator

#

@obsidian sentinel My friend I will tell you can I join the administration or I can't

neat olive
#

had to look it up (I'm not touching system python)

#

(I also only currently run 24.04)

verbal wraith
rugged haven
#

Can I be an administrator?

olive depot
near crescent
#

why are you asking this?

solid wind
#

been here a week, they earnt it

rugged haven
near crescent
#

it doesn't

rugged haven
olive depot
#

Whatt

verbal wraith
#

I wonder on how many servers you can get an admin just for asking

near crescent
#

"let's just give this random person with 9 messages that's joined a week before administrator privileges because they asked nicely"

#

there are a lot where you can get admin for paying tho!

verbal wraith
olive depot
#

Its more like he want to become admin to get paid

rugged vector
verbal wraith
#

Business that ends after 1 payment

rugged haven
#

Who are you talking about?

modest geyser
#

Good morning…

rugged vector
stoic kettle
#

i've got a question how long does it take for gateway intents verification
i submitted a application at 27th april or around
i still didnt get the reply

also where do we get the reply from discord team, on gmail or Discord's DM

olive depot
olive depot
#

For me its been like 12 days

stoic kettle
olive depot
stoic kettle
#

1-3 Months

jade current
stoic kettle
#

my bot's growing fast and im at like 95 servers
i submitted the application at 75

jade current
olive depot
#

There's nothing much you can do other than disabling them temporary

stoic kettle
olive depot
#

Use-case?

stoic kettle
olive depot
stoic kettle
stoic kettle
olive depot
jade current
olive depot
stoic kettle
#

its alot

#

i can type it

jade current
#

Prefix commands aren't valid use-case. Music is likely a TOS violation

olive depot
jade current
#

Message tracking is also concerning

stoic kettle
modest geyser
#

You don’t need intents for that

jade current
stoic kettle
#

like Invite tracker how it can calculate the number of Messgaes

stoic kettle
stoic kettle
olive depot
stoic kettle
#

just asking where will the reply comes from dc team
on gmail or on Discord one

stoic kettle
stoic kettle
olive depot
vestal fractal
#

Probably yt-dlp

stoic kettle
stoic kettle
jade current
rugged vector
#

didnt youtube sued rythm for same thing

stoic kettle
#

thx for telling me

vestal fractal
#

Licenses are expensive

vestal fractal
modest geyser
#

Mmmm bean water

stoic kettle
#

ima be back
i need to remove it rn for it then

jade current
#

Beans and waters

modest geyser
jade current
#

There's enough beans and waters in the world to make a bean water ocean

eternal phoenix
#

Hello everyone, I've developed a complete casino bot with a virtual financial system, leaderboard, and store to buy roles and stuff. Is anyone interested in trying the bot and giving a feedback ?

rugged vector
eternal phoenix
rugged vector
olive depot
#

owo 🤮

eternal phoenix
#

the main idea u get 500 coins daily for free of course and try the games and so on

olive depot
#

It competes with mee6 🔥

verbal wraith
rugged vector
#

( directly owo bot clone )

olive depot
#

Why would i play boring gambling instead of fh6 🤔

eternal phoenix
olive depot
#

-# ignoring the fact my pc can't even run fh3

eternal phoenix
#

but i had to mention that to avoid any gambling or anything forbidden

clear mulch
#

Im making an app with ai rn

#

Taking yo jobs

verbal wraith
#

Good luck

modest geyser
#

MeowAtScam takes moderators jobs

clear mulch
#

Until i improve my programing skills

#

Before someone steals my idea

rugged vector
verbal wraith
#

Remember me after you become millionaire

olive depot
clear mulch
upbeat anchor
olive depot
modest geyser
clear mulch
upbeat anchor
#

still dont get why people keep on appealing to me to unban them

modest geyser
#

Because you are the almighty honeypot guy

verbal wraith
#

Because you are the developer duh

clear mulch
upbeat anchor
#

by not reading, or not trusting the sign

verbal wraith
#

Or roleplaying AI

upbeat anchor
verbal wraith
#

Unban for money, you will become rich

upbeat anchor
#

lel

modest geyser
#

Isnt that against tos

verbal wraith
#

That's risky but worth the money

upbeat anchor
#

i should sell ad slots... your ad gets shown on each ban msg

verbal wraith
#

Genius

clear mulch
clear mulch
olive depot
#

Bro has 2 messages context

clear mulch
#

Sick burn

modest geyser
#

Tbh honeypots work well but when the servers scale and activity grows itll add more actions that need to be done by a moderator

upbeat anchor
#

hey at least its transparent to sensible users on how it works

#

unlike hoping you dont trip mr bot

modest geyser
#

Yep

clear mulch
#

The dev talk is too much

upbeat anchor
#

i wonder what channel we are in 👀

modest geyser
upbeat anchor
#

discord pls add delete message secs to timeout... we will all thank you

modest geyser
#

Or just an endpoint to do it

upbeat anchor
#

yeah

clear mulch
upbeat anchor
#

no

clear mulch
#

Deviant chat

upbeat anchor
#

no

clear mulch
#

De victims chat

upbeat anchor
modest geyser
#

Risky i have a new idea on how to bypass honeypots

clear mulch
#

Wth are honeypots miss

upbeat anchor
#

@modest geyser how much ratelimits do you think search api has... should i just add a cronjob for every min see if they have any new messages and aren't re-added

modest geyser
#

You send the channel name to chatgeepeetee and ask it is it honeypot

modest geyser
clear mulch
#

Software engineer from armenia told me fast api is good

modest geyser
#

Just have a set of tracked users and listen to message events

#

And then remove them from tracked after a minute or so

upbeat anchor
#

i mean that works if the issue is it being dumb and allowing messages after ban

solid wind
modest geyser
jade current
upbeat anchor
modest geyser
#

You could also listen to message delete bulk to verify what got deleted

clear mulch
upbeat anchor
#

if after i can listen especially, but if its same time or before im not saving every message

jade current
jolly meteor
#

guys i cant claim my server vanity

clear mulch
solid wind
upbeat anchor
#

should i stop ignoring bots in da honeypot... no bot deserves to say anything (well slash commands's user in my context is the actual user invoking)

clear mulch
jolly meteor
upbeat anchor
#

basically delete message secs with ban, doesn't 100% ensure no messages exist by then

modest geyser
#

I ignore bots atleast

clear mulch
upbeat anchor
#

i just meant as a joke should i just ban bots too :)

modest geyser
#

True..

jolly meteor
clear mulch
polar viper
solid wind
upbeat anchor
#

but ultimatly its my bot whose disapointing people

modest geyser
#

Basically the banned user can send a message even 5 seconds after the ban has been applied

jade current
near crescent
#

the user can send, or the server can receive?

solid wind
#

my work is finally getting github copilot soon, funnily enough i expect code quality to improve 🗿

clear mulch
near crescent
#

i doubt the access check succeeds, it's more likely a propagation thing of messages that have been "sent" before

upbeat anchor
#

gh copilot is the dumb ones out of the options

modest geyser
upbeat anchor
near crescent
#

sure, just clarifying what you mean by "send after ban" because that'd be horrific

modest geyser
#

Yea

solid wind
graceful oar
#

"Unfortunately, I am denying your Privileged Intent request. This is because we are only providing access to our privileged gateway intents to power unique, compelling, user-facing functionality, and we do not believe your use-case meet this criteria."

What is the of unique criteria idk what was they saying . All function already made if we developer apply for intent for needs and showing reviewer was reject

solid wind
#

fortunately our work is pretty narrowly scoped so its not like people are gonna have stupid 100k line PRs or anything like that

near crescent
#

it's about functionality that the native client does not already have and aligns with developer tos and guidelines
(or can be done without the privileged intent(s))

modest geyser
#

Also sooj any interesting scams today

graceful oar
near crescent
#

nope

upbeat anchor
modest geyser
graceful oar
near crescent
modest geyser
#

Sooj would you use meowtooth as your bluetooth gui

graceful oar
#

It literally too much frustrating if you reject for the intent verification last 4months

near crescent
# graceful oar What nope

has someone said something in the last N minutes, where "nope" makes sense?
if so: have you been the author of said message?
if not: probably didn't respond to you

have i additionally potentially sent something in the last M minutes that makes more sense towards your question?
if so: that one was probably meant for you

upbeat anchor
graceful oar
upbeat anchor
#

verification only takes a min

#

privlidged intent application on other hand

graceful oar
#

Discord dev are bliterally lost their brain bro

graceful oar
# olive depot What intent was it

There is 2 intent I'm applying for verification
Message and guild

Message for my logging purpose + analytics purpose

And guild also logging + onboarding purpose

storm nimbus
olive depot
near crescent
storm nimbus
#

YOUR chat room logs. Not your DM, but of your project.

graceful oar
modest geyser
near crescent
#

heck even is a gui bluetooth tool?

upbeat anchor
modest geyser
near crescent
#

ah

upbeat anchor
#

It track the per message track
im not sure if im reading this right, but this doesn't make sense

modest geyser
#

I hate dbus

solid wind
#

linux users: linux is ready for mainstream use!
also linux users: i made my own bluetooth gui because all the current ones suck

modest geyser
#

I mean the only usable bluetooth tool is bluetoothctl

graceful oar
# near crescent excuse me what

Hey mod, please send message of my to teams channel

If they want for the discord privilege intent verification unique cateria so they need to intent new event and APIs for that .

Problem my module need any intent all overs was same that module but discord reject me for that module like you need to unique cateria. Wth the others but must be need unique than why discord not revoking there verification. Please send this message

verbal wraith
#

Send where exactly?

solid wind
#

the idea of discord using teams internally is pretty funny icl

graceful oar
near crescent
#

we cannot help you with that

#

and if you keep being rude, you're not staying

upbeat anchor
graceful oar
#

🙃

near crescent
#

i understand you are frustrated, but this isn't it.

graceful oar
#

🙃

graceful oar
near crescent
#

firShrug i just work here

graceful oar
#

If I requesting this on email 🤣 support teams saying this to me like we cannt help .

#

So a guy for the inquiry all things need to know about what should they do.

#

There is nothing place nothing guide nothing support need they want

near crescent
#

i don't know what your expectation is?
you explain why you need that data and they decide if they want to give it to you
you complaining does nothing

#

nor would a "guide" make sense. it's a form, you fill it out and they make a decision based on the provided information

verbal wraith
#

If they made guide "how to get any intent" that would make no sense why you need to send a request at all

graceful oar
upbeat anchor
#

trying to gameify the system is never going to help (ie adding stuff just so you can get it)

near crescent
#

*game the system; gamify is something else

upbeat anchor
#

yes my bad

graceful oar
#

There is nothing events api where old bot and femus bot are not made . it means there is not unique choice for the verification.

Alls are already made it

modest geyser
#

Do yall like AIX

verbal wraith
#

Not at all

upbeat anchor
#

when will you get a diff answer

floral rapids
#

not enough, aix needs to become popular until unreal becomes unaix

upbeat anchor
#

why do people keep on setting things up and then nerfing the perms

floral rapids
#

so I can kick the bot when it dms the user that they got kicked, but keeps the message in the channel & sends an error message in the logs channel when the user is above the bot/an admin

#

(which is what I did ^)

upbeat anchor
#

nice

floral rapids
#

had to, it kicked 5 legit users 0 scammers lol

upbeat anchor
#

but this is a diff case, like it means they just flat out disabled perms to message in the channel

upbeat anchor
#

image only messages bypass it

floral rapids
#

that's a skill issue, I highly recommend you attempt and send a reminder to the server owner / server admins of it

upbeat anchor
#

people kept on joining and testing it out

#

the other thing i have done is put it in id:guide which makes it harder for avg person to see its existance

floral rapids
#

at least with a 24h/1week cool down (resets when permission is fixed)

upbeat anchor
#

but every time i mentioned the channel directly someone would go yoooo

upbeat anchor
#

sooo this is your server

floral rapids
#

wym?

jade current
#

Missing Perms

upbeat anchor
#

like only way to bulk delete a user's last messages is through the ban member endpoint

floral rapids
upbeat anchor
#

ah

#

i still don't know if this is one server with a mod person spamming, or whats going on as they keep on comming in big bursts of them

floral rapids
#

great, I'm supposed to do a presentation and my English, Arabic and French are ruined, what a nice day

upbeat anchor
#

damn

floral rapids
upbeat anchor
#

yeah

#

the issue is i know some servers fix the perm issue and then want to retry

#

so i can't just fully ignore 😭

floral rapids
#

button to clear cache and see what's inside of it for that server

#

would be a good feature, with of course a warning

upbeat anchor
#

sounds like confusing ux

floral rapids
#

🤷‍♂️

#

can't think of anything other

upbeat anchor
#

i just hope i dont cause a cf ban due to the # of error responses

modest geyser
#

You have to hit 10k in 10 minutes

upbeat anchor
#

yeah

#

quite alot tbh

#

is it 401 for if you failed to ban due to perms, or is it a diff one

#

as this makes it sound like only these 3 types count

floral rapids
#

as far as i know, what you're doing is:

  1. open a dm with the user
  2. send a you got kicked message to the user
  3. soft ban the user
  4. errors? send to a channel (you don't need to open the channel, cache or fetch if not cached, but if fetched then it's a new request)
#

so you're doing ~5 requests sometimes per millisecond(?)

upbeat anchor
#

yeah

floral rapids
#

you should be fine

calm pilot
#

Hello pepole👋

upbeat anchor
#

do note for #1 i do cache the channel for safe measure against discord autoabuse (but not many are across servers)

#

softban does mean 2 events also btw

#

still like nothing

#

oh and there is edit of the message to show bans count

floral rapids
#

wish it's possible to know if bot can ban/unban the user before opening a dm 🥀

#

that too

#

so ~7 in total

upbeat anchor
floral rapids
#

ok that might be too much 🤔

upbeat anchor
#

wdym

floral rapids
#

imagine on a night you're asleep and then they come

upbeat anchor
#

2 sec is really not that long

floral rapids
#

it's fine if there's no error but it wouldn't be fine if there is error

#

not talking about the fail one, talking about the requests per 10min

upbeat anchor
#

ah

#

at least i dont think aborted errors count as an error (i hope)

#

Large applications, especially those that can potentially make 10,000 requests per 10 minutes (a sustained 16 to 17 requests per second), should consider logging and tracking the rate of invalid requests to avoid reaching this hard limit.
but yeah for the channel stuff i really should check

#

may be worth just unsetting it from db if it fails hehe

floral rapids
upbeat anchor
#

oh true

#

not like im sending more than 50 reqs/s

floral rapids
#

50 req/second
1 minute = 60 seconds
50 * 60 = 3k
🤔 you'd reach 10k in ~3minutes and a few seconds if you do 50 req/second btw, that's one huge problem i see with the hard limit

near crescent
vestal fractal
#

well, no-cache policy

upbeat anchor
vestal fractal
#

A bit extreme tho, saving a permission bit integer per server is really nothing

upbeat anchor
near crescent
#

it's not as simple as that

upbeat anchor
#

Pretty sure my main errors are due to role highracky

upbeat anchor
floral rapids
upbeat anchor
#

Like if i check that the role id is above mine, then i can no op

near crescent
#

that was re: serverit's "permission bit int per server" approach

upbeat anchor
vestal fractal
#

So you'd want to first check if user has a role higher than you? 🤔

upbeat anchor
#

Honestly i could just fetch and put TTL of a few mins

upbeat anchor
vestal fractal
upbeat anchor
#

So just need to see if any is above my highest one

floral rapids
#

annoying part is when the role is modified

upbeat anchor
vestal fractal
floral rapids
#

if you have member intent i recommend you listen to if the role was modified and update if it has been (only permission)

upbeat anchor
vestal fractal
#

So yeah you'd need cache and fetching

upbeat anchor
#

Oh yeah do I even get an event if my bot itself changed roles

upbeat anchor
near crescent
#

guild_member_update

vestal fractal
upbeat anchor
vestal fractal
#

You could do cache with TTL Ig

floral rapids
glacial tangle
#

Guys

near crescent
#

yes?

glacial tangle
#

Uhhh

upbeat anchor
#

Im so confused whats going on - i said that I can cache a specific list of things, but not going to do a whole full cache

vestal fractal
verbal wraith
floral rapids
#

aight, well that's unfortunate lol, though we could get away if the bot itself's role was modified (updated) without requiring the member intent

glass silo
#

Soup

winged swan
#

wut

tired obsidian
#

If you're asking for someone to make somethiing for you please note that it's against server #rules

#

If you're saying something else…I can't parse it 🤷

#

I mean I can't really understand what you're saying, but it looks like you're looking for a developer to make something for you

polar viper
#

well if you need help with your projects (on discord) you're certainly at the right place

tired obsidian
#

This server is mostly for getting help with Discord bots and other Discord integrations. We're not a "hang out" server so I don't know how well you'll do finding friends

#

Yeah, see that "make websites and publish it" makes it sound like you're looking for people to do work, not friends

#

Either way, be sure to read and understand the #rules and all will be well

versed creek
#

Would smth like /rule <rule no.> @user and then the bots dms that rule from the saved template be great rather than the staff explaining them the whole thing

#

And yes the bot dms on whom it is used on

polar viper
#

assuming you have a pre-written list of rules yeah

tired obsidian
#

Nope, that'll get your bot quarantined so fast

polar viper
#

will it actually

tired obsidian
#

DMing others without explicit intent on behalf of the recipient is considered spam

polar viper
#

but what ever happened to "you were muted in {server} for {reason}" DMs

tired obsidian
#

The DM has to come from the user recieving the DM to do something to get it. Slash command, button click, etc. Sending someone else a DM doesn't cut it

versed creek
tired obsidian
daring wasp
polar viper
#

oh, how wonderful

versed creek
tired obsidian
tired obsidian
versed creek
#

So what can be the workaround I wouldn't want the bot putting it in main chat (like tag for it) and also just telling the user to check rules channels for this or that rule also feels not quite handy(I mean it is but trying to have smth new)

tired obsidian
#

The best way, IMO, is to put it in the main chat and ping the user. It's a lot easier to do, won't get your bot actioned, and is more apparent to the user. They might not even see the DM notification right away. And even if they do, they might not check. It's a lot of clicks/taps to get to it.

Or, if it's in the chat, they get pinged, it's got the "look at me" background, and it's where they currently are at. All upsides, IMO.

-# s a bonus, it shames them in front of everyone else!

#

Just my opinions, of course

polar viper
#

like sapphire or circle, they ping the user getting moderated in the channel and DM the user

tired obsidian
#

I can't speak to what other bots do, since I don't use 'em. That's the great thing about being a dev myself: I can code it myself lol

#

Also, "other bots do it" is one of the worst reasons to do something. Most other music bots break the law, does that make it ok for you to do that, too?

modest geyser
#

i think my hard drive is gonna fail

polar viper
#

yeah im not using it as a reason to do it (i dont have a DM feature), just speaking from the point you made earlier as to why this wouldnt have just gotten their bots flagged for the same reason? if someone flags the bot DM as spam

tired obsidian
warped rain
#

Hello guys, What game engine yall use?\

tired obsidian
#

JavaScript

warped rain
#

I use Unity

tired obsidian
#

I'm thinking about learning Defold, but for now I'm content doing it ally by hand in JS 🤷

modest geyser
versed creek
tired obsidian
polar viper
tired obsidian
#

That's one extra step for no real gain. At that point just send the rule the user violated

#

Another option you could have is a "don't break the rules" channel where rule violations are posted (and users don't have write-perms) and ping them there. More public than a DM but still in-server and not in the main chat. Just spitballin' ideas

tired obsidian
tired obsidian
upbeat anchor
polar viper
#

at that point id js have the rules list

upbeat anchor
#

people reading rules channel unprompted = sadly rare

polar viper
#

making a thread just for that seems like too much

polar viper
vestal fractal
polar viper
#

right

tired obsidian
upbeat anchor
#

reply to the message too

versed creek
#

What if rather than just pinging them the bot pings them specifically mentioning(replying)the message id for that rule and these pings get deleted every 6 hours or so and just rules stay

versed creek
polar viper
#

thats what my bot has--it's also a reminder to other members to check the rule that was violated, and also just rules in general

tired obsidian
#

I'm not sure what use deleting the message has

versed creek
#

Deleting the ping from rules channel?

polar viper
#

but what if you have a lot of rule violators daily and now you just have a massive pileup of mentions in your rules channel?

tired obsidian
#

Oh, I didn't realize you were talking about the rules channel. I thought it was in the channel they violated the rule in

vestal fractal
#

Make a thread I guess

versed creek
#

Creates a thread for that rule which is probably temporary and private and gets deleted or archived or closed

tired obsidian
#

Personally I'd make it a message command. Brings up a modal to choose what rule was violated. If it was done by a mod/admin, then reply to the message immediately with the "This messge violates rule X" with a link to the rules channel. If it was a user, then send the message to an admin-only channel for review by the server mod team

daring wasp
#

very tired 😔

vestal fractal
#

Tbh there's no good solution

daring wasp
#

I get the results if I go to that college in 2 days :p

versed creek
daring wasp
#

also I think I'm exploring the number of files too much what do you guys think

vestal fractal
#

Discord rightfully doesn't want bots to DM too much, but you also don't have any good way to communicate with a user about moderation actions

tired obsidian
jade current
vestal fractal
versed creek
tired obsidian
#

Yeah, never share who flagged what

vestal fractal
maiden girder
#

I have a question, how can I transfer the owner of a discord group (up to 10 people) on my phone?

daring wasp
vestal fractal
#

Don't set a hard-limit of lines for yourself

#

Tbh length management depends on context

#

Also are you using aiohttp?

daring wasp
#

i feel like payloads deserve being splitted

daring wasp
daring wasp
vestal fractal
#

Is the http client "synced" with the websocket session?

#

I mean it's technically meaningless but I think they have a feature for that

daring wasp
#

gateway exists in bot._gateway_session and http connection is in bot._state.session although I'm planning to revamp the structuring of that part soon

vestal fractal
#

lemme show u what i mean

daring wasp
vestal fractal
#
async with aiohttp.ClientSession() as session:
    async with session.get(...): ... # http
    async with session.ws_connect(...): ... # ws
#

dpy does this iirc

daring wasp
vestal fractal
#

Yes

#

Connection pooling is always good

daring wasp
#

can you have two base urls for a client session or I'd have to have full paths then

#

wait no

vestal fractal
#

That wouldn't make sense

daring wasp
#

ok i get it

#

dw I'm a bit slow :p

vestal fractal
#

all good

bleak pond
#

I am ded meat today ahh

vestal fractal
#

Running multiple bots on one infra would be cool

#

Not so useful for most cases

late coyote
#

well I think I have 3 Discord bots running on my kubernetes cluster currently 😅

olive depot
#

Nynu!!!

verbal wraith
#

Okay... are we gonna ignore this cursed pikachu or whatever demon creature is that?

#

Ain't no way that's a real dog

olive depot
verbal wraith
olive depot
#

-# not demon creature tho, ok that's offtopic

jade current
#

Heh, back at it again

daring wasp
jade current
daring wasp
#

oh damn

jade current
#

No colors though since I ain't adding colorama to it

jade current
daring wasp
#

maybe I'll try doing it too

jade current
#

There probably are unnecessary stuff here, but meh it works lol

neat olive
glass vortex
jade current
glass vortex
#

So you're writing it from scratch. Why not use what Python ships with already?

vestal fractal
#

Is TracebackException not inferred from from_exception()?

jade current
jade current
glass vortex
#

If you write a Formatter that does so: sure

vestal fractal
vestal fractal
#

Not a huge deal but ye

glass vortex
chilly mauve
#

Hey! I am planning to make a discord bot anybody wants to join?

#

I am new to this field

modest geyser
#

This server isn’t for recruiting

upbeat anchor
glass vortex
#

Huh, what does? The Python logo?

upbeat anchor
#

the og image

#

like the blue bottom and placement of icon and title

#

like it could be a common template, but i haven't seen that anywhere else

#

@modest geyser i have no idea what i did, but looking though old tabs i had.. uh

modest geyser
#

especially with old unloaded tabs

upbeat anchor
#

damn

pale rapids
glass vortex
balmy basin
#

why is 🎲 called die lol

tired obsidian
bleak pond
#

Learning django is hard

#

Sigh

jade current
#

Game is dead

bleak pond
#

C is

tired obsidian
#

C? Dead? ::Laughs in Linux::

bleak pond
#

mb

tired obsidian
#

Oh, C is hard? Yeah, it can be

olive depot
#

C

#

Easy

tropic crow
#

wassup chat

verbal wraith
#

Nothing

deft berry
#

how to grow bots guys 🥀

bleak pond
#

Nothing special except my boss ordering me overtime

bleak pond
deft berry
olive depot
bleak pond
verbal wraith
#

DDevs > Ddevs

bleak pond
olive depot
bleak pond
#

For example make a dinosaur bot which will be born from fish

bleak pond
verbal wraith
#

Pokemon bot but instead of catching pokemons you catch dinosaurs

bleak pond
#

Interesting

#

Then feed them to the fish

upbeat anchor
cunning pecan
#

dDevs

upbeat anchor
pale hull
astral shell
#

i guess discord api had limits for bots to upload media for non boosted servers but no wonder how my bot is able to upload more than 8mb?

daring wasp
compact patrol
#

What type of functionality should a discord bot have, according to y’all?

upbeat anchor
#

discar

cunning pecan
pale hull
#

WumpyBumpyMobile

daring wasp
#

brb guys gotta earn some orbs so I can save up for a EV

compact patrol
compact patrol
patent carbon
daring wasp
upbeat anchor
#

my first result for searching for discord car

compact patrol
patent carbon
#

Yes

upbeat anchor
pale hull
#

If you are making a public bot. You should find something very specific that you can make or introduce a large twist on the conventional concepts of "moderation", "social", etc.

upbeat anchor
compact patrol
daring wasp
upbeat anchor
#

yum

pale hull
upbeat anchor
#

tbf tickets can kinda make sense, but its really iffy and gets out of scope way too easily

#

its a balance as once you go over, you just made everything complex

pale hull
#

If anything I think all in one bots should be separate bots that can be added per "module" and they just interact well with each other

compact patrol
upbeat anchor
pale hull
upbeat anchor
#

gold wompus likes your bots

upbeat anchor
#

like dont try to do everything or something general

#

but be clear at why exactly one should use your bot

#

idealy you also care about this thing too

tribal lynx
#

My bot is in 21 servers and is only really used during a specific time of year

#

It's a sports bot

#

So it is only used during the sports "season"

olive depot
#

So buildathon champion role icon was always a golden wumpus and not a golden tree?

patent carbon
#

yes

verbal wraith
#

Ngl, it looks like nuke mushroom to me

warm temple
#

I want to ask something

devout heath
patent carbon
warm temple
#

I want to verify my app but what should be the age limit for that?

#

@patent carbon @devout heath

warm temple
#

Oh

warm temple
#

How discord detect fake proofs?

#

So many people provide fake proofs

patent carbon
warm temple
#

Oh

#

But they dint get cought

patent carbon
#

if you believe someone used a fake id to verify their bot, you should make a report at https://support-dev.discord.com/

that's not really relevant to this server

warm temple
#

And can I apply?

warm temple
olive depot
olive depot
warm temple
ionic night
#

why would anyone here get paid by discord?

olive depot
warm temple
warm temple
ionic night
#

No one here, its just a server for ppl who develop things for discord. Thats it

ionic night
#

Was that rude? Mybad

patent carbon
olive depot
warm temple
#

Can I apply to work and get paid

patent carbon
#

not here

#

this server is not a job board

patent carbon
#

banner to body ratio is off personally... it's a little too 1:1, should be more like 1:2

wide pasture
#

The box would be empty below so that's why.

patent carbon
#

ya... it looks like the color and the black background part are split evenly 50/50 and it just looks weird to me, personally

patent carbon
wide pasture
olive depot
#

Keep the content as it is, make banner smaller and whole container bigger?

heady ridge
#

@wide pasture DMs.

patent carbon
pearl tendon
#

help

patent carbon
#

cant help if you dont ask a question

pearl tendon
#

The bot is giving a hardware error on the Discord developers portal.

patent carbon
#

i dont know what a hardware error is... can you send a screenshot?

#

or at least list the error message exactly as is and where?

pearl tendon
#

I can't take screenshots; my computer is broken.

#

Bot creation error.

#

I'm Turkish and I'm using translation.

patent carbon
#

well, then unfortunately i cant help you as i dont know what error message youre talking about

pearl tendon
#

Bot creation error

patent carbon
#

and that's not specific enough for me to understand... where is that error coming from? what page? what is the entire error message? word for word

daring wasp
#

just take a picture with your phone

olive depot
#

Or ask SoraAi

bleak pond
patent carbon
#

he said it was a dev portal error, so not in the console

bleak pond
#

Hmm

patent carbon
#

but i also am not certain that's what he means.... or if he's using a 3rd party bot maker

bleak pond
#

He clearly said developer portal but what is the hardware error

patent carbon
#

hey, ive had people say it was a dev portal error then say theyre using BDFD and that's where the error was coming from

floral sparrow
#

My bot needs to know the list of members of a Discord server who have a certain role. Do I need the "server intent"?

balmy basin
#

hi samtino

patent carbon
patent carbon
balmy basin
# patent carbon o/
func Pointer[T any](o T) *T {
    return &o
}

do you think this will be useful?

patent carbon
#

so converts anything to a pointer?

balmy basin
#

yeah

floral sparrow
patent carbon
#

i mean can't you already cast something to a pointer?

patent carbon
#

just keep waiting

bleak pond
#

U need to wait as it can take longer

#

Like 1 month or more

balmy basin
glass silo
#

Does ts have an equivalent for typing.cast?

cast(Lie, "lol") <- type checker: yup that's of type Lie dw

balmy basin
#

it will be pointer to variable inside the function

patent carbon
#

hmmm nevermind, looks like your helper is actually the recommended method of casting to a pointer

floral sparrow
#

Initially, I requested "message content intent" but was told that it's rare to get approval from Discord. So I switched to slash commands. Do I need to resubmit my request even if I haven't received an initial response?

balmy basin
patent carbon
#

it's not rare... but your usecase has to be justified... and prefix commands is not a valid reason

floral sparrow
balmy basin
#

-# i wrote this @ 3 am

patent carbon
#

but as for resubmitting... i believe you can submit any amount of times you want... as you can't modify or remove an existing request

floral sparrow
#

uh okay.

pale hull
patent carbon
#

they already submitted one with message content and members... im assuming

pale hull
#

They will give you the others if you have valid reasons and include them in the original request. It is not all or nothing

floral sparrow
#

My bot needs to know the list of members of a Discord server who have a certain role

patent carbon
#

if you already made a request asking for that intent and for the reason you listed, then you have no reason to make a new request

#

even if you asked for other intents at the same time

modest geyser
#
  QList<QMap<QString, QList<QMap<QString, QDBusVariant>>>>;

wtf am i doing

winged swan
#

lmao

modest geyser
#

Ig this type is better than xml

#

Dbus interfaces are cursed

floral sparrow
patent carbon
#

yes

#

as wolfy already said... it's not all or nothing... you can be partially approved when some are denied

fallen rock
#

Hello developers and those who feel like developers

modest geyser
#

I should rewrite dbus call it meowbus or catbus

patent carbon
#

the pointers on the bus go round and round

balmy basin
#

ewwww

#

pointer to mutex

winged swan
#

sometimes i forget this is UB

int *ptr;
*ptr = 10;
quiet saddle
# glass silo Does ts have an equivalent for typing.cast? cast(Lie, "lol") <- type checker: y...

Sort of. For type narrowing or widening you can use as e.g.

(person: Person) => (person as Developer)

(developer: Developer) => (developer as Person)

but if the type cast would be fundamentally incompatible (i.e. not covariant), you need to first widen the source type and then narrow it to the target. This should almost never be used but there are some scenarios that call for it:

(person: Person) => (person asunknownas Flower)

winged swan
#

unintialised pointers are just a pain sometimes

modest geyser
#

Dangling pointers are worse

#

Just get into the habit of setting all pointers by default to NULL

winged swan
# winged swan sometimes i forget this is UB ```c int *ptr; *ptr = 10; ```

from my understanding

the variable ptr is stack allocated, but the memory it points to is somewhere else and might not be on the stack, so you are derefercing and modifying memory somewhere else.

While this works because num is stack allocated so can actually modify it

int num;
int *ptr = &num;
*ptr = 10;
modest geyser
#

Or in C++ int *ptr{};

winged swan
modest geyser
balmy basin
#

sacul learns C
rip

modest geyser
winged swan
modest geyser
#

Also another C tip add these compiler flags
-Wall -Wextra -Werror

quiet saddle
#

no matter what in C i would always just do

int *ptr = NULL;
/* then work with it */
balmy basin
modest geyser
winged swan
#

oh

modest geyser
winged swan
#

that's nice

modest geyser
#

Helps you catch a lot of ub

modest geyser
#

But Wpedantic is annoying

quiet saddle
#

for that you can just use a lang like python

modest geyser
#

Yea

#

You can always use compiler extensions as a treat

#

Also all mainstream compilers actually implement most of the gnu extensions

#

So…

jade current
#

Python

patent carbon
#

piton

quiet saddle
#

no

patent carbon
#

y no

quiet saddle
#

overused meme

patent carbon
#

... so ... aix?

jade current
#

@daring wasp
I pushed le commit for le logger lol. You can check out the code for it and see its abomination