#development
1 messages Ā· Page 1129 of 1
grab the url from that
okay okay, let me go do some of that
wanna f add me on discord?
i have them off rn bc someone botted me a few weeks back
sure
anyone have a link to the official discord.js dev log page?
(message.author.presence.activities.map(msg => msg.name!=""))?message.author.presence.activities.map(msg => console.log(msg.name)) : console.log( 'Not playing.')
Anyone of you knows how to access your game activity?
When I console.log() message.author.presence.activites, I get an empty array.
pogu

nice š
thank you, i'll look for that page
@midnight blaze have you tried message.author.presence.activities[0] ? message.author.presence.activities.map(msg => msg.name) : "No activity.";?
https://discord.js.org/#/docs/main/stable/class/GuildMemberRoleManager I see nothing to help me š
not yet
it gives me the same result
I am playing a "game" now, so it should detect it
hmm
you're invisible
thats for giving roles to someone not creating the role
thats what im saying there is none š
message.author.presence.activities[0] ? message.author.presence.activities.map(msg => console.log(msg.name)): "No activity.";
done
thanks
the one i sent is for member roles, here's for the guild: https://discord.js.org/#/docs/main/stable/class/RoleManager?scrollTo=create
thats what I did and its not working š
@solemn latch hey i have setuped a form and .js file from where it will fetch through api but now what to code in bot that when sumbit button pressed it send a message
does anyone have any clue how canvas works 
very difficult for my small brain
trying to make it fit this circle (ignore the random text, i'll work on that after the avatar)
its located at 192, 45 from top left corner,
and 108 radius
so im not really sure why its doing that
ctx.drawImage(avatar, 192, 45, 108, 108);
i tried multiple formats, even just trying to get it to put the avatar as normal
nevermind i figured it out utter genius here
@hoary crown language?
Python vs Discord.js?
one does one thing better than the other
I mean, can't really help you there, we don't even know what you want to use it for
I'd assume a Discord bot
In that case.. Doesn't really matter I suppose

I'd say Python, but I'm biased @surreal notch

what am i doing wrong with the regex replacement?
input.replace(/%B%/g, client.user.username);
what's the input
A string, such as About %B% and it should return About BOT_NAME
// the function
clean(input) { input.replace(/%B%/g, client.user.username); input.replace(/%P%/g, client.prefix); return input; }
clean(command.code.about);
// command.code.about is the following
// about: "Gives a better description of a command's usage on %B%",
i could've sworn i've seen the same username that has the same problem
anyway, .replace doesn't modify the original string
you can either reassign it or return the chained .replace
oh
clean(input) {
return input.replace(/%B%/g, client.user.username)
.replace(/%P%/g, client.prefix);
}
it's related
i totally forgot about that
but yeah nice
yea u right
ya all good
not that it matters, but if you did something like this you could have one replace() call
const variables = {
B: client.user.username,
P: client.prefix,
};
return input.replace(/%([A-Z])%/g, function(match, letter) {
// get the value to replace each letter from the variables object
});```
Does anyone know if in discord.js if in an embed I use .setImage and provide a URL which is a straight up image will it work? Hereās my link btw https://crafatar.com/renders/body/6d6e972ccd5144059291e6eed478ca22
What was that at the end
The last thing that faded out
Oh click
Got it
Uh more serious question: if I have an array from an API, and I want for each value ānameā in the array to be added to another array which would be displayed, how would this be done? In JavaScript
More easier term:
API: [name: A, name: B, name: C]
My array (I want): A, B, C
use array.map()
Let me search up the documentation for that
if it's an object, you can use Object.values()
Hae*
aight
Man, I had to do a big refactor because I didn't setup my database context interface's very well. Redesigned them to be more like CRUD. But it's worth it. I'm running on MongoDB instead of JSON now š
Use*
Nice
Hmm donāt quite understand it, but hereās a guess:
var obj = (get the api here, too lazy to type on mobile)
obj.map(name)
Wait
Nope
you can't map objects
Already wrong
but you can map an array of objects
obj[0]
Create a variable for that and map it
Then is that right..?
Wait I think I have something
const arr = [{ name: "foo" }, { name: "bar" }];
arr.map(x => x.name); // ["foo", "bar"]```
you need to know what you're dealing with first
whether it's an array or an object
const obj = { name: "foo", someOther: "bar" };
Object.values(obj); // ["foo", "bar"]```
the first example is for arrays and this one is for objects
Oh very cool
oksy what is the best way to avoid this from happening?
i did this with maxWidth (canvas)
does anyone know how to get headers from response with aiohttp in python
Uh more serious question: if I have an array from an API, and I want for each value ānameā in the array to be added to another array which would be displayed, how would this be done? In JavaScript
@karmic compass use a for loop and push the varuable name to your array
I already got a response but thanks anyways
i cant install quick.db
@earnest phoenix Windows or Linux?
does anyone know how to get headers from response with aiohttp in python
@ancient falcon tryresp.headers
@earnest phoenix if you're on Windows then you need to install Python, Levelup/Leveldown, Visual Studio Build Tools and a lot more dependencies
That's why I hate self hosting
Yep thank you that's what it was @pale vessel
well apparently it's a CIMultiDictProxy which I have no idea what that is
it's a case insensitive version of https://multidict.readthedocs.io/en/stable/multidict.html#multidict.MultiDictProxy
i do all good
@low shard then why are you asking
idk its not work
then
i fix it
how did you do stuff correctly
all good
also please use Google Translate
now its work
Use node fetch
Does it solve the error?
Hello so I copy and paste is it my way ?
How do I set up?@earnest phoenix
Uh
Hello so I copy and paste is it my way ?
@lusty lintel me?
No me
Pls help
Any discord.py people?
No I think
Dont ask to ask
yes there is python ppl
why tf always you guys are on phone
Cuz am learning
Just now
Anyways
here my code I'm idiot beginer client.on('message', message => {
if (message.content === 'f') {
message.channel.send('F');
}
});
@haughty igloo you know npm?
client.on('message', message => {
if (message.content === 'f') {
message.channel.send('F');
}
});
bahahahah
client.on('message', message => {
if (message.content === 'f') {
message.channel.send('F');
}
});
Hm
bahahaha
Do u have a command sistem on js like on py?
I'm idiot for making bot so imma play dank memer instead of making bots
@Client.command()
yes
Do u have a command sistem on js like on py?
@floral creek I think no its diff
lol ok
but you need to program it youself
Xdd
There's nothing wrong with the code you showed us Egar,
NOOOO that is idiot code
Hm bur
I don't think so
we all started like that
If u put f bot puts f but thene bot gets the f he sended so it would be a loop
but some ppl say
just check that if the message author is a bot
The bot sends an uppercase F, bot checks for lowercase
^ also that
no I'm an idiot I copy past and i GIVE UP
no because it checks for loewercase
oh okay
and the sends uppercase
no I'm an idiot I copy past and i GIVE UP
@lusty lintel we all started from somewhere itās ok
I know js but not discord.js
bruh
discord.js is not a different language or something like that - it's just a library to be used with javascript
bruh I'm making bot for my friend but the code is hard to rerember if you learn
Ye
Its not a different languajes
node.js differs somewhat to original js
But u need to learn it
javascript and discord.js is same @cinder patio ?
during my training ive got some important knowledge: You dont need to know everything, you just need to know where its written
what is javascript even
discord.js is a javascript library,
javascript is a programming language
discord.js is a libary for Javascript
oh
Yes
for node.js (javascript runtime) @lusty quest


why did i get now the ping?
does error code hnadle teh error command?
why not

i dont get the connection. like the guy before wrote the same
when i first watch yt on how to make bots I just see the codes and just write not learn
;-;
yt videos are bad
usually outdated
get a decent written one
like the discord.js-guide
I only look at them when i really need something and canāt figure it out
but https://www.discordjs.guide is decent
I also did it with the minecrafy commands blocks
its annoying when they are using discord.js v11
when I first start I only see the code and write and didnt understand the codes one by one
so event is the thing that first start?
But steal u can understand it no?
Yall new to coding, am i right?
when I see code I feel like I cant understand and too hard
events listen for something to happen, such as messages, joining a server, or ETC
its the issue of this channel here.
User want to make a bot
has 0 Knowledge in Programming
Watches 1 YT video from 4 Years ago
Downloads the attached Github repo
Follows the tutorial to start the bot
Bot wont start
User joins DBL and complains here that the bot wont start
Yeah
Let me just say something
In order to make a bot
You need to have knoewledge of programmming
@lusty quest yes thats the problem
wait amin
they need to know the language itself first before doing ANYTHING
I already did the bot and I'm not here for problems
with
what was that
But have module
Ahem
snekfetch is deprecated
Why?
isnāt it snek-fetch
npm i snekfetch
But i recommend you to use
node-fetch
bcs its deprecated
or yeah
node-fetch is the new version
make your bot from scratch ok
just use nodefetch
@lusty quest I need to do
you dont
its the issue of this channel here.
User want to make a bot
has 0 Knowledge in Programming
Watches 1 YT video from 4 Years ago
Downloads the attached Github repo
Follows the tutorial to start the bot
Bot wont start
User joins DBL and complains here that the bot wont start
called it
that seems copy paste bot but ok
"45" outdated depencies
this is the magic of a old YT video
i download node-fench?
or Github repo with no update for the past 3 years
Fench
snekfetch is dead
What should I do?@lusty quest
thereās only a handle of new discordjs12 tutorials
I should make one tbh
write a bot from scratch and use current versions of the libarys
imagine using tutorials I just read the docs 
Imagine using docs
a tutorial will get you views cause ogm discor bagdge!1!!33
hello I'm reading the discord.js guide beginer one
lol read github source code until you understand what happens
I use my ide to read that dource code
lol read github source code until you understand what happens
that's what I did with discord.py and serenity cuz those docs are not readable
imagine using tutorials I just read the docs :laugh:
imagine using docs while you can install ide what looks the "docs" from the source
you donāt need to remember a lot of things
Omg this guy is still here
š
I need to rermber teh start thing liek codes and client and things
copy / paste is the worst thing you can do. Different people have different Coding styles
in the end you get a Frankenstein bot
@lusty quest bro
they are not willing to learn so they will copy paste ofc
that maybe work
bcs the syntax changes
I am done
and you need to require node-fetch
what is nodefetch I onyl intall node and vs
for the love of god save us
What do u mean?@lusty quest
Where should I write?
we should tell the beginners to use python cause nodejs is a mess
Where does Snekfect write?
will not solve the issue just shift it
Should this guy be coding
@haughty igloo i suggest learning Javascript first. bcs this are basics
but nodejs is not even an issue its just thier knowledge of coding in general which is none @ancient falcon
to be fair yeah
python's largest discord lib is async which would instantly burn their brain
the thing is they have no patience and want to have a bot , now and working
thier brains are synchronous
synchronous brain 
@lusty quest as if it came out of your hand like magic
omg I wan tto learn now cuz I think this is fun
ahhh I wish It was that easy
Anyone here switched from discord.js to Discord.js light?
if (!bot.work) { brain.sendAction("copy-paste"); }
https://sourceb.in/74ec12ee0f
^^ code (kick cmd)
https://sourceb.in/c559338d28
^^ error
https://sourceb.in/6546c7ef72
^^ functions
@sullen harness me
omg I wan tto learn now cuz I think this is fun
until you get into wired stuff
can anyone check my code?
wait a min what is discord.js light can someone explain?
How much has to be rewritten?
@lusty quest untill he learns about js fuck
Just a bit
its a version of Discord.js that removes all caching
what
I only rewrite the msg function
I know but it says it's "largely compatible"
its a version of Discord.js that removes all caching
OMG THANK YOU GOD FOR THIS
you can have 0 Caching with D.js-light
So I was wondering how much that is.
bruh
@lusty quest can
how to dwonloa discord.js
also it has some quality of life features
I mean light one
like message.reply not pinging the user @ancient falcon thats one quality of life change in the light version
discord.js-light
oh
@coarse hearth alright here
npm install discord.js-light
@earnest phoenix ?
So i read your code
its a little bit harder to use than regular d.js
can i install node fetch too?
@haughty igloo BECAUSE YOU DON'T EVEN UNDERSTAND JAVASCRIPT
AAAAAAAAAA
ALL JUST COPY PASTING
@marble juniper bro i know but I don't know where to fix
You fix it with your brain
in your head
smh
ITS SO FUCKING SIMPLE
HOW
.'(
REEEEEE
YOU DIDNT KNOW HOW TO PROGRAM
Its simple than me
DONT FUCKING LIE
im disgusted
how to program is how to program
i install node-sneck
I learning this https://discordjs.guide/creating-your-bot/configuration-files.html#implementing-your-config-file
But still gives the same error
@haughty igloo https://lmgtfy.com/?q=how to learn fucking javascript&iie=1
For all those people who find it more convenient to bother you with their question rather than search it for themselves.
Where was i?
fuck it
bahahah
click that link
https://discordjs.guide/creating-your-bot/configuration-files.html#implementing-your-config-file this link helped me tho
And it should work
has an internet explainer too made for those who might be dumb enough to not understand
@earnest phoenix
yes use discordjs-guide
You are not helping at all
i already exported :x
it is helpful
I am
and it is fixed
but
read the messages in it
lol
@haughty igloo I sent you a link fucking click it https://lmgtfy.com/?q=how to learn fucking javascript&iie=1
For all those people who find it more convenient to bother you with their question rather than search it for themselves.
link are you dev
@marble juniper i clicked ldol
I need to save that link
wasnāt for tou
We can't help you if you don't understand
but ok
most useful thing I've ever seen

@marble juniper fuck off
just add a command for it
He's more of a Dev than you are @lusty lintel
zztenglish
I can understand btu I'm not trying to wtf
We can't help you if you don't understand @haughty igloo
I already downloaded
a bunch of bots have it
where is my bot
He's more of a Dev than you are @lusty lintel
@golden condor ik ofc lol
But he doesn't know what's next
you have to change the fucking code to require it @haughty igloo
AAAAAAAA
For all those people who find it more convenient to bother you with their question rather than search it for themselves.
NOW THAT PERSON IS DOWNLOADING ANOTHER YOUTUBE TUTORIAL CODE
@thick gull I don't know where the Require is
@haughty igloo do you even know what you're doing, can you tell us your issue so we can reproduce it?
Asking him

@haughty igloo https://lmgtfy.com/?q=how to learn fucking javascript&iie=1
https://lmgtfy.com/?q=how to learn fucking javascript&iie=1
For all those people who find it more convenient to bother you with their question rather than search it for themselves.
No
@marble juniper i clicked
callum helllo
@haughty igloo https://lmgtfy.com/?q=how to learn fucking javascript&iie=1
I sleep uyeterday
and B R U H
The development channel should require an iq score of at least 10 before you enter so we can get rid of all these people
@golden condor nah 120
ban this?
No at least 10
btu iq score 0s houdl get help you know
okay but
120 is over the average iq
if your willing to leadn
You could also just not "feed" the trolls.
learn
you know what I'm goign to websaite bye
These are the people who lower the average iq score
There should be a button "do you have a clue what you're doing ffs"
Please do
Where is module.js
you are physically not able to have such an iq

@haughty igloo You
A fucking carrot would have more ability to code than these people
will go to that link
For all those people who find it more convenient to bother you with their question rather than search it for themselves.
i blocked u
gonna have a mental breakdown
Where is module.js
what are you even talking about
It's too early in the morning for this
Bro, just ignore them, lol.
what are you even talking about
took a outdated bot > why no work
I don't know where the snekfect requires require
watch your youtube tutorials and leave us fucking alone
CAN SOMEONE TELL THEM TO FUCK OFF
im blocked
are you seriously making this on glitch
Yes
@marble juniper you relaz
on phone
Relax everyone.....
I don't know where the require
I WANT TO FUCKING CRY
"Cannot find module snekfetch"
means that it was not able to fucking find "snekfetch"
Hello i just learn it about what is config fiel nwo i undesrtand
Cab someone FUCKING BAN MADARA
@ancient falcon bro i install but he say install node-sneckfetch
I am just gonna go back to bed this is gonna bring my iq level down to that of these people and I will lose my brain cells
And i install
@haughty igloo please stop, you shouldnt be making a bot if you cant find where you require a module.
Please use google
Just stop
dev people are very passionated 
MY FUCKING BRAIN IS FUCKING DYING
@sinful belfry qt pls help us
Non existant
@haughty igloo SNEKFETCH IS DEPRECATED
Wdy?m
use nodefetch instead
@ancient falcon i know
Wdy?m
İ install node-fetch
you mean wdym?
xD
As
PLEASE SOMEONE GET A FUCKING MODERATOR
at Moderator
@haughty igloo reis o türk deÄil
btw, ATa this is dev
I pinged star
türkƧe konuÅmaya ƧalıÅıyor
@coral trellis please do something
if you want to talk go in like Offtopic
@earnest phoenix kanka hatayı nasıl cozcem
O_O

you guys are going to be kicked
Require nerde bulamiyorim
Türkish in #memes-and-media @haughty igloo
Oh k
@haughty igloo kardeÅim #memes-and-media burda türkƧe olmaz... bot yapmadan ƶnce javascript ƶÄren.
Just wanted to explain to go there
and an actual brain
neverā¢ļø
dude they're there already (https://discordapp.com/channels/264445053596991498/272764566411149314/741565122249490442)
Can we move on :/
yes
it is the tonk man
Ok Tonkku is hear thank goodness
@marble juniper @thick gull @golden condor Please don't respond to development questions with lmgtfy links
Either help and provide useful resources or just leave the channel
We are trying to
hm
ok
@earnest phoenix bro i know but i have 170 commands I have to check them all to find snekfect
?
whene is my bot gonna get accepted?
But they aren't actually doing anything to allow us to help them
Yed
@floral creek average review time is 3+ weeks currently.
Yes
hm
this means I can writeh liek that ?
why that much time?
@golden condor they don't wanna click any links they don't wanna listen and uh do I have to list the rest
@floral creek Too many people applying + pandemic
I know
meaning they changed the code from eaflier
its impossible to help them
oh gosh, we need like two kinds of development channel, one for super beginners and one for avarage devs
trying to show you what was updsted
if they don't want to accept it
@midnight blaze true
they tried to help but just gave up afterwards ig
@earnest phoenix why is the pandemic afection this?
ok
People are more busy
more people are submitting bots
@marble juniper @thick gull @golden condor I recommend you read the development etiquette in the pins
k
I can also recommend to not shit on beginners
ok 
:chaoschaos:
We are asking them for more info but they aren't offering more info for anyone to work with
Can we move on :/?
gonna do the hack thing in my bot 
can i boost this server?
Your choice
if you want
what sperks giving?
@floral creek
The reason why it took so long to verify bots is
- Human take time to do stuff
- Human needs break
The reason why pandemic affect verify time is - Pandemic = stay home = more peep bored = more peep want to make bot, therefore quadruple the queue size
New color and the ability to set a nickname for yourself.
@golden condor that's not an excuse to act like a dick about it
ooooooo good
I gonna move to off topic now, YEET
Same
but someone gift nitro for boost
Im outta here
Can someone help me with this one bot command I am creating? I'm using visual studio code.
@floral creek
The reason why it took so long to verify bots is
- Human take time to do stuff
- Human needs break
The reason why pandemic affect verify time is- Pandemic = stay home = more peep bored = more peep want to make bot, therefore quadruple the queue size
@earnest phoenix k but thats not enaugh
just get more people
@serene echo ask your question

so this if(message.content === ${prefix}server)
message.cannel saned
aaaaaaaa its hrad to remeber
indentation please
Please understand that
- Theres trail period for moderators
- Trail mod cant test bot
- DBL is currently not accepting more people
Therefore, Be patient.
I have a question for py
don't ask to ask just ask your question
how do u tell that people addded a reaction?
Listen for an event when someone react on message
@ancient falcon
So where it says "Location:" I am trying to make the command author be able to input text in that field in the action message. I can send you the coding I have so far if you would like.
code:
def to_emoji(c):
base = 0x1f1e6
return chr(base + c)
class Polls(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command()
@commands.cooldown(1, 15, commands.BucketType.guild)
@commands.has_permissions(manage_messages=True)
async def poll(self, ctx, *, question):
messages = [ctx.message]
answers = []
def check(m):
return m.author == ctx.author and m.channel == ctx.channel and len(m.content) <= 100
for i in range(20):
messages.append(await ctx.send(f'Di la opción de encuesta o {ctx.prefix}cancelar para publicar encuesta.'))
try:
entry = await self.bot.wait_for('message', check=check, timeout=20.0)
except asyncio.TimeoutError:
break
messages.append(entry)
if entry.clean_content.startswith(f'{ctx.prefix}cancelar'):
break
answers.append((to_emoji(i), entry.clean_content))
try:
await ctx.channel.delete_messages(messages)
except:
pass
answer = '\n'.join(f'{keycap}: {content}' for keycap, content in answers)
actual_poll = await ctx.send(f'{ctx.author.mention} pregunta: {question}\n\n{answer}')
for emoji, _ in answers:
await actual_poll.add_reaction(emoji)
@poll.error
async def poll_error(self, ctx, error):
if isinstance(error, commands.CommandNotFound):
return
what?
talking to @serene echo
not a spoonfeed its his code
so like
Look I'll show you.
Unless he was fed it
I really don't think you can do that
The command message is -panics1
now learning command arguemnt
Why u not help me?
let me check discord documentation to see if you can do that @serene echo
message.channel??
if (message.content === "-panics1") {
message.delete().catch();
let embedContent = message.content.substring(0);
let embed = new Discord.MessageEmbed();
embed.setAuthor(message.author.tag, message.author.displayAvatarURL());
embed.setColor('#DF2929');
embed.setTitle(':PSPanic: __**SERVER 1 | PANIC BUTTON RECEIVED :PSPanic:**__');
embed.setDescription(`**Unit:** ${message.author}\n**Location:** ${embedContent}`);
embed.setThumbnail('https://cdn.discordapp.com/attachments/563491786836672512/741560209713135676/icon_1547170673.png');
embed.setFooter(`ID: ${message.author.id}`, 'https://cdn.discordapp.com/attachments/563491786836672512/741562636092833852/icon_3687304769.png');
embed.setTimestamp();
message.channel.send('**:PSCOMSBadge: <@&695546297293471745> | :PSHPBadge: :PSSOBadge: :PSPDBadge: <@&695546289550655601>**', embed);
}
That's what I got...
js is less complicated than that
omg
else if what?
you have to change it in the files too
@golden condor calm down
What should I do now?
Calm down
not just modules
You need to install snekfetch
in the command files
Let me clear thing.
snekfetch
else if (message.content === "-panics1")
install snekfetch
snekfetch is deprecated
@thick gull How can I find it easily?
That is the missing module
k look
i don't know
colors arrent #fff or colour
It still works iirc
lol
i don't know your own code
No?
for exapmple
you can use hex
think on
no
.setColor("#") works
hmm
same with color names
@golden condor I downloaded snekfetch many times but it didn't
like RED
k not for me
Then try request instead
Wdym
Use request or axios instead of snekfetch
That will be hard to find
deep breathes
how do i make a field in an embed object inline
please learn js and how node.js works before copy pasting making a bot, MadƔra.
May I suggest you might follow a guide or a YouTube tutorial
how do i make a field in an embed object inline
inline: truedoes nothing and doesn't throw an error
Are you viewing it on mobile?
Is rhe bot sending anything
yep
{ name: "hello", value: "this is inline field 1st", inline: true }```
i tried that
and the other fields needs to be inline too
no it is an embed object
oh
not MessageEMbed contructor
i donāt know about objects tbh gonna go back to my hole
{
name : `Pokedex info for ${args[1]}`,
value : pokemon.type, //yep some-random-api.ml
inline: true
}
haha wow same api
aaaaaaaaaaa its hard to understand the arguements
arguements???
@lusty lintel itās okay you got it
That should work if you use .addFields([
{
}
])
heās trying to learn
That should work if you use .addFields()
i am using an embed object
"full"
Can you send the code
embed: {
title: `Pokedex info for ${pokemon.name}`,
fields:[{
name: "Types",
value: pokemon.type
},{
name : "Species",
value: pokemon.species,
inline: true
},{
name : "Abilities",
value: pokemon.abilities
},{
name : "Height",
value: pokemon.height,
inline: true
}]
}
thanks repl.it
also, aren't some of them arrays?
that's why i took a screenshot
like species and abilities
That should work, what is your issue
never used sra's pokedex though so idk for sure
A lot of them are arrays
so join them
That should work, what is your issue
that it isn't showing inline
oh
folder called commands?
inline only works when there's at least 2 inline fields next to each other
???
make file called commands?
@lusty lintel it is a command handler
you need code but it will read all the files inside the folder
inline only works when there's at least 2 inline fields next to each other
how could it work otherwise
me put my 1996 lines of code in one file called index.js
the middle one isn't inline, making other fields have nothing to inline with
I need to make file called f agian or do the command in that ping file only?
No you should still use a cmd handler
yep
you might want to create an object for this
and when someone runs smth just get the code from the other file
the main file should just check for stuff
unlike me
who puts everything in index.js
if you want field a and field b to be inline, make both field inline, not just field a or just field b
I need to make file called f agian or do the command in that ping file only?
@lusty lintel the folder called commands has ping.js inside of it
and make new file again?
unlike me who puts everything in index.js
can relate
and make new file again?
@lusty lintel ??
need to wait ten years for another captcha so i can get backt o coding
make new file cllaed soemhtign that my command do?
/your-project
//index.js
//commands
///ping.js
your code isnāt a giant single file then
so I make file for thsi command too?
Yes
oh ok
yeah
oh
if it is a command yes
it's not
it's a message listener
comand do liek prefix and things?
yeah
oh okay
it gets called when someone sends a message no matter what
yes
but i don't want three fields in one line i want two in one line then two in another line
then make only two inline fields then lmao
so i make the third one not inline?
yeah
or add blank fields
blank fields look bad on mobile
who wants a free member info code??
no
https://leovoel.github.io/embed-visualizer/ @earnest phoenix you can play around with this
until it works for you
blank fields look bad on mobile
true
why are you spoonfeeding
nobody asked and he still spoonfed us
for no reason too
i was just being nice -_-
also im pretty sure i saw this same code before 
spoonfeeding isn't nice
in main file?
tf do you mean send link then @thick gull
i made the third one not inline
mate im on my phone at 4:30 AM
wait i can just add blank field
then go to sleep
why?
it's really not helping when you spoonfeed all you're doing is preventing beginners from improving
if you want two inline fields, remove the inline on third one
@thick gull 13 hours in the past 
simple as that
no
@thick gull 13 hours in the past :laugh:
@ancient falcon
yall fucking stupid
no u
i want the first two to be on one line, then the next two to be on the next line
spoon feeding isnāt nice either
^
so is swearing
you just teach people to copy paste
^
instead of actually learn
^
guys this shoudl be look like in main file called index.js?!
Dude i made it myself
okay
someone awake at 4am spitting out some facts
use { name: "\u200b", value: "\u200b" }, blank field yeah
so then it was probably a similar one i saw
Guys let me handle this
im sorry about my monkey brain
hi stop talking abput yourself
but it won't look nice on mobile but if you don't mind then it's fine
yall toxic af im trying to help to send one of my codes for fun and you guys think its the end of the world

Poki
can someone answer my question?
Am i not trying to be mean
whats the question @lusty lintel
Just listen, 0lease.
@lusty lintel what is it? Ask again please
so this thing should be in main file called index.js @thick gull ?
yeah??
you donāt need to call it that
oh ok
you can call it server.js but index is idk more simpeler because alot of people use it
shouldnāt be a problem
some call it main.js
thanks i added a blank field and it is working exactly what i want
Poki, instead of giving the code, you should tell them how to make the code, its better, and people will learn ^^
yep
and a member count is easy AF
pasting code for others to copy isnāt nice,
Beginners learn to copypaste rather than learn.
and you posted without anyone asking 
@earnest phoenix thanks i know but im being nice its just stupid that people like borboss dont see that i was trying to be nice and totally shit me off for no reason he also could have just said the same think like you and it all could have been ok
I understand you are trying to be nice and all ^^
what the fuck why all same
and borboss in the coding world everyone takes stuff from others -_-
But you have to understand, sometimes, you dont give code away ^^
i know but my problem is now that borboss didnt had to be so facking toxic
almost like telling first graders to use calculators
what the fuck why all same
@lusty lintel read the little messages around it they explain a lot of it
@earnest phoenix one question i have two different message menu's one where the reactions stay when the embed message gets edit and one where everytime the embed message gets edit it resets the reactions what sounds better to you
@lusty lintel goodluck
Whats the point? To change page? If yes, reCtion stay is better
what value should i use in image:{} inside an embed object to change the size of the image?
I looked at all the commands
wai t amin
@thick gull hey so the index is the thing to do the things and setup and command folder is for commands and event?
command folder is for commands
index is for events and etc
you can make an event handler but you donāt need to
index for starting and setuping data too?
oh
What do u mean? @thick gull
im talking to egar
i dont know how to help you
Then i look all commands
How would i do this
Send grt request
To that url
How?
grt?
Get*
how would i
@golden condor need some hepp explaining
explain what a get request is
Mhm
So when you load a page in your browser




