#development
1 messages · Page 1303 of 1
Hi ushi, I think this isn't a place for disboard, ty
Oh
Where can I find help?
hi flazepe, ty for your idea 😄
.bot-img {
border-radius: 100% important;
box-shadow: none !important;
}
@pale vessel help meh
iedk
Where can I find help?
@earnest phoenix try ask google for disboard, afaik it's not a place for disboard and not related to disboard, ty.
Okay thanks
client.on('message', async message => {
}
@dark kestrel is this on a vps or on something like glitch/heroku?
gcp
@pale vessel w
Ah
is this code ok? ```js client.on('message', async message => {
} ```
no
@quartz kindle i whitelisted port 3000
async(message) => {
but still
@dark kestrel you need to open your port in the gcp firewall
async(message) => {
@open runeasync messageis still valid, they need to close their event
yes
@quartz kindle i did
it didnt work
<style>
.shapes-background {
display: none !important;
}
#bot-img .bot-img {
border-radius: 100% important;
box-shadow: none !important;
}
</style>
!important, not important
it is saying
app.listen(process.env.PORT || 3000, () => {
console.log("server is running on port 3000")
});
by the way, you should omit !important if it's unnecessary
i haven't add PORT so it alawy run on 3000
is port 3000 open?
OMG IT works
so i have a question, if its possible
Lol
so remove it
yes
i have a question:
.addField( "prize:", args.slice(1).join(' '))
i want that it will send the args.slice(1).join(' ')
like that:
args.slice(1).join(' ')
did you try it?

nice
can I edit this?
i cant add that stuff
to args.slice(1).join(' ')
@tardy hornet what error do you get
not a error
i just cant
.addField( "prize:", args.slice(1).join(' '))
the args slice send that:
and i want it to send the prize in ```that

Inspect the element, get the tag/id and change the element in css
LMAO
lol
you're not allowed to
is is possible?
says who
copyright
@solemn leaf good one xd
actually
I have to read the copyright about the logo
hold up
if it doesn't satte that I cant edit the logo
I can edi thte logo
its old
@solemn latch sorry for the ping, but can you look DMs?
return res.redirect('home', { name: req.body.username })
What will be the correct one ?
like i said, please dont dm @tardy hornet
<img class="logo" src="/images/logoinverted.png" width="150px" height="150px">
like i said, please dont dm @tardy hornet
@solemn latch sorry 😦
html body footer div.centered.clearfix div.footer-logo {
}
LMAO
right what?
html body footer div.centered.clearfix div.footer-logo {
}
what r u trying to do?
change the logo
might wanna verify with a mod thats okay to do
which is most chill
dylan
all the mods have always been nice to me
maybe
.logo > img {
background-image: url('image.png');
}
Whats the file to change bot status
How do I make a modrole command in discord.py? I need this so instead of needing manage_perms or ban/kick_members perms, it'd be the role set
.logo > img {
background-image: url('https://cdn.discordapp.com/attachments/272764566411149314/763460705247821874/LogoNew.png');
}
no, u said bottom so...
LOL
it's different one
it is ok for ratelimits to delete every msg 10 seconds after my bot sends it
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzNyIgdmlld0JveD0iMCAwIDMwIDM3Ij4KICAgIDxnIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTTIyLjAxIDcuODg2VjUuNDUyYy45Ny0uNTExIDEuNDc4LTEuNDYgMS40NzgtMi41MzFDMjMuNDg4IDEuMzE0IDIyLjE4IDAgMjAuNTgxIDBjLTEuNTk4IDAtMi45MDYgMS4zMTQtMi45MDYgMi45MiAwIDEuMDcxLjQ2IDEuOTk2IDEuNDI5IDIuNTA3djIuNDU5aC04LjcyVjUuNDI3YTIuOTI3IDIuOTI3IDAgMCAwIDEuNDMtMi41MDZDMTEuODEzIDEuMzE0IDEwLjUwNCAwIDguOTA2IDAgNy4zMDggMCA2IDEuMzE0IDYgMi45MmEyLjkgMi45IDAgMCAwIDEuNDc4IDIuNTMydjIuNDM0SDIyLjAxeiIvPgogICAgICAgIDxwYXRoIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTI2LjM4OSAxMGMxLjk0NCAwIDMuNTE4IDEuNTYzIDMuNjExIDMuNDAxVjM3bC0zLjYxMS0zLjg2SDMuNTE5QzEuNTc0IDMzLjE0IDAgMzEuNjY4IDAgMjkuNzM3VjEzLjQwMUMwIDExLjU2MyAxLjU3NCAxMCAzLjUxOSAxMGgyMi44N3pNMTEuNSAxOGgtM2MtLjgyNSAwLTEuNS42NzUtMS41IDEuNXYzYzAgLjgyNS42NzUgMS41IDEuNSAxLjVoM2MuODI1IDAgMS41LS42NzUgMS41LTEuNXYtM2MwLS44MjUtLjY3NS0xLjUtMS41LTEuNXptMTAgMGgtM2MtLjgyNSAwLTEuNS42NzUtMS41IDEuNXYzYzAgLjgyNS42NzUgMS41IDEuNSAxLjVoM2MuODI1IDAgMS41LS42NzUgMS41LTEuNXYtM2MwLS44MjUtLjY3NS0xLjUtMS41LTEuNXoiLz4KICAgIDwvZz4KPC9zdmc+Cg==" alt="Discord Bots" title="Discord Bots">
yeah thats the wrong one
you cant edit buttons
.footer-logo > .logo {
background-image: url('https://cdn.discordapp.com/attachments/272764566411149314/763460705247821874/LogoNew.png');
}
@solemn leaf
the one on the bottom isnt a button
it will practically double the number of api requests @earnest phoenix
xD
it will practically double the number of api requests @earnest phoenix
@solemn latch but it isnt a huge problem is it
The point is to make it yourself
if i use cooldowns
and make it cover
Look it up, not going to have anyone give you it here
.footer-logo > .logo {
background-image: url('https://cdn.discordapp.com/attachments/272764566411149314/763460705247821874/LogoNew.png');
background-scale cover;
}
when someone can litrally copy theirs or something, chill
.footer-logo > .logo {
background-image: url('https://cdn.discordapp.com/attachments/272764566411149314/763460705247821874/LogoNew.png');
background-size: cover;
background-repeat: no-repeat;
}
@solemn leaf
not scale lol
oh
make sure it's not repeated like the image before xd
yeah we should
I want the raw image
/images/logoinverted.png
so it fits
hold up
What did this mean https://pastebin.com/b6Au34R1
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
that you didnt define ytdl
wym
you try to use a module
but didnt define it
const ytdl = require('your_module')
ew ytdl
im make a music bot
Music bots generally don't scale well
@open rune do I add furry ears?
what is a module
yes
ok
what is a module?
google it 🤔
docs
can u check this https://pastebin.com/9mtY4UzQ
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
and tell me what the problem
i feel like we have talked about this before.
just saying check this isnt going to work
we are not your personal testers
@open rune can you work on getting the old image deleted
lemme see
@solemn latch i run the command and it not working so im ask of u can see what the problem and ur not my personal testers ur just someone that responded to my message.
okay then say WHATS WRONG PLEASE
if somethings not working, we need to know what to help
@solemn leaf
.footer-logo > img[src='/images/logotrans.png'] {
display: none;
}
omegalul

@solemn latch i look up what mean but i still dont understand
you need to define it.
heres an example of defining something
let thingy = "something else"
ok
first result on google explains it well
kek
@solemn latch like this? const ytdl = require('ytdl-core');
@solemn latch thank you
@solemn leaf
.footer-logo > img[src='/images/logotrans.png'] {
display: none;
}
.footer-logo {
width: 100px;
height: 100px;
background-image: url('https://cdn.discordapp.com/attachments/272764566411149314/763466994468651018/Log1o.pn.png');
background-size: contain;
background-repeat: no-repeat
}
Aaaaa XDDD
it work?
yes, but I need to edit
wdym
added width and height, changed background-size: cover to background-size: contain
it didnt delete
eeehhhh....
<style>
.footer-logo > img[src='/images/logotrans.png'] {
display: none;
}
.footer-logo {
width: 100px;
height: 100px;
background-image: url('https://cdn.discordapp.com/attachments/272764566411149314/763466994468651018/Log1o.pn.png');
background-size: contain;
background-repeat: no-repeat
}
.shapes-background {
display: none !important;
}
#bot-img .bot-img {
border-radius: 100% important;
box-shadow: none !important;
}
</style>
how to wHiTELiST???
oh, make sense
-bots @open rune
Aaaaa
could that be why?
yes, that's called cross platform
I'll find way out
wait i think that against the rule ?
Wut the heck
lmao
2018 lol
so u can make the page to ur own
i mean yeah
the copyright isn't valid anymore so you can steal everything 
Is it stealing though? 
Can someone help me?
we're borrowing
I'm not giving it back
Say you forgot to give back
what @ team are doing smh
actually
wut r intents?
||Idek what we are talking about tbh||
I mean
Netherlands
Gooimeer 8, 1411DD Naarden, The Netherlands. KVK registration number: 70654115, The Netherlands. Use of this Web site constitutes acceptance of the Terms and Conditions and Privacy Policy. All copyrights, trademarks, service marks belong to the corresponding owners. For support email us at support@top.gg, call at +31857733181 or +1 (831) 709-9211
I dont know netherland law
i wanna go eat my snack but i wanna aplly first
yes it doesn't work on edge too
wHAT r intents?!?
https://top.gg/robots.txt
I'm taking this though
wat r inents!?
Copyright in the Netherlands is governed by the Dutch Copyright Law (called Auteurswet), copyright (auteursrecht in Dutch) is the exclusive right of the author of a work of literature or artistic work to publish and copy such work. ... The duration of a copyright is generally 70 years after the death of the author.
it's still protected
There is an error with my help command so otherones cant find my commands so what should I do
have a mental breakdown
şşsföşdşsfşclslşdcll
yes, like that
anti funny
ask stupid questions get stupid answers
okey
Get some help in #general-int probably
You should type /kill @s
?
copyright
idc
You should type /kill @s
@solemn leaf
@solemn leaf it's not working yet
lmao
doesn't work????
@_@
wuts server members intent?
@earnest phoenix
/execute @e[type=dragon] ~~~ summon tnt ~~~
isn't it explained on the dev page
You shoukd type it like /kill @s("boolean")
you're able to receive updates about members with that intent
@earnest phoenix
```/execute @e[type=aki] ~~~ summon tnt ~~~`''
ok
lol
Hahahahahahahqweqewwwqeqw adsdassszsss
?
you shoukd type .killYourself{"with netherite sword"}
yes
type process.exit() in eval @solemn leaf
Lmao
it exits to a controll panel
WHAT DOES EVAL COMMAND DO
where u watch shit
oml
eval
dont use it ok
No imma use it
if u so somethin wrong
U bot go 1 server on top. Gg
i can still access your token if i had access to eval
bet
give the code
I give it for 99999999999999999 usd
🙃
cry will give for fre3e
process memory reading, shuffling the string so you fail to detect the token, accessing the token property through object keys & values, shallow copying the client etc. are ways someone can access the token
so
tldr dont expose your eval to anyone but yourself
all it takes is a call to ReadProcessMemory 
unless one shuffles or reverses it
yes but remember that the string can be transformed so you can't detect it
ffffff
@solemn leaf where do u host ur bot
raspberry pi
someone can also just call kernel functions like this https://docs.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-readprocessmemory
@solemn leaf dont lie i see u got glitch acc
what version u got
wdym
3
rlly
want a fucking image
U know raspberry pi are connected to ur wifi
It has to have a network
To be on
yeah
good luck
using my eval command
to setup my network
to be rooted to my pi
oml
and then call memry from it
dont you understand
you dont know a shit about eval
you know someone can delete ur files with eval
Aki
Tell me one thing. Did you restrict eval to yourself only
yeah duh
he did
i dont know what is this duds prob
nothin
Then what are all these lectures for
idk
And be more civil next time
@slender thistle smash or pass
no, I am military
Did you see the word "off-topic"?
its on topic
It's not a dev question?
@open rune what else should I do to make the page look sexy
yeah
its a dev question
what's wrong with people nowadays
shivaco

Anything that's not the approvalSection class, navbar, or the main functionality buttons is allowed
how do i check if the bot is connected to a vc in a guild? discord.js
navbar?
@solemn leaf make some hover on the button lol
The goddamn box at the top with buttons like "Home", "Discord Servers"
I made it
@open rune I was gonna do that
As long as they're not hidden, feel free
:D
I was gonna make it our profile
who can help me do a .env
@open rune you know the embed that discord has that shows vcs and member count
make the join support server
also a hover button
and make it show that

aaaa no
-faq 3
^
@open rune actually here
<iframe src="https://discordapp.com/widget?id=722940204414926949&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
html body section#bot-details-page.page article.wrapper-page div.container.is-widescreen div.columns.is-tablet.is-desktop div.left-container div.column p.bot-btnss a#support.botpagebutton
hmm?
wait a moment
aaa
Is there a vscode ext for asm that does intellisense?
?
psh theres an extension for everything
PsH
quick guys
?
@solemn leaf
No one would do that.
i did too, for a guild thats private 
like how to find the marketplace?
American society for microbiology
google doesnt like asm
all it takes is a call to ReadProcessMemory :mmLol:
@earnest phoenix Can you elaborate on that?
also came up with https://www.afterschoolmatters.org/ lmao
@faint prism you can pull the token out of the memory since it's being constantly used in requests and it's backed in a field
Right, you mentioned that you could do that from a eval I think, yeah?
yeah
@open rune you good lmao
i'm pretty sure node can call kernel functions
I can see it with a debugger on the processes, but how would you read memory from within node.js
nevermind
node needs bindings
i'm pretty sure you can create that on the go even from eval though with node-gyp and some process magic
Okay boyes I'm gonna go learn assembly
@pure lion read about LMC
Is that preferred orRrrRRr...?
@misty sigil stfu it's my birthday I wanna learn a new lang
ok
It's a simplified instruction set to ease into it
It's what my class is currently learning
7 weeks 🤷♂️
rip
can someone help me with a discord oauth2 in a spring boot container with spring secourty my problem is that my application.properties did not work with discord but with services like google or facebook
spring.security.oauth2.client.registration.discord.client-id=
spring.security.oauth2.client.registration.discord.client-secret=
or did i have to use something else then discord
Those var names long enough???
thats a good qouestion ask spring haha
no but they should be right because when i change discord with google i get no exceptions or some thing like that
Oauth is oauth
@green kestrel while your here can I change the color of this
k thanks
Right click it and inspect element to find out it's class name
how can i get like the quote update
?
it'll probably be added to your lib with the api update 
like where would i go to get updates like those
like not bot
Inline replies?
might be on canary
yeah
just checked, doesnt seem to be for everyone on canary
so its prob a test build, the one devs give
if your sharding you needa do something else which i dont remember
you need to eval on each shard and add the totals
theres no directory
Wanna send github link for the code?
See the server directory
Do you want the github code?
To see it
looks like the wrong path to me
wdym
server/src/commands not server/dist/commands
.color-blue::code {
color: none !important;
}
html body section#bot-details-page.page article.wrapper-page div.container.is-widescreen div.columns.is-tablet.is-desktop div.left-container div.column p.text-secondary span#prefix.color-blue code
I see it by tutorial @crimson vapor
html body section#bot-details-page.page article.wrapper-page div.container.is-widescreen div.columns.is-tablet.is-desktop div.left-container div.column p.text-secondary span#prefix.color-blue code
Do you want the link?
wdym
yo woo
I make that from tutorial
O
On YouTube
For dashboard
Do you want the tutorial link?
no
What to do
hi
the basics not enough to explain anything
what about paths
nope
im bad at googling
shivaco
im really bad at it not lazy
HELLO
pls
.color-blue::code {
color: none !important;
}
html body section#bot-details-page.page article.wrapper-page div.container.is-widescreen div.columns.is-tablet.is-desktop div.left-container div.column p.text-secondary span#prefix.color-blue code
We're here to help, not straight-up redirect people to Google btw
buraya kendı votumuzu mu eklıycez
okay what the hell is that big line of text
You ever tried Inspect Element and viewing the element's class/id?

right
in your browser, f12
ik
or control shift i
oh look it has an id of prefix
You might be able to use #prefix as the selector
it's not even that
wait I'm also blind
.color-blue > code {
color: none !important;
}
> code is fine for this case since that's how top.gg HTML is
I'd suggest using #prefix instead of .color-blue unless that's not what you want
#prefix .color-blue > code {
color: none !important;
moz-color: none !important;
}
Epic CSS Tip:
Use # for id
Use . for class
I thought we learned that in CSS guides
we did?
yeah? like the very beginning?
You're supposed to know how selectors work if you actually went through a CSS guide
I got held back in CSS school
Internet, w3schools
You didn't do well in css class?
Brain please get out
Maybe you should have used a fake id
Did you break the rules or something
w3schools: XHTML 1.1 and html 4!
Everyone:
Interactive snippets do be hot
it isnt changing
I haven't learned jack shit from Codecademy ngl
Python:I am the best in web
Html css php:Wtf
Js: ...
PHP is debatable
<html>
<head>
<body>
<arms>
<hands>
<legs>
<ankles>
<feet>
<toes>
)#(₺(((₺(((
stealing my memes
jjkskdlslsöşd
@earnest phoenix div#pun:first-child { font-weight: 9001; }
nah thats an old meme 🤔
This isn't #who-stole-whose-meme-arguments channel
kek
no you stole my meme @slender thistle
Very readable prefix
lmao
i didnt know it was that dark
hold up
@slender thistle would #4a4a4a be good?
I wonder if there's an online site that runs fishing courses called codacademy
why is mod breaking rukes
No 4a4a4a would look like donkey spew
(I'm showing how what colour looks good is purely a matter of opinion)
typically dark background = lighter text
use a backend server
like express
and ejs
you can't
you'd need to use ejs for that
or the equivalent in your lang
yea
ejs works well
do rainbows break the rules
if so just install the ejs module and you can render it with ```js
res.render("<ejs file here>.ejs", {
a: {"t": true, "mongo": true, "user": user}
})
but dont name any variables client
or else ejs has a fucking stroke
<%= a %>
``` iirc
ill check
user won't be defined
its ```js
<%- a -%>
aye
@earnest phoenix's right
ima just gonna keep useing glitch :/
a#support.botpagebutton {
content: "Support Server" !important;
}
wat
k thank
pls
we dont spoonfeed code here
call meh shyboi
@languid dragon oh css jesus, would like to ask for your help, because i can't get an image to sit next to text
whats CSS?
Search it up online
o
^^^
i just need help on autonickname
would it be like this?
a#support.botpagebutton {
content: "Support Server" !important;
}
I think it is
why did it delete that
im pretty sure img's are already display inline-block, you probably borked it or something
<a class="botpagebutton" href="https://discord.com" id="support">Join
Support Server</a>
do you even have to search this stuff up
no
if anything displays
I FOUND IT
::after
ok
gr
#support.botpagebutton::after {
content: "Support Server" !important;
}
@languid dragon ah yes
@trim saddle want a cool hack?
yeah I want a cool hack
.that-container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
do that on the container
oh and
that one is imporatnt
@languid dragon congrats on getting onto the team
I can just copy the sites html
why are you congratulating me
no i've been on the team for a while now
and previously before that a year or so ago
New pfp?
perhaps
Makes sense 😂
Please don’t ping Team members @earnest phoenix
i'll allow it
They were already in the chat
Alright
@solemn leaf
heh
im lookin
how am I supposed to change it extactly
No I mean add it to my code
if(!msg.member.roles.cache.has('Ryu')) return msg.reply('You can\'t use that!'); isn't this should work if i have Role ryu?
because it's not working lol
I mean it has html stuff how do I add that
.has() works on id iirc ?
if you wanna use names you should filter
idk
yeah
we can
but its inside of a box
cant
why bcs it doesn't work liek that
.botpagebutton > .support::after {
content: "h";
}
will this not work
No not really
bcs we cant edit their code
only with css
change my html
?
I was coping code from you
if I could
I wouldn't be here rn
I would be having the time of my life doing some html5 fun stuff in the site like games
i was gonna try and make a css game work
html body section#bot-details-page.page article.wrapper-page div.container.is-widescreen div.columns.is-tablet.is-desktop div.left-container div.column p.bot-btnss a#support.botpagebutton
i require assistance
how would i promisify IPC? Sending a function to a different bot, then returning a promise

like making a promise?
well yeah, but between different processes
trying to fork childs but i kinda need to wait for the execution to be completed before continuing
the problem is, im already using forked process
so i'd need to come up with a way to work that within it
i feel like you could just make a normal promise.
a.botpagebutton:not(#support)::after {
content: "Join the Server";
}
.botpagebutton#support::after {
content: "Support the Server";
}
what i could do is add a listener with a promise and just keep listening to events returned with the process unique identifier
erwin
@earnest phoenix How do I make a hover button that makes a drop down image
if thats ur question
actually yes css here
then i cannot help
I mean I don't know how to make a hover
is it ::hover
html body section#bot-details-page.page article.wrapper-page div.container.is-widescreen div.container.is-widescreen div.owners p#createdby b
is the path b
why does vsc look like .env is a script
just b
html body section#bot-details-page.page article.wrapper-page div.container.is-widescreen div.container.is-widescreen div.owners p#createdby b a
yeah
i tried explaining that yesterday
🤷♂️
<b><a href="/user/485987127809671168">
<img src="https://images.discordapp.net/avatars/485987127809671168/a_bdea871bbe8c1d9ecba39be1d665206a.png">
<span>
【↜𝒜𝓀𝒾↝】<i>#
9470</i></span>
</a></b>
How would I make the hover for this?
b::hover {}
it's just following selectors based on your element placement lol
ill stick with glitch cause im a dumbass
youve been having issues with env vars for a day now because glitch 🤔
... vsc is different than glitch
glitch uses .env because it isn't an actual machine
it doesn't exist
so it uses .env to simulate environmental variables
on an actual machine with an actual OS you use the environmental variables from the OS
if i put my bot token in .env in vsc will it run?
hi, how i can make one webhook to connect the discord with dbl ?
:>>>>>>>
thats the idea of env vars
im opening vsc
(sorry my english kek)
oh uhm ok
i dont think dbl webhook supports directly to discord
youd have to connect the webhook to your bot then from your bot to discord.
@hallow frigate
Here's a great ex. on connecting dbl with a webhook: https://github.com/DankMemer/webhook-server/blob/master/endpoints/dbl.js
@earnest phoenix thank you
i put the token in
b > * > img::hover {
background: url("https://images-ext-2.discordapp.net/external/zkNg1ZMJYuVxB9O56tKKCw6ZWJaz6kWHinJHpT3c_m8/%3Fv%3D1/https/cdn.discordapp.com/emojis/731893936217653301.png") no-repeat;
}
fucking hell i ave a feeling im butchering my code again
@earnest phoenix that right?
i tried launching it but
I did google
Can't find Node.js binary "node": path does not exist. Make sure Node.js is installed and in your PATH, or set the "runtimeExecutable" in you launch.json
do i need node
yes lol
uh just download it?
who here is big brained enough to understand what i wrote here?
i have smol brain so i understand nothing
i understand this @opal plank
bruh i shit you not i think im going too far into this

clustering has been proving to be a fucking nightmare of a project
is it background-image:
LTS
k
can I just do b:hover
1000% true
and 80% debugging
96% of debugging is knowing how to google
and then noticing the fact that it doesnt sum to 100% is also a bug
how do i run code every (set amount of time)







