#development
1 messages Β· Page 1044 of 1
yep
Yo yo
My Meme not work can anyone help???
this guide is good but not good if u wanna do some cool stuf
if you wanna do cool stuff you gotta do it yourself
if you wanna do cool stuff you gotta do it yourself
@quartz kindle faxxx
this is scary
djs is onto you
@pure lion gona go and check weather.js and if its not good enough ur dead
how do i edit my bot's sent message.
this is what i want:
//some stuff above
if (command === "yeetAndIDontUseIFStatementsForCOmmands") {
message.channel.send("yeeting you...");
setTimeout(function() {
//some shit
messageThatMyBotSent.edit("hope you survived")
},5000)
}
I have all the perms
and the bot doesn't check
probably thats the error
messagemybotsent = message.channel.send
messagemybotsent.edit
resolve the promise too
Help?
messagemybotsent = message.channel.send
messagemybotsent.edit
@slender thistle finally someone who types all lowercase like me
I just cba to use camel case rn
@earnest phoenix its a function, not a variable
I have all the perms but doesnt work
Why are there two ifs with the same condition
I did it in an another server it worked kind of
@earnest phoenix ```js
thisIsAVariable
thisIsAFunction()
Hmm
if (message.author.hasPermission("ADMINISTRATOR") || message.author.hasPermission("KICK_MEMBERS") {
//yourcode
} else {message.reply("You don't have the permissions to do this!!!")}
@earnest phoenix try my method and see if it works
ooof
gona go and check weather.js and if its not good enough ur dead
@wheat hornet thefuck

if (message.author.hasPermission("ADMINISTRATOR") || message.author.hasPermission("KICK_MEMBERS") {
//yourcode
} else {message.reply("You don't have the permissions to do this!!!")}
@earnest phoenix how do u type like that
procedure TForm1.Button1Click(Sender: TObject);
var s, sn: string;
i: integer;
begin
s := Memo2.Text;
for i := 0 to length(s) - 1 do
begin
sn := sn + s[i] + ' ';
end;
Memo3.Text := sn;
end;
I'm either missing something very obvious or Delphi hates me
@earnest phoenix how do u type like that
@wheat hornet put three ` and type the name of the language
In Memo3 object I'm getting absolutely nothing
like ```javascript
js workst too
```js
your code
```
a
a
a
s
s
just do ```js
code```
you have to go out of the `s first
lololol
Why does message.guild.members.random() give the user ID instead of name#tag???
clear some }
Which line?
error line
Delete it?
the whole line ?
the single }
huh?
you need to show everything from the start of it until line 52
you know itβs easier if you post it here
@earnest phoenix just download beautify
much easier
from the start
bruh
of the code block
from the start
-_-
Lol
How many Commands has your bots? my Bot has 50
Mine has 31
17
131,lol
But I have 2 others, 1 having 6 and the other having 17 more
nice
what are the most fun commands to add?
idk
jokes
none
I need more
I have
time
calculator
date
fn item shop
Bot info
ping
uptime
etc...
time?
how can i create a dashboard for my bot
local time
@spare mirage
yah as the time in π©πͺ
yahh boyyyy
my bot send a welcome message like mee6 and i need the user to have power to customize the background
my bot send a welcome message like mee6 and i need the user to have power to customize the background
@wheat hornet
?
How old are you?
im 15
why u want my age
why u want my age
@wheat hornet
you don't have to tell
Cool
can anybody help?
code
can anybody help?
@clever vector
what Programm
Node.JS
idk
What library
discord.js
Send code
ight ima head out
Send here
https://discordapp.com/channels/264445053596991498/272764566411149314/731100196964007957
I completely forgot that string indexes start at 1 and end with length(StringObject) but it looks like Delphi didn't want to error out
is there a way to check a message if it has a .txt file then get the content?
language?
js
check out fs.readFile() from the fs module
i get that but how would i check if the message is an attachment?
actually its fine ill check the docs
message.attachments contains all attachments in a collection
tim and me reading the docs have a lot in common
i am a walking docs
Do you have a Show Source button?
maybe :^)

if (msg.attachments.map(m => m.name).toString().endsWith('.txt'))
i refuse to believe this is the only way i can get .txt files
or even is the way
:D
a for loop over msg.attachments and an if
okay
permissions.has('BAN_MEMBERS') || role.permissions.has('MANAGE_GUILD') || role.permissions.has('MANAGE_CHANNEL');
client.on('message', function(message) {
if(message.author.bot) return;
if(isValidCommand(message, "hello" ))
message.reply("Hello!");
else if (isValidCommand(message, "rolldice"))
message.reply("rolled a " + rollDice());
else if(isValidCommand(message, "add")) {
let args = message.content.toLowerCase().substring(5);
let { cache } = message.guild.roles;
let role = cache.find(role => role.name.toLowerCase() === args);
console.log(cache);
if (role) {
if(message.member.roles.cache.has(role.id)) {
message.channel.send("You already have this role!");
return;
}
}
if(checkPermissionRole) {
message.channel.send("You cannot add yourself to this role.");
}
else {
message.member.roles.add(role)
.then(member => message.channel.send("You were added to this role!"))
.catch(err => {
console.log(err);
message.channel.send("Something went wrong...");
});
}
}
else {
message.channel.send("Role not found!");
}
}
); ```
I have all perms
but the bot doesnt add
if(checkPermissionRole) {
message.channel.send("You cannot add yourself to this role.");
}```
if function then run code
aka always runs
you check if someone has the permissions then throw the error
Huh?
but i think you want if the user dont have the permission
ohh nvm
I didnt understand
its possible that there is a hearachy issue
@fringe axle Send your HTML and CSS
Superbrain, are you sure it's not because they're doing if (function)
no i think the Bot has less permissions then himself
so the bot cant add the role
bcs of lower permissions
Bot has full perms
wait.. i need to get some sleep
const checkPermissionRole = (role) => role.permissions.has('ADMINISTRATOR') || role.permissions.has('KICK_MEMBERS') || role.
permissions.has('BAN_MEMBERS') || role.permissions.has('MANAGE_GUILD') || role.permissions.has('MANAGE_CHANNEL');
if(checkPermissionRole) {
message.channel.send("You cannot add yourself to this role.");
}``` 
I have adminis
but you also dont pass anything to the function to check i guess
yes bcs you have admin your check returns True and sends the message
also you dont define where you want to check the permission
@lusty quest can I DM?
nope
@slender thistle thank you very much... but I did it by myself. I forgot one > at the end
All is fine now

You are not calling your checkPermissionsRole function
huh?
you see this
checkPermissionsRole(roleObjectHere)
const checkPermissionRole = (role) => role.permissions.has('ADMINISTRATOR') || role.permissions.has('KICK_MEMBERS') || role.
permissions.has('BAN_MEMBERS') || role.permissions.has('MANAGE_GUILD') || role.permissions.has('MANAGE_CHANNEL');
checkPermissionRole is a function, and you need to call it with parentheses and passing a role object
What change should I make?
and you need to call it with parentheses and passing a role object
aka checkPermisionRole(role)
i think i retire from this channel here. so many Copy / Pasta bots from users who dont know a bit about what they copy/pasted work
Hi I'm COVID and I inspired people to make Discord bots

yea but some stuff here make me loose Braincells
same
so whats better weather.js or get an api
weather.js is just a middleman for an api anyway
im fine with new People trying to write Discord bots, but having 0 Knowledge about any coding language and then just Frankenstein Bots from 6 Different Youtube Videos from 6 Years ago is not really helpfull for anyone.
::(
@lusty quest tutorials sucks
https://discordjs.guide is the good.
its up-to-date too
@earnest phoenix u should learn basics first
i am learning
You're using a library that isn't meant for JS beginners
-_-
Age doesn't matter
Age has no role in how you learn programming
Age doesn't matter
@warm marsh u stole my line
π
Age does not fucking matter in terms of knowledge
off-topic time anyway
a 6 year old could have more knowledge in js than a 16 year old
Ram & Rem, ok
https://discordjs.guide @earnest phoenix
is it up to date
yep
stable i guess
it has v12 and v11
nvm it's not the anidiotsgudie
I am gona die or quit π¦
the anidiotsguide is not completely up2date
I am gona die or quit π¦
@earnest phoenix and the reason is?
i cant understand
@earnest phoenix take chill pill bro
relax and try to understand wht the peice of code do whats it meant for
π¦
@slender thistle one question. How can I do Bold texts or something in colors?
<strong> or <bold>
can someone review my idea?
what's your idea and what do you want reviewed exactly (e.g. if it won't get you banned, it's good, etc.)
Im thinking of coding a sign in sign out bot for my staff. This is to check what actions where done when and by who when they sign in (for mods)
Is signing in and signing out going to use some external service/website
Then why not just use the user data you already get
If you get messages through gateway you should. What library are you using?
A bit confused, do you know what language your bot is written in? Are you using some bot maker?
are you using discord.py
discord.js
then you're using javascript?
wtf
lmao
If you have a package.json file, you're probably using JavaScript/Node.js
how does one even start a bot without knowing what lib it is
then its java
If you have a requirements.txt file, you're probably using python
Then it's not discord.js
now it's java????
i think its HTML
do you have a gradle or maven or ant file
its java
This guy is trolling
tf
just checked
java or js?
Java or javascript?
java
java !== javascript
javascript
wtf
what discord.js codeing are done with
javascript
yes
just show us your file tree for once
Whats the issue?
Lucky do you mind telling us the extension of your main bot file (.<extension>)
then how tf do you know that it's js?
Why are u here for actually if you don't have an issue?
thats what i can remember
@dire stag Please learn programming fundamentals, and know what programming language you are using before attempting anything.
@sudden geyser
I am Lite!
ah
I don't think so. You already have the user who sent the message and the time at when the message was sent if you can receive messages from gateway.
Development without knowing what language you are using is a terrible idea!
Then you can see people's actions
why two p i n g s
@earnest phoenix
gimme the message link someone
now it's 3
You should try familiarizing yourself in your development environment.
lite dm me
why
people
I don't think Lite is gonna do that lmao
you are very irritating
he is trolling bro
Actually you are the one who is irritating here
here we go
Don't ask for support if you don't even know your own library
I'm not salty
i would love if some mod will mute him
We're trying to help you and you're insulting me for no reason
i dont need your help
@dire stag Please stop asking for support when you don't know what programming language you are using.
i asked lite
thank you
does this work:
randomUserToPing = message.guild.members.random().user.mention;
message.channel.send(`A random user I pinged: ${randomUserToPing}`);
Not sure if .random() works lmao
it works
@sinful belfry Is there some kind fo rule stating that if someone doesn't know programming fundamentals and doesnt know what they are doing should learn and not ask for support?
i didnt ask for help
Is there some kind fo rule stating that if someone doesn't know programming fundamentals and doesnt know what they are doing should learn and not ask for support?
@earnest phoenix yes
i asked someone to review my idea
i guess it could fall under spoonfeeding?
This channel is ment for asking support
@dire stag you don't need a sign-in/out system because
a) You already have user data when receiving the message (user is already logged in discord)
b) You would just waste database storage
^
i guess it could fall under spoonfeeding?
It would
It is meant for asking for support but you need to have some kind of knowledge. Don't you think?
@
@dire stag you don't need a sign-in/out system because
a) You already have user data when receiving the message (user is already logged in discord)
b) You would just waste database storage
@lyric mountain for my staff
-_-
Just ignore him he's trolling
?
They were given.
still
And you're ignoring them
@earnest phoenix dont reply to my convo
so we should too ignore him
@dire stag You have no right to command people around here
im not. im asking
Doesn't look like a question to me
im trying to talk to someone
either DM, #memes-and-media or #general then ig
This is unnecessarily becoming a bigger shitshow than needed
ok you can stop it right there
We literally gave you the answers
all of you
@dire stag Ok so u want a way to clock in and out staff?
yes.
Like logging in and out?
You take & store the first timestamp, take & store the second.
Compare them, and boom.
Conversation ends here π
that's an entirely different thing then
when they sign out all their moderation actions will be logged.
not coding
You can just log the commands on executions instead of saving them as it would use unneceserry database storage
Then why do you want to log them a second time?
Okay then.. store the commands
and then post the commands between the two timestamps
^^
they can be deleted and why ask me that question its totally up to me,
True
Yes it is lol
We're not going to spoon-feed you.
π€
what you could do, for example, is set a hardcoded time range (eg: from 09:00 to 18:00) then check if the command is sent between those hours
Also possible
that'd require zero logging-in/out, database storage and user interaction
and is somewhat fail-proof
we can end this conversation here, he already left
Can someone help me with getting a .txt file from a message
You can use fs to store the message and encode into a .txt
No I want to get the attachment
I think you can do .attachments on the message object and then filter through to see if it ends with .txt and use fs on that
^ Probably
can we do it
Ty
they are pretty but confuse af
They are fine.

How to do this?
you want to comment it?
@wheat hornet That isn't python. Please keep this chat on context.
bruh
/*
This
Is
A
Comment
*/
// This is a comment
// aswell
i am asking that // in js and # do the some work
yes
delphi uses // and {} for comments
different langs sometimes use different comment chars
oh
Delphi 
helb i cant install npm SQLite on linux no matter what i try i sad i get this error

do you have npm-gyp installed?
yep
node-gyp i meant
What happened to the discord send message as attachment feature????
yah
What happened to the discord send message as attachment feature????
it's still there
Where
for users, just type a 2000+ char message
then it cant find nodejs but that dumb bc i have nodejs
for bots, create a file from text and send it
@lyric mountain I know this, it doesn't give me a prompt
are you on mobile
No
ah, they removed it
never noticed this
Stronge
Is there something wrong? The embed comnd is not working
I do not ghave
Is there something wrong?
It does not show number
I do not ghave
@tulip ledge type until you reach about 1500 chars
You have to type
weird
@earnest phoenix no its fine
Collection [Map] {
'731133370003619880' => MessageAttachment {
attachment: 'https://cdn.discordapp.com/attachments/730523536036331520/731133370003619880/message.txt',
name: 'message.txt',
id: '731133370003619880',
size: 2001,
url: 'https://cdn.discordapp.com/attachments/730523536036331520/731133370003619880/message.txt',
proxyURL: 'https://media.discordapp.net/attachments/730523536036331520/731133370003619880/message.txt',
height: null,
width: null
}
}
so attachments are logged like this, but when i tried to access .name of message.attachments it returned undefined
@earnest phoenix but your not sending the embed to the channel
if (msg.attachments) { console.log(msg.attachments.name) }
undefined
Collection [Map] { '731133370003619880' => MessageAttachment { attachment: 'https://cdn.discordapp.com/attachments/730523536036331520/731133370003619880/message.txt', name: 'message.txt', id: '731133370003619880', size: 2001, url: 'https://cdn.discordapp.com/attachments/730523536036331520/731133370003619880/message.txt', proxyURL: 'https://media.discordapp.net/attachments/730523536036331520/731133370003619880/message.txt', height: null, width: null } }so attachments are logged like this, but when i tried to access .name of message.attachments it returned undefined
@pure lion did umessage.attachments.get(index)?
o
attachments is a collection
at the end put message.channel.send(embed) @earnest phoenix
A message can have multiple attachment, so doing message.attachments.first() would be best practise
so how to make a translate command in js
which one
or use the google translate api
Any really... Just find one that suits your needs
at the end put message.channel.send(embed) @earnest phoenix
@earnest phoenix Which line?
api
bro api hates me
or use the google translate api
@earnest phoenix that one's paid
free plan is barely useable
there's this one https://tech.yandex.com/translate/
The API provides access to the Yandex online machine translation service.
https://i.alhassan.best/u/F5cHDYKmpQ.png Not expensive
thx
How do I use .get properly
message.channel.send(embed) shouldn't be there tho
ehhhh
you're telling him to put it in the wrong scope
wiat
why are you making an embed like that?
put it outside @earnest phoenix
yah
Can someone help me with .get of message.attachments
How to make the embbed then?
bruh
Make normal embed without and pic how?
<Discord>.MessageEmbed()
Like this?
enough?
u did it before
why did u comment it for
For the below part
This now fine coding right
yes though u dont need embed.setdesp just .setdesp will do
and no ; at the end of MessageEmbed()
but the bot doesnt do it
k
The bot wont sent the embed
Ooof β
π¦

Howthefuckdoiuse.get()?
let stomthing = msg.content.substring(7);
let embed = new discord.MessageEmbed()
.setDescription(stomthing)
.others
message.channel.send(embed)
somthing like that
:<
and what's msg.author.defaultauthorurl
if u are trying to get the bot's pfp dont use that
just use bot.user.avatarURL()
and users pfp then user.avatarURL()
and no ; at the end of MessageEmbed()
@earnest phoenix
you should add semi colons, not tell people to remove it
pfff
how're u trying to display the date?
js or py
How do I check if the message has an attachment
my bot just went offline and it giving me this in the console anyone know what this is?
ERRORβ EACCES: permission denied, open '/rbd/pnpm-volume/62330f54-4ce4-4650-bffe-06d5c4341e57/node_modules/path/package.json'
if (message.attatchments)
@earnest phoenix seems like it cant open that file
because of permissions, never seen that though
windows or linux?
@digital ibex
@digital ibex not working
if (!msg.attachments) {
return
} else {
var key = msg.attachments.keyArray()[0]
var attachment = msg.attachments.get(key)
if (attachment.name.endsWith('.txt')) {
console.log(attachment)
}
}
windows or linux?
@honest perch glitch.com

The strange thing is
Uninstall all packages and reinstall
itβs is a clone of my bot
or enable-pnpm
this is to get server join date right
Yws
or dicord
That's what I use
Kk
.addField("**Joined Server:**", `${member.joinedAt.toDateString()}`, true)
u have to define member
if (!msg.attachments) {
return msg.channel.send('h')
} else if (msg.attachments) {
msg.channel.send('hh')
var key = msg.attachments.keyArray()[0]
var attachment = msg.attachments.get(key)
if (attachment.name.endsWith('.txt')) {
console.log(attachment)
}
}
it always sends hh
hmmm
attachments is an array/collection
.addField("**Joined Server:**", `${member.joinedAt.toDateString()}`, true)
u have to define member
@earnest phoenix
I can replace it with user
you need to check the size
sure
Oo
ReferenceError, i was afk. whats the issue?
pfff
wot
what library are you using
if its d.js there are events that you can hook on to run it
look into the guildMemberRemove event, https://discord.js.org/#/docs/main/master/class/Client?scrollTo=guildMemberRemove
^^
NotPascalCase
camel case is likeThis first word is lowercase and second and rest are upper case
or_actually_what_is_the_name_of_this_case_no_joke
snake_case
firstWordIsLowercaseAndTheOtherWordsAreUppercase
itLooksBetterThanSnakeCase
we have somewhat standardized PascalCase for constructors and camelCase for everything else basically as a norm
butthisismyfavourtiecasewtfreadthefirstfourlettersofthismessage
tbh
writing in camel case / any case is just effort
i just write with no spaces and with no caps or anything apart from like once or twice i think, idk. but usually i dont
and there's llamAcasE
indeed, if you know your stuff, you shouldnt bother, but even in jobs people will tell you to keep standard as other people have to peer your code
its not a bad practice to follow norms of your lang
am confused
let filebin = fs.readFile(attachment.attachment)
(node:23272) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
not sure how to fix, ive logged .attachment and its the URL of the attachment
:<
what was i supposed to give
just like
add an empty bracket thing with an arrow function / function and do whatever u wanna do in that
() => arrow
oh
@pure lion what are you trying to read?
url of an attachment
I think you can
var key = msg.attachments.keyArray()[0]
var attachment = msg.attachments.get(key)
if (attachment.name.endsWith('.txt')) {
let filebin = fs.readFile(() => (attachment.attachment))
bin = filebin;
console.log(bin)
same error
at least it says url instance. I don't know if that also applies to http
ignore me then
what is bob
foo
a url
oh cool, he got a new job
is there a way i can put the file content to a string?
is it just filebin.tostring()
when i log it it returns undefined
@pure lion use fs
i am
Anyone now how the code must written in python, to get from member the badges?
They were added in 1.4.0
probably something like flags
https://hasteb.in/tuqageca.js
I always get
UnhandledPromiseRejectionWarning: DiscordAPIError: 404: Not Found
and that didn't happen before but now it does and idk why the only thing I did was add a stop command after I made this command and thats it
where's the rest of the error message?
404 not found
There's no guarantee the bot will be in a voice channel likely
and the error doesn't show any line
Full stack trace pls
await client.channels.fetch(message.member.voice.channelID); is probably your issue
(node:216) UnhandledPromiseRejectionWarning: DiscordAPIError: 404: Not Found
at RequestHandler.execute (C:\Users\Link\Documents\coding stuff\Sonic Bot\download copy\node_modules\discord.js\src\rest\RequestHandler.js:170:25)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:216) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:216) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Crack
@sudden geyser it worked before though
Because the member isn't always in a vc
and I tested it with being in a voice channel
no
I am fetching it
so thats not the problem
cuz it gets cached bro
if (!channel) return message.reply('You need to be in a voice channel.');
and I had this
Fetching channel
so why
yes
im using discord.js-light its not normal discord.js
it doesn't cache everything like discord.js would
so I have to fetch most stuff
so no
no cache
only fetch
^^^^^
I
fetch
it
and I don't need cache for that
cache is just so you can use that shit object for later after you fetched it
so you don't have to make api calls
smh
I get it through fetching that shit
also I posed the code above
in the link
and it did work before
so I know for a fact it works
smh
now for some fucking reason It doesn't work anymore
umm why does npm i libxmljs not work
its api problem or smht then
k then go ahead and fucking redirect me
it gives an error
Whats the error @earnest phoenix
@prisma ivy metahnet ?
hey, does anyone know why im getting this error: TypeError: Cannot read property 'length' of null ? π€ the code is just
message.content.slice(prefix.length).trim().split(/ +/g);
I log prefix.length and it logs 2
any ideas? im confused why this is happening
Is prefix defined
O
the error is with the fix (npm install libxmljs) for this error:
fuck my mouse took me back to New Tab on Chrome
Is it in the same scope?
yeah
Can we get some code
this is the error that someone on stackoverflow told me to fix by npmi libxmljs. i use glitch for my bot at glitch.com/~codecodiscordbot
const mprefix = new RegExp(`^<@!${client.user.id}> `);
const prefix = message.content.match(mprefix) ? message.content.match(mprefix)[0] : guild.prefix;
console.log(`preficx length: ${prefix.length}`);
const args = message.content.slice(prefix.length).trim().split(/ +/g);``` my one stopped working, so i used the idiots guide
but that one errors too
now im confused
@earnest phoenix its a channel name
And it logs 2?
this is the error that someone on stackoverflow told me to fix by
npmi libxmljs. i use glitch for my bot at glitch.com/~codecodiscordbot
@earnest phoenix anyone
yeah
read the message.txt file pls
Thars so weird
@earnest phoenix can u pls screnn shot and s3nd the txt file
ok
just use hastebin.com
no u dont he was around 20 microsecond faster
and why is it marked as .sql
it is javascript errors
not database
wtf am i saying
well since nobody could help me in here I tried to debug and I found out it was the botChannel part cuz it tried to fetch the vc the bot was in but the bot wasn't in a vc ofc so it didn't work
no
herouku is shitter
Honestly you where raging so much I didn't read your code link
Oop
@earnest phoenix u will have to reset everything when free hoasting ends
use google cloud
Also will need to reset when free hosting ends
google clouds good tbh
ask your mommy
still less than nitro classic
fax
I get like idk way more than that money monthly so bruh
who said dollars?
4 dollar is 280 for me
it's euros
Feels bad
idk if contabo has dollar plans
4 dollars is 3 for me
best is buy a rasberry pi
just use contabo or sumthiing
F
hm, any ideas with my issue, anyone?
https://discordapp.com/channels/264445053596991498/272764566411149314/576818380498010112
SkySilk have cheap options too
I could not join the voice channel: Error: FFMPEG not found
you don't have ffmpeg
obvious
i do
"ffmpeg": "0.0.4",
use ffmpeg-static
prism-media doesnt support ffmpeg module coz it is deprecated
ill try that thanks
no luck
Does anyone here know a lot about webhooks
what exactly are you trying to do?
Does anyone here know a lot about webhooks
@earnest phoenix i know enough, whats up?
displayAvatarURL()
huh?
Instead of defaultavatarurl
default: the dicord logo
Change defaultavatarurl to displayAvatarURL()
message.author.displayAvatarURL()
Which line?
tf
etynjdgshdtfghzdryh

edrthrjfgdhnfgsjgfgjfjgdgjfjggfgjggfghj

I meant 30
fuckufkcufckufckfu
i haven't had coffee today I'm sorry
-m 399221618330697728 1 day you cant be serious
then change
message.author.displayAvatarURL()
yes!
The full line?
default -> display
yes
<= crying
K
const pain = true;
lmao
Replace message.author.defaultAvatarURL() with message.author.displayAvatarURL()
Replace
message.author.defaultAvatarURL()withmessage.author.displayAvatarURL()
@slender thistle That's what we said a few times xd
π€ so how do i add css into the detailed description
omg woo is green
in style tags
style="color: red"
<style> tag
@earnest phoenix u should read discord.js docs first
<style> tag
@slender thistle or like that
css
</style>```
I understood
<style>
retar{}
</style>
@amber fractal is this html
It's css
diff between html and xml?
No this is patrick 
Internal stylesheets.
HTML is creating the elements
CSS is styling the elements
ah
oo
html: saw
css: scapel
this is also a btn
Yea. If you don't know.. look into external, internal and inline CSS
css is so easy btw
scss > css
Depends upon what you do lol
css lacks a lot of features, which scss has
Css flexbox, grid confuses lots of people.
OwO
As most of u know there are discord nitro snipers which snipes discord Nitro links or any discord links so if we embed a MSG does it get sniped? Ping me when answering
And even i have to look it up again.. as i forgot.
a:hover {
do:a-barrel-roll
}
And even i have to look it up again.. as i forgot.
@strong fjord Remembering all the syntax is hard
Exactly. @ebon kelp
I was introduced to flexbox quite early and essentially abuse it almost everywhere where I give up on positions
Front-end web developers have struggles aswell
As most of u know there are discord nitro snipers which snipes discord Nitro links or any discord links so if we embed a MSG does it get sniped? Ping me when answering
@earnest phoenix still possible to snipe
Hmm
I know css, html, JavaScript, sql, php, c++, c, java, etc
Reading embed content is possible
How to prevent it @slender thistle ??
php 
It gets tough to remember all of it.
asking "who needs Nitro"
@ebon kelp php syntax sucks
How to prevent it [redacted]??
@earnest phoenix you can't really (unless you use dms)
not really
and accepting only whoever's been active recently
@misty sigil K thnx
Especially comparison is like.. you have different operators for string comparison and number comparison
Maybe it might have got fixed by now.
"hello" . " " . "world"
I am not sure. Confirm if you know
concat in PHP is hell ngl
Second shitty syntax is of shell scripting
PHP is hell
i thought this is development channel, not the place to complain about programming languages
same thing
true
We can have a conversation about language hehe
same thing, probably
Don't take php personally
how do I see who banned who, trying to make a security bot and I dont know how to find out who banned who



