#development
1 messages · Page 1442 of 1
what?
oh wait
oh thats bc i added money
thats a user
i thought a emoji lmao
all = all.filter(e => e.ID.startsWith('money_'));
all = all.sort();
for(let i = 0; i < all.length; i++) {
let lb = (`<@${all[i].ID.slice(6)}>: ${all[i].data}coins`);
}
message.channel.send(lb)```
lb wont be defined if i do this
all = all.sort();
This is still sorting by string isn't it
yea but im trying to get in one msg first
let all = db.all();
all = all.filter(e => e.ID.startsWith('money_'));
all = all.sort();
let string;
for(let i = 0; i < all.length; i++) {
string = string + '\n' + (`<@${all[i].ID.slice(6)}>: ${all[i].data}coins`);
}
message.channel.send(string)``` should work
define lb outside the loop
and assign it within the loop
you can also use string += lb
im not quite sure
as user?
let all = db.all();
all = all.filter(e => e.ID.startsWith('money_'));
all = all.sort();
let string;
for(let i = 0; i < all.length; i++) {
string = string ? string + '\n' (`<@${all[i].ID.slice(6)}>: ${all[i].data}coins`) : string;
}
message.channel.send(string)``` try this
or let string = ''
probably better tbh
hmm
anyone got any thoughts on what are the most popular languages that bots are written in after english?
nope
i dont mean programming languages
its turkish
i mean the spoken language of the interface
its turkish and js
i dont think it is.... i thought that, and the first language i translated into was turkish, and it turns out to be an echo chamber specific to developers. in the real world few servers select turkish as the bots language
the next four languages im translating into are: italian, polish, japanese and korean
the first two were user request
string += `${i + 1}. ${user} - ${tl[i].data}$\n`;
do u think this would work
for + 1'ing it
get some portugese and spanish
the second two in preference to chinese, as ive never seen a chinese bot on top.gg. like ever.
me neither
got portugese and spanish, spanish is the 2nd most popular choice after english
string += how does JS handle strings? Can you build them dynamically like that?
@faint prism yes
i cant vouch for the performance of that, and if one of the things you try to append is a string that contains a number... or looks like a number... well chaos is going to ensue
because type coercion
spanish and french
spanish more than french but those two yes
objects are nah but arrays will be just weird in string +=
spanish, french, portuguese and polish sounds right
turkish
you know what I wanna make a object.toString() now
turkish or spanish afaik
heres the current live list
oh i know which languages you need
british and australian :^)
surprisingly turkish is unpopular... and i got a lot of people asking for hindi, nobody is currently using it
russian is in use by like ten servers out of 47000
lmao
svenska? really?
are you asking for triviabot
that is surprising but i'd wonder what it looks like a bigger bot
¿uoıʇɐʃsuɐɹʇ uɐıʃɐɹʇsnɐ sıɥʇ sı 'ǝɹǝɥʇ
that might be funny as an april fools day joke 🤣
Made my neck hurt
if they hadnt removed <user>.locale i could seen kinda what its like
@quartz kindle yeah one of a few languages people were very vocal for support for and never used
or made it a oauth authroziated thing scope field
just like hindi
ah that's a good time to ask I am adding multi language support so I need a few suggestions 
excluding english, which is the massive majority to the point this pie chart would be unreadable, heres the current breakdown
turkish probs will be second most used after english if u market as turkish

bc there are a ton of turkish people on discord
several hundred using spanish
its just getting ur product to them
i think the whole turkish thing is more that there are tons of turkish devs
I see..
rather than turkish discord users
(writing down)
since discord is mostly oriented towards gaming, polish and turkish should be pretty big as well
they have very large gaming communities
polish is coming in the next language update
kurwa
maybe im just not targetting turkish people enough
as it doesnt have as big uptake as i'd hoped
or maybe its just a naff translation they dont want lol
o gawd
tukey can be a bit nationalistic perhaps, if your bot is not 100% turkish maybe they dont like it as much
true
i noticed the strong patriotic/nationalistic vibes of all the bots, with turkish flags all over their embeds
ye
add a turkish flag on every response
lmao, when language is turkish
add a second copy of the bot the defaults to turkish with a turkish top.gg page. must have that pic of a deer in the background
put pictures of erdogan
must use this emoji: 
must have that bot logo with thunder and lightning
wait, erdogan?
most of the turkish bots ive seen have this ancient victorian looking video of some military dude in a hat
I am Turk dude
so whos the military guy?
if you need turkish translator, i am here 
he must be famous in turkey, seen him in tons of bots
he's not famous
no idea, but ergodan is the president
military guy?
yes, theres a pic in many turkish bots of some guy that looks like hes from the army, black and white
animated gif of him turning his head
looks to be from at least the 1920s
i guess he is Atatürk
yes
yes thats the guy
yes he is Atatürk
All Turks love him
is he the founder of the country?
yes he is
Atatürk means "Father turk"
yes
hmmm
1923
as i knew it turkey is an ancient country, but hes the father of democracy in turkey?
yes he is
pretty sure turkey is related to the ottoman empire
im pretty sure turkey and most of the countries in that region have more history than even britain
checkout Turkish Independence War
you know right
ye
@summer torrent turk musun gardas
yes. #general-int for turkish
if y'all start speaking turkish, this is where me with only google translate must bow out lol
🤣
I don't even use google translate, I just wait for someone to answer in english
🤣🤣🤣🤣🤣🤣🤣🤣🤣
can someone help me please
whats the issue?
this only shows up when you are going to a page like domain/servers
not when you just do domain
but then,
whats your nginx config for domain?
oh that may be cache then?
not sure
@cerulean ingot turk musun
what
are you Turkish
probably not
no
I thought his name was Turk because of his name
no thanks
ok
let money = db.all().filter(data => data.ID.startsWith(`money`)).sort((a, b) => b.data - a.data)
money.length = 10;
let finalLb = "";
for (var i in money) {
finalLb += `**${money.indexOf(money[i])+1}.** <@${money[i].ID.slice(6)}> - \`${money[i].data}\`\n`;
}
if (finalLb === null) finalLb = "Aw man.... no balances yet.."```
how come
if finalLB === null
doesnt work
actually, i should do if money === null
if finalLb = "" or .length < 1
which db
anyone here up for fixing my translations? 🙂 im sure theyre horrid - i accept pull requests 😄
quick
doesnt matter
pleaaase 😉 lol
whats the links?
sec
I can translate your English into english
lol
This is the main lang file: https://github.com/brainboxdotcc/triviabot/blob/master/lang.json
And these are help json's:
https://github.com/brainboxdotcc/triviabot/tree/master/help
quick db is quite hard for beginner and outtodate i would use mongodb
all the languages probably have bs in them
xD
Is there anything you wonder about Turks?
Mongo will do a lot of this stuff for you
no mongo is better and free
it just says the it cant send an empty msg
Which makes it easier.
https://million.is-a.computer/files/96PzJoxa6nK0QIW.png I got a cameo? @green kestrel
kinda yeah lol
whats put the dotted outline in?
yoksa bilerek mi sildin
how do i clear nginx cache
idk if there is any nginx cache
then idk why this is happening
cf?
wheres the rest of your nginx config?
i only have nginx.conf
Bilerek Sildim
Gorunmesin diye
you have a rule for port 80 (http), which redirects to port 443 (https), but you dont have any rule for port 443
OOF
would something like this look right
right for 443
or is it more simple than that like
server {
listen 443;
server_name riverhost.xyz;
return 301 https://$server_name$request_uri;
}```
wait why are you redirecting to the same url?
nginx.conf is in my nginx folder
what
you send another link to another configuration
the one that contains configuration for port 443
where is that file located
sites-enabled
um
if you already have a config file for that website
idk, i need a nginx.conf
you already have it
where
the links you sent lol
pterodactyl.conf
so,
how do i set my config file to that
when i restart nginx
if the file is in the sites-enabled folder, its already configured
so i can delete nginx.conf
I'm calling out to everyone from here
Please do not exclamate your prefix. Because they interfere with other bots on our servers.
can i delete nginx.conf then??
no
you need both
nginx.conf is the base configuration, then in the nginx.conf you have include sites-enabled
which means that all conf files in the sites-enabled will also be included
ahh
thank you ill try it out
nginx.conf: https://mystb.in/EvaluationsAuthenticAti.nginx
website config: https://mystb.in/DiversityGoreExit.nginx
any idea, Tim?
i tried making errors.js
const error1 = require("../errors.js")
if(!role) return error1
errors.js error1
message.channel.send (embed stuff here)
it doesnt work
it just doesnt respond when the error is triggered
are you returning error function or are you calling error function
is error1 a function?
o
it isnt
its just defined as requiring the error file
and in the error file
could anyone help
error1 = embed
please
I thought tim was helping
tims gone 
i did what tim said and it didnt work sadly
just as mysteriously as he appeared, he was gone.
should i ping pong him
nah, he is a busy guy
so message.channel.send embed thing wont work if its in errors.js?
ugh
function error1 {
// embed stuff here
}
i wish i could fix thios
i think
wait i may know
module.exports.error1 = (message) => {
try {
message.channel.send('ERROR');
} catch (err) {
console.log(err);
}
return
}```
const { error1 } = require('errors.js')
//in code
return error1(message)```
@sterile lantern
o
ok tysm
if i wanted to require a file
outside of my cmds folder
wouldnt it be
../file.js
?
What’s the issue?
its include /etc/nginx/sites-enabled/*; not include /etc/nginx/sites-enabled;
notice the /*
show your pterodactly.conf again
no one can help until you ask a question
return error1(message)
}```
*error 1 is not a function* is the error
anyone got this kind of error recently?
i think that means too many requests?
yes
i dont think so but maybe
429 means you're being rate limited.
^^
remove server_tokens off;
my bot just relogged by itself and that error occurs
anyone know why this isn't working?
did you change anything else in your nginx.conf?
why did you add the includes
you already have them down there
remove the ones on the top
if you want to include more files, it has to be inside the http block
the error is in pterodactyl.conf tho I thought
i fixed the error
but uh
i get that
when i reload though
it seems to load fine
which url are you trying to load?
riverhost.xyz? or www.riverhost.xyz? or /something?
http or https?
yea i tried to do stuff and it doesnt let me
it keeps saying error1 is not a function @crimson vapor
show code
yeah but how are you using it
lmao
how do i get out of two folders
so the cmd file is in economy folder, which is in commands folder
../../?
Hey everyone! Should I continue to use the DiscordCollection object if I'm using another caching system anyways? Is there any advantage to leveraging the DiscordCollection?
ayy worked thanks knowble
discord collections are pretty good for caching I hear
I'm using it for a specific use case now, specifically concerning timeouts, but I'm weary about the sharding process. When I switch over to redis, I would rather just have 1 simple caching solution. It seems that DiscordCollections are tied directly to a shard - so it would need to be emitted for all the shards to listen too?
one sec
xd
yep extends map
With sharding, since multiple processes will be launched, each process (each shard) will now have its own subset collection of guilds it is responsible for. This means that your original code will not function as you expect it to.
o
can someone explain why isn't this regexp working on js, but works on regexr.com?
how i split + the regex:
const args = m.content.split(/('.*?'|".*?"|\S+)/g);```
what should happen:
```js
['!embed', 'hi"', 'no u"']```
what happens:
property or class
Regex engines can vary across languages.
Make sure you're using the same one as JavaScript
but how I can make it work properly on nodejs?
nevermind i got it
No. Cache timeouts 👍
Cooldown
i think i overuse txt files in my code
you shouldn't be using them in the first place, so yes, definitely
I could instantiate a global map - yeah
so do the exact same thing with a collection, no?
But why do that if I'm just going to use Redis anyways 😄
how do yall do long term storage
oh
a proper database, i.e. postgresql
ah makes sense
No - because the collections are tied to a particular instantiation of the 'shard' ... meaning .. that collection is only available for those guilds in that shard.
guilds are locked to shards but collections are just an extention of a map
what is large vs small scale
im pretty sure you can use discordjs/collections in any project
i'd say up to a hundred guilds is small scale, beyond is large scale
but that varies on the data you store
ah
Agreed
fair
1000 is the minimum to shard.
Ah, gotcha. So it's only regarding the guilds portion.
yea
fs.readdir('./commands/' && './commands/Economy/', async (err, files) => {```
this responds to commands in Economy but not in commands/
Thanks for the highlight there, it helped haha.
lol np
it should work with commands
but it doesnt
so only economy cmds work
and non-economy cmds dont work
read the code for collections, they are pretty cool
js sucks (눈‸눈)
js is great
is it bc im trying to fs.readdir to two dir?
sqlite does
ok
samm dont do that
Try to do two separate calls.
o
make it recursive
tbh i dont use js for anything else than web 
ye
I used to think like that. I'm actually quite fond of NodeJS.
fs.readdir('./commands/Economy/'), async (err, files) => {```
probs wrong but
is that how im supposed 2 do it?
samm
Just started using it like a month ago - it actually gets me going faster than Python.
do it recursively
If I wanted a performant language, on the other hand, I would just use GOlang though.
I'm also gonna try to understand js
Golang or Rust
tbh I do not see why people make discord bots with discord.js, can someone explain why
its easy and fast
C++
is it possible to thin the border in .entity-content__description
Hmm
there seems to be another border when using border-width
// Load Commands function (ish)
function loadCommands(dir) => {
fs.readDir(dir, async (err, files) => {
//check if file is folder or file
if (isDir) return loadCommands(dir + filePath)
else {
// code here
}
})
}```
Py is easier to understand
Ghoul, what do you make your bots in?
Easier to understand != Easier to implement
i tried discord.js and was just left so confused
I used discord.py and completely switched to discord.js
Trust me, I'm a python guy. I use it in my day job everyday; however, I will say DiscordJS has been a crazy breeze compared with Discord.py
Thanks now I'm not gonna try js
ah
easy to use, no cost, great performance
It gives me goosebumps after seeing js codes
If you're a newer developer, on the other hand, Python will be the easiest to understand / implement. Once you understand the foundational Computer science / software development principles, on the other hand, learning any language is normally just a means of getting over the initial hurdle of syntax.
I don't know man, I look at some of the code you have to write in JS for something, then I write it in py and just left like "why?"
Thomas does it seem like I even know js?
cries in css
CSS isn't a language
right
next you're gonna say html isnt a language
Because it's not, lmao
lol
HTML / CSS / etc. developers are mainly using frameworks at this point.
L in HTML stands for language so its a language right guys 
The frameworks generate the HTML on their behalf and compress.
ejs go brrrrrr
i think i prefer CSS than maybe the popular framework Sass
what it used to be popular for is now in CSS itself so 
Hm
PHP doe 😬
lol
sass is way more powerful and nicer to work it

How do I make the servers command to show how many servers the bot is on? in discord.py
There's a property for it
but it becomes obsolete when you start working with JSS in react, for example
is there a way to do this without being this long
if (premiumuser === "true" && devbadge === "true") badges = "**__User Badges:__** \n\n Bot Developer \n Premium User"
if (devbadge === "true" && premiumuser === null) badges = "**__User Badges:__** \n\n Bot Developer"
if (premiumuser === "true" && devbadge === null) badges = "**__User Badges:__** \n\n Premium User"
if (devbadge === null && premiumuser === null) badges = ""
if (userbal === null) userbal = 0
if (bot === null && item2 === null) items = "This user has no items in their inventory.";```
bot.guilds
Go and read docs
That boolean logic can probably be reworked.
The idea is that they tell me how but I don't see that they want to do it
make badges an array
In fact, an if/else if/else would work more appropriately.
server_count = len(bot.guilds)``` @wind vault
I disagree with that statement.
It may be easier; however, it adds overhead from both memory and compute time.

If conditional logic is O(1)
This is in discord.py? @gilded olive
Oh, lol
when I run this in console it works but wont work automatically https://cdn.yxridev.com/u/O2y5DUux.png
isn't condition logic O(n) n being conditions checked?
Nope
hmmmm
O(4) if 4 conditions are checked
yes
If you have if statements wrapped in a for loop, yeah
Ok thanks
if you want it to be in text use an f string

hmmm
Pl
big O notation kinda weird
await ctx.send(f"Servers: {len(bot.guilds)}")```
@wind vault what's your bot about
Worst case is O(n)
did you read about all this code or did you go to uni?
wait thomas how old are you
O(n) is worse than O(n^2)?

Still can't stop reading BS the bull way
wait how
my god
Mod and Fun
OH

I read that wrong
oh ok
Sorry, read this wrong haha
await ctx.send(f"Servers: {len(bot.guilds)}")
server_count = len(bot.guilds)
big O notation is the amount of operations based on inputs?
alr
i gave you what it is
@gilded olive your age?
wikipedia didn't explain it to me
sadly
bruh
I never use Wikipedia.
3 and 4 key do be close to each other
people use wikipedia?
If/elif/else statements are normally O(1), O(2), O(3), etc. ... however, worse case, is that it goes through all the conditional statements ... technically that would be O(n)

ok
..
i answered you
14?
yes
I'm 15 lel
realistically with random ordered statements, it should be O(n/2) right
:(
If you have 2 for loops, O(2n) .... if you have nested for loop O(n^2)

It really just depends, haha.
I believe the average is probably O(n/2) -> which is logarithmic
ok
oops
big O notation kinda big brain ngl
Not logarithmic 😉
O(n/2) doesn't exactly mean anything ... Computer Scientists normally round O(n)
o
I mean, obviously it's important; however, for simplistic calculations like Big O, just round.
O(2), on the other hand, rounds to O(1)
that makes no sense lol
Agreed.
Well, in a infinite space, you wouldn't know what n is.
O(122) ... could technically still be O(1) ... since n could = 2033040430
hmmm
O(2n) -> O(n)
Or maybe, my professors just simplified it for the means of simplifying it 😄
So is n 🤔
Right
Wait - are you agreeing or disagreeing?
You're saying all linear operations simplify to just 'linear' in Big O?
Its just simplified to the simplest equation
Gotcha
Kinda yeah
O(n log n), of course, it's it own thing .. not O(n)
log n is different
is it possible to have O(root(n))
True
Probs not
O(n) at that point, right?
Idk
not exactly
Square roots arent linear
True
Is that log(n) at that point 🤔
Idk
?
I don't think so
one sec lemme get paper
It would technically be between O(n) and O(log n), right?
Square root time complexity means that the algorithm requires O(N^(1/2)) evaluations where the size of input is N.
So, yeah - it's n
1/2 log n I think
root(x) simplifies to linear.
hmm
My operations are n!
IMAGINE
They are very efficient
lmao
LOL
Factorial operations are always fun 😄
How do u make smthn that slow
Real talk, a quantum computer can handle those things like they're linear.
we've progressed so far with quantim technology but there's still so much to go
quantum*
Yea like helping ur mom do the dishes
Why use a quantum computer for computing when u can reinvent the wheel
Because using a computer that is ultra unstable and must be keeped as close as possible to the 0 Kelvin is fun 👍
yes lets change all of computing to work more efficiently
I'm not saying that it's not useful, I'm just saying that right now, it's not really usable
It is just useful at certain tasks. I think it beat the IBM Super computer at a specific task
what is "it"?
could i get the code to get that background image effect on your bots box(this is not on the bots page), where it also says view and vote
for my bot onto top.gg
if anyones got it thats thonx
Google quantum computer
oh
LOL
lol
I haven't coded a bot or anything in ages and I need to make a bot but I tried running my bot but message isn't defined, despite being in a message event, code:
https://million.is-a.computer/files/wCgbkzmbbeG6PUZ.png message there
Yea I think Google's quantum computer managed to resolve a specific problem that should've took years in seconds
huh
fast
html img tag
do you know the code?
I'm in a message event though and message is still undefined
it's not that hard to search "html img" on google
@still merlin define message in the callback of the message event
I would say learn javascript also
I haven't coded in a year
then relearn
I am, But I need this bot done
you just need it
Are you able to add css to the bot img still?
yes
Because you haven't defined it as a parameter in the callback function for message event
yea
why star tho
Is it .entity_header__avatar ??
why dont you try it
hello i want to ask,any tutorial when someone vote my bot, and unlock the command?
not a tutorial but people in #topgg-api can help you
hm okay thanks
Bc its effort
<img src="file">```
there are other attributes but https://www.w3schools.com/tags/tag_img.asp
shall i do that in my 300 word description right
whatever you want, no ones forcing you
how do you do the thing
where on like bot support servers it says login and it redirects you
you mean on a website?
you mean website?
yea
depends what framework
servers are just discord.gg/
if yes they use oauth2
^
wait wtf is a uri
@gilded olive if you dont have Dev role all links are nuked
o
sad
i was like wtf
So i can't reply tuff
well, the alternative would be trolls posting rickrolls everywhere
the discord developer docs give documentation of their oauth2, so you can check that out @young flame
ill look at it
Can you guys please keep the starboard clean
is this betterticket's discord server ?
i found it on bettertickets page lol

nothing useful to you
ohh k k\
how do you even use them
pls add my bot i need to get him in 75 servers?
@modern sable
@ember crystal you should delete that
bruh
you're not supposed to advertise for guilds
-faq 1 -c @ember crystal
do not post bot invite links in this server
@ember crystal
i thought we where supposed to put are bots here
if your bot gets to 75 servers too fast discord will deny your verification
he wasn't getting any by posting it here 
they dont like bots that grow too fast, that are advertised, or that are in a lot of servers from the same owner
if(command === "fkick") {
console.log("Fake kick command used in "+message.guild.name+" By "+message.author.tag);
message.delete().catch(O_o=>{});
client.channels.get("ExampleID").send("Fake kick command used in "+message.guild.name+" By "+message.author.tag);
if(message.mentions.members.size == 1) {
let member = message.mentions.members.first()
message.channel.send(`${message.author} kicked ${member}`, {
});
}
}
I looked at discord.js documentation and Im thinking they may have deprecated what I was using for this command. My first thoughts are maybe the way it handles message.mentions.members.first() changed. Any thoughts?
well how tf am i supposed to know that
its written in discord's help pages
you aren't supposed to cheat
is there an easy way to split this line for example bot!display a=gol um n>=10 dis=weeb into multiple arguments to use it in a function where a='gol um',n=10, dis='weeb' with python?
I could read it letter by letter and splitting it but is there an other way?
@ember crystal Ive gotta commend you on that. I couldnt code on mobile that stuff annoys me. Gotta have my monitor. 😂
it’s the same thing coding the source on mobile or pc
Yea. I got that eyestrain cuz I wear glasses so makes it harder to use mobile lol
Sounds like the job of regular expressions. I don't know how you'd write one on hand, but your goal would be to split the symbols (=, >=, etc.) into a group of the key (e.g. a) and the value gol um.
Hmm, yes i didn't thought of that
@quartz kindle oh did i tell you i started on that lib
makes sense
i only get 3 events
and so it would be easier to isolate 'gol um'
🗿
You should probably just have the user use a separator between the things if your arguments can vary
sameeeeeee
guys do you remember the blog post about new features in the discord api?
is there a new update for this?
props bro
coding on mobile is stressful af
yes it is thank you
🗿 Me here literally actually programming everything on mobile watching this guy be like
can BDFD even be considered coding?
No
lmao
bot designer for discord
yea lol
How is coding stressful lol
eh
is that a real question?
no
its a hard no
The only stressful part is when you're working with git and you accidently delete everything
lol
well tell that to the guy who's "coding" on mobile xD
BDFD is just clicking some buttons and using markdown kind of language, how is that "coding" 
lol
also i’m 13 and i’m coding
yes, "coding"
That isn't coding my dear friend
i dont need your agekiddo
And
bro the app is 13 and up
i strated legit coding when i was 7 trying to break into nasas satelite
i’m fine
@quartz kindle so uhh hm.
Don't hurt his feelings :(
What am i supposed to say
can you shut the fuck up pls thank you
@ember crystal go play fortnite smh
that is scripting, not coding nor programming
LOL
It's ok buddy, BDFD is real coding
well...did you do it?
bro that game sucks ass
watch your language
This guy ↓
https://cringe.tf
i dont think your mom would like you cussing
@quartz kindle this is how i do the sign in thingy
the fbi shwed up at my house actually
then watch your mouth
no
Damn, chill.
good then it will be easy for you to shut the fuck you right
@ember crystal I believe in you, don't listen to the other people. BDFD is one of the best programming languages in the world. It's used by many data scientists and has a lot of practical usage.
you still locked up?
vouch, this is just an AI
lol
what
shut the fuck you right
this guy under stands
True.
🗿 I'm just watching this chat, calmly
is BDFD even programming 🗿
like watching ads for hosting
Yess, absolutely! 😉
ok
The others don't appreciate the beauty of an expressive language like BDFD.
this reminds me of the im 11 so shut the fuck up vine
😂
idk but i did
hot
huh
What
I wanna know how
DAMN! 😂
wait what
Wait since when
they're in A B testing right now
hey guys watch me code in BDFD
i dont have access to slash cmds but my friend does
Awesome
$message1$message8$messagemessage
datamining?
Speedrunning failing code
Would anyone like to join me in hacking NASA with BDFD?
console.log("Wasted.. damn.")
Me! 😉
Awesome
Let me bring my mobile quick.
I'll be messaging you soon and anyone else who wants to join
Great!
bro just i have been waiting
🗿 Literally 1 character of binary is better than the entire syntax of BDFD, BDFD is just "fail"
Did you just respond to a bot @ember crystal
echo Goodbye world
Alright, quick question cuz I can't figure this shit out. I'm trying to send an embed based from a separate file if users request it. message.channel.send(embeds.helpcmd(message, '${command.help.name}', '${command.help.usage}')); However I'm getting a "cannot send an empty message" error. The message is still sending all contents though.
hurry up @gilded plank
Dude it's a bot
it takes 1 week -2
Define an embed seperately.
binary be like
00110101000011010
oh it’s been 2 days
01010101010101110101001010101010101010101010101010101
@feral aspen what do you mean? I am already -- lemme show ya.
Why BDFD though
lol
module.exports.helpcmd = (message, command, syntax) => {
let embed = new Discord.MessageEmbed()
.setTitle(`:page_facing_up: Help for ${command}.`)
.addField("Correct Syntax:", syntax)
.setColor(colors.white);
message.channel.send(embed);
}
Like at least make a graphical interface if you're going to make one of those things
mee6 be like buybuybuybuybuy
You should return the constructed embed and send it yourself, way easier to debug what's going on




