#development
1 messages · Page 1051 of 1
its a google search away
😔
why do you guys want me to struggle to get a line of code if you guys can help then just help
i don't care about the rules, i just won't spoon-feed
because research skills are critical for development work
Everyone struggling from the beginning.
Because you will never learn that way
this is not my beginning
you would have an example already if you googled it
it clearly is
i said I CCAME BACK AFTER A LONG BREAK ...
wake up
😂
ill do it myself
setInterval isn't hard to understand.
Woot, look someone googled it for you
lmgtfy moment
poor chickendev, sorry, i can't help even though you sent that twice already
why do you guys want me to struggle to get a line of code if you guys can help then just help
@earnest phoenix if you struggle and learn how to overcome it by doing some research, you'll know how to solve future issues. If we give you the answer right here (which often comes with no explanation), you won't understand it. There's a simple saying for this: "Give a man a fish, and you've fed him for a day. Teach a man to fish, and you've fed him for a lifetime."
more like three times
ill learn better if you guys can just hand mme over the line of code
trust me you won't
what if i dont get it by the end of the day.. i will get demotivated and fucking leave coding and my fucking bot.
then you're not worthy
Bruh.
True
HUH?
I've been working on this thing for 3 months and I'm not giving up untill I get this god damn dungeon feature to work
if you can't do a simple Google search, how are you going to code a discord bot? [@earnest phoenix]
i have already coded it
Google doesn't give up anything about it @pale vessel
True.
if i dont know something its better to help me
you guys know how to make it work
It sais to order by and I tried it but you can't do it with strings
then just hhelp me man
sorry, not you (chickendev)
help = help
give code = spoonfeed
atleast hhelp me
I'm sure Tim knows the solution
Damnit last time I said that Tim knows the solution he showed up and gave me the solution
one minute you're asking for help then code 😓
Rip
intervalFunc is not defined
I have a feeling it's impossible with mysql
It means the variable doesn't exist. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Not_defined
what even is ur issue, chicken dev?
i didn't read it because it was all together and hard to read
I use mongoDB instead of mysql.
@unkempt marsh can you pls give me the code>
i tried b ut i got error on 2 different attempts
@earnest phoenix https://www.w3schools.com/jsref/met_win_setinterval.asp
The issue was that the query would always return the rows in the same order meaning if a user accepts before me even though I accepted later my stats would be returned first and assigned to the user who accepted first
But I fixed it
so you guys are not gonna give me the code?
No
Spoon feeding isn't allowed here.
It's against the rules
im not asking y ou guys for the whole bot code. im just asking for a line of code .
WOO
if you want a teacher, hiring one might be a good option
you guys can just help me by saying where to add what
You don't need to memorize it, you only need to know how it works and better understanding. @earnest phoenix
2 lines he sais before the boss battle starts
if you guys tel me the line of codde THEN IT WILL BE BETTER FOR ME TO learn it
you guys are gonna make me cry
@earnest phoenix rule 7b lol
lmaoooo
😔
programming is largly a self learning process
-botinfo
Please include a bot mention or ID
wrong channel
BUT IF YOU GUYS CAN HELP MME WITH SOMETHIJNG THEN WWHY DO YOU GUYS WANT MME TO WORK SO HARD FOR IT
@earnest phoenix Trust me reading the docs and trying it out yourself is much better to learn then people giving it to you
lol
no and please, relax
its getting annoying now pls stop
oo
this is such a fucked up s erver dude
lol
you guys just cant help me with 1 line of code?
lol
lol
is it now
😔
🙏
you can always leave instead of complaining
so apparently giving me 1 line of code is called SPOONFEEDING?
Yes
guild.leave()
@tulip ledge you are asking for the same thing
No I wasn't
can someone please end this convo
lost spoonfeed
The server is awesome. If you are friendly and grateful for answers people will help you within a few minutes
its also possible that noone wants to help bcs you are going ballistic
yeah, that code is best code
would it be API abuse to store each server's emojis in a database when the bot joins
i wasnt going at first i just asked for it and nobody was helping me while they could just give me a line of code and i could hapilly continue coding
no
i mean it's cached so no
unless
would it be API abuse to store each server's emojis in a database when the bot joins
@restive willow It depends.
you can cache all the Emojis on start
so i guess there is no point into saving them
Some of databases has update request limitation, so it depends.
this is just frastrating me you guys arent understanding me holy SHI T
we understand you
CAN I JUST NOT GET 1 LINE OF CODE FROM HERE?
Bruh.
why are you bringing this up again bruh
theres no point saving it in your db, you can just get the emojis from the cache
because im still looking for the line of code
what u looking to do, @earnest phoenix
@earnest phoenix what is your issue?
two examples where given already
really? how do I go about storing them in the cache? or is it done automatically
using py btw
im trying to loop a code
it should be done automatically
more infos?
im trying to make this line of code run every 30 seconds
use a interval
i'm not sure with python but it's probably stored somewhere in the guild object
setInterval
you need to use a function to get it running
client could have it too
how do i use that function
and define a time in miliseconds
setInterval(() => {
guild.leave();
}, 1000);```
yea, guild.emojis is a thing, but I want an easy way to be able to search for emojis with a certain name
Google how to use the functiona properly
the first argument should be a function, and the second argument should be how long in milliseconds
you know, VSC gives you the formatting for setInterval
aren't there utilities for that?
Exactly
there's probably a function for it
maybe, but i havent heard of such a thing
like name=test, could've sworn i saw it somewhere in docs
that on e dude here knows it but he isnt helping...
ruby, what r u trying to do?
spoonfeeding probs..
i mean searching across all emojis, not just ones in a specific guild
yeah
you can group them up
it litterally is written on the page how to do it
and then search afterwards
ruby, what r u trying to do?
@digital ibex store a fuck load of emojis from thousands of different servers and be able to search all of them by name
if your discord client have an object with cached emojis, it would be easier
try looking in the docs
if not, get all emojis from a guild using loops and search
atleast for d.js
idk if dpy has a client.emojis thing, but use that
yeah you should
idk if dpy has a client.emojis thing, but use that
@digital ibex would that contain emojis from all shards or just the one the command comes from
all shards
lovely
as its: client = all shards
right, I'll look into that, thanks for the help
query = "pepe"
print(query_emojis := [emoji for emoji in bot.emojis if query in emoji.name])
print(len(query_emojis))
seems good
thanks for the help
Yeah
i have for inputs css: width: 100px; but nothing changes, any ideas?
this is what it looks liek
.button, input {
margin: 10px;
display: inline-block;
}
input {
width: 100px;
}```
oh wait, i need to push the changes
1 sec
okay, i've pushed the changes, it should show now
Anyone willing to make me webhooks?
2 things:
- put quotes around it
- wtf is package-kick.json
I did
package kick bruh
also not ur buiesness
use a different port
whatever ur running that on, im assuming a vps or something, is already using port 3000
glitch xd
2 different processes can't run on the same port
Remix your project
ok
Remix your project
@earnest phoenix thanks it worked
i want to use visual studio code but
i cant install quick.db
visual studio code has nothing to do with quick.db
yeah,you need to install it by manuel
@earnest phoenix You need to install the modules.
ik
by running npm i --save
ik
ik
btw, you dont need the --save
doesn't do anything
but not in others
It's saves the module in that folder
🤔
Not globally on your pc
ah
it used to do something before 2015 i believe, now it doesn't do anything
no behomoth
No?
I'm getting 400 Bad Request are some discord servers down?
oof alright
:^)
It was because of the old npm. Where you had to install and then add things to the project. --save did those things in one take
i recommend using loc, a free good host
i think thats the url
if it doesn't work, https://beta.libraryofcode.org
Nothing is fully free
yes
how would they make money
adblocker
subscriptions™️
most people has adblocker
they still make money off of ads, they've got patrons u can donate money and stuff
they will require more money
when more people uses it
not everyone will give them money
when they can use Galaxygate
or Contabo
which is a much better service
well
for a temp service / a small project, i recommend using them instead of paying for something
okay
i host my website too
alright then wtf is going on with my bot its now saying object TextChannel can't be used in 'await' expression
its been a while but im sure channel.send is right tho?
only me cant spend money to internet ;-;
works for me
hm idk
@earnest phoenix Do you know the @cyan python bot?
no
The owner of the bot said that he couldn't afford the vps, had to host the bot in an old computer stored in a closet.
And now it has become one of the largest Discord bots.
What about the electricity bill?
So you can host your bot on your computer 24/7.
i have an old laptop but not works without charging
A computer doesn't use too much power.
Stop advertising
365 woah
👍 🎉
this laptop has 512 mb gpu
dont mater
hm
the only problem is quick.db
@earnest phoenix programming language?
discord.js
Node js is discord js
@earnest phoenix yes i know
@earnest phoenix This guy is going to host the bot with virtual code studio
I know the story
@earnest phoenix you dont know
@earnest phoenix dowload this:
https://www.npmjs.com/
Then install nodejs and quick.db
Done
@earnest phoenix and nodejs ≠ discordjs
Npm js doesnt have to be installed seperately

assuming you've downloaded it in the correct dir ^^
quick.db?
no, nodejs
Are you on linux
i am always getting errors when i install quick.db

no windows
Hmm
wendaws tne
.db on windows 
hm
i can install virtual box but
it can be very slow
You have installed it for the wrong operating sysmtem
Im pretty sure its available for windows
how would i use functions that is needed in mupltiple module exports files? should i made a different file with that function and load in the function before module exports in that file

wtf
lmao
help
@stark abyss what do you need
how would i use functions that is needed in mupltiple module exports files? should i made a different file with that function and load in the function before module exports in that file
lol can i host my bot from phone?
i have 4 gb ram on my phone .__.
So if there's an object/json like that... How's it even possible to access dist-tags?

virtual private server
@earnest phoenix Have you installed nodejs?
@earnest phoenix Have you installed nodejs?
@vital flax no
https://youtu.be/G7RgN9ijwE4 are you trying to say this
@earnest phoenix install it
dam ok
dont spam please
hm
@autumn aspen Do you have permission to manage the channel?
You are telling it to say that if the user "has "the pernissuons
Oh
uuu npm loves me
@autumn aspen glad i helped
🙂
@vital flax i am registered to npm
now?
@autumn aspen you're checking for permissions outside of the command which will trigger everytime somebody uses anything
Im*99
@earnest phoenix https://nodejs.org/dist/v12.18.2/node-v12.18.2-x86.msi
@earnest phoenix caktirma
when my bot gets verified on top gg
stop shitposting
oh
i forget
sry
@earnest phoenix when did you submit your bot
@earnest phoenix shitpost/memes in #memes-and-media please
@earnest phoenix 13-14 days
wait wha
That would be the time they review it or it will be just delayed a little longer @earnest phoenix
So if there's an object or json like this, how's it possible to access dist-tags?
ew
glitch is activly removing bots from their platform
i have an old laptop i can use this old laptop for 7/24
Self hosting or glitch/heroku is bad for bot hosting
Yeah
Vps is the best way to go if you wondered
Or like a rpi
my parents doesnt let me spend my money on internet ;-;
I waited 6 weeks to get declined. And 1 month for the another declined :)
Ikr
Lol
@earnest phoenix any idea about my question
uhh can you link me to it
nvm found it
Because my bot's name is Hentaivn. @earnest phoenix
If you guys aren't going talk about development could you please move to #general or #memes-and-media
@vital flax i am installed node js
now?
should just be able to jobj.dist_tags no? that json structure is weiird
@earnest phoenix then install nodejs, quick.db
@earnest phoenix lemme try idk
me:
i am instealled node js
ndbiaw:
then install nodejs ._.
and then if you want the latest, chain .latest on the property call
@earnest phoenix you're really not funny
@earnest phoenix nope didn't work
hm
where is that json coming from
embed.set_footer(text=f"Executed by {ctx.author}", url="https://cdn.discordapp.com/attachments/731731046651133952/731940826258604122/clipart-rocket-spaceship-15.png")```
is this not valid?
How do we do footer icon
A response from https://registry.npmjs.org/<package name> converted into json @earnest phoenix
via JSON.parse ?
How do I do footer icon in discod.py
No, response.json() or idk if this just gets the json of the response or whatever
oh my god im stupid
did you try accessing with dist_tags or dist-tags
Tried both, none worked
that json is cursed
Truly
Why it says 27k users when I put client.users.size but this server haves more than 100k

If my bot hits 30 servers, i will host
well
pretty sure most bots on top gg get 30 servers in a few days
ooo
Why it says 27k users when I put client.users.size but this server haves more than 100k
@ember lodge those are only the users you have in cache
for an accurate count use guild's memberCount property
or download all members in all guilds
which will eat more ram than chrome with 3 tabs
@ember lodge you gotta fetch them all to show the correct one which can be done by using fetchAllMembers option set to true in your client options but this should be avoided if possible cuz eats a lot of memory
Lol thxs
Hello 👀
@earnest phoenix This json is expecting me to access object inside an object but the objects inside this object are named with versions, wtf
.
It's when I stream others can't hear
.
@earnest phoenix bruh i just realized to access properties that the property names are strings we need <json/object>[<property name>] truly a wtf
@gleaming glen kardeşim botlara baksana aloo

@alpine thicket whatever streaming platform and program you use likely has a way to get support
🤔
wrong place to ask
Where should I ask
the support of the program you use
Ty
is quick.db good
''0xff0000'' guys this is a red embed color for ur bor right? WHats the white then?
lmao
Pls gimmie
is quick.db good <<
white is 0xffffff
if you dont know
not really
wdym not really
im not sure about the speed and stuff, but you should use a proper db
such as
why
use mysql
white is 0xffffff
@pale vessel thx dude
Why it says 27k users when I put client.users.size but this server haves more than 100k
@ember lodge probably because that's only the cached users

oh just noticed someone else explained

Guys I know what the welcome message command is can someone pls give me the goodbye message
Thats just my last command and I dont find it anywhere :/
Thx
Guys this is a user.mention right? ${member}. Than whats the server?
Mention
Please really need that little command
Whaaaaaa
Ok then thx
im coding in discord.py but I got this error in my terminal:
client = commands.Bot(command_prefix = get_prefix())
TypeError: get_prefix() missing 2 required positional arguments: 'client' and 'message2'
```What do I do to fix that?
guildMemberRemoveevent.
@earnest phoenix Thx dude it worked!
don't call get_prefix
my code greats get_prefix before hand
lmao
any ideas why this doesnt work?
const fs = require("fs");
const money = require("./money.json");
module.exports.run = async (bot, message, args) => {
if(!args[0]) {
var user = message.author;
} else {
var user = message.mentions.user.first() || bot.users.cache.get(args[0]);
}
if(!money[user.id]) {
money[user.id] = {
name: bot.users.cache.get(user.id).tag,
money: 0
}
fs.writeFile("./money.json", JSON.stringify(money), (err) => {
if(err) console.log(err);
});
}
message.channel.send(`${bot.users.cache.get(user.id).username} has $${money[user.id].money}.`)
}
module.exports.help = {
name: "balance",
aliases: ["bal", "money"]
}
``` it supposed to send what your money is... is just comes out with a huge error, let me get it 🙂
its too big 😄
embeds the server icon?
so im trying to create a custom command command with mongo db this is the code https://sourceb.in/6e7c2a6ad9 the only problem is the viewing part it always says pages not found even after i create a custom command it still says no pages found
my code greats get_prefix before hand
@hot comet what
bot.user.displayAvatarURL()
@earnest phoenix No like when the bot sends a embed thing the bot pfp is on the right side
oh i mean my code calls it before hand
thanks
Wait, is it meant to be a function there or no. My code is:
def get_prefix(client, message):
with open("prefixes.json", "r") as f:
prefixes = json.load(f)
return prefixes[str(message.guild.id)]
client = commands.Bot(command_prefix = get_prefix())```
I don't think you should be opening the file every time the function is called (can't you save it to some variable once). I'm not a python nerd, but that doesn't sound like good practice.
Oh thats why it wasn't working. Im kinda dumb
uhh no. just no.
json will corrupt
😬
yeah
use mongo yes please do
*sigh* Idk how to 😂
i don't think it's relational lol
hmm
google 😐
nu-uh
anywho is anyone here familiar with sequelize, im using it for my bots database systems and everytime i want to add a new column to it (if its already made) it throws an error (i.e [column] not found on [database])
i read somewhere you have to 'migrate' it and use some weird migration.js whatever...is this the way to go?
does anyone know how to go about this?
@autumn aspen Making cooldowns is simple but takes a bit of code. You'll need to keep track of who's rate limited either through an array, set, map, etc. I recommend a map so you can tell the user how much time is left.
When the user runs a command, check if they're in the cooldown map. If they are, tell them they're being rate limited and don't proceed. If they aren't, you should add them to the cooldown map (if you're using a map, the key should be the user ID and the value can be the timestamp when they ran it). You can them use setTimeout to schedule to then remove them from the cooldown map.
Here's an example: ```js
bot.cooldowns = new Map();
// ... message received and variable command represents a command ...
if (bot.cooldowns.includes(message author id)) {
// You are being rate limited!
return;
}
bot.cooldowns.set(message author id, Date.now())```
can i host a site on a vps?
(the only other fix i know to this is on glitch to remix the project..although i dont think that'd work for my vps)
@misty sigil yes
ty will do
with js you can use express
ooh then i can use oAuth
and i dont need my freehost anymore 
if you have a domain you can go to the dns settings and make an A record for the vps ip
use mongo yes please do
@misty sigil but how...
Is there a way to let code wait on a method in a class?
Yes like await
undefined
282
50
1000
353
This is being logged I'll tell you the order:
282 and 50 are asked for first
Then undefined is a return from a class
353 is asked then and then 1000
And that's the issue
As 353 takes longer then 1000 but 353 has to go first
Before 1000
if u get what I mean
what exactly are you logging and what do you want it to log?
So
What I have is a method in a class
This method is move (the user does a move)
Inside of that method I ask a SQL query etc... I then set the boss's health and also log the boss's new health (this is the 353) after I run the method I console.log the boss.health but as you can see up there the boss health gets logged before the method is finished
whats a 'boss'?
A class
But the method doesn't exist in the boss class it exists in the player class
have you added the method in the boss class?
No
I told u
The method exists in the player class
I just overwrite the boss's health in that method
a
The method is called before the console.log() but the method finishes after the console.log()
Meaning when accessing the boss.health object it has yet to be overwritten
Where is Tim if you need him D:
so... you want to overwrite the bosses health?
so you're attempting to overwrite a column in a database with a new value,
and then pull that new value
No
but the database is pulling the old value?
yes?
Yes @digital ibex I am overwriting it but the code after the method is executed before the method finishes
make it await it overwriting
it wont execute any further code until that line has completed
async await doesn't work in methods
I also tried to await player.move but that doesn't work either
send the health method
async await doesn't work in methods
@tulip ledge I cant find a mute command and duration can u help out bud?
No
youy dont just ping some random person
Yeah would be helpfull rn so I can mute you
@autumn aspen learn js, idek why you're still here
especially one thats already asking for help, he can care less about your issue
literally google
you're adding a role, setting a timeout,
then removing a role
@autumn aspen learn js, idek why you're still here
@digital ibex Shut the fuck my bot now is bigger then ur future now
😕
uh ok
😕
@left lake and tf who asked u??
@glad charm
as far as im concerned nobody asked
but i truly dont care
your ego is overflowing out of the bucket
Hmm sureeeeeeee
@autumn aspen Who in the fuck asked you to ping me?
Alright can we just restart
No
Sorry
lmaoooooooooo
you need to chill
I'm not fucking helping you anymore
like seriously
aight
Ok
So no one knows how I can fix my issue?
same
I need help with a mute command and reason and duration but cant fint it anywhere :/
Thanks rudy, I was about to get active in here with my warnings
Shivaco do you know if there's a way to make methods wait untill they're done
it may work
Thanks for helping guys! big help rlly
Thanks for cussing us out HoLd! big help rlly!
can't find what anywhere
Ok
did u get an error when awaiting?
then move it above?
Whta?
i do not understand your issue at all
I'm calling a method on a class that is overwriting a different class but when accessing the different class the object hasn't been overwritten yet
Question, if you verify your bot, when you add new people to your team will they still get a badge?
or do u need to add people to ur team before it gets verified for them to have the badge
they said that they're gonna verify the people who contact them, and then the other devs (if they weren't provided) after since it'll be quicker and it'll all be done before whenever the deadline is
1 - undefined
3 - 1000
2 - 353
The numbers in front are the order of when they're executed
The weird part is that "undefined" is the same method as 353 but since the method isn't finished yet it logs undefined
I basically do:
console.log(player.move())
it logs undefined
the method is executed
Inside the method is a console.log
Wich logs the 353
what does the move method look like?
move(type) {
if(type === "strike") {
if(this.weapon === "none") {
}
else {
client.con.query(`SELECT * FROM items WHERE itemid = "${this.weapon}"`, (err, rows) => {
if(err) throw err;
if(rows.length < 1) return "error";
// Calculation stuff
boss.health -= totaldmg;
console.log("2" + boss.health)
return totaldmg;
})
}
}
}
The thing is that mysql queries take time to resolve
they said that they're gonna verify the people who contact them, and then the other devs (if they weren't provided) after since it'll be quicker and it'll all be done before whenever the deadline is
@digital ibex
So even if a developer is not officially listed on a team, they can still get the badge?
Thats why it takes longer for the method to finish
it takes type, provide the type where u console.log(player.move('whatever this is meant to be')); and it should work
So as an owner, even if my dev wants the badge, but I don;t feel comfortable giving them admin access, it should be fine as long as I contact them?
afaik, you dont need to be on dev portal for that application
no you didn't
oh ok thx
I never said the issue was that type wasn't defined
you said player.move() is undefined
I would've had errors then
Yes
Do you listen?
it logs undefined since the method isn't resolved yet
why are you talking to me as if i am supposed to help you?
im not meant to help if i dont want to
you need to chill
Dude it's 12 am I've been tryna fix this for 2 hours now
I just wanna go to sleep ffs
thats weak
I mean sure
If you find it week 2 hours trying to get 1 stupid thing to resolve before executing the next code sure
I just need help
And if you can't help me then stop helping me

dum ping
Is there literally no way to let methods resolve before going onto the next pice of code?
It's all due to the mysql query
I just commented it to try and see what it does
And then it worked
But I can't do it without the mysql query D:
async move(type) {
if(type === "strike") {
if(this.weapon === "none") {
}
else {
await client.con.query(`SELECT * FROM items WHERE itemid = "${this.weapon}"`, (err, rows) => {
if(err) throw err;
if(rows.length < 1) return "error";
// Calculations
boss.health -= totaldmg;
console.log("2" + boss.health)
return totaldmg;
})
}
}
}
This just turned the "undefined" into [object Promise]
Doing the async await
you cant await callbacks
you can only use await if query explicitly says it returns a promise in their docs
Is there a different way to do it then?
if there is no promise, there is no async/await support
Ok
And then I can await it?
await new Promise(resolve => {
...query(bla,result => {
resolve(result)
})
})
const query = await util.promisify(client.con.query).bind(client.con);?
Oh
await new Promise(resolve => {
...query(bla,result => {
resolve(result)
})
})
Would be my method then?
you put whatever has callbacks inside a promise
so then you can properly await for the callback
ok
im having a small issue with my website, i have an online chat-room which makes the text go down instead of up, like this:
i'm confused now
the text is at the bottom, does anyone know how i can make the text go up?
Do you mean like this?
await new Promise(resolve => {
client.con.query(err ,rows => {
resolve(rows)
})
})
await client.con.query(`SELECT * FROM items WHERE itemid = "${this.weapon}"`, (err, rows) => {
if(err) throw err;
if(rows.length < 1) return "error";
// Calculations
boss.health -= totaldmg;
console.log("2" + boss.health)
return totaldmg;
})
instead of down (you cant really see it as its that far at the bottom)
resolve the promise then
I did this
await new Promise(resolve => {
client.con.query(`SELECT * FROM items WHERE itemid = "${this.weapon}"`, (err ,rows) => {
if(err) throw err;
if(rows.length < 1) return "error";
// Calculations
boss.health -= totaldmg;
console.log("2" + boss.health)
resolve(totaldmg);
})
})
I resolved it
doesn't look like it
I'm going insane
Why is there always this 1 thing in your code that doesn't want to work
have you read it?
2 - 353
1 - undefined
3 - 353
Wtf
I did await player.move()
And this is the result
It worked
But
It's still undefined
It's working
But
I still have undefined
console.log(totaldmg)
resolve(totaldmg);
Logs 647 and then when I console.log(player.move()) I get undefined
does firefox send have an api, or are there any decent private file sharing apis around that take files of about 100mb
can't send over discord attachments
@split hazel smug just posted this on almost all channels
support development testing api
was trying to find the err but its only throwing once i exit the application
that actually might be good in my favor
which is possible
it only happened when i added some stuff today
and i didnt see a vsc changelog or anything new
vsc did update
lemme see changelog rq
Opinions?
waoh
@tulip ledge have you decided who you'll turn into bosses?
i recall you saying 15 or so
I want 15 bosses but only have 2 atm: Woo and Tim
havent gotten any other ideas?
Nope
Well I have 3 actually
The final boss will be a chicken
The fighting is almost complete
And the cool thing is that it's all dynamic if I wanna add more possible moves I just have to add some stuff in a json file if I want more bosses add some stuff in a json file
Should this say
WOO 💀 DEAD
Or just like it is?
@opal plank
Dead looks better
why not use a DB and make them customizable?
I just have to add some stuff in a json file
Well I mean it's kind of the same
Dude
Lol
Did you listen?
It's not to save and write data
It just contains some variables
Of the boss's health, dmg etc
A DB would be unneccessary
idk how u spell it
Chicken dev dm me
Why
ah, i died
It's like:
"WOO": {
"floor": 1,
"lines": ["Text", "Text"]
"attack": [maxdmg, mindmg]
"ability": {//Stuff}
}
feels sad man
i need to clean my index, speaking of which
lol
I mean right here u won 🤷♂️ @solemn latch
clapping newbies cheeks, i see
True true
And I mean
Your ability
I wonder how many times you'll end up killing yourself
hey help me
Probably
i was my idea
He damages himself
it
On his ability
why tho
how do i use a function from a different file | nodejs
@solemn latch But does he do like 50 damage always or like how much damage he usually does on users?
you want to export them @timber plume
@timber plume You export it with module.exports
ES6 exports can do that
try the new ES6 syntax
better than the old one
im nub coder
@solemn latch But does he do like 50 damage always to himself or like how much damage he usually does on users?
normal damage imo
its 1 30 AM





