#development

1 messages Β· Page 812 of 1

golden condor
#

node-gyp

#

and integer

pale vessel
#

you don't need integer

#

the dependant will install it

#

it's node-gyp that's causing it

golden condor
#

parse error: Expected another key-value pair at line 11, column 3parse error: Expected another key-value pair at line 11, column 3

pale vessel
#

json error?

golden condor
#

I put in a comma by accident

pale vessel
#

oh

golden condor
#

Item could not be created:

Your account has reached its concurrent builds limiItem could not be created:

Your account has reached its concurrent builds limi
pale vessel
#

it's okay

#

ignore it

#

did you verify your account btw

golden condor
#

Yes why

pale vessel
#

all right good

#

otherwise your bot won't run 24/7

charred jetty
#

throw err;1:39 PM

^1:39 PM

1:39 PM

Error: Cannot find module '/rbd/pnpm-volume/04d2b97d-b6b0-4096-bd33-46a980d362e6/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node'1:39 PM

Require stackπŸ‘39 PM

- /rbd/pnpm-volume/04d2b97d-b6b0-4096-bd33-46a980d362e6/node_modules/sqlite3/lib/sqlite3.js1:39 PM

- /rbd/pnpm-volume/04d2b97d-b6b0-4096-bd33-46a980d362e6/node_modules/discord-money/index.js1:39 PM

Jump To- /app/server.js1:39 PM```
#

Error

golden condor
#
       gyp ERR! cwd /tmp/build_908c912218be718dae003ed9c0a1f643/node_modules/integer

       gyp ERR! node -v v13.10.1

       gyp ERR! node-gyp -v v5.0.7

       gyp ERR! not ok 

       npm ERR! code ELIFECYCLE

       npm ERR! errno 1

       npm ERR! integer@1.0.7 install: `node-gyp rebuild`

       npm ERR! Exit status 1

       npm ERR! 

       npm ERR! Failed at the integer@1.0.7 install script.```
pale vessel
#

I just hate anything that needs node-gyp

#

it's a pain

hoary elm
#

I honestly stopped using node-gyp and anything related

#

Constant errors

pale vessel
#

same

mossy vine
#

am i the only one that never had problems with it

pale vessel
#

idk yes?

#

one of the reasons why i couldn't use canvas

hoary elm
#

Lol

finite bough
#

@mossy vine nope

#

xD

#

I read like 50 docs before adding even a line

#

so I dont get much errors

hoary elm
#

πŸ€·πŸ»β€β™‚οΈ I just wasn't allowed to use it period tried adding it to my bot and everything said NOPE!!!!

golden condor
#

Apparenly, heroku can't install integer

charred jetty
#

Error fixed

#

Af

true ravine
#

How does one install an integer?

mossy vine
golden condor
#

Help

#
I could not join the voice channel: Error: Could not locate the bindings file. Tried:
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/build/node-opus.node
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/build/Debug/node-opus.node
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/build/Release/node-opus.node
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/out/Debug/node-opus.node
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/Debug/node-opus.node
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/out/Release/node-opus.node
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/Release/node-opus.node
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/build/default/node-opus.node
 β†’ /rbd/pnpm-volume/0f5820b6-fa0f-4e8f-ba68-8ab021a8e3bf/node_modules/.registry.npmjs.org/node-opus/0.3.3/node_modules/node-opus/compiled/10.15.3/linux/x64/node-opus.node```
#

How do I fix this

storm bluff
#

i am trying to make economy using discord-money package but i want to make if user mention user send how much have money
message.mentions.users.first()

golden condor
#

OK

#

money.fetchBal(user.then(whatever))

storm bluff
#

thanks

#

what's whatever

#

@golden condor

golden condor
#

Whatever you wanna put in

#

money.fetchBal(user).then(whatever you put afterwards)

storm bluff
#

oh

#

okey

#

thanks

soft ferry
#

How to add badge with html on top.gg ?

balmy knoll
#

Hi, when i use client.guilds.cache.size and client.users.cache.size, these give me 0? How can i resolve?

pale vessel
#
#bot-details-page {
    background-image: url(URL HERE);
}```
#

there

soft ferry
#

thx

earnest phoenix
#

Code for a background image on my bots page?

pale vessel
#

yeah

earnest phoenix
#

ty sm Melon_UwU

pale vessel
#

do you not know css?

balmy knoll
#

Please can anyone answer me?

soft ferry
#

@pale vessel We need to add thaht on description ?

pale vessel
#

yes

soft ferry
#

Thx dude

pale vessel
#

<style>HERE</style>

torn nebula
#

@golden condor what glitch node version?

golden condor
#

10

torn nebula
#

update

balmy knoll
#

??

#

Hi, when i use client.guilds.cache.size and client.users.cache.size, these give me 0? How can i resolve?

torn nebula
#

maybe that causing error

pale vessel
#

wow stop bumping

#

it's probably 0 because it is 0 πŸ€”

earnest phoenix
golden condor
#

@torn nebula json "engines": { "node": "12.6.1" }, ?

balmy knoll
#

@pale vessel No, because in the bot status i use client.guilds.cache.size and give me 11

pale vessel
#

that's 12

earnest phoenix
#

@pale vessel yeh its broken

pale vessel
#

broken?

torn nebula
earnest phoenix
#

mhm

pale vessel
#

did you add <style> and </style>?

#

it's html

#

client.users.cache.size returns 0?

earnest phoenix
#

send the full code

balmy knoll
#

@pale vessel Yes

pale vessel
#

v12 right? no shit

earnest phoenix
pale vessel
#

did you add <style> and </style>?

#

also remove padding-top: 120px;

#

that was just the extracted code

golden condor
#

@torn nebula all my packages are on v10

earnest phoenix
#

where at?

pale vessel
#

description

#

dm me your bot page

earnest phoenix
#

its not published

pale vessel
#

oh

torn nebula
#

? wdym by your node is 12v
but packages are in v10?

pale vessel
earnest phoenix
#

where do i add it in there?

pale vessel
#

did you add <style> and </style>
for the third time

golden condor
#

I am rebuilding it

torn nebula
#
<style>
#bot-details-page {
background-image: 
url(https://i.pinimg.com/236x/35/f2/ea/35f2eabf6aa50066f5961bd32509484a.jpg);
}
</style>
pale vessel
#

</style>

#

also, that image is definitely not suitable

slender thistle
#

Basic HTML

pale vessel
#

yep

earnest phoenix
#

okay now how do i stop it tileing them?

pale vessel
#

what

balmy knoll
#

@pale vessel Can i contact you in DM?

pale vessel
#

background-repeat: no-repeat;

slender thistle
#

Sounds like no-repeat

earnest phoenix
#

its doing that

pale vessel
#

learn css

torn nebula
#

self-ping

slender thistle
#

This is plain sponfeeding tbh

pale vessel
#

i already gave him the initial code

#

jeez

earnest phoenix
#

and then the strech?

pale vessel
#

l e a r n

slender thistle
#

Sounds like background-size

#

Simple Googling should help

pale vessel
#

good one

storm bluff
#

how can i make if user bot don't save data in sql package discord-money

torn nebula
#

user !== bot

storm bluff
#

i make that but he save the bot data

torn nebula
#

like it's adding bots money to?

crimson vapor
#

if(message.author.bot) return;

storm bluff
#

no to sql

#

@crimson vapor

#

he save bots data

soft ferry
#

how to change description background color ?

pale vessel
#

what do you mean by description background color?

crimson vapor
#

thats CSS correct?

slender thistle
#

long description probably

pale vessel
#

use this thing called css

#

it's cool

soft ferry
#

this

pale vessel
#

.longdescription .content

storm bluff
#

dd

soft ferry
#
.longdescription .content {
 background-color: #00abf5
}
#

Like that ?

slender thistle
#

tias

soft ferry
#

and longdescription text color ?

summer sedge
#

color: hex

soft ferry
#

It just change text color without <h1></h1>

summer sedge
#
.longdescription .content {
 background-color: #00abf5;
color: #FF0000;
}
#

like that

soft ferry
#

Yes

#

I did that

#

LogsBot isn't white

earnest phoenix
#

it saving data ?

#

ur bot

soft ferry
#

yes

earnest phoenix
#

dm me invit

#

xD

pale vessel
#

@soft ferry is there only 1 h1?

soft ferry
#

no

#

2

pale vessel
#

just put <h1 style="color: #fff;"> on every h1

soft ferry
#

thx

pale vessel
#

is that <pre>?

soft ferry
#
<style>
body {
  background-repeat: no-repeat;   
  background-size: cover !important;
  background-attachment: fixed !important;
  background-image: url("https://linkhere.png"),linear-gradient(rgb(32,32,32),rgb(32,32,32)) !important;
 background-blend-mode: overlay !important;
}
.page .container {
  border: none !important;
}
#bot-details-page .bot-img {
  box-shadow: none !important;
}
.longdescription .content {
 background-color:     #202020;
 color: #ffffff
}
</style>
<br>
<img width="150" height="150" align="left" style="float: left; margin: 0 10px 0 0;" alt="LogsBot" src="https://i.goopics.net/RQQww.png">

<h1 style="color: #fff;>LogsBot</h1>

πŸ’» LogsBot is a new discord bot which has the particularity to make only logs! It has more than 20 different logs and you can choose the channel of each log and activate it or not!
It has only one feature but it's very well done!
</br>


<h1 style="color: #fff;>Setup :</h1>

\`\`\`
* LANGUAGE :
log!setup language <french/english>

* CHANNEL :
log!setup channel <event name> #channel

* ENABLE :
log!setup enable <event name>

* DISABLE :
log!setup disable <event name>

* PREMIUM :
log!setup enable/disable log_bots
\`\`\`

<h1 style="color: #fff;>Links :</h1>
pale vessel
#

is your bot not published?

soft ferry
#

he isn't

pale vessel
#
<pre style="background-color: #000; color: #fff">
content
</pre>
quartz kindle
#

i mean

#

you're already using <style> tags, why also use inline styles lol

soft ferry
#

How to change table color ?

pale vessel
#

i'm too lazy to add class=""

oh he can just use h1 { color: #fff; } you're right

soft ferry
#

plz

pale vessel
#

i feel bad

#

can you try to figure it yourself?

soft ferry
#

i don't know about html and css

slender thistle
#

Simple Googling

pale vessel
#

or duckduckgoing

slender thistle
#

Apply class"something" attribute to an element and to element it you edit .something

pale vessel
#

also, f12 is your best tool

#

ctrl shift c

soft ferry
#
.table {
 color: #2bfafa
}
pale vessel
#

no?

soft ferry
#

like that ?

pale vessel
#

table uses tr and th

#

so go figure

soft ferry
#

what

quartz kindle
#

do you know how to use the inspector?

soft ferry
#

no

quartz kindle
#

right click on stuff > inspect element

pale vessel
#

ctrl shift c is a good combination too because you can just hover the element and check the attributes

quartz kindle
#
.longdescription .content h2 {
  color: #fff
}```
#

when it says class you add a dot to it

#

when its only inside <> you dont

pale vessel
#

id would be #

soft ferry
#

that's <pre>

pale vessel
#

i thought you wanted to style a table

quartz kindle
#

use the element inspector, click on your things, see what their classes and tag names are, and create you css accordingly

#

no need to ask us for every single css rule

pale vessel
#

sadly not all elements work like that (like table)

quartz kindle
#

you can also test them directly in the inspector

#

to add your css and test it live

soft ferry
#

I don't understand 😭

pale vessel
#

we can't spoonfeed you

quartz kindle
pale vessel
#

made using lightshot\ℒ️

quartz kindle
#

yup

pale vessel
#

anybody knows?

soft ferry
#

I did a thing but ...

#

Where is the bot name ??

pale vessel
#

you need to add .longdescription before it so that it only applies inside it

soft ferry
#

How to change bot name color ?

pale vessel
#

find the class name

soft ferry
#

I don't understand html

pale vessel
#

pls

#

use inspector

#

find class="class name"

soft ferry
#

what's padding ?

slender thistle
#

space inside an element

soft ferry
#

how to add shadow ?

quartz kindle
#

box-shadow

soft ferry
#

box-shadow: 10px ?

modest maple
#

tias

quartz kindle
#

google for box-shadow

slender thistle
#

Am I the only one who just uses the properties with big values to see what they do πŸ‘€

pale vessel
#

"how to" should be banned here haha

#

it's going to be thicc

slender thistle
#

Explaining the logic is alright

pale vessel
#

3px is enough for me

slender thistle
#

With margins and paddings I use like 50px at the very least to see if it's good and then go from there

pale vessel
slender thistle
#

:^)

pale vessel
#

yikes

#

fixed

soft ferry
#

how to change this blue color ?

pale vessel
#

use inspector

soft ferry
#
.menu {
  background: #101010
}
pale vessel
#

yes

soft ferry
#

I don't see it

pale vessel
#

clear your cache

#

oh wait

#

did you see it?

slender thistle
#

Isn't that the nav element

pale vessel
#

id

slender thistle
soft ferry
#

no

pale vessel
#

menu is an id

#

not a class

#

so it would be #menu instead

#

nav also works but who knows, he might have nav inside the description who am i kidding

soft ferry
#

thx

slender thistle
#

Shouldn't that nav have its own class/id

pale vessel
#

it does

peak venture
#

How would i get the 252... and 261... inside this collection? I'm logging the members from a certain voiceChannel

Collection [Map] {
  '252082945551106048' => GuildMember {
...
},
Collection [Map] {
 '261...' => GuildMember {
...}
pale vessel
#

collection.find(m => m.id == "252...")

peak venture
#

but the ids would be variable hm?

#

so it cant really know the id up front

#

collection.map or something?

pale vessel
#

is it user input or what?

peak venture
#

its an output from logging to a certain page

#

so above is what i get back in my console log who's in the channel

#

although, i want to figure which users are in there

pale vessel
#

you want all users?

peak venture
#

yes

pale vessel
#

then use map

peak venture
#

all users ids.

pale vessel
#

collection.map(m => m.id);

peak venture
#

for some reason i'm still thinking to use collection.map(id) xD but that would be wrong due to it's not a constant/variable i have to input

#

thnx for your help @pale vessel

pale vessel
#

all good man

#

yeah you have to pass a function to it

peak venture
#

Its quite a workaround though

pale vessel
#

you'll get used to it

peak venture
#

Like i'm working on a page which automaticly would detect which channel the user is in

#

but i'm either not able to obtain the channelid based on the users id

pale vessel
#

that would be find

peak venture
#

or i would need to write a message

soft ferry
#

Thx flazepe πŸ™‚

peak venture
#

client.channels.find(user_id) ?

pale vessel
#

look every channel for the user's id

#

maybe not the greatest idea

peak venture
#

xD it would need to iterate over nearly 16k channels as for now

grizzled raven
#

@peak venture do get for ids

#

collection.get(id(

peak venture
#

@grizzled raven what's the difference between yours and collection.map(m => m.id)

pale vessel
#

i think get gets that one particular member

#

like find

#

you don't need to pass a function to get()

peak venture
#

starting to learn more and more xD

pale vessel
#

nice

soft ferry
#

how to add a button ?

pale vessel
#

style it or just use useless html button

#

you really need to learn html and css for buttons

slender thistle
#

Trying to do HTML without knowing it is painful

pale vessel
#

agreed

slender thistle
#

and HTML will bite you

peak venture
#

i found it reasonable ez compared to javascript

pale vessel
#

it's not really comparable to js but yeah it's ez

slender thistle
#

HTML is easy, styling the whole page quite isn't

pale vessel
#

you have to style containers, set the font, etc.

#

pain in the ass

peak venture
#

i didnt know both and now (for my personal skill lvl) i think i set up quite a nice and decent website + discord bot combining the 2

pale vessel
#

if you plan on creating a website, use combine html with php

peak venture
#

Styling for me made it easy to see things in different boxes and then shape as i want.

#

havn't touched php yet as it would most likely disrupt my learning curve

pale vessel
#

php is awesome

#

i would recommend you to learn it after all of this

vernal yoke
#

Dansgame php

pale vessel
#

ok

#

i like php, doesn't mean that you should too

vernal yoke
#

Was a joke, i like vanilla php

pale vessel
#

ok

vernal yoke
#

Ok

peak venture
#

i'll have a look at it sooner or later

pale vessel
#

never tried any frameworks though

vernal yoke
#

^

peak venture
#

Started off with a simple bot, turned into a big project using all sort of stuff now like classes etc πŸ™‚

vernal yoke
#

Laravel lol

peak venture
#

Much fun experiencing new things every day

pale vessel
#

basically all of us

vernal yoke
#

^

#

Started from a poop emoji display

#

To 150 commands fml GWbruhSquidWoke

pale vessel
#

nice

vernal yoke
#

I mean this damn bot thing if you have a slight passion towards programming , is going to be addictive

pale vessel
#

yeah, i keep adding useless commands to mine

vernal yoke
#

Story of my life

pale vessel
#

if i see a single json api, i'll always try to integrate that to my bot

#

ALWAYS

vernal yoke
#

^

#

Github public apis

#

Fork that sir flazepe

pale vessel
#

i did

#

lmao

vernal yoke
pale vessel
#

that's where i found weather apis, etc.

#

didn't know another person uses it

vernal yoke
#

I did a pr with my apo

pale vessel
#

i applied for yahoo weather and they never replied :(

vernal yoke
#

Api*

pale vessel
#

did they merge it?

vernal yoke
#

Hell no there are like 70prs open

pale vessel
#

82 as of right now

peak venture
#

OpenWeatherAPI not good nough?

pale vessel
#

i see it

#

romanian jokes api

vernal yoke
#

Ye

#

Lul

#

I even have gitbooks page and stuff

#

Boredom xd

#

Obviously it is in my bot too xd

vernal yoke
#

Dansgame

#

Wrong channel kek

pale vessel
#
msg.channel.send(new Discord.MessageEmbed().setTitle("Random Romanian Joke").setDescription(json.joke));```
vernal yoke
#

Flazepe

#

Try the one random joke

#

Rather than 10

pale vessel
#

i saw 10 only

#

i thought removing _ten would work but no

vernal yoke
pale vessel
#

i didn't see random one?

vernal yoke
#

I edited

#

Reclick

pale vessel
#

oh

#

https://romanian-jokes-api.herokuapp.com/api/ romanianjokes

vernal yoke
#

Ye

pale vessel
#

so json.joke

#

i could literally add it now lol

#

i'll abstain

vernal yoke
#

Do whatever kekw

pale vessel
#

Kapp

vernal yoke
pale vessel
#

WideHard ?

vernal yoke
#

Kkooona?

pale vessel
#

w

#

you watch too much twitch

slender thistle
#

Sounds like non-development topic

pale vessel
#

yeah

vernal yoke
#

i can literally create a website to login with discord and choose banners for mystats on my bot and so on, lazy as fuck man

#

Probably could use vue

pale vessel
#

programmers could do anything but they're just lazy to do it

vernal yoke
#

@slender thistle tends to get out of development sometimes GWbruhPaiDevil

#

I mean @pale vessel yes. At some point i might need to do it fnl

#

Fml*

pale vessel
#

how is it fml

finite bough
#

fantastic mindblowing life

vernal yoke
#

Css my enemy lel

pale vessel
#

it's at least something to do rather than being depressed doing nothing

vernal yoke
#

I mean not like i don't have to update my bot to vs12

pale vessel
#

soon

vernal yoke
#

^

earnest phoenix
#

How can i fix Error: Connection not established within 15 seconds. ?

modest maple
#

what language

earnest phoenix
#

discord.js

modest maple
#

Normally that error tends to mean somthing is stopping it connecting to the gateway within the timeout

earnest phoenix
#

what i need to do for fix this?

modest maple
#

possibly blocking code or somthing taking too long to load

earnest phoenix
#

:/

#

Fixed @modest maple thanks

balmy knoll
#

Hi, when i use client.guilds.cache.size and client.users.cache.size in a command file.js, these give me 0? How can i resolve?

I have already use them in the index.js and they works correctly.

pale vessel
#

p.s. he uses commando

crimson vapor
#

how early in the code are you using this?

#

because the earlier you do it, the less users that are cached

#

also, does commando support v12?

balmy knoll
#

@crimson vapor yes, command supports v12 because i use it in index.js and all works correctly

crimson vapor
#

ok

balmy knoll
#

@crimson vapor If you allow me to send you a DM, i can send you some code screenshots

crimson vapor
#

I do not need the screenshots

#

are you still having the issue?

balmy knoll
#

@crimson vapor Yes

crimson vapor
#

are you doing a console log or what?

balmy knoll
#

@crimson vapor yes

crimson vapor
#

when is it called? at start?

quartz kindle
#

@balmy knoll show code

crimson vapor
#

Tim you were the one to make discord.js-light, correct?

quartz kindle
#

ye

crimson vapor
#

it cleans up memory and edits classes to they do not take up as much memory right

quartz kindle
#

ye

slender thistle
#

discord.js-light v12 when

quartz kindle
#

its v12 lol

crimson vapor
#

does it remove any functions of client?

slender thistle
#

Oh

quartz kindle
#

it doesnt "remove" functions, but some things will not work

crimson vapor
#

what are some of those?

quartz kindle
#

for example, checking for presences such as online status is disabled

#

nickname/username updates are also disabled

crimson vapor
#

could you not fetch a user and use the user's status?

quartz kindle
#

member join / member leave need extra setup in your discord application

earnest phoenix
#

well no

#

status is ws only

quartz kindle
#

its possible to request presences via request guild members

#

but thats also disabled without enabling priviledged presences in your discord application

earnest phoenix
#

there is a suggestion on discord api docs to include the status and activity data through REST but discord being discord it'll probably get implemented never

storm bluff
#

i want to make if user mention a bot

pale vessel
#

if (message.mentions.users.first().id == client.user.id)

crimson vapor
#

I forget how mentions work, that code is just checking if the author is a bot

#

yeah, flazepe got it

pale vessel
#

he meant execute that if the bot is mentioned

#

i think

crimson vapor
#

yeah

honest perch
#

is it possible to customise your dbl page with css

pale vessel
#

yes

#

via the style tag

crimson vapor
#
if (message.mentions.users.first().id == client.user.id) return message.channel.send(`Bots don't have ${config.coins}`)```
#

I think that would be the code

pale vessel
#

why would it return though

crimson vapor
#

probably because its ending

pale vessel
#

he wants the bot to reply to the mention

crimson vapor
#

and if it doesnt return more code will run

#

wait

pale vessel
#

you mean != ?

#

or ! on the front

crimson vapor
#

no he is checking if the mentioned user is a bot and if it is, returning

#
if (message.mentions.users.first().bot) return message.channel.send(`Bots don't have ${config.coins}`)```
pale vessel
#

oh

crimson vapor
#

I think that is what he wants

pale vessel
#

i understand

#

he gave too little information

crimson vapor
#

yep

#

and broken english so it was harder

honest perch
#

im guessing you cant set the background colour

pale vessel
#

yes you can

#

like normal css

honest perch
#

the colour flashed for a second then disappeared

pale vessel
#

interesting

#

but you can set the background color

#

maybe you got the wrong classes

crimson vapor
#

I remember reading that you can only change one atribute per <script> </script>, idk if its true but you might have 2 there

earnest phoenix
#

not true

pale vessel
#

lulw

earnest phoenix
#

You can set multiple attributes per tag

crimson vapor
#

alright guess I read something false

pale vessel
#

-bots @earnest phoenix

gilded plankBOT
earnest phoenix
pale vessel
#

no

honest perch
#

`
<style>
body {
background: linear-gradient(black, white);
}

</style>
</body>
`

pale vessel
#

no

#

why </body>?

honest perch
#

`
<style>
body {
background: linear-gradient(black, white);
}

</style>

`

#

that still doesnt work, flashes on refresh

pale vessel
#

isn't there a container?

#

or like a wrapper

#

try styling that

earnest phoenix
#

dont you have to add a degree?

pale vessel
#

to right, etc.

#

yep

earnest phoenix
#

like linear-gradient(0deg,color1,color2...)

pale vessel
#

yeah

earnest phoenix
#

try that @honest perch

honest perch
#

so <style>
body {
background: linear-gradient(0deg, black, white);
}

</style>

earnest phoenix
#

yep

honest perch
#

that doesnt work either

earnest phoenix
#

hm

pale vessel
#

what did it show though

honest perch
#

just flashes

earnest phoenix
#

try to tell the css to color every div in the body, so change body to body>div

#

if it doesnt work then ree

#

or just copy the class from the background div and change its color from there

honest perch
pale vessel
#

try #bot-details-page

#

that's the wrapper i think

honest perch
#

yup

#

that worked

#

thanks

regal saddle
#

does message.guild.channel.cache.some not work anymore in js?

quartz kindle
#

channels

regal saddle
#

bruh

#

you right xD

#
let sChannel = message.guild.channels.cache.find(x => x.name === " ")
                                                    ^

TypeError: Cannot read property 'find' of undefined

let sChannel = message.guild.channels.cache.some(x => x.name === " ")
                                                    ^

TypeError: Cannot read property 'some' of undefined```
#

mh...

heavy marsh
restive furnace
#

put >>> before this

#

let Hi```

crimson vapor
heavy marsh
#

that wont work

crimson vapor
#

why not? error?

heavy marsh
#

i got the answer Timo AardappelToday at 14:50 Do you honesty think that you would cache the owner of a 90k members server Fetch them first, then get their avatar

quartz kindle
#

@regal saddle which version of discord.js are you using?

crimson vapor
#

probably 12

heavy marsh
#

11

#

v11*

#

ok nvm i wasnt for me

crimson vapor
#

oh

summer torrent
#

user message.guild.fetchMember() @heavy marsh

crimson vapor
#

didnt see that

heavy marsh
#

hmm ok

quartz kindle
#

also, dont forget fetching returns a promise

#

because it needs to make a request do discord

heavy marsh
#

Is there no easy way to get it without adding more lines

regal saddle
#

@regal saddle which version of discord.js are you using?
V12

quartz kindle
#

no because you literally dont have the guild owner data available

#

you need to explicitly request it from discord to get it

heavy marsh
#

hmm ok

quartz kindle
#

its only 1 more line, really

heavy marsh
#

So how will it work?

quartz kindle
#

you can even one-line it

regal saddle
#

I updated discord.js again an now its on discord.js@12.0.1

quartz kindle
#

and its still giving you the same error?

regal saddle
#

wait ill test real quick

crimson vapor
#

I need to know, should I add configurability with the cost of adding more to a class?

regal saddle
#

and its still giving you the same error?
let sChannel = message.guild.channels.cache.find(x => x.name === "")
^

TypeError: Cannot read property 'find' of undefined

#

still the same 😦

quartz kindle
#

@heavy marsh ```js
let user = await client.fetchUser(message.guild.ownerID);
let member = await message.guild.fetchMember(user);
// do things with either user or member

heavy marsh
#

ooh thats how

#

Thank you. Let me test it out

crimson vapor
#

that will only work in an async function correct

quartz kindle
#

@regal saddle show more code

#

yes, you need an async function to use the await keyword

heavy marsh
#

yep i use it in an async function

#
  let user = await client.fetchUser(message.guild.ownerID);
  let owner = await message.guild.fetchMember(user);

embed.setAuthor(`${message.guild.name} ${xp}`, owner.avatarURL);```
#

so is this correct like this?

quartz kindle
#

avatarURL is a user property, not a member property

#

you can get it directly from the user, no need for the member

heavy marsh
#

user.avatarURL

regal saddle
#

Tim, i sended you my full code btw

quartz kindle
#

yes

heavy marsh
#

ooh ok

lyric mountain
#

Lol discord.js might be a hell

vernal yoke
#

Someone give me the power of will to update my bot to latest discordjs version

quartz kindle
#

@regal saddle are you sure you're on v12 ? because this is also not valid in v12

lyric mountain
#

@vernal yoke you've got the power

vernal yoke
lyric mountain
#

Start a XGH while listening to ameno and you'll do it

vernal yoke
#

Hahahah

regal saddle
#

oh, isnt it a thing anymore in v12 Tim?

vernal yoke
#

Tim is the latest version stable or is it daed

quartz kindle
#

no, in v12 its message.guild.members.cache.get()

regal saddle
#

oh, ok

heavy marsh
#

@quartz kindle thanks alot it works now πŸŽ‰

quartz kindle
#

but your errors sound like you're on v11 not v12 lol

surreal sage
#

is function(res) {} the same as res=>{}

vernal yoke
#

Ye

quartz kindle
#

for the most part yes

surreal sage
#

k thx

quartz kindle
#

the scoping is a little different

surreal sage
#

wdym with that

quartz kindle
#

when using classes, they interpret this differently

surreal sage
#

i never use "this"

#

so im good xd

vernal yoke
#

He never said you did, just explained

lyric mountain
#

Lol aren't you the "copyrighted avatar" guy?

surreal sage
#

Nup

earnest phoenix
#

hmmmmm

surreal sage
#

Wait wdym

vernal yoke
surreal sage
#

I copyrighted it because its mine?

lyric mountain
surreal sage
#

k but im not gonna enter it xd

vernal yoke
#

Tim 🎩 or anyone, is the latest version stable or is acting weird

surreal sage
#

@vernal yoke Latest version

#

I hate it like fuck

crimson vapor
#

I like it

surreal sage
#

Use npm i discord.js@11.5.1 (ver 11.5.1)

vernal yoke
#

@quartz kindle can you please provide me with that website with all the v12 changes? you actually pasted it once here 2-3 days ago. thanks

quartz kindle
#

v12 is stable yes

vernal yoke
#

thank you kindly

pale vessel
#

i have mixed feelings with v12

soft ferry
#

@pale vessel How ?

pale vessel
#

you need to use the element inspector

soft ferry
#

I can't Im on my phone rn

pale vessel
#

make the window mobile sized

#

do it on your PC when you have the time

earnest phoenix
#

How do I make it so it displays how many servers the bot is in?

soft ferry
#

Please can you gimme the id or class ? plz

pale vessel
#

diy

crimson vapor
#

client.guilds.size should work

pale vessel
#

client.guilds.cache.size

#

how did you even know he uses djs

crimson vapor
#

guess

#

true, he might be on 12 if he is on djs

pale vessel
#

might

soft ferry
#

@pale vessel I dont have my pc

earnest phoenix
#

I meant like on the site

#

rn it just says N/A

quartz kindle
#

use the api

earnest phoenix
#

πŸ‘

heavy marsh
#

Got a problem that get my radio bot offline ...

throw er; // Unhandled 'error' event
Error: Error: Connection not established within 15 seconds.
vernal yoke
#

anyone knows quickly what's the equivalent of v12 for message.member.voiceChannel

pale vessel
#

voice.channel

vernal yoke
#

thanks

pale vessel
#

np

earnest phoenix
#

you can always you know browse the docs πŸ™ƒ

vernal yoke
#

i could not find that particular bit

pale vessel
#

devs are lazy

#

oh nm

vernal yoke
#

i ctrl F quickly on voiceChannel

#

but none returned XD

pale vessel
#

because it's changed

vernal yoke
#

hence the reason for asking

pale vessel
#

it's called voicemanager or smth

vernal yoke
#

^ thanks

earnest phoenix
#

use keyword searching

vernal yoke
#

4 out of 150 commands. fucking hell im going to die

earnest phoenix
#

search only the key words in your query

pale vessel
#

like voice

earnest phoenix
#

^

pale vessel
#

mind-blowing right

vernal yoke
#

indeed

earnest phoenix
#

also yall know

#

if you use a proper IDE

#

you can quickly scrap up a regex to replace old properties with new ones automatically

#

you don't even have to use regex

pale vessel
#

even a basic search replace would do

#

so people can never complain about not wanting to migrate/upgrade

lyric mountain
#

@earnest phoenix cof cof intellij cof cof

heavy marsh
#
Error: Error: Connection not established within 15 seconds.```
#

Any fix for this?

#

I check all three ...

    let perms = voiceChannel.permissionsFor(message.client.user);
    
    if (!perms.has('VIEW_CHANNEL')) return message.channel.send(`![connection](https://cdn.discordapp.com/emojis/678615418486784011.webp?size=128 "connection") **No \`VIEW CHANNEL\` permissions to view the channels in the server!**`);
    if (!perms.has('CONNECT')) return message.channel.send(`![connection](https://cdn.discordapp.com/emojis/678615418486784011.webp?size=128 "connection") **No \`CONNECT\` permissions to connect to the voice channel!**`);
    if (!perms.has('SPEAK')) return message.channel.send(`![no_mic](https://cdn.discordapp.com/emojis/678617127565131822.webp?size=128 "no_mic") **No \`SPEAK\` permissions to speak in this voice channel!**`);
lyric mountain
#

Errr...

#

Why you used ` instead of '?

pale vessel
#

went wrong

#

lmao

quartz kindle
#

lmao

pale vessel
#

keep on trying

lyric mountain
#

Lol

#

Cannot put ` inside a code block

quartz kindle
#

@heavy marsh are you catching the error?

#

channel.connect().catch(console.log)

#

or is it join()

#

idk i dont use voice

lyric mountain
#

Like, he used ` for wrapping the string, isn't this the error?

quartz kindle
#

no

#

backticks are string templates in js

#

although hes using them as regular strings, so its unneeded

lyric mountain
#

Lol so js have 3 kinds of string?

quartz kindle
#

yup

pale vessel
#

maybe too lazy to escape quotes

lyric mountain
#

And people say java is hard

quartz kindle
#

it is

#

:^)

lyric mountain
quartz kindle
#

python has like 274892 ways to template strings

lyric mountain
#

Lol

amber fractal
#

Yeah

#

I cant put backticks inside of inline code blocks

quartz kindle
#

`\ you cant escape them?

amber fractal
#

no

#

```

quartz kindle
#

rip

#

-> ` <-

amber fractal
#

lmao idk

earnest phoenix
#

wanna hear a fun thing

#

markdown parsing is different on all three platforms

#

`YOu can escape em`

#

so a lot of the time it works on one platform but not the other 2

quartz kindle
#

mobile not supporting syntax highlighting pisses me off

amber fractal
#

@earnest phoenix You cant escape one inside of an inline code block on desktop

#

is what we mean

#

```

#

just turns into that

lusty fiber
quartz kindle
#

tbh that bot should be renamed to "top.gg server list"

#

there are so many "server list" bots that you never know which is for which website

crimson vapor
#

should I sacrifice memory (a small amount) for more customization per command?

soft ferry
#

Can I write "LogsBot" at the top ?

rugged hatch
#

Anyone making a bot using javascript know how to create a line-graph that has ping for the last 10 minutes?

earnest phoenix
#

Use canvas and draw lines relative to the clients ping

#

and send the rendered output

honest perch
#

how would one add an image above the created by section of the page

quartz kindle
#

what kind of image?

#

the only way would be to add a background image, clip it and change the element's height

#

@soft ferry google "css after pseudo-element"

honest perch
#

a banner

rugged hatch
#

hey can anyone help me create a line plot using canvas?

orchid berry
#

no

soft ferry
#

@quartz kindle

quartz kindle
#

@honest perch you cant add images, the only way is via css background

#

you can manipulate an existing element's size to fit your image there as a background

honest perch
#

ok thanks,

quartz kindle
#

@rugged hatch lets say you have a canvas 200px high and your data set looks like [23,56,34,75,33,23,15,34]
first you need to define the maximum ping value Math.max(...data)
then each item in your data set needs to be converted to a Y position in your canvas, from 0 to 200: canvas.height - data[i] * canvas.height / maxValue
make a loop and use this formula to set the coordinates of each ctx.lineTo()
after the loop ends, stroke the line

rugged hatch
#

@quartz kindle Sorry If I disturb you but I am not really good at canvas could you show me the code please?

quartz kindle
#

are you using node-canvas or browser canvas?

rugged hatch
#

node-canvas

quartz kindle
#

check the quick example here

#

you create a new canvas, and set its height and width in pixels, then you need to get the 2d context

#

that guide is for browser, not for node, so ignore everything that is not related to the canvas context

rugged hatch
#

ok

quartz kindle
#

you only need the parts that start with ctx.

vernal yoke
#

70% updating done

#

Fuck man

#

I actually like new version @quartz kindle makes more sense

compact tundra
#

hey im getting an error on my server can anyone help

modest maple
#

just say ur issue

#

be alot easier for us to help u if we know whats actually happening :P

compact tundra
#

it’s 503 vlc failed

#

i have nailed it down to an memory issue but i can’t get further

small prairie
#

when a role is unpingable
message.mentions dont have it
Any way to get it without making it mentionable?
d.js

#

v11

compact tundra
#

you can parse the text

#

and match them with the server roles

silver wraith
#

i need to be able for someone to type !block and get 1233511
client.on('message', msg => {
if(message.author.bot) return; if (msg.content === 'ping') {
msg.reply('Pong!');
} if (msg.content === '!block') {
msg.reply('This is a koala!', {files: [https://abe.dash.org/chain/Dash/q/getblockcount); }
});
so instead of a "file" i want to display the text 1233511
makes sense?

dire abyss
#

remove the file bit and replace with 1233511 Thonk

silver wraith
#

i the value always changes cause the block height changes

small prairie
#

This seams wrong

#

you didnt end the [ brace

#

in files array

silver wraith
#

yea yea i know all that.. I am just giving example . New to bot making

small prairie
#

Ah Okay

earnest phoenix
#

how about you just send the string you want

small prairie
#

Yeah exactly

#

msg.channel.send

#

also the second line will return error

#

message is undefined

silver wraith
small prairie
#

you should probably first line JS a little bit?

silver wraith
#

this i have gotten working but i need this do generate the text from a url

#

website body. Does this make sense to anyone

#

anyone work with discord.js?

small prairie
#

you want to scrape text from a website?

silver wraith
#

if scrap mean pull the text numbers from the url above yes

quartz kindle
#

you need to load the website and get data from it

silver wraith
#

lol

quartz kindle
#

you need an http library

#

there are many you can chose, such as node's internal http and https libraries, and other custom made libraries such as node-fetch, got, bent, axios, etc...

silver wraith
#

like i said i am new to all this but if i do:

#

it give me a file with the TEXT i want lol

#

crazy!!!!

small prairie
#

You should probably learn about post apis and http and stuff before starting to make a bot

silver wraith
#

i dont need the file . I just need it to display the text number lol

west spoke
#

My god

quartz kindle
#

because you dont understand how the code works. The data you want is in a website. so you have to make your code access this website, like you would do in your browser

west spoke
#

^

quartz kindle
#

to do that, you need an http library as i said above

small prairie
#

Oof

#

Lmao

west spoke
#

@silver wraith if you want to code a bot, learn the language first.

crimson vapor
#

I did not learn the language first and I kinda regret it

west spoke
#

^

#

Though I learn fastest through trial and error

small prairie
#

That makes 2 of us

#

I just learnt java and went into bot building with js

#

:/

crimson vapor
#

what is the hardest part about coding a bot for you?

quartz kindle
#

if you learned java, why not make a bot in java lul

west spoke
#

^

lyric mountain
#

someone said java?

small prairie
#

Yea i didnt knew that Tim

#

Am so dumb

crimson vapor
#

I do believe it was mentioned

small prairie
#

And Also i basically learnt bot coding on glitch

#

no java on it :/

silver wraith
#

i will never need to build another bot after this. I just need a simple text read from a url. Only 1 thing in the page a bunch of numbers

crimson vapor
#

wdym

silver wraith
#

i know we have a genius level bot maker that can alter my WORKING command to do what i need

quartz kindle
#

i already told you

#

that is not how it works

#

the reason that your code works as a file is because discord.js has an option to INTERNALLY access the website and download a file from it

#

but the folks that made discord.js made it only for files

#

to get the text, you have to do it yourself, using an http library that downloads the content from the website into a variable

#

there are many of them and they are easy to use

#

then just msg.reply(text)

finite bough
#

imagine sending the link as file

amber fractal
#

that's how you do it

#

or is an option

#

but I'm not reading context mmLol

quartz kindle
#

yeah

#

it only gets a buffer from it

amber fractal
#

if it's direct it should work just fine

earnest phoenix
#

i love how d.js does half the things the end user should do because the devs know that their userbase is incompetent

amber fractal
#

It removes redundancy though, I'm fine with it. No reason to make coding so difficult no one wants to do it

quartz kindle
#

the thing is that he wanted the text/body content as a string, not as a buffer

earnest phoenix
#

...as an attachment?

#

that seems highly unproductive

#

best approach would be yours

#

GET and reply with the response

tight plinth
#

After playing music for an hour, my bot stops playing music with an http error in the console(discordjs v12, ytdl-core) and then I have to restart it to fix it

earnest phoenix
#

thank you for providing your error

finite bough
#

heroku?

quartz kindle
#

@earnest phoenix he wanted to get it and post the text response, but he wanted discord.js to do it for him via {file:url} lol

#

which was giving him a file instead of the text, because discord.js gets remote urls as buffers, and he was complaining about that ("i only want the text, not a file")

tight plinth
#

heroku

finite bough
#

well can be heroku's problem

#

as it doesnt like things running for long

#

idk what he wants, like text no image or image no text

#

lmao

tight plinth
#

how can a ```js
if (smth) {} else {}

#

can they be?

earnest phoenix
#

what

mossy vine
#

(async function() {codes here yes})()

earnest phoenix
#

{} declare a scope

tight plinth
#

hm

mossy vine
#

yeah but scopes inherit async dont they

earnest phoenix
#

thats irrelevant

#

scoping rules have nothing to do with async programming

mossy vine
#

but they are inherited so my example works

tight plinth
#

nvm, made the whole thing before ```js
if

earnest phoenix
#

you're using the wrong terminology

mossy vine
#

yes

finite bough
#

if u r using a command handler just async the while command handler

#

ok wut

mossy vine
#

why is js not async by default

earnest phoenix
#

because async in js isn't really async

mossy vine
#

ok i will rephrase

#

why can we not use await by default

earnest phoenix
#

wym

mossy vine
#

we can not use await outside of an async function

#

why not

earnest phoenix
#

because why would you use await in synchronous programming

delicate zephyr
#

Thats why .then exists

earnest phoenix
#

shut up

finite bough
#

I mean

#

yes

#

use .then

#

who tf cares about async

#

putting the whole shit in async will make it slower

bitter sundial
#

@earnest phoenix stop being so rude please

earnest phoenix
#

lol

golden condor
#

How do I make my bot on dnd

#

I can't get it to work

delicate zephyr
#

Library?

golden condor
#

discord.js

delicate zephyr
#

Version

golden condor
#

11.6

#

I keep doing js client.user.setPresence('dnd') but it won't work

limber saddle
earnest phoenix
#

no

summer torrent
#

no

delicate zephyr
#

@limber saddle the .flat function doesnt exist

limber saddle
#

It's say it's come form discord.js

#

just why me or i'm blind

celest viper
#

ouh

quartz kindle
#

@limber saddle whats your node.js version?

limber saddle
#

Actually the lastest

quartz kindle
#

you're on glitch right?

limber saddle
#

yeah

quartz kindle
#

do you have engines in your package.json?

limber saddle
#

yes

quartz kindle
#

what version?

limber saddle
#

10.x

quartz kindle
#

theres your problem

#

change it to >=12.0.0

limber saddle
#

Ok

#

I don't see the r

#

error for now*

#

thanks

crimson vapor
#

Tim = genius

#

facts

tight plinth
#

can someonehelp me setting up a working webhook with heroku to get dbl votes?

earnest phoenix
#

heroku is cancer, you can use your own or glitch

quartz kindle
#

glitch is as cancer as heroku

earnest phoenix
#

Glitch makes it easier to edit code tho

quartz kindle
#

@tight plinth all you need is to enable a web dyno and then use dblapi.js

modest maple
#

ideally you shouldnt even be editing code using a webeditor anyway

#

version control is vvvv usefull

paper cliff
#

git bave

tight plinth
#

hm

#

2020-03-07T21:04:25.748324+00:00 heroku[web.1]: State changed from starting to crashed

2020-03-07T21:04:25.538553+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

2020-03-07T21:04:25.538778+00:00 heroku[web.1]: Stopping process with SIGKILL

2020-03-07T21:04:25.733743+00:00 heroku[web.1]: Process exited with status 137

#

@quartz kindle

gleaming narwhal
#

what is your procfile?

tight plinth
#

worker: npm start

quartz kindle
#

what port did you set?

gleaming narwhal
#

port is set by heroku itself

tight plinth
#

in procfile or in config var

gleaming narwhal
#

you just need to pull it from environment variable

quartz kindle
#

^

#

in the dbl constructor

#

assuming you're using dblapi.js

tight plinth
#

It stops

gleaming narwhal
#

.listen(process.env.PORT || 3000)

tight plinth
#

My bot

quartz kindle
#

you have an existing webserver?

tight plinth
#

I have to go, sorry guys

gleaming narwhal
#

kk bye

#

btw can someone help me also about discord oauth in flask (python), it just forgets the access token when I redirect to another page

earnest phoenix
#

how about url params lul

gleaming narwhal
#

so do you mean should i pass the access token to another page?

#

it will be insecure then i think

earnest phoenix
#

like boi what he gonna do

#

Or set a cookie

#

or local storage

gleaming narwhal
#

i will try setting the cookie then, thank you

earnest phoenix
#

use cookies

#

they are the most secure way

#

remember to encrypt

#

You can check for an existing cookie with that key and make like a "keep me logged in" system too

#

Well yeah thats definitely more useful

#

keep me logged in shouldn't exist in oauth logins

#

well

#

as the session length is determined by the access token lifetime

#

you can set like the cookie lifetime as that tokens lifetime

#

i meant the option to choose it*

quartz kindle
#

depending on what you want to do, you can also cache the user's data and use a remember-me based on that

gleaming narwhal
#

im just trying to login with discord then show the server list to the user

earnest phoenix
#

my bot no longer shows image embed. nothings changed server side, any ideas? nothings changed on the api
not sure what i changed but it worked yesterday
stripped down code:

const Discord = require('discord.js');

module.exports = {
    name: [
        "hug",
    ],
    description: "format messages",
    run(client, message, args, command) {
        const nsfwTags = ["neko",],
        if (nsfwTags.includes(command.toLowerCase())) {
            if (!message.channel.nsfw) return message.channel.send('You can use this command in an NSFW Channel!')
        }
        superagent.get(`http://api.(mydomain):8080/api/${command.toLowerCase()}`)
            .end((err, response) => {
                const lewdembed = new Discord.RichEmbed()
                    .setTitle(command.charAt(0).toUpperCase() + command.slice(1))
                    .setImage(response.body.url)
                    .setColor(`#000000`)
                    .setURL(response.body.url);
                message.channel.send(lewdembed);
#

have you tried debugging

quartz kindle
#

did you update anything?

earnest phoenix
#
  • logging the image url etc
#

why is discord sending my messages so slowly again

#

I didnt change anything on the api. I really dont remember if i updated the bot between last night and today.

And like posting it to console? no but ill try

#

always and i mean always inspect your variables

tight plinth
#

I'm bacc

gleaming narwhal
#

i'm not sure but is there a possibility this part causing a issue --> ["neko",]

earnest phoenix
#

The comma at the end?

tight plinth
#

you have an existing webserver?
@quartz kindle wdym by webserver

gleaming narwhal
#

@earnest phoenix yep

earnest phoenix
#

Ill try removing that first since it easy brb

quartz kindle
#

@tight plinth anything along the lines of express.js, app.listen, http.createServer

#

if not, what port did you set in webhookPort?

tight plinth
#

Hmmmmmmm

#

I rly don't have setup anything for webhooks, not even a webserver or a port

#

Coz idk how to do

#

Sorry to be a noob

quartz kindle
#

did you install dblapi.js? lol

tight plinth
#

I did

#

it works without webhook

#

my goal is to setup a webhook for it

quartz kindle
#

then add the webhook options

tight plinth
#
{ webhookPort: 5000, webhookAuth: 'password' }
```? if yes, time to find port ~~there is no password I guess~~
#

or the password is 'password'

earnest phoenix
#

im dumb..... i just realized what i changed.....
ill change it back to url and it should work. thanks for your help!

#

"image" on the api and the bot was looking for "url"

tight plinth
#

I have to actually create the webhook?