#development

1 messages ยท Page 1031 of 1

tulip ledge
#

It now has cb or -!-

delicate shore
#

boeing

lusty quest
#

@earnest phoenix ```javascript
dbl.on('posted', () => {
console.log('Server count posted!');
})

dbl.on('error', e => {
console.log(Oops! ${e});
})

restive pebble
#

Now ping a mod md tell

solemn latch
#

Contact a mod @tulip ledge

lyric mountain
#

@delicate shore just gave u the answer

tulip ledge
#

Most have DM's disabled

delicate shore
#

@delicate shore just gave u the answer
@lyric mountain ?
?

lyric mountain
solemn latch
#

@earnest phoenix

delicate shore
#

ph

#

oh

restive pebble
#

U need to put it inside a event listener @earnest phoenix guildCreate the code superbrain8 saent

earnest phoenix
#

please help ๐Ÿ˜ฆ

#

?

#

Why did I get pinged

solemn latch
#

Chicken changed his bot prefix

restive pebble
#

New mod kek

solemn latch
#

He wants common prefix removed

earnest phoenix
#

Oh, I don't know how to handle bot stuff

#

You should ask another mod :( sorry

solemn latch
#

Yikes

restive pebble
#

New

lusty quest
#

@restive pebble i would use it in the mainfile

restive pebble
#

Hmmmm

earnest phoenix
#

I'm going to learn the bot stuff after my vacation

lusty quest
#

had some issues using it in a event listender

restive pebble
#

Ya ya

tulip ledge
#

Are we allowed to ping mods?

restive pebble
#

Wait my bad

lyric mountain
#

Are we allowed to ping mods?
@tulip ledge yesn't

restive pebble
#

It's dbl listener

#

When data is posted

#

My bad

tulip ledge
#

??

restive pebble
#

Not to u

earnest phoenix
#

You should probably go and ask in #support

lyric mountain
#

can you? yes
should you? probably not unless necessary

earnest phoenix
#

Are we allowed to ping mods?
@tulip ledge if it's a good reason

#

but not all of them

restive pebble
#

hello auric

earnest phoenix
#

hi boeing

solemn latch
#

I pinged Ardy because trial mods need experience ๐Ÿค”
Didn't know she wasn't taught that stuff yet

restive pebble
#

Is there any other way of changing the npm js profile becuz my gravatar is in use in some other place and I don't want it to be in my npm profile

#

No ig

lyric mountain
#

js profile?

restive pebble
#

Npmjs

pale vessel
#

npmjs

restive pebble
#

hmmmm

#

Time to make alts

pure lion
#

Hello there

earnest phoenix
#

imma need a spoon feed ๐Ÿ˜ฆ

tulip ledge
#

No

#

Spoon feed illegal

earnest phoenix
#

๐Ÿ˜ญ

pure lion
#

Yea spoon feed not legal

#

Sorry

earnest phoenix
fast yacht
restive pebble
earnest phoenix
#

just please this is the only one ;-;

lyric mountain
#

no

restive pebble
#

Spoonfeed will not happen nywhere

lyric mountain
#

never is

restive pebble
#

Not even MongoDB staffs will do it

#

NOONE does it so don't develop a habit of it

earnest phoenix
#

;;(

#

๐Ÿ˜ญ

#

๐Ÿ˜ญ

tulip ledge
#

Dude

earnest phoenix
#

๐Ÿ˜ญ ๐Ÿ˜ญ ๐Ÿ˜ฆ ๐Ÿ˜ฆ

lusty quest
#

you could pay someone to do it on Fiver or Freelancer

tulip ledge
#

Just read the docs ffs

earnest phoenix
#

i have

#

read the docs

#

OK

tulip ledge
#

clearly not good enough then

earnest phoenix
#

AND I FIND NOTHING

lyric mountain
pure lion
#

LISTEN YEAH

lusty quest
#

to be fair the MongoDB docs are not that easy to understand if you have no idea about it

earnest phoenix
#

i dont understand this shit

restive pebble
pure lion
#

It's funny because I learnt how to js through the djs docs

restive pebble
#

Lmao

pure lion
#

Jajajajajaja

restive pebble
#

Bruh

lusty quest
#

in my opinion the js docs are better structured than the MongoDB docs

tulip ledge
#

Same

fast yacht
#

@earnest phoenix
I see you're using DiscordJS.
Seriously. go and look at https://discordjs.guide/
It's the best guide if you're new to javascript

tulip ledge
#

But not only djs docs

earnest phoenix
#

this isnt helping just please help

lyric mountain
#

we are helping

tulip ledge
#

We already told u how to do it

fast yacht
#

We are helping. You're just not seing it

tulip ledge
#

Now you come to ask for spoonfeed

pure lion
#

*loud js-ing*

lyric mountain
#

but instead you're wanting to eat soup with a fork

tulip ledge
#

If you don't know how to do what we told

#

Learn js and mongo first

#

Before asking for help

earnest phoenix
#

no

fast yacht
#

..

pure lion
#

Yes

restive pebble
#

Asking for spoonfeed bad

tulip ledge
#

Yes

solemn latch
#

Honestly, I dont know mongo db, but I found an example of how to do what you want in 30 seconds on the mongo db docs site

lusty quest
#

i can send you a YT series for a D.js bot that uses a MongoDB for data storage, its well made and the bot is on github

solemn latch
#

Its literally on the home page

restive pebble
#

someone who is not willing to try to figure it out himself

tulip ledge
#

me neither woo but i's just logic

pure lion
#

The spoon is made of gallium so it's going to melt

restive pebble
#

Bruh

#

Pls

lyric mountain
#

its well made and the bot is on github
uh oh, you do know what that implies, right?

earnest phoenix
#

i looked at the link and i find NOTIHNG

pure lion
#

Is your fridge running?

lusty quest
#

i know but i think he will not get it without

earnest phoenix
#

Is your fridge running?
@pure lion tf

pure lion
#

Is your monitor on?

#

Did you open windows?

earnest phoenix
#

bruh

#

IT IS ON STFU

#

IM ON IT NOW

pure lion
#

Is the ethernet cable plugged in?

fast yacht
#

:p

tulip ledge
#

Is your mouse plugged in?

lusty quest
#

@earnest phoenix the rules here doesnt allow Spoonfeeding, if you have an issue with it you maybe can get someone on Fiverr or Freelancer to do it for you (you need to pay)

tulip ledge
#

keyboard?

earnest phoenix
#

BRUH I HAVE WIRELESS INTERNET AND ITS A LAPTOP NOT A MONITOR

pure lion
#

Is your brain plugged in?

tulip ledge
#

Clearly not

#

Lol

restive pebble
#

Wow

fast yacht
#

@earnest phoenix What size your shoes currently?

restive pebble
#

Nice jokes

tulip ledge
#

jk โค๏ธ

lyric mountain
#

ok ok, enough poking

lusty quest
#

i suggest stopping here with this crap

earnest phoenix
#

@earnest phoenix What size your shoes currently?
@fast yacht OK STFU NOW JUST STFU

pure lion
#

Yeah fr learn the docs

restive pebble
#

What is thelogic twith shoes size

lyric mountain
#

@earnest phoenix you need to read the docs to learn how to handle CRUD operations on MongoDB

earnest phoenix
#

IM NOT WEARING ANY BRO

restive pebble
#

Auto correct not working

solemn latch
#

๐Ÿค”

earnest phoenix
#

tf?

pure lion
#

/hmm

solemn latch
#

Its on the main page

lyric mountain
#

if you don't understand MongoDB I suggest learning SQL-base DBs first

tulip ledge
#

Hmm?

#

I smell a solution

earnest phoenix
#

i dont understand this

tulip ledge
#

You said u raid the docs?

#

Clearly not

earnest phoenix
#

yes

#

i read

solemn latch
#

The docs have examples of how to use them

tulip ledge
#

Your solution is on the main page

lyric mountain
#

The docs have examples of how to use them
EXAMPLES

#

not copypasta

tulip ledge
#

Please dont copy paste examples

pure lion
#

It's not gonna work

tulip ledge
#

Thats just bad and I speak from experience lmao

solemn latch
#

If you need help understanding a part of the examples, we can help with thar

#

If you can't understand the examples at all, we can't help with that

pure lion
#

But we're not going to show you how to do everything

earnest phoenix
#

where do i put findeOneAndUpdate in ```js
const Discord = require("discord.js")

module.exports = {
name: "work",
aliases: ["w"],
category: "Currency",
run: async (bot, message, args, err) => {
const money = await bot.db.collection("Money").findOne({u_id: message.author.id})

        if (err) console.log(err);

        const random = Math.floor(Math.random() * 100);

        if (!money) {
            await bot.db.collection("Money").updateOne({"u_id": message.author.id}, {$set: {money: 0 + random}}, {upsert: true})
        } else {
            await bot.db.collection("Money").updateOne({"u_id": message.author.id}, {$set: {money: random}},  {upsert: true}) 
            .catch(err => console.log(err));
        };
}

}

pure lion
#

Hell, i don't know mongo dB and I bet you I could go and read and interpret the docs right now

tulip ledge
#

Read

#

The

#

Docs

solemn latch
#

You need to understand your own code to understand where to put it

lyric mountain
#

@earnest phoenix do you know what findOneAndUpdate stands for?

pure lion
#

It finds one and

#

:o

tulip ledge
#

Why that e?

pure lion
#

Does it delete it?

tulip ledge
pure lion
#

Nooo

tulip ledge
#

Pesky e

pure lion
#

It updates it

earnest phoenix
#

@earnest phoenix do you know what findeOneAndUpdate stands for?
@lyric mountain nope

lyric mountain
#

do you know english?

solemn latch
#

Yikes

lyric mountain
#

what does those words mean?

restive pebble
#

English

#

Idk why autocorrect broken

earnest phoenix
#

right imma quit deving

tulip ledge
#

Turn it of lmao

restive pebble
#

Hmmmm

lyric mountain
#

just tell me

pure lion
#

Look for one value and then change it to a new one oWo

restive pebble
#

Why lol

lyric mountain
#

what does those words mean?

tulip ledge
#

Alright good luck!

restive pebble
#

Good luck bro

lyric mountain
#

findOneAndUpdate what does those words suggest?

tulip ledge
#

Dont bother

lyric mountain
#

it finds one, and...?

tulip ledge
#

He already quit

pure lion
#

I think it deletes the GitHub repo

lyric mountain
#

meh

#

that code is so self-explicative

solemn latch
#

Poor guy

pure lion
#

:sad:

tulip ledge
#

:sad:

earnest phoenix
#

BRUH I FUCKING TRY FINDONEANDUPDATE AND IT DOESNT WORK

pure lion
#

So are you ready to read the docs?

solemn latch
#

Its not copy paste

tulip ledge
#

Then ur doing it wrong

solemn latch
#

You need to use the parameters like the docs show

earnest phoenix
#

bruh

lusty quest
#

mongodb is not as straight forward as sql databases

pale vessel
#

i'm crying reading these messages

solemn latch
#

Its not even a logic problem, it's a following directions problem

lusty quest
#

i guess the issue is, you want to learn something without learning anything

earnest phoenix
#

im bad at following instuctions and pay attention ok so please mind me being a dickhead

pure lion
#

Devs do be wise doe

tulip ledge
#

It's like these people in class who let all the people answer the questions and on tests they have to cheat

#

@earnest phoenix If you don't want to learn and follow instructions then developing might not be for you

earnest phoenix
#

what?

tulip ledge
#

Dude how did I just get 3 spotify adverts after each other?

pure lion
#

:o

earnest phoenix
#

lol

tulip ledge
#

Sure if you have ADHD no problem but we're not gonna make exceptions for you just cuz you have a disorder

#

I mean prob most devs have a disorder lmao

earnest phoenix
#

ik

#

lol

#

i was just saying

#

that

pure lion
#

I have not giving up ever disorder pogey

earnest phoenix
#

i cant follow thins properly and i dont understand stuff aswell

solemn latch
#

If your more of a visual learner/audio, try a YouTube video

earnest phoenix
#

and i always say what as in i dont know or confused so please

solemn latch
#

Docs are something you will have to get used to using as a dev.

tulip ledge
#

Tbh docs are better then tutorials tho

lusty quest
#

find a way how you can work with your disorder and still somehow learn the needed stuff

pure lion
#

Docs are literally there for you to understand

earnest phoenix
#

im not good at reading either i stuggle reading big pharagraphs

tulip ledge
#

Docs are most of the time made by the developers of that thing and therefore are much better then other people making tutorials

lusty quest
#

maybe you can find a few youtube videos that tell you the basics. Combine it with a activity that can satisfy your disorder

earnest phoenix
#

and i learn the basics of js ect and cuz of ADHD i forget them and i have to keep learning and i just dont like people saying to me learn the basics cuz ive tried and i just cant learn it and keep it in my head

lusty quest
#

you dont have to watch the video if its well made, like running around the block while listening to the video can help

lyric mountain
#

@earnest phoenix the issue with spoonfeeding is that "once" is never enough

tulip ledge
#

True

#

Wait u forget things cuz of ADHD? YOu sure you don't have alzheimer?

lyric mountain
#

what if you need to fix some issue regarding mongodb in another command?

pure lion
#

I would say I'm happy to go onto voice chat and explain it but I don't know of mongo

lyric mountain
#

will you come here again for more spoonfeeding?

earnest phoenix
#

Wait u forget things cuz of ADHD? YOu sure you don't have alzheimer?
@tulip ledge whats that?

#

Anyone know how to make a bot that can do robux payouts when someone has invites. I need some help

lyric mountain
#

what if you want to make a new command?

#

what if the bot breaks due to updates?

tulip ledge
#

You're basically a goldfish if u have alzheimer

lusty quest
#

ADHD lowers the ability to work with input. there are a few studies about it

earnest phoenix
#

You're basically a goldfish if u have alzheimer
@tulip ledge well like uhh well i have trouble staying on task so that may be it or smth

#

:/

lusty quest
#

also it makes hard to concentrate on one thing for extended periods

tulip ledge
#

ADHD doesn't make you forget stuff

earnest phoenix
#

Lol

#

kinda does for me i have both sides of it and they just keep getting worse and worse

tulip ledge
#

Wait ADHD is 2 dimensional?

#

Wut

earnest phoenix
#

Anyone know how to make a bot that can do robux payouts when someone has invites. I need some help

#

With the code

tulip ledge
#

Prob create an API that will control a user that will then pay people robux if they reach x amount of invites

#

They would need to link their account to their discord tho

earnest phoenix
#

Well im not an experianced coder but thanks

tulip ledge
#

I mean

#

You don't need ADHD to forget stuff

solemn latch
#

I think that means like forgetfulness of tasks you need to do

tulip ledge
earnest phoenix
#

You don't need ADHD to forget stuff
@tulip ledge no shit

solemn latch
#

Not forgetfulness of things you know

blazing portal
solemn latch
#

True that

earnest phoenix
delicate shore
tulip ledge
#

Yeah Derku just shut up about your ADHD no one cares

solemn latch
#

Yikes

pure lion
tulip ledge
#

If you want to be spoonfed ask your parents

#

They'll give you some dogfood

solemn latch
#

Do you have the link to that tos change. I've yet to find it @delicate shore

tulip ledge
#

Wait

#

Did they change TOS?

lusty quest
#

its on the github repo

solemn latch
#

O thanks

earnest phoenix
tulip ledge
#

Oh yeah now u need intents to be allowed to store data right?

solemn latch
#

Privacy policies for bots

earnest phoenix
#

I think that means like forgetfulness of tasks you need to do
@solemn latch yes

pure lion
#

stores literally everything<

tulip ledge
#

@earnest phoenix One or more files of your doesn't contain a module.exports.help

earnest phoenix
#

So, I need to add?

tulip ledge
#

Yes

earnest phoenix
#

module.exports.help this?

blazing portal
#

Or the disabled property of the the module.exports.help

tulip ledge
#

You can't access something that doesn't exist

#

Yes? Did you make that code yourself

earnest phoenix
#

Yes

tulip ledge
#

No

#

@blazing portal It clearly points to the . before disabled

#

Meaning it can't read the c.help

#

c.help is essentially undefined

#

Why

lyric mountain
#

if you're finding a simple money system hard, imagine when you start making music commands

tulip ledge
#

Did I just get DM'ed by 2 bots?

lusty quest
#

i got already the privacy police done. it also shows all the stored data for the user (needed by law in Europe)

lyric mountain
#

c.help

#

lul

tulip ledge
#

Wait

#

U need to do that now?

lyric mountain
#

that's really a command

tulip ledge
#

Can someone link me the TOS?

lusty quest
#

i guess october 7th you need it

solemn latch
#

I'm still looking

earnest phoenix
#

@tulip ledge Second/file it'll be in?

#

index.js?

tulip ledge
#

So you need to show what you're storing?

#

NO

#

Your

#

Commands

pure lion
#

c.help

earnest phoenix
#

Oh lol

#

Mhmmm

pure lion
#

HUH

lyric mountain
#

c.blablabla

earnest phoenix
#

lol

lyric mountain
#

well, no unknown command messages

pure lion
#

c.ping

#

Ah shit

tulip ledge
#

Can somebody link me the TOS?

#

c.ping

lyric mountain
tulip ledge
#

No

#

The new

#

TOS

pure lion
#

SoT

lusty quest
tulip ledge
#

Apparently you need to display what things you save?

pure lion
#

I save IDs, lots of IDs

#

And lives 8)

earnest phoenix
#

https://sourceb.in/980a5a4114 so this is my other code for my other bot andd uhhh im using quick.db for that ok soo uhh i need to like change it up then am i correct si this an easy template or not im not sure i just found this and thought i can replace with uhh mongoDb code i bet its wrong to updated it to mongo :/

tulip ledge
#

scrape any Discord Data;

#

??

lyric mountain
tulip ledge
#

What does that mean

#

Lol

#

You can't save users stuff without them using a command?

#

Or idk I'm not english

lyric mountain
#

scraping means getting data from the site by fiddling with html

lusty quest
#

... they removed the old one so you cant check changes

tulip ledge
#

oh

solemn latch
#

You cant give it out without user permission

#

I hope someone makes a privacy policy builder

lyric mountain
solemn latch
#

Because there's no way everyone will make one

earnest phoenix
#

so should i use mongoose would that be easier?

pale vessel
#

you can't even get mongodb to work and now you're doing mongoose

tulip ledge
#

to promote or facilitate unlawful online gambling;
Does this mean we can't make gambling commands?

slender thistle
#

I mean mongoose is just a wrapper, isn't it

earnest phoenix
#

it doesn't

tulip ledge
#

I think so

lyric mountain
#

unlawful gambling = betting real money

earnest phoenix
#

you can't even get mongodb to work and now you're doing mongoose
@pale vessel well i dunno i just like uhh forget ill not do a coin thing then..

#

yeah

tulip ledge
#

So we can still make gambling commands?

slender thistle
#

if it's virtual currency that doesn't involve real money, yes

lusty quest
#

you can in a limited space

lyric mountain
tulip ledge
#

Wait

#

So we need to check their age now?

#

The new ToS

lusty quest
#

its discords issue

tulip ledge
#

yes

pure lion
#

Why and how the fuck...

earnest phoenix
#

https://sourceb.in/980a5a4114 so this is my other code for my other bot andd uhhh im using quick.db for that ok soo uhh i need to like change it up then am i correct si this an easy template or not im not sure i just found this and thought i can replace with uhh mongoDb code i bet its wrong to updated it to mongo :/

#

then you have gambling with virtual currency which can also be bought as a microtransaction which is kind of a grey area because they're being incredibly vague in the document

lusty quest
#

its not grey area in a few european countries

earnest phoenix
#

bro someone help

lusty quest
#

you still have to follow the local law

earnest phoenix
#

yeah some banned that shit like loot boxes

#

i sent stuff

#

and you hevent looked at it yet

#

aNd You HaVeNt LooKed aT iT YeT

we're not your slaves?

lyric mountain
#

it's just been ONE FRIGGIN MINUTE

earnest phoenix
delicate shore
#

O thanks
@solemn latch what did they changed

tulip ledge
lusty quest
#

this is the Privacy Police of the bot

earnest phoenix
#

should i redo the whole work cmd then and start from the begining?

lusty quest
#

its possible that this is needed in the future for bots with more than 100 guilds

tulip ledge
#

Yup

misty sigil
#

i made an entire subdomain
thonkG

tulip ledge
#

I need to make it for my other bot aswell

blazing portal
#

It's possible that this is needed. Where do you have that information from? Or is it just a guess?

lusty quest
#

i also send the stored data with my command

tulip ledge
#

Well

#

I save like a good 80 things for the user

lusty quest
#

so a user can see what is stored and if needed can contact the support for removing it

misty sigil
#

actually im just gonna, make our privacy policy across the whole "company"

tulip ledge
#

But only the ID is the thing I save for the user

misty sigil
#

its not a company its more of a group

lusty quest
#

i store like 2-4 things

tulip ledge
#

So I can't show what I store lmao

misty sigil
#

i store 2 things, thats all

earnest phoenix
#

so im in General VC so can someone help/

#

it is better for me for audio

tulip ledge
#

The avatar of the client

#

I can't type

lusty quest
tulip ledge
#

Yeah that is better

lusty quest
#

the user get the embed as a DM

earnest phoenix
#

so im in General VC so can someone help?
it is better for me for audio

tulip ledge
#

I'm gonna yoink ur idea

lusty quest
#

iirc in germany you need to give the user the ability to see what data is stored. So this is pretty easy

blazing portal
#

How do I like put the icon of the avatar here?
@tulip ledge If you're using D.js it's .setAuthor(...

earnest phoenix
#

ok i deleted all my code so can we go in General VC and help?

pale vessel
#

no.

earnest phoenix
#

it is easier for me to do audio than text

#

do you know what i mean?

lyric mountain
#

spoken spoonfeeding?

earnest phoenix
#

?

sudden geyser
#

making a privacy and legal term is kinda weird for a bot

pale vessel
#

that's a low blow

lusty quest
#

ahh yes the next selfbot sending me a Friend Invite

earnest phoenix
#

so can someone help mi in vc?

solemn latch
#

Its going to be required in the future from what i understand @sudden geyser

lyric mountain
#

well, time to write a privacy policy

blazing portal
#

Can you provide any links for that @solemn latch?

sudden geyser
#

aight I'm out ๐Ÿšช ๐Ÿšถโ€โ™‚๏ธ

pure lion
#

Oh hey that's my birthday

sudden geyser
#

happy early birthday

pure lion
#

Tankya :D

solemn latch
pure lion
#

Dankyeeee

earnest phoenix
#

ok i deleted all my code so can we go in General VC and help?

blazing portal
earnest phoenix
#

discord is expanding the audience they cater to, with that there's going to be some big changes i guess, including the bot developer community

tulip ledge
lusty quest
#

should be fine

pure lion
#

a

earnest phoenix
#

you can just create a github repo and put your statement in that

#

then hyperlink in your embed

tulip ledge
#

Yeah also possible

lusty quest
#

but im not sure if it is completely sound, it is possible that you need to add a way for showing the data (depending on the country your hardware is running)

tulip ledge
earnest phoenix
tulip ledge
#

All 80 things I'm sotring?

#

It's just things like money and xp and level

pale vessel
#

that timestamp doesn't look valid

lusty quest
#

i show everything im storing.

sudden geyser
#

You shouldn't really hard-code your help manual.

earnest phoenix
#

adding a field for each command yikes

#

ik

tulip ledge
#

Damn

lusty quest
#

but this are only 3 things so its easy

tulip ledge
#

I might add it to a website then

earnest phoenix
#

but what else could i have done

pale vessel
earnest phoenix
#

try it and see

#

You shouldn't really hard-code your help manual.
@sudden geyser what should i do then?

pure lion
lusty quest
#

actually i think you only need to show stuff that is connected to the user. if there is some sort of configuration file it makes no sense

earnest phoenix
#

bruh it doesnothing atm

#

lol

solemn latch
#

Xp and balance? Should that be displayed

earnest phoenix
#

it only stores their id

#

im just asking if tis correct so far

#

i dont want to try it right away

lusty quest
#

i would just to make sure

#

but its not really a thing you need to do i guess, since its not directly attached to the person directly

earnest phoenix
pale vessel
#

please

earnest phoenix
#

oh

#

lol

#

my b

#

ty

sudden geyser
#

@earnest phoenix I'm not experienced in Discord.py, but does it store the commands somewhere in your Bot instance (aka client)?

earnest phoenix
#

i have it dude

#

this is just part of my code

tulip ledge
earnest phoenix
#

yup it worked ty @pale vessel

blazing portal
#

If you show an error, but not the code, nobody can help you @earnest phoenix

earnest phoenix
#
const Discord = require("discord.js")

module.exports = {
    name: "work",
    aliases: ["w"],
    category: "Currency",
    run: async (bot, message, args, err) => {
    const random = Math.floor(Math.random() * 100); //Generates a random number and times it by 100

        await bot.db.collection("Money").updateOne({"User_ID": message.author.id})
    }
}
tulip ledge
#

@static osprey

lusty quest
#

you dont send anything to the DB.

earnest phoenix
#

id

#

i do

#

i do id

lusty quest
#

you say the DB to update the Document where the User_ID is

earnest phoenix
#

?

#

im confused

lusty quest
#

you tell the DB to update the Document where the given Userid is

earnest phoenix
#

still confused

lusty quest
#

but you dont send anything to update

earnest phoenix
#

ohh i see because it is already stored?

#

correct?

lusty quest
misty sigil
#

no

#

money isn't stored?

earnest phoenix
#

?

tulip ledge
#

.setAuthor(client.user.avatarURL()) doesnt work

lusty quest
#

money is the collection

earnest phoenix
#

yes ik

misty sigil
#

wheres the money variable

lusty quest
#

im not sure what he wants to acomplish with this code tbh

blazing portal
sudden geyser
#

@tulip ledge the first argument (assuming you're using Discord.js) should be a string. Did you mean to set that as the second argument (the icon)

tulip ledge
#

yes

#

But I did a string

#

And it whent into my catch

solemn latch
blazing portal
#

Thanks Woo

solemn latch
#

Np

zenith terrace
#

When he uses the bot and a user at the same time zoomeyes

tulip ledge
#

@torpid forge avatrURL is v11

#

It needs to be a function in v12

blazing portal
#

If you want the author to be the client name with its icon: [...].setAuthor(client.user.username, client.user.avatarUrl())

tulip ledge
#

Ok almost

#

I want the Pirvacy and legal terms instead of undefined

#

I think I can do that myself tho

pure lion
#

undefined

pale vessel
#

avatarURL()

tulip ledge
#

i did

#

avatarURL()

pure lion
#

displayAvatarURL()

pale vessel
#

sorry, they said avatarUrl()

tulip ledge
earnest phoenix
tulip ledge
#

Dang

#

Fuck

#

Too late

earnest phoenix
#

Lol

tulip ledge
#

U got another?

zenith terrace
#

Wat

tulip ledge
#

Lmao

#

Who claimed it tho?

earnest phoenix
#

ok so this code:

const Discord = require("discord.js")

module.exports = {
    name: "work",
    aliases: ["w"],
    category: "Currency",
    run: async (bot, message, args, err) => {
    const random = Math.floor(Math.random() * 100); //Generates a random number and times it by 100

        await bot.db.collection("Money").updateOne({"User_ID": message.author.id}, {$set:{ Money: random }},  {upsert: true})
    }
}
``` is working and i get this which im guessing is correct so now what do i do now?
#

the only gg i need is good god ๐Ÿ˜Ž

tulip ledge
#

//Generates a random number and times it by 100

#

No lmao

earnest phoenix
#

oh

#

ok

tulip ledge
#

You're getting a random number between 0 and 99

earnest phoenix
#

you can't tell discord to use your local files

#

oh

#

how tf do you expect it to know that

#

it has to be on imgur or sth?

tulip ledge
#

yes

earnest phoenix
#

cos i used to use local files without embeds

tulip ledge
#

Or post them in a channel

#

And use the message link

earnest phoenix
#

ok

#

you can also upload it and reference with attachment://

#

@tulip ledge i updated the code so now what?

#

sending a file supports still having embeds

tulip ledge
#

?

earnest phoenix
#
const Discord = require("discord.js")

module.exports = {
    name: "work",
    aliases: ["w"],
    category: "Currency",
    run: async (bot, message, args, err) => {
    const random = Math.floor(Math.random() * 100); //Gets a random number between 0 and 99

        await bot.db.collection("Money").updateOne({"User_ID": message.author.id}, {$set:{ Money: random }},  {upsert: true})
    }
}
``` got this what do i do now?
pale vessel
#

you tell me

earnest phoenix
#

well its a wrok cmd to get money

#

and stores the money

#

and then adds more ect

pale vessel
#

what seems to be the problem here

earnest phoenix
#

well i dont know what to do next

tulip ledge
#

We cant help if u dont say what ur problem is

earnest phoenix
#

i dont have a problem

#

i need ferther help to finihs this cmd

#

because it doesnt like add money to it

tulip ledge
#

wu-

#

Didnt we answer u like 10 times already

#

We spoonfed u like 4 times

#

Why are u still asking help?

earnest phoenix
#

i restarted it

#

so it would be easier for me

tulip ledge
#

๐Ÿคฆ

earnest phoenix
#

please

#

just please

#

how do i change my thumbnail embed size in discord.py?

solemn latch
#

Iirc discord sets the max size of a thumbnail

weary ridge
#

I donโ€™t think you can change that

earnest phoenix
#

it's possible

#

hmmmm

#

i've done it but idk if it's the same way in py

slender thistle
#

size query param?

earnest phoenix
#
because it doesnt like add money to it```
#

i've done it but idk if it's the same way in py
@earnest phoenix mind sending it?

#

shivaco just answered

#

oh

weary ridge
#

py is very different to other languages lul

earnest phoenix
slender thistle
#

Principle stays the same

weary ridge
#

Tru

slender thistle
#

thumbnailurl?size=1024

earnest phoenix
#

so can some on help?

weary ridge
#

Bruh

earnest phoenix
#

;-;

#

ill ask in TSC

#

ok ty guys

#

ill ask in TSC
@earnest phoenix they don't spoonfeed there too

#

ik

strange trout
solemn latch
#

Its not like we don't want to help.
The no spoonfeeding rules are so you learn to not depend on others for help.

pale vessel
#

i wouldn't spoonfeed even if there's no such rule, to be frank

solemn latch
#

^

tulip ledge
#

^

pale vessel
#

the previous person fixed the problem without us giving them code

tulip ledge
#

Why do python devs earn more then js devs? I wonder

#

They're both high level languages

earnest phoenix
#

the salary varies from country to country

solemn latch
#

Python is in more demand i think

tulip ledge
#

here its a pretty big difference

#

prob

pale vessel
#

html dev here, earned not even a penny, sad

tulip ledge
#

Wix and wordpress fucked all html devs up

slender thistle
#

Python is used more for data analysis

earnest phoenix
#

in the uk java is a big thing while here in croatia c# is with asp.net technology

tulip ledge
#

In belgium u can't even get a job with JS

#

Everyone wants python

solemn latch
#

I made a couple hundred off a program I wrote.
Was getting like $50 a month, but the program I was working with made it against tos to use.
Pretty proud i got TOS changed

#

Lol

strange trout
#

$50/m neko_think

tulip ledge
#

Like my cousin who does JS has been looking for a job for like 6 months now and can't find one

lusty quest
#

i havent even tryed here to get a Job as Software Dev. there is also no need for me RN since i have a secure job as Mold Maker

tulip ledge
#

I dont even make money developing

solemn latch
#

Not a lot. But a lot for something that was done and never needed to update @strange trout

strange trout
#

I'm still in high school

tulip ledge
#

Same

lusty quest
#

im out of school for about 7 years

weary ridge
#

I mean python is used for actual moving equipment, games, webs, and all that tech stuff

tulip ledge
#

Everyone here are boomers lmao

strange trout
#

I've done some internships

lusty quest
#

im only 24

tulip ledge
#

JS can be used to make web games aswell

#

I'm 10 years younger lmao

lusty quest
#

rip

weary ridge
#

I mean, school has taught me 0 coding

tulip ledge
#

Same

strange trout
#

But that's about it. I don't take any programming classes in school

lusty quest
#

but enjoy school until it lasts. you will hate what follows

misty sigil
#

I mean, school has taught me 0 coding
@weary ridge mine teaches scratch

weary ridge
#

Bruh

tulip ledge
#

In belgium u cant take coding lesses untill college or university

#

Yeah

lusty quest
#

back when i was in school we had no programing Classes aviable

tulip ledge
#

We had like 1 scratch lesson

weary ridge
#

Scratch is so fukin easy

tulip ledge
#

True I made zelda in scratch once lmao

earnest phoenix
#

im in hs too, earning from programming on the side whenever i can

lusty quest
#

during my time as Trainee i had programing classes for NC programs

misty sigil
#

discord.scratch

tulip ledge
#

Imagine

weary ridge
#

Hell no

#

Lul

strange trout
#

Someone is making scratch for Discord

#

It's open source on GitHub

earnest phoenix
#

there's already visual drag and drop bot creators

lusty quest
#

i think i try out Go in the future or learn python for some ML stuff

earnest phoenix
tulip ledge
#

Im gonna learn pythong the proper way so I can actually make money of coding lmao

strange trout
#

I like go

lusty quest
#

i actually know a usecase for ML stuff at my current workplace

#

soo i could make money with it

tulip ledge
#

Theres this job in belgium for pythong developer at โ‚ฌ52000/year

#

Thats alot right?

weary ridge
#

Umm dn

strange trout
#

Not really

lusty quest
#

if i would stay in my Job and go to a different Company i can get 50-60k/year

devout wagon
#

no, not a lot

tulip ledge
#

Oh

#

I thought it was alot

solemn latch
#

For a 14 year old it is

#

๐Ÿค”

lusty quest
#

its above average

devout wagon
#

pretty average for entry level software dev id say

tulip ledge
#

I cant get a job untill I'm 18

lusty quest
#

usually you can say about 40-45k

solemn latch
#

In 4 years, the market will change probably

lusty quest
#

lol ive got a job with 15

weary ridge
#

In Australia normal people get 70-80k a year, Rich peeps 90-120k

tulip ledge
#

damn

solemn latch
#

Australia is the exception

devout wagon
#

70-80k what exactly

#

AUD?

tulip ledge
#

They're upside down

lusty quest
#

well not a real job just 3,5 years as a trainee

solemn latch
#

There are trained staff in the US making less than an Australian on minimum wage

lusty quest
#

then i started full time there

strange trout
#

Entry level software engineer salaries start at about $75,000 - $90,000 here in the US

solemn latch
#

Kids working in McDonald's make more than our teachers

weary ridge
#

Umm it is really high tho

tulip ledge
#

In belgium theres this thing called job student and you can work from your 16th and earn money during vacations without having to pay taxes

strange trout
#

Depends on the state though

lusty quest
#

@tulip ledge we have the same

tulip ledge
#

75K a year?

#

Damn

devout wagon
#

Entry level software engineer salaries start at about $75,000 - $90,000 here in the US
@strange trout seems like we're seeing very different job offers lol

weary ridge
#

75k usd would be like 107k aud

devout wagon
#

I don't live in the us but that's rather unusual from what I've seen

tulip ledge
#

Proximus Software Engineer salaries - โ‚ฌ3,772/mo in belgium
Is that alot?

#

3.7k a month?

weary ridge
#

Ooof

lusty quest
#

3.7k is a lot for beginner

tulip ledge
#

Damn

weary ridge
#

Bruh minimum here is 1k

tulip ledge
#

It's python mainly

lusty quest
#

im close to this and im now 5 years full time in the same company

tulip ledge
#

Nice

lusty quest
#

(could go close to 5k/month in a different one)

weary ridge
#

But engineers always earn more 3k-4k

tulip ledge
#

Average software engineer salary in belgium โ‚ฌ26k - โ‚ฌ65k

strange trout
#

Those are California salaries(which is reasonable). Here in Kansas, most start at $55,000 - $90,000 entry level

weary ridge
#

Bruh this person who just fixes the wifi he earns 300$ an hour and he stayed for a good 7 hours soo....

lusty quest
#

if you are not in silicon valley i guess you have smaller saleries

solemn latch
#

Yeah Australia has an amazing minimum wage, which means the starter income is amazing.

strange trout
#

For sure

#

Cost of living is crazy in Silicon Valley though

devout wagon
#

no

solemn latch
#

I dont think so.
Bots don't have acess to search api's

lusty quest
#

with some luck they rise the minumum wage here to 13โ‚ฌ/Hour from 9โ‚ฌ/Hour

solemn latch
#

Its $7.25 in the us

lusty quest
#

it was 7โ‚ฌ/Hour here a few years ago

#

but 13 would be nice for everyone

#

its actually a level where you can life from

weary ridge
#

Disgusting 13 aud an hour

zenith terrace
#

I dont think this is development topic anymore zoomeyes

weary ridge
#

Who cares lul

lusty quest
#

we come back to it in a few minutes

weary ridge
#

Yep

zenith terrace
#

mods do when they see the chat

solemn latch
#

If we move the conversation dies

#

It happens every time

lusty quest
#

also RIP my Patreon page, i guess i need to get my bot larger

weary ridge
#

Hmmm

tulip ledge
#

I mean I really wish I can do development as a full time job later

#

Whats ur patreon?

lusty quest
#

i wont selfpromote here

weary ridge
#

Bruh Iโ€™m bored af but coding time flys so fast

lusty quest
#

also i need to iron out the page a little bit

tulip ledge
#

True

lusty quest
#

@tulip ledge i was almost able to get a Full time job as a Sys Admin, is also fun stuff but the risk was to high

tulip ledge
#

I don't really feel like coding today tho idk why

#

Sys?

#

System?

lusty quest
#

yes

tulip ledge
#

Oh

#

Like these bots like dank memer and mudae they can full time develop their bot due to their patreons

#

๐Ÿ‘€

lusty quest
#

would have loved to start there, they wanted to build a new IT infrastructure with the new Epyc CPUs but the downside was some stuff going on with a different host system

weary ridge
#

Bruh

tulip ledge
#

The least one is $5

#

So at least 15000$ a month

lusty quest
#

my lowest is 1$

weary ridge
#

Lul

lusty quest
#

and my highest is 15

weary ridge
#

U gotta start somewhere hmm

tulip ledge
#

Am I allowed to run a patreon page?

weary ridge
#

I would make it a $1

tulip ledge
#

At 14

devout wagon
#

patreon is not really reliable though and it's much easier to get a decent paying job than to grow a big enough user base

weary ridge
#

Hmm I guess so

lusty quest
#

yes but you need to have some laws to take into account

tulip ledge
#

Do you have to pay tax on patreon?

solemn latch
#

Yes and no

lusty quest
#

im currently not allowed to get past 200โ‚ฌ/Month with it otherwise i need to start a company

slender thistle
#

fees iirc

devout wagon
#

depends on your income and how it works in belgium

tulip ledge
#

Prob Belgium is gonna fuck me up again

lusty quest
#

patreon pays the fees

slender thistle
#

but sounds like a topic for #general y'all

modest maple
#

20% goes to nom patreon

lusty quest
#

but your gov want also money back

tulip ledge
#

The laws here are just fucked for young developers

lusty quest
#

@modest maple for me 6%

solemn latch
#

Ah we got caught

modest maple
#

is it only 6% now

lusty quest
#

depends on how much you set

weary ridge
#

Hmmm

modest maple
#

oh

#

F

lusty quest
#

you can give less -> less functions

tulip ledge
#

So

slender thistle
lusty quest
#

you can give more -> more functions

weary ridge
#

Lul

tulip ledge
#

if I start a patreon

slender thistle
#

hhellooo

tulip ledge
#

Thats not allowed?

lusty quest
#

otherwise the mod starts to mute i guess

tulip ledge
#

D:

weary ridge
#

Is there a way to have Patreon in py? Also does anyone know how to code it?

slender thistle
#

I'm surprised I don't get noticed until I send the same message multiple times

solemn latch
#

@slender thistle got any sources on a python tut?
Just the basics, so i can understand what's going on

tulip ledge
#

i mean I'm pretty sure theres a patreon API

lusty quest
#

@weary ridge patreon got a API but they discontiniued it

slender thistle
solemn latch
#

O

#

Was super ready for that question

weary ridge
#

Oh

slender thistle
#

I saved that message from somewhere in 2018

tulip ledge
#

Saved

weary ridge
#

Lol

lusty quest
tulip ledge
#

Alright

#

Time to create a patreob

#

So I don't have to pay my hosting with my pocket money

weary ridge
#

lul it's only 2-6$

tulip ledge
lusty quest
#

@tulip ledge i earn exaclty 0$/month

tulip ledge
#

Lmao

#

I have faith

#

In my project

#

U wanna see?

#

Yes shivaco we'll move

craggy token
#

lul it's only 2-6$
@weary ridge I haven't found anything <$5

slender thistle
solemn latch
#

lol, feels bad shiv

slender thistle
sick cloud
#

has anyone here used vs code for java

topaz fjord
#

that's autism so no

sick cloud
#

it was working fine hours ago but now it's stuck and hanging on "1: Task - Java Build Status" and nothing's running

#

like the auto complete and error checking etc broke

topaz fjord
#

I prefer to keep my sanity

#

and use intellij

craggy token
#

use IntelliJ it's far better than vsc for Java

topaz fjord
#

it's free

craggy token
#

and everything that's not JS/TS

topaz fjord
#

the community edition

#

intellij can also do js

sick cloud
#

i'm using vs code until i can download intellij

#

oh ok nvm it took forever to load its done now

craggy token
#

intellij can also do js
@topaz fjord wait I meant to say that vsc sucks for everything that's not JS/TS

sick cloud
#

eh i'd argue that but i don't wanna go into editor wars

#

vsc has decent java support

craggy token
#

yeah and I iagree on that but if you compare them vsc looks like shite

sick cloud
#

as in theme?

#

works fine for me at least anyways

craggy token
#

as in support

#

imho

sudden geyser
#

the difference is intelliJ is an IDE and vsc is a code editor

sick cloud
#

yeah

#

jetbrains offers full IDEs for each lang

topaz fjord
#

but each ide can do most languages

#

the only difference you get is more specific features and a better debugger

#

for the lang

#

writing java outside of an ide doesn't seem logical to me

strange trout
#

If everyone used notepad then there wouldn't be any arguments

#

ez

sudden geyser
#

cries in mac

misty sigil
#

notepad = best game dev engine, best ide, best code editor, best web designer

vivid crescent
#

wb nano

misty sigil
#

same thing

lusty quest
#

MS Paint

pure lion
#

Real MVPs use

#

Ms dos

misty sigil
#

ooh, ms paint is the best for designing textures and assets

lusty quest
#

write a script for creating textures as ASCII art

misty sigil
#

oh shit thats epic too

earnest phoenix
misty sigil
#

veld pfp

lusty quest
#

missing permissions

misty sigil
#

it literally says it right there

tulip ledge
#

Your bot doesnt have the right permission

misty sigil
#

read. your. damn. errors.

lusty quest
#

did you have a command that needs special permissions?

#

like editing messages needs Manage Messages

#

and edit channels Manage channels

solemn latch
#

you can actually get permission errors on sending a message even.
read but no write perms, someone does a command, permission errors.

autumn aspen
#

I need help with index.js can I just put the prefix that I want with a command?
srry for bothering u
Can u send me all the commands to me pls, here is all I got for now. And I need a prefix input, how do I do it? Also I need the ping command can u pls help me with it, I have a coded bot from VSC and Node, Discord.js I think its Javascripted to. But its online and working

const Discord = require('discord.js'); 
const bot = new Discord.Client();

bot.login('your-token');

If u could help me out it would be rlly rlly great and appreciated
I need a BOT that can do like everything, lock chat and vc's, moderate, warn, mute, kick, ban, purge and baned words / senteces and all that serious things if u know what I mean.
It would be rlly appreciated
And if u cant help me step by step can u tell me an another person that cam do it?
Pls read.

#

It would be rlly appreciated if someone could help me

solemn latch
#

we have a rule of no spoonfeeding(giving copy paste code)

lusty quest
#

we are not allowed to Spoonfeed

misty sigil
#

we are not allowed to spoonfeed

autumn aspen
#

Sorry but thats all

lusty quest
#

you can find bots with this functions on Github

solemn latch
autumn aspen
#

Thx

#

you can find bots with this functions on Github
@lusty quest Send me it I want a bot that can create 3 senconds slowmode and all that moderate stuff like lock vc`s and text channels and all that like GearBot and MEE6

lusty quest
#

learn how to do it or get GearBot or Mee6

misty sigil
#

yea

solemn latch
#

if you want mee6's features, use mee6

#

๐Ÿค”

misty sigil
#

if you just wanna copy other bots and copy-paste code, you can't exactly be considered a dev ๐Ÿค” just my opinion

lusty quest
#

i bet my 11 years old cousin can do this

misty sigil
#

lol i bet my computer illiterate grandma could copy paste some code

#

or even write a bit with my help

lusty quest
#

not sure with my granddad, ive got a call with i removed google

misty sigil
autumn aspen
#

if you just wanna copy other bots and copy-paste code, you can't exactly be considered a dev ๐Ÿค” just my opinion
@misty sigil no but I want all that for my server bc my server is big I bet all big servers has a bot that can do everything like that like Sound`s Utilities like a private bot

lusty quest
#

its nothing against you @autumn aspen just the rules here doesnt allow us to spoonfeed, it is also nothing that will help you in the long run

misty sigil
#

you dont have to have a custom bot

autumn aspen
#

Aw man sorry

#

you dont have to have a custom bot
@misty sigil I want it

lusty quest
#

then either pay someone to make one or learn how to code

misty sigil
#

exactly

autumn aspen
#

then either pay someone to make one or learn how to code
@lusty quest Where can I pay someone to do it?

#

Im gonna code my own

#

tbh

lusty quest
#

fiverr freelancher r/freelancer

autumn aspen
#

WHo?

#

reddit

#

right?

solemn latch
#

those are sites you can find devs

autumn aspen
#

Ok

lusty quest
#

reddit is one place

#

fiverr is a website where you can make a job offer

autumn aspen
#

Aight thx Im gonna pay someone if I cant code

#

thx

#

How much they gonna take?

misty sigil
#

cuz sounds utilities is developed by aunto development (I THINK)

autumn aspen
#

I need a bot like his!

lusty quest
#

depends some do it 20$ some for 200$

autumn aspen
#

Its a legendray bot!

misty sigil
#

there are other bots with that functionality

solemn latch
#

a bot with all the features of mee6 can cost hundreds of dollars.

misty sigil
#

and the hosting

autumn aspen
#

200$ is way to much

solemn latch
#

along with monthly fees

autumn aspen
#

Then they poor

misty sigil
#

for said hosting

autumn aspen
#

a bot with all the features of mee6 can cost hundreds of dollars.
@solemn latch But u can code one

misty sigil
#

yes

lusty quest
#

lol mee6 is completly different level, they actually have the bot running in a K8s

misty sigil
#

lol jk

#

nothing we could make would work like mee6

autumn aspen
#

lol mee6 is completly different level, they actually have the bot running in a K8s
@lusty quest OwO

#

Dude bc its a got dammit international bot

misty sigil
#

many of us hate it, but it's actually super fking smoothly running

#

it has tons of features

solemn latch
#

international will require a team of translators

autumn aspen
#

All thos bots is either pro or someone / group worked with it for years

#

we talking nerds

misty sigil
#

yup

lusty quest
#

im fine with the bot, im actually interested in the backend stuff of the bot (mostly hardware)

misty sigil
#

same tbh

autumn aspen
#

Yeah

vivid crescent
#

What stuffs

misty sigil
#

like wtf they hosting that on

lusty quest
#

i actually worked with Ceph clusters but a large scale K8 is something i want to see once

misty sigil
#

across machine clustering?

autumn aspen
#

Lol guys they make a website with Wix and setup every single thing

lusty quest
#

yes? they wont host it on a single server

autumn aspen
#

NO OF THE CODES ARE WRONG

misty sigil
#

jeez

#

the complexity of that is somewhere i'd just shut my bot down

lusty quest
#

i actually have a DB running on 3 Different Servers

autumn aspen
#

I mean they checking it NO CODE ARE WRONG THATS INSANE

#

!!

#

Like tf

lusty quest
#

but in future i probably need to use 6-7 for the entire system i have planned

misty sigil
#

how do you even do that

#

omg

lusty quest
#

i was working as Sys Admin for a time

autumn aspen
#

Bro I need thos purge codes and all a proffesional guy that helped made GearBot and MEE6 IS GONNA HELP ME!!!

lusty quest
#

and i know some backend stuff

autumn aspen
#

He said he want 100$!

misty sigil
#

just get mee6 if you dont wanna pay (or learn)

lusty quest
#

thats normal

autumn aspen
#

Bro a guy from fck MEE6 and GearBot development is gonn ahelp me for 100$

#

Thats insane

solemn latch
#

mee6 is on servers with hundreds of thousands of users ๐Ÿค”

autumn aspen
#

Cya!

#

Everything I want in my custom he is fixing it'

misty sigil
#

ok?

lusty quest
#

Mee6 actually is this large they have stability issues (Discord API wise)

autumn aspen
#

prefix and all

misty sigil
#

so?

#

i done that in a day

autumn aspen
#

So u can change it slef after and sencored words

misty sigil
#

i can also do that

autumn aspen
#

Guys I have alot to do

misty sigil
#

go do it then

vivid crescent
#

Ok

solemn latch
#

well, have fun

autumn aspen
#

easy Verified bot developer badge

#

lmao

misty sigil
#

wasy?