#development

1 messages · Page 1218 of 1

restive furnace
#

why

#

it supports arch

pure lion
#

oxide has wider stuff

delicate shore
pure lion
#

Oh

misty sigil
#

ig contabo is alright

delicate shore
#

Idk if it's good

pure lion
#

Oxide best

acoustic bridge
#

@trim lark uhh the member should be the author, "Testing" was the "suggestion" it should show as main text in the embed message

pure lion
#

:(

trim lark
#

and in your code

async def suggest(ctx, member: discord.Member):

u want a member as an arg

misty sigil
#

any """""""""""free""""""""""" hosting is/will either:

  1. not intended to be used as hosting for bots
  2. not actually suitable for hosting for bots
  3. not actually free
  4. will get your token stolen
  5. all of the above
pure lion
#

Be shit^^^

trim lark
#

the u need to change ur code

misty sigil
#

im gonna highlight 2 and 4 here

charred geyser
#

wait hold on

trim lark
#

@acoustic bridge

delicate shore
#

any """""""""""free""""""""""" hosting is/will either:

  1. not intended to be used as hosting for bots
  2. not actually suitable for hosting for bots
  3. not actually free
  4. will get your token stolen
  5. all of the above
  1. Be aPES_ShitJetpack
digital ibex
#

some free hosts are good lol

earnest phoenix
#

$5 digital ocean droplet all day

acoustic bridge
#
discord.Member = None

?

charred geyser
#

it says it comes with a mysql db

#

does that mean it wont work with another

trim lark
#

why do u need a discord.Member arg

pure lion
#

some free hosts are good lol
LoC doesn't count

earnest phoenix
#

a

pure lion
#

No

#

Bad member

digital ibex
#

:(

acoustic bridge
#
@client.command()
async def suggest(ctx, member: discord.Member = None):
    try:
        channel = client.get_channel(741284150970941522)
        member = ctx.message.author

        embed = discord.Embed(
        title = "Suggested by:",
        description = f'{member}',
        color= discord.Colour.blue()
        )

        embed.set_thumbnail(url=ctx.message.author.avatar_url)
        embed.add_field(name="Suggestion:", value=str(ctx.message.content), inline=False)
        await channel.send(embed=embed)
    except Exception as e:
        await ctx.send(e)

I'm just gonna leave that here, maybe you will know what i mean. (Worked before when running on PC I can guarantee)

delicate shore
misty sigil
#

but

#

but

pure lion
#

but

misty sigil
#

they have access to the files

pure lion
#

but just no

#

Please jo

delicate shore
#

But I always recommend Galaxy Gate

misty sigil
#

they can literally fucking steal your toekn

thick gull
#

anything marketed as a free host for discord takes your code and or abused your token

misty sigil
trim lark
#
@client.command()
async def suggest(ctx, member: discord.Member = None):
    try:
        channel = client.get_channel(741284150970941522)
        member = ctx.message.author

        embed = discord.Embed(
        title = "Suggested by:",
        description = f'{member}',
        color= discord.Colour.blue()
        )

        embed.set_thumbnail(url=ctx.message.author.avatar_url)
        embed.add_field(name="Suggestion:", value=str(ctx.message.content), inline=False)
        await channel.send(embed=embed)
    except Exception as e:
        await ctx.send(e)

I'm just gonna leave that here, maybe you will know what i mean. (Worked before when running on PC I can guarantee)
@acoustic bridge the code uve written doesnt do what u want it to do

earnest phoenix
#

heroku is ok if you setInterval to ping self every so often to avoid sleeping

restive furnace
#

LoC good

pure lion
#

There's a reason it's virtual private server

thick gull
#

anything marketed as a free host for discord takes your code and or abused your token

delicate shore
#

But I always recommend Galaxy Gate

misty sigil
#

virtual PRIVATE server

thick gull
#

let’s be real here

#

kekw

marble geode
#

how to use ${client.users.cache.reduce}?

pure lion
#

Stfu matt >:( copycat

restive furnace
#

no, it's virtual public server in LoC

trim lark
#

u have an uncessary arg for no reason which is causing the error @acoustic bridge

digital ibex
#

its a shared vm

pure lion
#

no, it's virtual public server in LoC
I could access your token right now

trim lark
#

you need an arg for the suggestion next not for the user

thick gull
#

any """""""""""free""""""""""" hosting is/will either:

  1. not intended to be used as hosting for bots
  2. not actually suitable for hosting for bots
  3. not actually free
  4. will get your token stolen
  5. all of the above
    @misty sigil you need to explain the issue with 4
#

4a.

delicate shore
#

@pure lion my ip
192.168.1.||69||

thick gull
#

people won’t get it

#

smh

#

these are white names your talking about

golden condor
#

My IP is 255.255.255.255

digital ibex
#

have you tried every single hosting service @thick gull ?

thick gull
#

My IP is localhost

#

shush

delicate shore
#

It was a mistake

#

The pic

thick gull
#

I’m a white name in disguise

digital ibex
#

have you tested it and found flaws in them?

acoustic bridge
#

I guess I will keep on running my bot on my local PC, i also need my music commands somehow

thick gull
#

man

golden condor
#

Install ffmpeg

thick gull
#

hosts are hosts for a reason

pure lion
#

@acoustic bridge music + heroku = not sex

thick gull
#

free hosts are not

acoustic bridge
#

yea

thick gull
#

good

#

in general

#

at all

delicate shore
thick gull
#

if it’s free your the product

sudden geyser
#

free hosts are still hosts

#

"good" hosts depends on what you're doing

delicate shore
#

^^

thick gull
#

it’s like it depends on your use

golden condor
#

heroku is dysfunctional

pure lion
#

if it’s free your the product
okay mister unfriended quote

trim lark
#

I guess I will keep on running my bot on my local PC, i also need my music commands somehow
@acoustic bridge your code is incorrect

digital ibex
#

most of them arent good, i agree. but not all of them.

trim lark
#

atleast the one on Heroku

pure lion
#

LoC is good but everyone can access your files and fuck you in the ass

thick gull
#

I will never use a free host. I’m not about to risk losing my token/not going offline and losing a ton of shit

digital ibex
#

there are some good ones which actually do what u want, act as a vps but its a vm

golden condor
#

What is LoC?

pure lion
#

Library of Code

thick gull
#

my own PC has more uptime than most free hosts

golden condor
#

ah

digital ibex
#

@pure lion no u cant

pure lion
#

Poot

pale vessel
#

What is LoC?
@golden condor lmao i think this is like the third time you asked that

golden condor
#

Most free hosts have some sort of catch, limit, security flaw or are ineffective for discord bots

restive furnace
#

LoC has limits

golden condor
#

@golden condor lmao i think this is like the third time you asked that
@pale vessel shsusuhshshsysuushshshhsusyhs

digital ibex
#

some have reasonable limits mmLol

errant perch
#
si.getStocksInfo(stocks).then(function(v) {
console.log(v.symbol)
})``` how do i catch a error before function
misty sigil
#

any free hosting is/will either:
1. not intended to be used as hosting for bots
a. intended to host small nodejs sites etc.
2. not actually suitable for hosting for bots
a. allow you to host bots but does not have enough specs
3. not actually free
a. is only a free trial
4. will get your token stolen
a. this issue is practically removed when getting from a trusted source (e.g. AWS / Google Cloud (these are both relatively bad for hosting bots))
Most free hosts have some sort of catch, limit, security flaw or are ineffective for discord bots

#

right

#

is that good enough

pure lion
#

OrrrrrrrRRRRRRRRRRRRRRR

#

Don't use Ubuntu it's bad KEKW KEKW

digital ibex
#

“any free hosting “

restive furnace
#

ubuntu is OK for vps

#

arch is OK for desktop

fringe axle
#

Am I completely dumb or why message.user.id is not working?

misty sigil
#

it generally applies to any free hosting imo

thick gull
#

And windows is not for both Kek

sudden geyser
#

Vale probably because user is not a property of message

#

What library first of all

errant perch
#

use author

#

if discord.js

fringe axle
#

Vale probably because user is not a property of message
@sudden geyser discord.js

misty sigil
#

all free hosting applies to at least one of those points

sudden geyser
#

if you want to get who sent the message use message.author

fringe axle
#

I try to do if the users id is the message.authors id then...

proven lantern
#

My free hosting provider uses templeos

thick gull
#

any free hosting is/will either:
1. not intended to be used as hosting for bots
a. intended to host small nodejs sites etc.
2. not actually suitable for hosting for bots
a. allow you to host bots but does not have enough specs
3. not actually free
a. is only a free trial
4. will get your token stolen
a. this issue is practically removed when getting from a trusted source (e.g. AWS / Google Cloud (these are both relatively bad for hosting bots))
Most free hosts have some sort of catch, limit, security flaw or are ineffective for discord bots
@misty sigil explain what a token is, and what happens if someone malicious has it

misty sigil
#

ah ok

digital ibex
#

templeos?

sudden geyser
#

think of a token like a password

restive furnace
#

And windows is not for both :Kek:
ofc it isn't, even almost everyone uses it.

digital ibex
#

a token is ur mom, she fat af

pale vessel
#

Lmao

thick gull
#

I was making a joke kekw

#

I use windows

digital ibex
#

same

restive furnace
#

same + linux

misty sigil
#

Any free hosting is/will either:
1. Not intended to be used as hosting for bots
a. Intended to host small nodejs sites etc.
2. Not actually suitable for hosting for bots
a. Allow you to host bots but does not have enough specs
3. Not actually free
a. Is only a free trial
4. Get your token stolen
a. This issue is practically removed when getting from a trusted source (e.g. AWS / Google Cloud (these are both relatively bad for hosting bots))
b. A token is a string you use to login to a bot, if your token is stolen/leaked your bot can be hacked, think of it as a password, just for a bot account. A bot token allows anyone to do anything with your bot, whether it be mass DM or banning everyone it can or just plain out abusing the API.
Most free hosts have some sort of catch, limit, security flaw or are ineffective for discord bots

#

better?

thick gull
#

yes

winter basalt
#

capitalizations

errant perch
#

good

#

i use it

thick gull
#

if someone has your token > they can control it completely

errant perch
#

it seems fine

delicate shore
#

Is there any way to shift local dB to mongoose ?

thick gull
#

yes

#

wait what is your local db

#

SQLite?

#

if then abcdb™️

delicate shore
#

Because I can't seem to be able to read that special characters in sqlite

thick gull
#

abcdb™️

uncut cosmos
#

hey

delicate shore
#

What 🤣

thick gull
#

it’s a npm package

delicate shore
#

O

uncut cosmos
#

anyone wanna try out a bot

thick gull
#

no

sinful belfry
#

@uncut cosmos no ads ty

uncut cosmos
#

ok starman i didnt know

delicate shore
#

Starman Scared_Dog

fringe axle
#
            if(message.author.id) {
              embed2.setDescription(`**Informations**\n├─Edited in: <#${message.channel.id}> [${message.channel.id}]\n├─Message ID: ${esnipechannel[4]}\n├─Edited by: <@${esnipechannel[5]}> [${esnipechannel[5]}\n`)
              embed2.addField("**Old Content**", `${esnipechannel[0]}`)
              embed2.addField("**New Content**", `${esnipechannel[1]}`)
              }
``` I try to do if the message.author.id is the message author's id then this things will happen
delicate shore
#

That hurts my eyes

digital ibex
#

that will always be true

sinful belfry
#

@uncut cosmos if you're unsure of what you are and aren't allowed to do here, i would highly recommend you take a long read of #rules-and-info 👀

misty sigil
#

Any free hosting is/will either:
1. Not intended to be used as hosting for bots
a. Intended to host small nodejs sites etc.
2. Not actually suitable for hosting for bots
a. Allow you to host bots but does not have enough specs
3. Not actually free
a. Is only a free trial
4. Get your token stolen
a. This issue is practically removed when getting from a trusted source (e.g. AWS / Google Cloud (these are both relatively bad for hosting bots))
b. A token is a string you use to login to a bot, if your token is stolen/leaked your bot can be hacked, think of it as a password, just for a bot account. A bot token allows anyone to do anything with your bot, whether it be mass DM or banning everyone it can or just plain out abusing the API.
Most free hosts have some sort of catch, limit, security flaw or are ineffective for discord bots

#

final write

thick gull
#

ok pog

delicate shore
#

Woo

thick gull
#

now preach it to all the white names asking for a host

uncut cosmos
#

ok starman i was just wondering thats all

delicate shore
misty sigil
#

into the copypasta file it goes tinydeskengineer

winter basalt
#

what is the target audience

thick gull
#

white names

misty sigil
#

people who want a free host

thick gull
#

like me

golden condor
#

Generally speaking, most free hosts have one or more of these flaws, but not all do, some are fine

  1. Limits - they may limit storage, ram or CPU and sometimes these limits can be reasonable
  2. Are a scam - many hosts promise free hosting but they never actually give it to you
  3. Have security flaws - your code may be public unless you pay meaning your token (the way you connect to your bot, and should be private) could be leaked
  4. Have catches - might have a lot of downtime or require you to watch ads or might sell your data etc.
  5. Ineffective for discord bots - some hosts might be ineffective for discord bots as they are made for websites or other things
  6. Incompatible with some libraries - some hosts can't use things like sqlite, ffmpeg or others meaning you can't store data or play music which can be bad but is not bad unless your bot does any of these things
  7. Is slow - your bot might be incredibly slow or database speed might be incredibly slow which affects your bot

As I said, not all hosts are like this, but most have one of these catches so watch out

thick gull
#

but in disguise

misty sigil
#

shit

fringe axle
#
            if(message.author.id) {
              embed2.setDescription(`**Informations**\n├─Edited in: <#${message.channel.id}> [${message.channel.id}]\n├─Message ID: ${esnipechannel[4]}\n├─Edited by: <@${esnipechannel[5]}> [${esnipechannel[5]}\n`)
              embed2.addField("**Old Content**", `${esnipechannel[0]}`)
              embed2.addField("**New Content**", `${esnipechannel[1]}`)
              }
``` I try to do if the message.author.id is the message author's id then this things will happen
misty sigil
#

callum can i add that

winter basalt
#

you got competition

delicate shore
#

That's ---

golden condor
#

I did one too

thick gull
#

how about we combine it and then send message links

golden condor
#

You can use it if u want

thick gull
#

?

digital ibex
#

there are more retarded people with the <@&265125253443878912> role than white names so ty

thick gull
#

ok but that implies they know how to start a bot

golden condor
#

I don't mind matt

sinful belfry
#

be nice to each other

#

judging people by their roles is just dumb

thick gull
#

how about we combine it and then send message links
rather than spam with the full message

#

i don’t mean white name as role I mean it as a mentality

golden condor
thick gull
#

or something

#

because yes I don’t have bot dev rank and I am capable, so whitename isn’t specifically limited to roles:)

misty sigil
thick gull
#

yea

#

send it once then use message links

golden condor
misty sigil
#

Any free hosting is/will either:
1. Not actually suitable for hosting for bots
a. Allow you to host bots but does not have enough specs
2. Not actually free
a. Is only a free trial
3. Get your data/token stolen
a. This issue is practically removed when getting from a trusted source (e.g. AWS / Google Cloud (the free (trials) are relatively bad for hosting bots))
b. A token is a string you use to login to a bot, if your token is stolen/leaked your bot can be hacked, think of it as a password, just for a bot account. A bot token allows anyone to do anything with your bot, whether it be mass DM or banning everyone it can or just plain out abusing the API.

<Below is entirely written by @golden condor>
Most free hosts have some sort of catch, limit, security flaw or are ineffective for discord bots

Generally speaking, most free hosts have one or more of these flaws, but not all do, some are fine:
1. Limits - they may limit storage, ram or CPU and sometimes these limits can be reasonable

2. Are a scam - many hosts promise free hosting but they never actually give it to you

3. Have catches - might have a lot of downtime or require you to watch ads or might sell your data etc.

4. Incompatible with some libraries - most free hosts can't use things like sqlite, ffmpeg or others meaning you can't store data or play music which can be bad but is not bad unless your bot does any of these things (e.g Heroku)

List of good hosts: https://discordapp.com/channels/264445053596991498/272764566411149314/576818380498010112

golden condor
#

hhhh

thick gull
#

takes like 3 full iPhone X screens

#

kekw

golden condor
#

It takes my entire phone screen up jesus

glacial mason
#

Can someone help pls

thick gull
#

hoister no hoisting

golden condor
#

Also just ping me instead @misty sigil

errant perch
#

discord usually dm's you if you token gets compromised

thick gull
#

yeah but it’s still a precaution you want to take

fringe axle
#
            if(message.author.id) {
              embed2.setDescription(`**Informations**\n├─Edited in: <#${message.channel.id}> [${message.channel.id}]\n├─Message ID: ${esnipechannel[4]}\n├─Edited by: <@${esnipechannel[5]}> [${esnipechannel[5]}\n`)
              embed2.addField("**Old Content**", `${esnipechannel[0]}`)
              embed2.addField("**New Content**", `${esnipechannel[1]}`)
              }
``` I try to do if the message.author.id is the message author's id then this things will happen. Someone can help now?
misty sigil
#

discord usually dm's you if you token gets compromised
@errant perch nah not if its not posted to github

digital ibex
#

its instant, and thats if its only open source

thick gull
#

my bank usually calls me if my details get compromiSed, doesn’t mean I’m giving it out to other people

errant perch
#

o

golden condor
#

ok I got the right link

misty sigil
#

i swear (fuck)

thick gull
misty sigil
#

nice fail numnuts

glacial mason
#

Im trying with another bot token and it opens but when i put my bot token, bot doesnt log in to the discord

#

Can someone help pls

thick gull
#

oh I quoted the wrong message

golden condor
#

lol

thick gull
#

emir wdym

sinful belfry
#

can you guys try to keep this channel a bit more on-topic

misty sigil
#

client.on("debug", msg => console.log(msg))

#

this should show debug info

#

did i just assume djs

thick gull
fringe axle
#
            if(message.author.id) {
              embed2.setDescription(`**Informations**\n├─Edited in: <#${message.channel.id}> [${message.channel.id}]\n├─Message ID: ${esnipechannel[4]}\n├─Edited by: <@${esnipechannel[5]}> [${esnipechannel[5]}\n`)
              embed2.addField("**Old Content**", `${esnipechannel[0]}`)
              embed2.addField("**New Content**", `${esnipechannel[1]}`)
              }
``` I try to do if the message.author.id is the message author's id then this things will happen
misty sigil
#

fuck

golden condor
#

Does it never ready?

pale vessel
thick gull
#

it doesn’t change though

fringe axle
#

Ok

misty sigil
fringe axle
#

Yea, but other users can see it too

glacial mason
#

@thick gull the bot does not open but it opens when i put a different bot token

thick gull
#

wdym doesn’t open

golden condor
#

In djs does User have a client property? I am tryna extend it so I can add a get property which checks if they are owner

digital ibex
#

the token is incorrect then?

thick gull
#

callum

#

wdym

#

owner of guild?

#

or bot

golden condor
#

No I know how to do that part

#

I just need to know if it has a client property so I can access the client

thick gull
#

huh what

pale vessel
#

almost everything is attached to client callum

thick gull
#

ok

golden condor
#

I mean does User.client exist

pale vessel
#

so yes

#

users, members, guilds, channels, you name it

#

they all have client

golden condor
#

alright ty!

#

I just want to access the config property on client

pale vessel
#

people pass client to their execute function while i only pass message and use message.client

glacial mason
#

Like this

#

bot has been like this for 2 days

golden condor
#

so I just would do

get isOwner() {
return this.client.config.client.owners.includes(this.id)
}```
digital ibex
#

open src/client/Client.js in discord.js and scroll to 436

golden condor
#

Don't question the length of it

digital ibex
#

send the code around it

thick gull
#

that’s

#

the library

#

not him

#

it’s something with the token

digital ibex
#

i didnt say that was him

thick gull
#

so what would he do then

#

rewrite djs?

digital ibex
#

i asked for the code in discord.js

#

no

thick gull
#

he said it works fine with other tokens

#

the library code does work then

digital ibex
#

i literally cant with u

thick gull
#

Ok

glacial mason
pure lion
#

:l

golden condor
#

Discord gateway is being slow

digital ibex
#

its not showing up for me oof

pure lion
#

Discord gateway more like discord minor inconvenience way

golden condor
#

Or you indentified too many times

#

Try listen for the debug event

charred geyser
#

lol

golden condor
#

client.on("debug", console.log)

fringe axle
#
            if(message.author.id === message.author.id) {
              embed2.setDescription(`**Informations**\n├─Edited in: <#${message.channel.id}> [${message.channel.id}]\n├─Message ID: ${esnipechannel[4]}\n├─Edited by: <@${esnipechannel[5]}> [${esnipechannel[5]}\n`)
              embed2.addField("**Old Content**", `${esnipechannel[0]}`)
              embed2.addField("**New Content**", `${esnipechannel[1]}`)
              }
``` Hm... everyone can see this too.
golden condor
#

what the

fringe axle
#

XD

golden condor
fringe axle
#

I know

#

I tried it

errant perch
#
si.getStocksInfo(stocks).then(function(v) {
console.log(v.symbol)
})``` how do i catch a error before the function
queen violet
#

if (true)

fringe axle
#

But everyone can see it still

golden condor
#

You might as well just do if (true)

queen violet
#

if (!false)

final stone
#

(wrongchannel)

pale vessel
#

if (channel != shitpostChannel) moveASAP();

digital ibex
#

@glacial mason what version of discord.js are you using?

opal plank
#

@glacial mason did your account get flagged/banned by any chance?

#

specially if your bot has 'DISCORD' on the name or something along the lines

#

those usually tend to get flagged really easily

thick gull
#

thank you for not saying it’s a library issue

#

😩

opal plank
#

and which version of djs are you using

glacial mason
#

@glacial mason what version of discord.js are you using?
@digital ibex v11

opal plank
glacial mason
#

my bot is verified

opal plank
#

how bout we update it cuz its deprecated now?

pale vessel
#

yike

glacial mason
#

How can it be banned

opal plank
#

not banned, flagged

#

also update your code

pale vessel
#

your bot is definitely not verified

opal plank
#

v11 deprecated

digital ibex
#

thats probably why, update to v12

#

an try again

thick gull
#

v11 is still supported

#

but not later

forest mirage
#

v11 is supported until october

pale vessel
#

and look at the month

glacial mason
#

your bot is definitely not verified
@pale vessel

#

?

thick gull
#

yea

#

I’m just upset cause this guy keeps on saying bs 😩

forest mirage
#

well it sure isn't your bot-

opal plank
forest mirage
#

or the account that owns it

glacial mason
#

Are y kidding me or what

#

What is ur problem

#

This is my bot

opal plank
#

i can only guess from this point, Tim might be more familiar with d.js than most of us

earnest phoenix
#

LOL

pale vessel
#

anyway, upgrade

forest mirage
#

well whatever it doesn't even matter

errant perch
#

a

forest mirage
#

but yeah update asap

lament meteor
#

wut u need? i use djs

pale vessel
#

you have to upgrade later anyway

errant perch
#

how do i catch a error outside of a function, discord.js

pale vessel
#

now's a good time

opal plank
#

@rugged tundra go dot elsewhere, this is for dev chat

lament meteor
#

which breaks all old libraries

glacial mason
#

I just don't use the v11 version, everyone uses it

opal plank
#

could be a thing too

glacial mason
#

How can i uprage the 300 command

thick gull
#

wdym everyone uses it

opal plank
#

the same way you made them, coding

lament meteor
#

tbf there isnt much to change

opal plank
#

theres a guide on how to port it

thick gull
#

ohh discord bot YouTube tutorials

#

😩

opal plank
lament meteor
#

just search for things like users.x -> users.cache

opal plank
#

shouldnt take more than a day to fix stuff

lament meteor
#

unless ur me a lazy fuck

opal plank
#

or that

glacial mason
#

but what could this error have to do with it?

#

V1q version

thick gull
#

it’s being deprecated soon

#

so it might not respond

opal plank
#

even if it works now, it wont work in the future

thick gull
#

the website changed

opal plank
#

its betetr to just get this over with

thick gull
forest mirage
#

you have probably been rate limited

thick gull
#

and v11 doesn’t have that

forest mirage
#

that might be cause of the error

thick gull
#

no it would say so(?)

glacial mason
#

ok i will try to upgrade

opal plank
#

for now it might be a simple change as changing the url to discord.com, but in a couple days/weeks v11 will likely stop working

glacial mason
#

Thanks for info

opal plank
thick gull
#

time to make a bot with v6

opal plank
#

oof

thick gull
#

and then ask for help here when my boost expires

opal plank
#

time to make a bot in scratch

thick gull
#

making a bot in scratch kinda impressive though

#

cause you can’t even do it can you

lament meteor
#

@forest mirage doubt it tbh... cuz djs will error ratelimited rather than that

opal plank
#

its basically js iirc

lament meteor
#

its js now

#

used to be py

thick gull
#

oh

sudden geyser
#

make a bot in assembly

thick gull
#

let’s make a scratch library mmulu

opal plank
#

but using that shitty interface for an actual bot is the challenge

lament meteor
#

^

charred geyser
#

lmao

lament meteor
#

eh tbf not rlly

opal plank
#

using those building blocks?

lament meteor
#

cuz dbots are basically just
listening function

  • if statment for cmd
    • msg sent
charred geyser
thick gull
#

ok hear me out, bot designer but with drag and drop building blocks

opal plank
#

yeah good luck writing a bot with millions of blocks

#

ERWIN HELPLPP

#

wusup?

charred geyser
#

yes

#

uhh

thick gull
#

Erwin I’ve seen really big scratch games

lament meteor
#

@charred geyser u need to add the url on the dashboard

charred geyser
#

Oauth2

forest mirage
#

read the error

opal plank
#

seems like a bad invite

charred geyser
#

bruh

pale vessel
#

did you add the redirect url in the dashboard?

thick gull
#

I used to exclusively use scratch and read the code

earnest phoenix
#

LOL

charred geyser
#

@charred geyser u need to add the url on the dashboard
@lament meteor i have done 😦

earnest phoenix
#

@charred geyser no you havent

lament meteor
charred geyser
#

bruh

#

yes i have

lament meteor
#

u sure u got the http(s) there?

earnest phoenix
#

Not according to discord

opal plank
#

you got a redirect?

charred geyser
#

yes

opal plank
#

i remember it needing a token

#

holdup

#

you cant just foward a uri without a param on it

forest mirage
#

lol

opal plank
#

i forgot what it was, sec

charred geyser
#

yes

forest mirage
#

that simple

charred geyser
#

i have done that

opal plank
#

not quite

forest mirage
#

???

lament meteor
opal plank
#

redirects need an extra thing

lament meteor
#

client secret and client id

charred geyser
#

yep

#

all there

lament meteor
#

hmmm

charred geyser
#

pretty much

#

i had it working on localhost

lament meteor
#

can u send the url here?

charred geyser
#

sure

opal plank
#

response_type

forest mirage
#

ah it's a redirect

opal plank
#

it needs a response

lament meteor
#

redirect_uri

charred geyser
#

wait

#

one sec

lament meteor
#

meaning the query is wrong or smthn

opal plank
#

like i said

#

it needs a response

#

uri needs it

charred geyser
pale vessel
#

LOL

charred geyser
#

thats my dashboard 😎

#

its just for testing 😄

earnest phoenix
#

ahm

#

it has nothing

opal plank
earnest phoenix
#

and nothing

opal plank
#

add

#

the

#

fricking

#

response_type

#

on param

charred geyser
#

bruh

opal plank
#

just do it

nimble kiln
#

@charred geyser Clicking on "Login" doesnt do anything

earnest phoenix
#

btw the OAuth2 is invalid

#

yes

charred geyser
#

me*

earnest phoenix
#

yes

opal plank
#

i give up

lament meteor
#

hmm

nimble kiln
#

my god

opal plank
#

if you give up too, read what i sent cuz thats the answer

nimble kiln
#

ok discord was broek

charred geyser
#

response_type
@opal plank this?

lament meteor
#

u have 2 / at tha callback url

#

works fine

earnest phoenix
#

hmmm @charred geyser u use express ?

#

hmmm

charred geyser
#

yes

lament meteor
#

and if u see... the .com%2Fcallback

charred geyser
#

oh wait

earnest phoenix
#

where

#

oh ye

#

i see

lament meteor
#

compared to &redirect_uri=https%3A%2F%2Funnamed-dashboard.herokuapp.com%3A22368%2Fcallback

charred geyser
lament meteor
#

thats where u have ur mistake

#

its ur code!!!!!!

#

not discord

charred geyser
#

oh

lament meteor
#

%3A22368%2F is ://

#

where %2F is /

charred geyser
#

uh

lament meteor
#

dont have the port

charred geyser
#

it needs it

#

doesn't it

lament meteor
#

no?

charred geyser
#

bruh

lament meteor
#

u could just do /callback iirc

#

but it isnt smart if ur forwarding url

#

like u use ur own domain

#

it probs will redirect to the heroku

#

u dont hv the port in the callback uri so

#

¯_(ツ)_/¯

charred geyser
#

YES

#

i love you

#

bruh i thought you needed the port lol

#

my dashboard actually works now!

#

but

#

it works

#

😄

lament meteor
#

no lol

night tiger
#

how do I go about getting my server listed for specific games?

lament meteor
#

i suggest using ejs for what u doin

night tiger
#

was told to come here

charred geyser
#

i am using ejs

misty sigil
charred geyser
#

i just haven't done any design

#

yet

digital ibex
#

ejs for a dashboard?

charred geyser
#

🤷

digital ibex
#

you’d preferably not want to use ejs for a dashboard

charred geyser
#

why

earnest phoenix
#

if(args === '--koyu') not working

opal plank
#

args is an array

charred geyser
#

i love the way you put emoji after everything 😄

lament meteor
#

@misty sigil this is what im talking about people not knowing how to read objects and json

earnest phoenix
#

If there is in the sentence, the command should run.

misty sigil
#

oh lmfao

charred geyser
misty sigil
#

god almighty

opal plank
#

@earnest phoenix you know what an array is?

thick gull
#

args is an array probably

digital ibex
#

because frameworks do exactly what ejs does but better, makes frontend web dev easier

earnest phoenix
#

@opal plank bro i know

opal plank
#

then what is your 'args'?

sand condor
#

can you show more code

charred geyser
lament meteor
#

@digital ibex tbf for simple projects ejs will suffice

#

and it is kinda nice

earnest phoenix
#

anyone know how to make website more better cuz i am not good in front-end

#

: /

thick gull
#

css

earnest phoenix
#

yes

#

ik

#

but the design

charred geyser
#

samE!!!

lament meteor
#
  • ejs is very very light weight
opal plank
#

just search templates online

thick gull
#

pretend you’ve never used something

charred geyser
#

yeah tbf i might do that

earnest phoenix
#

hmm templates

lament meteor
#

probs just use bootstrap or smthn

earnest phoenix
#

hmm ok

#

I used includes okay.

#

it is copy paste time

#

xD kidding

#

jsut the template

opal plank
sand condor
#

can you show more code or nah

charred geyser
#

leak client token 👀

#

😄

earnest phoenix
#

client.on("message", message => {
  if(message.content.startsWith("--something")) {
    //code
  }
}

@sand condor ^^^ you are wellcome

opal plank
#

@sand condor i still love that pfp of urs

earnest phoenix
#

:))

opal plank
#

thats the bot prefix tho

#

startsWith

#

not match

earnest phoenix
#

oh no

opal plank
sand condor
#

@earnest phoenix i was talking to aproxthethat, sorry for the confusion

digital ibex
#

@lament meteor yeah, but making a dashboard isnt the smallest thing

sand condor
#

@opal plank thanks

charred geyser
#

lol

digital ibex
#

i use ejs for one of my sites, just a simple website which practically does nothing which is available to the public

lament meteor
#

what do u need react or vue for on a dbot dashboard?

thick gull
#

for hobbyists a dashboard using ejs is good

lament meteor
#

^

thick gull
#

it’s not like he’s a company

#

like mee6

#

Or something

lament meteor
#

i would say ur doing smthn stupid fuck if ur usin ejs for plain html

earnest phoenix
#

wait startsWith is function right ?

opal plank
#

write everything with express and raw html mmLol

lament meteor
#

dont add useless packages when u dont need em

sand condor
#

yes string.startsWith is a function

earnest phoenix
#

does MEE6 has a team ?

quartz kindle
#

fuck express, just use http.createServer

thick gull
#

yea

earnest phoenix
#

i dont care if its 1 static web page...im using angular 2

sand condor
#

probably

lament meteor
#

@quartz kindle fastify

opal plank
#

i like express angeryBOI

charred geyser
#

mee6 = not as good as my bot 😄

digital ibex
#

angular is shite

quartz kindle
#

fastify is meh

opal plank
#

express has handy RL's, i like it

digital ibex
#

use vue

earnest phoenix
#

@quartz kindle wait u don't use EXPRESS ?

misty sigil
#

idgaf if its just a site saying fuck you im using react for it

thick gull
#

just use wix

earnest phoenix
#

even in ur main website

thick gull
misty sigil
#

because uh

lament meteor
#

from what i heard it is faster than http.createServer

opal plank
#

slow down and RL is amazing packs @quartz kindle

quartz kindle
#

no i dont use express

misty sigil
#

web development™️

pure lion
#

....mattt

earnest phoenix
#

angular is best js framework ok

misty sigil
#

what

pure lion
#

What the fuck

misty sigil
#

what

earnest phoenix
#

REACT this the best

opal plank
#

WEBLANG WAR, LETS GOOOO

lament meteor
#

but why slowdown?

thick gull
#

angular is being required by my county, I know this from leaked county info Kek

opal plank
#

so people get disencourage to attemp to ddos you

digital ibex
#

vue is the best, react is a lil slow and angular has restrictions

misty sigil
#

i love ejs

opal plank
#

it increases the response time after every connection

earnest phoenix
#

*fights @earnest phoenix

charred geyser
opal plank
#

@lament meteor

lament meteor
#

hmm thats true

#

cuz it makes it seem like u already got ddosed?

quartz kindle
#

fastify is not as fast as it claims to be

lament meteor
#

hmm

earnest phoenix
#

im a lil bias...ive been using angular 2 since beta

quartz kindle
#

there are other faster things out there

digital ibex
#

which is why, for me, angular is wayyy down below in the hierarchy for web dev frameworks

opal plank
#

not really, but better safe than sorry

#

i rather avoid that altogether

earnest phoenix
#

so its very fast to build for me

lament meteor
#

thats true

digital ibex
#

is angular good performance wise?

lament meteor
#

someone who used smthn from the start is bias in terms of speed when they hvnt seen other stuff

opal plank
#

every decent api needs a way to be ratelimited and avoid attacks

lament meteor
#

welp imma sleep

opal plank
#

gnit

lament meteor
#

dm me or ping me if u need help

quartz kindle
#

most front-end frameworks are pretty slow

opal plank
#

bs

quartz kindle
#

due to the virtual dom they use

earnest phoenix
#

i think so...ive worked on 2 large scale projects and no real issues being limited or bad performance

opal plank
#

there

#

fast

#

responsive

#

and good

quartz kindle
#

yes

lament meteor
#

took a bit to load

quartz kindle
#

10/10

digital ibex
#

oh nice

earnest phoenix
#

rxjs and ts os really why i like angulat

opal plank
#

slap a css background and there we go, 10/10 website. add 3 or 4 gifs running in each corner to give a 2001 vibes, and you got yourself a website

lament meteor
#

very very responsive

digital ibex
#

lmao that site is amazing

opal plank
#

nothing beats this

earnest phoenix
#

lol how much was domai ln

#

domain

opal plank
#

not a clue

quartz kindle
#

if you want fast front-end, check out svelte

#

if you want fast back-end, check out nano-express pro

opal plank
#

express

digital ibex
#

i aint got nothing pro

charred geyser
#

imagine caring about speed and not weather you can even get your website to start 😁😁

digital ibex
#

it will br fjrst me

charred geyser
opal plank
#

who cares about being responsive? i much rather a 30 second delay when i click a button than look at a 2000 looking website mmLol

charred geyser
#

yes

#

same

#

i should probably add my bot to bots.gg

pure lion
#
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;

it doesnt make the content go to the center of the page

#

(horizontally)

errant perch
#
si.getStocksInfo(stocks).then(function(v) {
console.log(v.symbol)
})``` how do i catch a error outside of the function
pure lion
#

nvm fixed it

#

@errant perch .catch

errant perch
#

ok

small prairie
#

how can i encode opus to mp3 ;-;

woven sundial
#

Hello everyone pikachuhello
I have a problem with my discord.js bot,

My bot is on a single server and display some websites status by editing a message.

The problem is that it is running for now 3 days and use 112mb ram. How can I reduce the ram usage ?

Someone said me to change my js const client = new Discord.Client() to js const client = new Discord.Client({ disableEveryone: true, disabledEvents:[ 'GUILD_MEMBER_UPDATE', 'GUILD_MEMBERS_CHUNK', 'GUILD_INTEGRATIONS_UPDATE', 'CHANNEL_PINS_UPDATE', 'USER_UPDATE', 'USER_SETTINGS_UPDATE', 'PRESENCE_UPDATE', 'TYPING_START', 'WEBHOOKS_UPDATE', ], messageCacheMaxSize: 10, }); but it doesn't changed anything. What should I do ?

misty sigil
#

use discord.js-light

#

thats the one that sticks out to me

woven sundial
#

do I need to change my code to use djs light ?

misty sigil
#

yes

woven sundial
#

I'm actually on Discord.js 12.3

#

oh okay

misty sigil
#

it depends on discord.js

#

its just caching thats affected

woven sundial
#

so I can keep the same code ?

misty sigil
#

depends

#

you can just enable/disable cache you dont need

woven sundial
#

okay ! Thanks a lot

misty sigil
#

like if you use client.channels.cache.get()

#

you can enable channel cache

woven sundial
#

oh I see

misty sigil
woven sundial
#

thanks

forest narwhal
#

guys can someone help me?
I want to know how many discord servers my bot is on. (Discord.py)

slender thistle
#

len(client.guilds)

misty sigil
#

shit i was gonna say that

sweet kestrel
#

help

misty sigil
#

what

sweet kestrel
#

I only want the money

#

to be bold

#

not the whole line 😦

slender thistle
#

Where are you using that text?

misty sigil
#

you cant do that in a title

slender thistle
#

Is it the title or author field?

misty sigil
#

the money is more bold than the line slightly

sweet kestrel
#

oh

#

it is a field i thin

#

thin

#

think

#

because it is not title

misty sigil
#

lets see where the msg is used

slender thistle
#

In any case, use it in field value or description

forest narwhal
#

len(client.guilds)
@slender thistle it gives me error i want to cry

sweet kestrel
#

oh

#

ok, thankyou, I will try that

eternal osprey
#

where is not erwin

misty sigil
#

@forest narwhal saying it "just errored" doesn't provide useful info

#

whats the error message

forest narwhal
#

omg i fixed it i love u @slender thistle

slender thistle
#

Sometimes I wonder if me trying to actually help is the issue

misty sigil
#

lmao

slender thistle
#

because almost every time I go away to do something, I come back to the person fixing it manually

sterile thicket
#

is there a way to collect both message and reactions and return the same thing?

I want to send "messages A" and add reactions "👍".
If someone reacts to 👍 or replies with "ok" in chat, it'll return x.

forest narwhal
#

now how i can add len(client.guilds) in the rich presence?

#

await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name='*help | Beta on'len(bot.guilds)))

#

I ve tried this but not work

slender thistle
#

f-strings

#

.format

#

concatenation

forest narwhal
#

aaaaah ok ty

slender thistle
#

Top one suggested if your Python version is 3.6+

sterile thicket
#

is there a way to collect both message and reactions and return the same thing?

I want to send "messages A" and add reactions "👍".
If someone reacts to 👍 or replies with "ok" in chat, it'll return x.

earnest phoenix
#

why the heroku and freenom domain does work : /

#

any help me

#

i pointed a right dns but still not wroking

forest narwhal
#

@slender thistle ty :3

earnest phoenix
#

yesss it works

#

omg light mode

sweet kestrel
left sentinel
#

LOL

sweet kestrel
#

do you guys know how to do a empty line

left sentinel
#

lel

misty sigil
#

a unicode char

thick gull
#

this covers it

sweet kestrel
#

between shut up bro and dont forget

left sentinel
#
Test
sweet kestrel
#

lmao

#

I am using python

left sentinel
#

Ok It works

thick gull
#

oh

#

kekw

sweet kestrel
#

?

#

this does not work

left sentinel
#

RIp

hexed spear
#

Question: I have my bot all ready to go (friend of mine wrote it), but I'm stuck at the cmd part of it.

left sentinel
#

Ok.

misty sigil
#

what error

left sentinel
#

Try make your own bot.

#

You will learn the erros.

#

It will make it easier

charred geyser
#

@misty sigil i love your pfp 😁

misty sigil
#

i love my pfp too

hexed spear
#

Wrong directory?

left sentinel
#

So

charred geyser
#

i miss old top gear

left sentinel
#

make sure its not in the wrong file, @hexed spear

forest narwhal
#

omg light mode
@earnest phoenix i love light mode

left sentinel
#

Ew,

#

i cant use it

#

idk why

#

its too...

#

Bright...

#

lol

sinful belfry
left sentinel
#

Rip, sooooooryyyyyyy

sinful belfry
#

not #shit-on-light-mode

left sentinel
#

LOL

earnest phoenix
#

Lol

charred geyser
#

lol

#

can anyone suggest the best way of hosting a bot and a website for the bot on the same service

misty sigil
#

vps

slender thistle
#

A VPS and a domain rented separately

charred geyser
#

i mean like

#

which hosting service

misty sigil
#

depends

#

shows a few

#

etc etc

charred geyser
#

thanks ill havw a look at those

dusty onyx
#

if i have a dict thats { 1 : "a", 2 : "b"}, how could i phrase a for loop that would put each str into a list?

slender thistle
#

Could use a list comp here

my_dict = {
1: "a",
2: "b"}

my_list = [my_dict[k] for k in my_dict]```
dusty onyx
#

ooh nice ty!

latent tundra
#

how the hell do i make my bot functional

fringe axle
#

You mean get him online and what library?

charred geyser
#

lol

spare goblet
#

-faq 13

gilded plankBOT
charred geyser
#

oh neat

calm wyvern
#

Lol

wicked pivot
#
const {readFile} = require('fs-nextra');

let plate = await readFile('./assets/images/plate_beautiful.png');```

(node:10936) UnhandledPromiseRejectionWarning: TypeError: readFile is not a function```

sweet kestrel
#

I am using python

#

did anyone know how to transform this seconds to seconds, minutes and hours?? This is 24 hours, but is showed as seconds

thick gull
#

division question mark

sweet kestrel
#

?

#

how to do that

sudden geyser
#

@wicked pivot from what I see, fs-nextra doesn't have a readFile function.

sweet kestrel
#

/?

wicked pivot
#

use fs ?

earnest phoenix
#

what if you just const readFile = require

sweet kestrel
#

like that?

#

@thick gull

#

/?

sudden geyser
#

You're using fs-nextra?

earnest phoenix
#

or const x = require(package) x.readFile

sudden geyser
#

no point

#

the lib doesn't export a function called readFile

earnest phoenix
#

oh

wicked pivot
#

i use fs and fs-nextra

#
"fs-nextra": "^0.5.1",```
sudden geyser
#

fs comes with Node.js

#

You don't need to npm install it

wicked pivot
#

hm okay

#

but it doesn't help me that I use fs or fs-nextra it puts me an error for fs it puts me:

(node:11328) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined```
thick gull
#

poggers

misty sigil
#

pog

pure lion
#

BrO

thick gull
#

edit it to not be development related now just like this message

pure lion
#

My turn

sudden geyser
#

@wicked pivot it means you did not supply the function you called with a callback. Check the documentation for what function you're trying to call to see what the parameters it takes.

wicked pivot
#

But the problem is that I have nothing to change the code I just switch from discord v11 to v12 I do not see why this is a problem

sudden geyser
#

okay then where is the error coming from (what line)

midnight blaze
#

anyone knows aws.amazon.com. There is an offer where you can get a vps for 12 months for free

#

has anyone experience with it?

wicked pivot
#

I solved the problem otherwise, now it is at the send level that there is a problem how does it work in v12?

 return await message.channel.send({ files: [{ attachment: result, name: 'beautiful.png' }] });```
thick gull
#

has anyone experience with it?
@midnight blaze I mean it’s Amazon

midnight blaze
#

I was trying to figure how if I am able to simply delete the account after a while or if I have to continue paying for getting 12 months for free, but the faq didnt help

thick gull
#

you need to link a card other wise it’s like 100 hours or something

misty sigil
#

why not just get a vps

midnight blaze
#

this is a vps

#

but by aws

#

and it is free for 12 months

misty sigil
#

ok fuck i forgot that

pure lion
misty sigil
#

just make it shorter

pure lion
#
 The basic understanding of JavaScript based Discord libraries

So, you want to make a discord bot. Great, glad you're here! Assuming you're looking for help, let's look at the very basics. First off, you'll need a way to run the code for your bot on your host (place where the bot is running, a list of good hosts can be found here [https://discordapp.com/channels/264445053596991498/272764566411149314/576818380498010112] but don't worry about it just yet, you're testing and making your first node coding project, not discord). A good way to run this code is using node.js which can be installed here [https://nodejs.org]. Now that it's installed, you're going to need a text editor to write the code. A few good ones can be found here [
visual studio code (VSC):
https://code.visualstudio.com
sublime text: https://sublimetext.com
vim: https://www.vim.org
Atom: https://atom.io
]. Now make a new folder and name it something similar to "discord bot". Open the folder in your text editor, and if it has a built in console then open that (if not, open the command like and type cd <the location of the folder you opened in the text editor>). Now type npm init -y, this will create a package.json for you which will store the npm packages you install. Make a file named index.js and you're almost ready to start. Go to the Discord developer portal [https://discord.com/developers] and create a new application. Go to the bot tab and click on the create bot button, this will allow you to connect to discord through your code from your text editor. Copy the token (NOT the secret or the ID) for later use. Create a file named config.json and then in the file write:

 {
     "token":"the token you copied here"
 }```
Now you're all set to install a discord library off of <https://npmjs.org> and use it! The popular ones, discord.js and Eris are well documented here [
discord.js: <https://discord.js.org>
Eris: <https://npmjs.org/package/eris>
]
misty sigil
#

AAHHH

#

use <> fsf

pure lion
#

What

#

Where

#

:o

misty sigil
#

actually that works

pure lion
#

Yay

eternal osprey
#

i don't want to be mad

#

but uhh

#

i learned promisfying

pure lion
#

Who

eternal osprey
#

👀

sinful belfry
#

did you type all that out on mobile

misty sigil
#

yes

pure lion
#

Yes

#

I did

sinful belfry
pure lion
#

😄

misty sigil
#

i wanna edit that into my message now

pure lion
#

This is the pin it or I'm going to have a stroke face

#

MATT

#

NO

#

BAD MATT

#

:(

misty sigil
#

change a few recommend ones to a few good ones

pure lion
#

nO

#

:)

#

It's not been pinned yet maybe I should do that actually

#

Also can I see the formatting on pc lmao

misty sigil
#

mk looks like i'll need to make another message

pure lion
#

No it does not

misty sigil
#

ok ill just dm u a fixed version

pure lion
#

Tank

glossy burrow
sudden geyser
#

if you have the user authenticate you set the redirect uri to be sent back to after

glossy burrow
#

So if someone invites my bot to there server it takes them to any link i put? For example my bots website

sudden geyser
#

If you wanted to yes, but I think there's another field for that. The one in the screenshot is for authenticating like if you were allowing the user to log in

glossy burrow
#

Where is the field for that?

sudden geyser
#

actually that field will probably work

#

just add a uri, select it under the generator, pick the scope(s) and you got your redirect uri

rare gale
#

Hey. In the making of a bot, but whenever i try to put permissions on the kick or ban command, it doesnt work. Anyone got any ideas? 😀

sudden geyser
#

can you show us your code pls (aka what part breaks)

balmy knoll
#

My bot has been having very high pings for a week. Initially I thought it was the database, but changing host of the MongoDB database hasn't changed anything. I then already asked in this chat and they told me that the problem was the host, or Heroku Free. I then switched hosts to a Linux VPS, but the pings still remained high. So I ask you, is there anyone who really wants to help me?

fast trench
#

is this not set up correctly to look for either a role OR if the message author is also the guild owner?
} else if (message.member.roles.cache.find(r => r.id === moderation) || message.author.id === owner) {

pure lion
#

@balmy knoll check ram usage

balmy knoll
#

I'm sure that it isn't a RAM problem

sinful belfry
#

node js?

balmy knoll
#

Yes

pure lion
#

Discord.js?

sinful belfry
#

have you tried checking out graphs which show the cpu usage? or even the memory or event loop latency?

balmy knoll
#

@pure lion Yes discord.js

quartz kindle
#

whats your client.ws.ping?

balmy knoll
#

client.ws.ping is good, average 150ms

fast trench
#

anyone have any idea on my problem?

balmy knoll
#

The bot latency average is 4000ms

#

@sinful belfry The CPU usage is 9%

quartz kindle
#

make a test bot with only some basic code

#

and test the ping there

balmy knoll
#

Ok

misty sigil
#
let boolean = {
    values: {
      true:true,
      false:false
    },
    true: function() {
            return true;
        },
    false: function() {
            return false;
    },
    random: function() {
        return !!Math.round(Math.random())
    },
    boolean: function(arg) {
        if (isNaN(arg)) throw "Provide a number to boolean"
        if (arg < 0.5) return false;
        if (arg >= 0.5) return true;
    }
}``` thoughts?
pure lion
#

Is nice 🥪

honest perch
#

Saw that

ebon kelp
#

cursed

misty sigil
#

ok this is about as good as it gets

let boolean = {values:{true:true,false:false},true:function(){return true;},false:function(){return false;},random:function(){return!!Math.round(Math.random())},boolean:function(arg){if(isNaN(arg))throw "Provide a number to boolean";if(arg < 0.5)return false;if(arg>=0.5)return true;}}
ebon kelp
#

minified GWslippyPeepoH

misty sigil
#

no its betterified

ebon kelp
#

Make a class out of it

charred geyser
#

html and css or ejs

#

choose

#

NOW

ebon kelp
#

ts

charred geyser
#

😭

#

noooooo

ebon kelp
#

.vue

pure lion
#

ejs

#

Is my wife

misty sigil
#

ejs is me

pure lion
#

@misty sigil fight me

#

Wait...

#

😧

charred geyser
#

send website template 👀

#

im bad

#

😭

pure lion
#

Press !

charred geyser
#

1

pure lion
#

In an empty file on vsc

ebon kelp
#

send website template 👀
@charred geyser Use bootstrap

#

xd

charred geyser
#

what is it

#

oh

#

yea

#

maybe

ebon kelp
#
Bootstrap Themes

Bootstrap Themes is a collection of the best templates and themes curated by Bootstrap’s creators. Our collection of templates include themes to build an admin, dashboard, landing page, e-commerce site, application, and more.

#

ez templates

charred geyser
#

THEY HAVE DASHBOARDS!!!!!!!!!!!!!!!!!!

#

yay 😄

ebon kelp
#

ofc

charred geyser
#

thank you god

earnest phoenix
#

that's just the css for it

#

they won't implement the whole logging in with discord part

#

lol

#

i told you what you need to do

charred geyser
#

wait

#

bruh