#development
1 messages · Page 35 of 1
why dont you use something better? like kofi
but not by much
agreed
kofi 100x better
no fees either
never heard of that 
same as patreon but better
kofi doesn't collect fees
just not as popular
I'd use kofi, there's just a slightly inconvenient detail
so you get 100% of your donations
the only reason why i have patreon is because at the time more people were used to it, but by now kofi is pretty well known already
make a issue about it
I did
it shouldn't be that hard to implement
do they send any data?
like a key/receipt?
its just a small change
I see
Yes, but u can't use the transaction id to fetch anything
It's basically only for identifier
I spent a whole week trying to find a way, to no avail
I mean if they give the name of the discord user that might be helpful
but then it can be up to whether they change their name or not
there was also another donations system that had a different take on the whole thing, but judging from the lack of news about it id say it didnt work out
instead of donating money, people would donate to you by watching ads

sounds cancerous
top.gg when voting be like... (jk)
Sir you have a streamer in ur ads
don't ban pls
le adblock

I don't think so
idk I don't use twitxh
or whatever youtube called their streaming platform
Classic dev issue
I hear many streamers move to Twitch to get away from YouTube
Oh
and sometimes the other way around
I thought ludwig and majority of OfflineTV moved to youtube
twitch is becoming the new onlyfans
yes
Asmourath
more and more of twitch is hot girls doing random shit
Damn Tim seems to have a good experience
I clicked on her stream once to see what it was like
and bitch might as well been naked
smh
young people go on twitch man
Tim does "research"
he has a 1tb folder full of it

never heard of asmourath but the first thing I'm getting is vtuber news
I'm concerned
lmao
i havent watched twitch stuff in years
never really did tbh, i prefer watching youtube highlights later
why are twitch chats so bad
not gonna sit watching something for hours when only a few minutes here and there are actually entertaining
you should be
shes probably the richest twitch female streamer
she made millions on onlyfans
iirc she at one point made 10 million in a month a few times in a row
she probably makes more by now
wtf
yea
its concerning
why the fuck we paying for ||porn|| in 2022 is beyond me
that shit is free
or you can get some bitches
never paid for it
only boomers do
or they have mental issues / psychopats
yes
Using https://www.npmjs.com/package/discord-html-transcripts, I keep getting BSONError: cyclic dependency detected. Anyone know what this means?
Don't put the object inside itself
anyone know a good bot for assigning roles using buttons?
most reaction role bots are still using reactions
@round cove does your bot do this yet?
I was considering to allow servers to choose between reactions and buttons. I mostly dislike the buttons because of how ugly they look 😛
I think so?
i know she was working on a reaction bot
I don't remember if she has button support tho
It wouldn't be hard to add button.
well, but with buttons you can have the emoji and the text inside the button, so you dont need to write a separate wall of text above them that gives it that weird L shape
i wanna get rid of this
This sounds like a good idea
Then it makes a ephemeral embed with those roles you can get from that category so only that user sees
Less clutter
actually
for my use case
the best is drop down roles
since each category should have a unique role
How many buttons can you have on a message at once?
I think so yea
Ah select menus can hold 25 as well
i changed my mind, i need select menu roles
I thought it was 10
any good bot that has select menu roles?
Are you telling me I should support all 3
yes
ok
thats actually a very good feature tbh
My system is setup to essentially just need a single config to swap
let the user chose between roles, buttons and select menu
especially since select menu also supports multi-select
so all 3 modes support both unique roles and multiroles per category
modals when

weren't they working on modals awhile ago for something
when modals support anything else than text boxes
sounds like a form
afaik modals are supposed to support all types of components
no idea why they only support text boxes
They are working on changing it no?
no idea
hmm sapphire bot looks like it has what i need
button and select menu roles
How does the select menu roles work? Just a standalone message that says react to get roles? or does a user run a command?
this is what they have on their website
so yeah, its basically a standalone message
when the user selects something they either receive a dm or an ephemeral confirmation i guess
But what if they update react roles? Does that message get purged? Because the dropdown options are perm when emssage is sent.
Unless updating the message, which can't always be assured
So many things that can go wrong is my point really.
well yeah you can update the message with a new dropdown
I'll figure out a system.
sapphire is awful 
theres a bug where you can mute higher ups
i can mute the community manager in a server i mod even tho I'm regular mod 
let me know when you add it
Top.gg uses a good one
lmk when you update d.js-light for v14 
lmao
idk if i ever will
spam here and maybe i will https://github.com/timotejroiko/discord.js-light/issues/95
:^)

v14 had tons of changes
but no caching changes
i actually forgot top.gg had one lmao
configuring it rn, looks 1000% better
Tim please tell me you did that 🗿
I need something like this for my website 🗿
💀
I need something like that tho🗿
I thought u made it
just take a print screen of your bot's commands and edit it a bit in photoshop
I'm awful at photoshop
Cheese
i bet you're a female
Nope
lies
I’m not ong
only a female would say that
Idk what to say
🗿
discord.js-light rewrite in node-gyp when
🧌
thats just D++ with extra steps
cursed
Bye bye important developer people
No
Bye bye unimportant developer person
Bot developers are not developers
bot devs don't deserve rights
^^^
Can I ask what is this top.gg thing anyway I relogged into discord and have no clue what this server is
whitename invasion 😱
bot devs are just trans devs
f u
top.gg is a website
❤️
for discord bots
and some other not-so-important things
me when🗿
me when 💀
me when 😳
x doubt
with "diverse" bots
x doubt
"diverse"
how many bots are offline
three fiddy
i dont speak chinese
That’s Japanese
thats amogus
oops forgot the /s
It says f u
oops forgot the /s /s
What bots we developing guys I’m so interested
Multipurpose bots
a bot that says "jebo ti pas mater v picku"
m*ltipurpose
It is
incredible
by adding them to a queue
wdym by queue
just make a queueueuee

make a huehuehuehuehue
kewew

i have always pronounced queue as kewew
que
:gun:
q
wha
¿que?
why does spanish need ¿ when they already have ?
Daff what u translate
its for australians null
oh right
body language
Lame
tidur
coma
,
me gusta el queso
lmao
maaf
i mini mod now
Tim are you spanish 
Are u malefe
no? jajajaja
yes i am malefe
tu hablo espanol 😑
spanish and portuguese is like js and ts
hola
if you know one, you know most of the other
portuguese have types?
Si Dora
nice
I know like 25% of spanish
all from having spanish friends
hola cabron
how many puta madre cabron do you hear every day?
a lot
Si Dora
🗿
what's cabron
SI DORA
🗿
🗿
yo, who has ever used grafana here
Me
ask the question
don't ask to ask smh
smhsmh
literally "goat"
is it useful for Performance Tracking? Thinking about deploying it on docker and track my other docker containers with it
but basically means asshole dumbass idiot
thanks
i will use it every day
"Cabron"
queso es mon favourita
What now
nada nada
it's okay babe
No
😑
technically grafana is just for creating the visuals and web dashboards, but yeah you can use it to visualize anything
🫣
estas mama gay
for the actual data collection and tracking you usually use something else in combination with it, like prometheus

Rude
What's the difference with Google Analytics
ye essentially my goal
Idk what u said but Ik u called me gay
Or is it just some graph website

its something you install in your vps and create a dashboard with stuff like cpu/memory/requests etc
@quartz kindle I just realized how little spanish I remember 😔
puto
tu puto por favor
L for u it’s clearly not okay bae then
exdee
it is okay 
No
eres tu mi amigo?
I forgot how to ask that
does that make sense
😳
🧐
me voy a dormir
@ancient nova vete a la mierda
buenos noches mi amigo
Yw
necesito cerrar mis ojos
tim can you teach me spanish
me too😳😔
Me three
¿que? no hablo español
tu hablo espanol CLEARLY
That don’t help Timmy
no hablo inglés
how do you say clearly in spnaish
tim can you teach me portuguese
or purtugesw
não
:^)
tu hablo español não
mon portugese es malo
lmao
anyways we are 50km deep into off-topic here and i need to go sleep
firsr step. become me
good night tim
Timmy fuck sleep teach me
🥶🥶🥶
Wow Tim
good night mi amigo
I feel betrayed
Sus
me reloj tu dormir
good night mi amogus
Ggggggaaaay
me when amogus theme plays😳
ok bye
lmao
U are female 4 sure
goodnught
Aloh smart
oh right
Piece of poo
🗿
🧌
Idk what u saying and I don’t like it
do u wanna know 😳
translate tweaking💀💀💀
Ikr
not at all what I wanted to say 🗿
What u say then
no 😳
I’ll kamikaze u
por favor no 😳
Man Spanish is bs
my friend knows the entire japanese language
man learned that while watching anime
💀
Ik like 50%
😐📸
Nani
que 😳
…..
it's what in spanish 🗿
Oh
🗿
What u tryna say 🧌
Iggle piggle
I wanna learn a new language
rust
not a programming one 🗿
rust
Are u Gustavo
yes
Can I call u Gus
u can tall me anytime 😳
🤨
Agreed
waffle do yourself a favor and do not look back at this conversation
buy one 😳
Well what if I had no money
I know 🗿
But what if I didn’t 😧
then u wouldn't be here dummy😳
😎🙅🏿🫣🤤🫡🤭🇲🇰🤭🙅🏿🤭🧌🫃🏿🇸🇳
Yes
sanest #development conversation

true
😳😳
I signed up for it
what about me 😔
Yes u too
🫃🏿
L it’s 2 in the after noon
not for me 😔
I'm not acc spanish 😐
Obv
you knew 😔
Heheheha

First time here
how do you like it 😳
Very Spanish
nice 🗿
No not nice
me gusta👍
And not okay bae
😤
🧐🧐
wtf is this
🗿📸
Who’s she
Aurel is a she?
he
And why she
🤔
Oh my bad
but
Aurel so our marriage is legit now?
ofc
Ay yo
pull up already Misty 
If you assume people's gender based on name
Yoooo
Who
🗿
see what 🗿
Exactly
👁💋👁
Ummmm
most on topic conversation I've ever seen
Is that Spanish
bae down really fucking bad god damn
indeed
Ong
🗿
😳
this makes me sick to the stomach
ayoooo 😳😳
y'all better stop before I start sending C++ template errors
okok relaxxxxxxx
just do it anyway
🗿
👁👅👁📸
nooooo don't arrest me
Looks simple to fix
sanest c++ "missing semicolon" error
just wait until you try C where you don't even get an error, just a segfault
ha funny
there's no concept of exceptions in C
really 😳
segfault aren't a problem tho
no shut up goofy
🗿
I’m not smart
I wanna sleep
Then sleep
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_SetRenderDrawColor referenced in function "public: void __cdecl Game::init(char const *,int,int,int,int,bool)" (?init@Game@@QEAAXPEBDHHHH_N@Z)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_RenderClear referenced in function "public: void __cdecl Game::render(void)" (?render@Game@@QEAAXXZ)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_RenderPresent referenced in function "public: void __cdecl Game::render(void)" (?render@Game@@QEAAXXZ)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_DestroyRenderer referenced in function "public: void __cdecl Game::clean(void)" (?clean@Game@@QEAAXXZ)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_Init referenced in function "public: void __cdecl Game::init(char const *,int,int,int,int,bool)" (?init@Game@@QEAAXPEBDHHHH_N@Z)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_Quit referenced in function "public: void __cdecl Game::clean(void)" (?clean@Game@@QEAAXXZ)
TextureManager.cpp.obj : error LNK2019: unresolved external symbol SDL_FreeSurface referenced in function "public: static struct SDL_Texture * __cdecl TextureManager::LoadTexture(char const *)" (?LoadTexture@TextureManager@@SAPEAUSDL_Texture@@PEBD@Z)
TextureManager.cpp.obj : error LNK2019: unresolved external symbol SDL_CreateTextureFromSurface referenced in function "public: static struct SDL_Texture * __cdecl TextureManager::LoadTexture(char const *)" (?LoadTexture@TextureManager@@SAPEAUSDL_Texture@@PEBD@Z)
TextureManager.cpp.obj : error LNK2019: unresolved external symbol SDL_RenderCopy referenced in function "public: static void __cdecl TextureManager::Draw(struct SDL_Texture *,struct SDL_Rect,struct SDL_Rect)" (?Draw@TextureManager@@SAXPEAUSDL_Texture@@USDL_Rect@@1@Z)
GameObject.cpp.obj : error LNK2001: unresolved external symbol SDL_RenderCopy
why
linker errors are somehow even worse
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_SetRenderDrawColor referenced in function "public: void __cdecl Game::init(char const *,int,int,int,int,bool)" (?init@Game@@QEAAXPEBDHHHH_N@Z)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_RenderClear referenced in function "public: void __cdecl Game::render(void)" (?render@Game@@QEAAXXZ)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_RenderPresent referenced in function "public: void __cdecl Game::render(void)" (?render@Game@@QEAAXXZ)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_DestroyRenderer referenced in function "public: void __cdecl Game::clean(void)" (?clean@Game@@QEAAXXZ)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_Init referenced in function "public: void __cdecl Game::init(char const *,int,int,int,int,bool)" (?init@Game@@QEAAXPEBDHHHH_N@Z)
Game.cpp.obj : error LNK2019: unresolved external symbol SDL_Quit referenced in function "public: void __cdecl Game::clean(void)" (?clean@Game@@QEAAXXZ)
TextureManager.cpp.obj : error LNK2019: unresolved external symbol SDL_FreeSurface referenced in function "public: static struct SDL_Texture * __cdecl TextureManager::LoadTexture(char const *)" (?LoadTexture@TextureManager@@SAPEAUSDL_Texture@@PEBD@Z)
TextureManager.cpp.obj : error LNK2019: unresolved external symbol SDL_CreateTextureFromSurface referenced in function "public: static struct SDL_Texture * __cdecl TextureManager::LoadTexture(char const *)" (?LoadTexture@TextureManager@@SAPEAUSDL_Texture@@PEBD@Z)
TextureManager.cpp.obj : error LNK2019: unresolved external symbol SDL_RenderCopy referenced in function "public: static void __cdecl TextureManager::Draw(struct SDL_Texture *,struct SDL_Rect,struct SDL_Rect)" (?Draw@TextureManager@@SAXPEAUSDL_Texture@@USDL_Rect@@1@Z)
GameObject.cpp.obj : error LNK2001: unresolved external symbol SDL_RenderCopy
I’m so smart
Look at this code I just sis
Did
I actually think i cried a little when I saw what you sent

now compare that to the least sane rust error
ignore the fact I'm using replit, I want to work on it at school
U guys speaking parcel tongue
Just buy a laptop and jack your schools wifi
I have a laptop
jack your schools wifi
I do not trust myself bringing it to school
Its easy getting the wifi password to your schools wifi
Yo are u guys like at least 50 years old
waffle is
As long as you have access to a device that has a terminal and is or has been connected to the wifi in the past
I'm literally under the age of 18
I’m under the age of female
how old even are you 🗿
I am older than waffle by a year
soon™️
wait don't tell me I'm older than yall 💀
Bro I’m 12
💀💀💀
Jokes
I'm 17 as of 2 months ago
less than 2 months and I will be 18
I just finished in your dad

thats development, development of pain
on god dead ass no cap 🗿
me when development:🗿
🪱
random
I’m bored
Maybe I should code how to get females 101
definitely 🗿
How do I code
learn it
me when female {
// do stuff
} else {
// do stuff
}
my reaction to that information: 😳
down bad bro
ok and
🗿
no need to fight for me calm down 🗿
aint no one fighting over your goofy ass
😔
I ain’t even know if u a guy or girl
it's a secret 🗿
😱
Yea
mfw I need a proper intro into grafana
I’m from terrabithia
they keep naming programming languagws after everything 🗿
😱 me too
Capybara code?
on god 😱😱😱😈😈😈🥶🥶🥶🥶
time to make an esolang with "ok I pull up"
ok we pull up to the afterparty
its just the lyrics to after party

Light up light up sketchers
no
👀👅👀
Shawty bad with the Sketches on wanna hold your hand make you my girl light up light up sketchers light up light up my world
I like your sketchers you like me my Gucci shoes I’ll buy you the purse only if you show me your ——-
bye bye
I think you're just down bad
lies 🗿
nope
let status = if let Some(bitches) = bae.maybe_bitches() {
unreachable!();
} else {
None
}
pub const fn maybe_bitches(self) -> Option<Bitch> {
None
}```
and yes it also consumes self because 
Yo is this the code for bitchs
this is the code for the bitches bae has
Wow
@radiant kraken thank u, i tried some stuff and found out superb way to optimize my bot command execution speed

pub const fn maybe_bitches<Item: IntoIterator<Item = PersonalityTrait>>(self, personalities: Item) -> Option<Box<dyn Bitch>> {
None
}
is that even valid as const? probably not, but I don't care
Yes
What matters is the function body
{
let _ = mem::forget(String::with_capacity(usize::MAX));
}```

the error
If I want to do something like this, what should I research?
Bonjour !
J'ai une question, la documentation (https://docs.top.gg/libraries/javascript/), est faite pour aller sur le code du bot ou sur le site du bot ?
Image recognition
And/or machine learning
thanks
Define server
guildMemberAdd fires after the member joins the server with the button on the text input?
hard to explain tbh
Join Modal after you "finished looking around"
I will give You Source link in Dm
The event is triggered when a new member has joined the server
Doesn’t matter which sort of invite he used
The error says index on line 25
be prepared to actually post the code we ask for
So send the code around it



Open this link
🤔 is this your index.js?
0xFFFFFF * Math.round(Math.random()) sent hello
so i got a bunch of pdfs and i want to convert them to something that can be read very fast
what would u guys suggest
regex
So?
u cant import index because it'll lead to an import loop
if u need the client elsewhere, pass it as a parameter
requiring itself yeah
ayo what? is that already index.js?
Can you Give Me Code
no
what are u even trying to do there?
I just Come to here For Understand Problem
Bye
yes but, what is the actual goal?
I just Make Bot For My Persnol Channel
...you're missing the point
Yes
did u copy the code from somewhere else?
Yes
well that's the issue then
from the error it seems that something just isn't defined...
so thats pretty low level
blindly copying stuff will 9 out of 10 times lead to an amalgamation of errors and confusion
a lot of people also don't help with code that has been copied blindly
leads to too many headaches
Same with me 😂
Can you help me in fixing it
show your index file
Here it is
that can't be index, it has nothing regarding the bot
if it is, you got bigger problems then
Come in dm i send you source link
I asked for the file structure but whatever, that one looks more index to me
show line 25
Here it is
let options = [];
async function push(key) {
console.log(
{
label: capitalizeFirstLetter(key).replace("_", " "),
value: capitalizeFirstLetter(key).replace("_", " "),
emoji: data[key] ? client.emojis.cache.get(config.emojiIDs.green_tick) : client.emojis.cache.get(config.emojiIDs.red_tick),
description: `Value: ${(await db.get(`guilds.${interaction.guild.id}[${key}]`)) ?? "None"}`,
},
2
);
options.push({
label: capitalizeFirstLetter(key).replace("_", " "),
value: capitalizeFirstLetter(key).replace("_", " "),
emoji: data[key] ? client.emojis.cache.get(config.emojiIDs.green_tick) : client.emojis.cache.get(config.emojiIDs.red_tick),
description: `Value: ${(await db.get(`guilds.${interaction.guild.id}[${key}]`)) ?? "None"}`,
});
}
Object.keys(data).forEach((key) => {
console.log(true)
if (
require("lodash")
.toPairs(require("../../index").commandStructure)
.findIndex((f) => f[1].parent == key || f[1].module == key) != -1
) {
console.log(false)
push(key)
}
});```
"options" comes out empty (`[]`)
function capitalizeFirstLetter(string) {
return require("lodash").startCase(string.charAt(0).toUpperCase() + string.slice(1));
}```
console.log before options.push logs the data correctly
server wasn't declared, so you cannot create a listener
unless you plan on making an api (for stuff like votes), you can simply remove that line
you cannot expect modifications inside an async scope to be executed during synchronous flow
that's why it's refrained upon to modify outside objects inside async functions
And how would I still "await db.get"
well, you don't
also:
async is contagious, so you either make the entire chain async or you handle everything inside it
This looks like a job for mapping anyway.
then you can use await
but you need to rethink if what you're doing is worthwhile
Thnx Bot is started
i feel like not for very long
member.roles.add(await member.guild.roles.fetch(role_id)).catch((err) => {
log.warning(`Failed to append '${role_id}' whois '${member.user.id}' guild '${member.guild.id}'`, "guildMemberAdd")
log.error(err, "guildMemberAdd")
})```
🤔 are you checking if the role is editable?
https://discord.js.org/#/docs/discord.js/main/class/Role?scrollTo=editable
That's new?
nope
I want code to change the name (NickName)
Repilit
V13
d.js
the nickname of what?
oh the nickname of bot
guild.me.setNickname?
im not sure i use dpy lol
Code
d.js != d.py
of your code?
you can name your code by changing the filename.
I Want NickName Code
Repilit
d.js
V13
We do not give code, spoonfeeding is against our rules

Does this include giving function names?
Not really, its mostly just copy paste examples.
Or is it just like the code but the issue fixed
you said you were the best programmer in europe
wtf is this
Like this is fine?
yeah totally
I want to get this code to put in my bot
(similar to v13)
The best programmer would definitely not use replit
Sorry
you are the best programmer of europe
do it yourself
discord js
He said py
🙂
Dude stop posting that links in here and read the channel rules
I'm sorry FakE
anyways
command
args 1 @nickname: string
action @param interaction: Discord.Interaction("Command")
attempt interaction.member setNickName, @nickname
attempt interaction reply "Set" @private @nothrow
except Exception:any
fallback interaction reply "Can't" @private @nothrow
Denied Flazepe
parse that into your language / library of choice
that's the most speedfeed i can do
Dude I don't think they even know English
He uses d.js 
lol
I doubt they could make out anything from that
Great spoonfeed
Sayuri actually more confusing to him than the rest
Yea lul
It's not meant to spoonfeed but give you a general rule on how the command will function
Who here is dutch?
I hv a dutch friend does that count
Nah
It's essentially pseudo code
i said
convert that code to djs
Would they send you some grass?
Asking for a friend









