#development

1 messages Β· Page 1190 of 1

restive furnace
#

2398 isnt def used

stone birch
#

both dont work

misty sigil
#

try 80

earnest phoenix
#

@solemn leaf What in the hell are you even doing there

restive furnace
#

glitch?

#

it isnt possible to be almost all ports to be used

stone birch
#

try 80
nope

solemn leaf
earnest phoenix
#

<Is this aki guy doing html in simple JavaScript>

restive furnace
#

@stone birch glitch, repl.it, or heroku?

stone birch
#

nope

solemn leaf
#

noob

#

I get this

#

Node error: Unexpected server response: 200

earnest phoenix
#

@solemn leaf I'm so confused, You used nWorkers and target which isn't even defined in your code? Wot

solemn leaf
#

fixeed

#

it is 4

earnest phoenix
#

@solemn leaf Also why use that package to invert while you can use jimp?

solemn leaf
#

I didnt know it was a thing

#

Β―_(ツ)_/Β―

earnest phoenix
#

It's literally easier and needs less code than that

#

@stone birch you dont need the webhook on port 80, i usually use between ports 100 and 8000

solemn leaf
#

@earnest phoenix ill look into it

earnest phoenix
#

and port 80 clearly gets used by something else, which would probably be some sort of website

solemn leaf
restive furnace
#

25600 is the limit iirx

earnest phoenix
#

i like using numbers between 100 and 8000 anyways

#

over 10k it just has too many numbers xd

#

port 3000 is the default tho why not use that

stone birch
#

I have already tried many, is this correct what I have put on the website?
URL =http://my host ip:my host port/dblwebhook
Authorization = random word

misty sigil
#

yes is correct

#

42069 is a valid port isnt it

#

yes it is

stone birch
misty sigil
#

how sad

#

where are you hosting ?

earnest phoenix
#

is it just me or is something literally blocking all ports?

stone birch
earnest phoenix
#

@stone birch are you running any firewalls or something

#

okay cubes hosting doesnt seem too good

#

You have the Discord Bot plan there?

stone birch
#

At the moment I host on my computer

#

yes i have

earnest phoenix
#

Hmm then i'm guessing they only have ports open for discord bots

#

not for websites, webhooks or anything else

misty sigil
#

id doubt they open it

earnest phoenix
#

i'd suggest going for a full VPS somewhere rather than direct "discord bot" or "minecraft server" hosting

#

it costs more and needs more work to fully get setup, but it gives you full access over it's resources you paid for

#

including ports

misty sigil
earnest phoenix
#

contabo is cheap but as far as i heard hardware might and will fail because they reuse resold hardware

misty sigil
earnest phoenix
#

Ovh is good but the control panel is literal trash

#

galaxygate, digitalocean, AWS however are all better but cost more

misty sigil
earnest phoenix
#

however, it aint my money so go ahead and choose what provider suits best for ya

#

DO is expensive tho

misty sigil
#

yea

stone birch
#

ah okay, i think i will do without that "votes" function, it is a great host

earnest phoenix
#

Im not mature enough to be here huh

misty sigil
#

wdym

solemn leaf
#

@misty sigil you seem to know lots about ports and stuff can you help with my lavalink server error?

Node error: Unexpected server response: 200
events.js:298
      throw er; // Unhandled 'error' event
      ^

Error: Unexpected server response: 200
    at ClientRequest.<anonymous> (C:\Users\Owner\Desktop\Discordjs\node_modules\ws\lib\websocket.js:576:7)
    at ClientRequest.emit (events.js:321:20)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:610:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at Socket.socketOnData (_http_client.js:479:22)
    at Socket.emit (events.js:321:20)
    at addChunk (_stream_readable.js:297:12)
    at readableAddChunk (_stream_readable.js:273:9)
    at Socket.Readable.push (_stream_readable.js:214:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:186:23)
Emitted 'error' event on WebSocket instance at:
    at abortHandshake (C:\Users\Owner\Desktop\Discordjs\node_modules\ws\lib\websocket.js:694:15) 
    at ClientRequest.<anonymous> (C:\Users\Owner\Desktop\Discordjs\node_modules\ws\lib\websocket.js:576:7)
    [... lines matching original stack trace ...]
    at Socket.Readable.push (_stream_readable.js:214:10)
nocturne grove
#

I get this in my console (node:16) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 guildMembersChunk listeners added. Use emitter.setMaxListeners() to increase limit but I've never used guildMembersChunk. Can anybody help me?

mystic pike
#

how do i attatch images to a message

#

so the image and the text are one message

misty sigil
#

what lib

mystic pike
#

?

misty sigil
#

what library

mystic pike
#

nvm i figured it out

earnest phoenix
#

how can i view the permissions of an entered role?

#

@nocturne grove You're just using too much memory that will almost be more than the actual memory you got

#

That's why it happens

#

For example if you have a memory of 1gb and you used 900mb of it, that would happen

nocturne grove
#

Okay thanks @earnest phoenix. So I can ignore the guildmemberschunck part of the error?

quartz kindle
#

guildMembersChunk is used when you fetch all members of a guild

earnest phoenix
#

@gilded plank

#

@nocturne grove You can ignore it but your bot is near to a crashing state and will be restarted if it does

nocturne grove
#

Ohh yeah I did that Tim

#

Okay so if I expand the RAM it's fine?

earnest phoenix
#

Yes

nocturne grove
#

I saw no other option than fetching all members

#

πŸ‘

earnest phoenix
#

i have a bot what can i do

misty sigil
#

code it

pure lion
#

what'st the fuck?

earnest phoenix
#

@pure lion what is the problem ?

#

u are done

#

with the domain

#

._?

pure lion
#

no

earnest phoenix
#

yes

pure lion
#

it wont let me register the domain

#

its a new domain

earnest phoenix
#

huh ?

pure lion
#

that is unregistered

earnest phoenix
#

wdym ?

pure lion
#

i cant register any domains

earnest phoenix
#

btw

#

when u search for domain

#

add the .tk or .pg

pure lion
#

i did

earnest phoenix
#

then it will let u to get domain

pure lion
#

i d i d

earnest phoenix
#

@pure lion then search for another domain

#

:/

pure lion
#

no you dont understand

#

all domains

#

dont work

earnest phoenix
#

@pure lion then u unlicky boi

supple sail
#

How to get total shard size in v12?

misty sigil
#

client.shards.count

supple sail
#

It seems wrong.

TypeError: Cannot read property 'total' of undefined```
mortal dagger
#

Hello, i have this code. It grabs how many server my bot is in and displays it on the bot status. But to make the status update, i need to reopen the file everytime then it updates. Anyone know how to resolve this?

@client.event
async def on_ready(pass_context=True):
    print(client.user.name)
    print(client.user.id)
    print('-----------------')
    activity = discord.Activity(name=f"over {len(client.guilds)} guilds", type=discord.ActivityType.watching)
    await client.change_presence(activity=activity)
#

I tried to make a @task.loop

#

but i cant get it working

#

anyone know

#

?

sudden geyser
#

@earnest phoenix (meant @supple sail) use <Client>.shard.count

#

.shard may return null if there's no sharding being used.

faint prism
#

There should be a recommended shard count

earnest phoenix
#

._.

#

why ping me

sudden geyser
#

wrong mention inusad

faint prism
#

instead of a ghostping, he just marked it out

pure lion
thick gull
#

he’s too smart to be left alive

faint prism
#

anyone know a fix?
@pure lion sounds like you need their support discord

pure lion
#

:o

ripe wadi
#

how could i make my bot loop through every member in a guild and preform an action on them?

faint prism
#

how could i make my bot loop through every member in a guild and preform an action on them?
@ripe wadi use a foreach loop

misty sigil
#

@sudden geyser i appreciate that mention strikethrough

ripe wadi
#

tried that and it didnt work for some reason

pure lion
#

1 1 1

faint prism
#

What's your code?

misty sigil
#

how could i make my bot loop through every member in a guild and preform an action on them?
@ripe wadi seems like api abuse to me πŸ‘€

pure lion
ripe wadi
#

its a small server, shouldnt be a problem

faint prism
#

not if it isn't an api call, like a db action

misty sigil
#

oH WAit yea

#

i forgot that you can

ripe wadi
#

ill delay it so it doesnt spam it all at once if that helps ig

sudden geyser
#

It also depends on what you're doing tbh

prime storm
#

How to get joined voice channel size in V12?

pure lion
#

auger what is the link to the support server?

ripe wadi
#

gimmie a min

opal plank
#

didnt they add another filter to catch mass dm bots?

faint prism
#

auger what is the link to the support server?
@pure lion idek what website that pic is of

opal plank
#

i recall someone telling me that

sudden geyser
#

mayanlar do you mean how many people are in a voice chaannel

pure lion
#

@faint prism freenom

sudden geyser
#

not erwin do you mean that rate limit where you get banned for an hour

faint prism
prime storm
#

mayanlar do you mean how many people are in a voice chaannel
@sudden geyser yes

sudden geyser
#

Use <VoiceChannel>.members.size

ripe wadi
#

found this snippet on stack overflow. someone asked the same question i did and people seem to agree that it works

#

but it doesnt for me :/

quartz kindle
#

that doesnt work lol

ripe wadi
#

its most likely outdated code

misty sigil
#

list.forEach?

prime storm
#

sory sory

#

No, i mean how much vc which bot joined

quartz kindle
#

that only works if the guild is cached

#

and if it is, you dont need fetch anyway

#

use get instead

misty sigil
#

look ill just

ripe wadi
#

list.forEach is not a function

quartz kindle
#

and it wont list all members, it will only list online members

sudden geyser
#

list is a promise

misty sigil
#
const fetch = await message.guild.members.fetch() // Fetches all members of the message guild
fetch.forEach(member => { // for every member
console.log(member.user.username) // log the username
})
#

that should work

ripe wadi
#

lemme try

misty sigil
#

@faint prism lmao its the simplest stuff ever

faint prism
#

Probably. But a bit of explanation as to how it works would probably benefit him more

misty sigil
#

oh yea

ripe wadi
#

it works, thank you so much @misty sigil πŸ’™

misty sigil
#

wanna know why it didn't work before?

thick gull
#

I would like to know

ripe wadi
#

yes

#

B)

misty sigil
#

because you were fetching the guild (which doesn't include members)
it was also not awaited (client.guilds.fetch() / message.guild.members.fetch() returns a promise (which needs to be awaited))

ripe wadi
#

ohhhhh

#

i get it now

misty sigil
#

.cache.get() however doesn't return an object, so no need to await that

ripe wadi
#

thank you my guy :)

earnest phoenix
#

Also mapping them is better than spamming the console

misty sigil
#

aye no problem

#

:)

#

Also mapping them is better than spamming the console
@earnest phoenix meh its fine

faint prism
#

πŸ™‚ wholesome

misty sigil
#

nice whitename

thick gull
#

i spam the console when making commands

misty sigil
#

asked why it didn't work

thick gull
#

I always LOG everything

#

im a white name in disguise

misty sigil
#

then learned why

thick gull
#

πŸ˜”

pure lion
#

wait.. its all purple?

sand skiff
#

hi

earnest phoenix
#

I always LOG everything
@thick gull <I swear officer console said she was 18, literally raping the shit out of it>

sand skiff
#

who can help me

#

with this

earnest phoenix
sand skiff
pure lion
#

@sand skiff CAN YOU R E A D ?

sudden geyser
#

what do you need help with exactly

sand skiff
#

yes

pure lion
#

yes help us help you

sand skiff
#

so

#

i need someone to guide me

#

lik

#

like

#

for ex

pure lion
#

what

#

pay me first

#

:)

sand skiff
#
const client = new Discord.Client()
client.on("ready", () => {
  console.log(`Logged in as ${client.user.tag}!`)
})
client.on("message", msg => {
  if (msg.content === "ping") {
    msg.reply("Pong!")
  }
})
client.login("token")```
sudden geyser
#

Is the article you're reading not enough of a guide?

earnest phoenix
#

alright so im coding a discord bot using discord.py, and when i run a command, another will not run until the first command is finished. any idea why?

sand skiff
#

what do i have to replace

#

no

thick gull
#

read the

sand skiff
#

Is the article you're reading not enough of a guide?
@sudden geyser

thick gull
#

guide

sand skiff
#

no

thick gull
#

it tells you

sudden geyser
#

Do you have a good understanding of JavaScript

pure lion
#

dont copy paste code

sand skiff
#

i tried

pure lion
#

no you didnt

sand skiff
#

no i dont understand code at all

pure lion
#

learn js

thick gull
#

We require discord.js’s library and initialize it by calling Client().
Then we listen for some events such as ready and message via the on method and we tell how to handle these events with a callback function.
At the end of the code, we call the login. It establishes a websocket connection to Discord. But, as you can see, we need to provide a token to that method. Indeed, Discord requires you to have a key/token in order to use their API. Thus, we’ll grab one to make it work

pure lion
#

learn js

#

learn js

#

learn js

faint prism
#

Then you shouldn't be making a discord bot, as it is an intermediate level application development project

pure lion
#

i am filled with rage

sand skiff
#

but

#

i want to

pure lion
#

NO

earnest phoenix
#
const Guild = require("../models/guilds");
module.exports = function getGuild(message) {
    Guild.findOne({guildId: message.guild.id} , async(err, guild) => {
        if(err) return 
        if(!guild) {
            const newGuild = new Guild({
                guildId: message.guild.id,
                autorole: {
                    roleId: " ",enable: false 
                },
                wellcome: {
                    channelId: " ", enable: false
                },
                warn: [],
                logs: {
                    channelId: " ", enable: false
                }
            })
            await newGuild.save();
            return getGuild(message);
        }
        return guild;
    })
}

This return undefiened

#

: /

#

help me

sudden geyser
pure lion
#

mm time to mute this channel forever

thick gull
#

no

misty sigil
#

yes

pure lion
#

maybe

earnest phoenix
#

help ?

quartz kindle
#

@earnest phoenix you cannot return data from a callback synchronously

earnest phoenix
#

:0

#

so i need to make a obect

#

then ocject = guild ?

quartz kindle
#

you need to use promises

earnest phoenix
#

didnt get it

#

.then would suffice

#

:0

#

oh

#

Instead of that callback

#
const Guild = require("../models/guilds");
module.exports = function getGuild(message) {
    Guild.findOne({ guildId: message.guild.id }).then(async (error, guild) => {
        if (err) return
        if (!guild) {
            const newGuild = new Guild({
                guildId: message.guild.id,
                autorole: {
                    roleId: " ", enable: false
                },
                wellcome: {
                    channelId: " ", enable: false
                },
                warn: [],
                logs: {
                    channelId: " ", enable: false
                }
            })
            await newGuild.save();
            return getGuild(message);
        }
        return guild;
    })
}
``` ?
#

Try

#

corerct ?

quartz kindle
#

still wont work

earnest phoenix
#

wut

quartz kindle
#

.then does not return data synchronously

#

you need to use await

earnest phoenix
#

Wait huh

faint prism
#

i want to
@sand skiff To make any program, you have to learn a programming language. That language will be instructions for a computer to do something.
Making a Discord Bot, is an intermediate level project. Jumping straight into it will be extremely difficult and lead to a lot of questions you would already know if you learned the programming language first.

earnest phoenix
#
const Guild = require("../models/guilds");
module.exports = function getGuild(message) {
    let guild = await Guild.findOne({ guildId: message.guild.id }).catch(e => console.log(e));
    if (!guild) {
        const newGuild = new Guild({
            guildId: message.guild.id,
            autorole: {
                roleId: " ", enable: false
            },
            wellcome: {
                channelId: " ", enable: false
            },
            warn: [],
            logs: {
                channelId: " ", enable: false
            }
        })
        await newGuild.save();
        return getGuild(message);
    }
    return guild
}
``` ?
#

now ?

#

@quartz kindle

#

still not working ?

quartz kindle
#

yes, that will work if the library supports promises and async/await syntax. but you need to convert it into an async function

earnest phoenix
#

ok

#

yey it works

misty sigil
#

es6 syntax

earnest phoenix
#

I'm on es6 boi @misty sigil

misty sigil
#

oh idk

quartz kindle
#

return it

slender thistle
#

ask your questions straight away

earnest phoenix
#

@quartz kindle return it?

quartz kindle
#

either return it or wrap it in parenthesis

earnest phoenix
#

I'm not doing this Inside an async function

#

return is only valid inside async functions

quartz kindle
#

same thing

earnest phoenix
#

Why inside them tho, does that do something special

#

I meant the parentheses

quartz kindle
#

you cant have free floating objects because js will think its a block scope

earnest phoenix
#

I see why

quartz kindle
#

if you wrap it in parenthesis it will resolve it as an object first

earnest phoenix
#

K got it

#

Thanks

eternal osprey
#

hey guys

#

i've got a qeustion

misty sigil
eternal osprey
#

i wasn't ready yet

faint prism
#

then don't post yet

misty sigil
#

then ^

eternal osprey
#

can't you just be respectful and let me finish my sentence? Thanks!

faint prism
#

What

misty sigil
#

can you just give us the question to not waste our time

earnest phoenix
eternal osprey
#

i was just announcing that i had a question

#

and was going to copy a code snippet

wooden ember
#

you dont need to

eternal osprey
#

it is just a matter of seconds

misty sigil
#

best announcement that i have a question is

hexed meteor
#

Yo

earnest phoenix
#

Guys just stop off topic bruh moment

misty sigil
#

how do i do x in x

earnest phoenix
#

Ask your question

hexed meteor
#

Will the big advertise my server

eternal osprey
#

i know voltrex

hexed meteor
#

Unlimited

faint prism
#

Will the big advertise my server
@hexed meteor what

misty sigil
#

what

eternal osprey
#

i just think this is really unrespectful.

#

anyways

hexed meteor
#

Auto affiliate

earnest phoenix
#

Will the big advertise my server
@hexed meteor W h a t

#

r/engrish

eternal osprey
#

i am currently running my bot and am using this command:
!distance -0.78071 50.16961 -2.91239 -158.86512
which basically returns the calculated distance between the 2 coordinates. It is made in python

#

but my question is, how do i add a comma between the 2 coordinates?

misty sigil
#

ok

eternal osprey
#

like this: !distance -0.78071 50.16961, -2.91239 -158.86512

earnest phoenix
#

take a string as your argument and parse it accordingly

eternal osprey
#

matthew if you got nothing useful to bring in, please do not reply. With all respect, i cannot do anything with your "ok"

faint prism
#

Split on ,

wooden ember
#

use splice and get the 2 variables

eternal osprey
#

okay, thanks guys!

wooden ember
#

yeh split

misty sigil
#

i was gonna say split it

faint prism
#

You just had to let him finish lol

wooden ember
#

lol

eternal osprey
#

what did he say... just ask your question and do not 'announce it' right?

#

well just give the answer and do not useless say 'ok'

wanton dew
#

It wasnt a question it was a reply

eternal osprey
#

but thanks for the help guys.

faint prism
#

no problem, lol

mystic pike
#

can i make it so when someone sends a command it resends the command they sent

#

i have a command that's &ask (question)

faint prism
#

can i make it so when someone sends a command it resends the command they sent
@mystic pike if msg === "my command" reply "my command"?

pulsar fossil
#

anyone has a profile command Code ?

mystic pike
#

no

#

i mean like

#

for example if someone sent "&ask am I cool?"

#

how do i make it send back

#

am I cool?
yes

faint prism
#

oh ez

#

just return what they send but without the prefix &

#

you can probably use substring to cut off the first character

mystic pike
#

what

faint prism
#

"&ask am I cool?" is a string
a substring is a part of a string

pulsar fossil
#
if(message.content === '&ask am i cool?') {
message.channel.send(`${message.author.username}, Nah.`);
}
});```
faint prism
#

lol

mystic pike
#

how do i do that

#

im new to programming

pulsar fossil
#

copy paste it

faint prism
#

Google it

pulsar fossil
#

why

mystic pike
#

i did

pulsar fossil
#

Why always me ❌

mystic pike
#

because that resends their username

faint prism
#

because copy and paste a bad habit for new programmers

mystic pike
#

oh

pulsar fossil
#

because copy and paste a bad habit for new programmers
@faint prism i know but they copy paste it then see how it works

#

so they learn

faint prism
mystic pike
#

i didnt see that

faint prism
#

so they learn
@pulsar fossil no, that's spoonfeeding. You need to explain to them

pulsar fossil
#

o k ok sorry

faint prism
#

i didnt see that
@mystic pike that's the Javascript docs, make sure you look there

mystic pike
#

wait

pulsar fossil
#

wth

mystic pike
#

wrong command

pulsar fossil
#

lol

faint prism
#

that looked like it'd spam the api whatever it was

earnest phoenix
#

I don't think it would have, it was a timeout i think

mystic pike
#

is there a thing like to get what the question was

#

message.channel.send(randomMessage);

earnest phoenix
#

Wot

faint prism
#

I don't think it would have, it was a timeout i think
@earnest phoenix looked like a repeater to update a msg's content, but I didn't see it very long

mystic pike
#

no

#

its was timeout

earnest phoenix
#

Idk i didn't see the full thing

mystic pike
#

wait

#

yes

faint prism
#

gotcha

misty sigil
#

randomMessage would have to be an arrayOfMessages[RandomInt 0-array length]

mystic pike
#

no

misty sigil
#

if i recall correctly that is how my 8ball command works

mystic pike
#

i mean like i know how to copy what their username is and put that in the message

misty sigil
#

message.author.username / message.author.tag (with the descriminator)

mystic pike
#

is there a way to make it instead of user name the message they sent

misty sigil
#
#

god luca needs a d.js command

mystic pike
#

.lastMessage?

misty sigil
#

no

#

.username

mystic pike
#

i dont want the username

misty sigil
#

ah message content?

mystic pike
#

yes

sharp furnace
misty sigil
mystic pike
#

so it can resend the image content but as a quote

earnest phoenix
#

Just post your guild count to the api @sharp furnace

misty sigil
faint prism
#

by having an anime girl as the pfp

mystic pike
#

haha

misty sigil
#

by having an anime girl as the pfp
@faint prism ^ they send one of the moderators to look at the server count, they won't look at anything other than kittens or anime pfps

solemn leaf
#

how

#

can I remove the prefix and command name from

#

message.content

faint prism
#

substring

#

or split

thick gull
#

so, if im making a bot for ONE server with minor usage (basically tickets..) quick.db should be fine for that? I don't wanna set up a db or connect it to mongo atlas :P

solemn leaf
#

I already did that

misty sigil
#

so, if im making a bot for ONE server with minor usage (basically tickets..) quick.db should be fine for that? I don't wanna set up a db or connect it to mongo atlas :P
@thick gull quick.db would be perfect for that essentially

solemn leaf
#

say

#

it is

thick gull
#

yea thats what i thought

sand skiff
#

i need help my bot wont go online

solemn leaf
#

ch-play song

misty sigil
#

learn a programming language before doing a bot

faint prism
#

i need help my bot wont go online
@sand skiff So you learned JS that fast?
What's the error?

solemn leaf
#

I just want everythign after args[0]

orchid vortex
#

ah

mystic pike
#

im learning js as im making the bot

orchid vortex
#

yall can ask me shit if you want just @ me, js

sand skiff
#

is the file supposed to be named

@sand skiff So you learned JS that fast?
What's the error?
@faint prism ```Last login: Wed Aug 26 16:43:39 on ttys002
Susantas-iMac:~ SiaYT$ cd /Users/SiaYT/Desktop/MAY
Susantas-iMac:MAY SiaYT$ node index.js
Susantas-iMac:MAY SiaYT$ node Index.js
Susantas-iMac:MAY SiaYT$ node index.gs
internal/modules/cjs/loader.js:968
throw err;
^

Error: Cannot find module '/Users/SiaYT/Desktop/MAY/index.gs'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Susantas-iMac:MAY SiaYT$ node index.gs
Susantas-iMac:MAY SiaYT$ node index.js
internal/modules/cjs/loader.js:968
throw err;
^

Error: Cannot find module '/Users/SiaYT/Desktop/MAY/index.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Susantas-iMac:MAY SiaYT$ node index.gs
Susantas-iMac:MAY SiaYT$ ```

#

it wont run

sharp furnace
#

Just post your guild count to the api @sharp furnace
@earnest phoenix im confused by what u mean

sand skiff
#

i changed it to gs after

#

is it supposed to be .js or .gs

misty sigil
#

its js

orchid vortex
#

.js

misty sigil
sand skiff
#

ohhh

orchid vortex
#

ok im out

faint prism
#

lmaooo

#

I want that starred l0l

earnest phoenix
#

@sharp furnace DBL has an api

sand skiff
#

done

#

so

mystic pike
#

question = message.channel.content?

misty sigil
#

no

#

message.content

mystic pike
#

question = message.content

misty sigil
#

not necessarily

mystic pike
#

?????

#

huh

misty sigil
#

you'd need to parse it

#

like get rid of the command name

sand skiff
#

why wont it run

mystic pike
#

wdym

earnest phoenix
#

@mystic pike Don't you have args defined

mystic pike
#

what

sharp furnace
#

@sharp furnace DBL has an api
@earnest phoenix ik that but like how would i se it for the server count

misty sigil
#

you could just question = message.content.replace("ask command", "")

solemn leaf
#

args.join(" ")

sand skiff
#
Susantas-iMac:~ SiaYT$ cd /Users/SiaYT/Desktop/MAY 
Susantas-iMac:MAY SiaYT$ node index.js
Susantas-iMac:MAY SiaYT$ node Index.js
Susantas-iMac:MAY SiaYT$ node index.gs
internal/modules/cjs/loader.js:968
  throw err;
  ^

Error: Cannot find module '/Users/SiaYT/Desktop/MAY/index.gs'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
Susantas-iMac:MAY SiaYT$ node index.gs
Susantas-iMac:MAY SiaYT$ node index.js
internal/modules/cjs/loader.js:968
  throw err;
  ^

Error: Cannot find module '/Users/SiaYT/Desktop/MAY/index.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
Susantas-iMac:MAY SiaYT$ node index.gs
Susantas-iMac:MAY SiaYT$ ```
#

please

#

help

earnest phoenix
#
let args = message.content.split(" ").slice(1);``` @mystic pike
misty sigil
#

@sand skiff its obvious

earnest phoenix
#

question = args.join(" ")

mystic pike
#
    name: 'ask',
    description: "ask",
    execute(message, args){
        question = message.content
        const messages = ['yes', 'no'];
        const randomMessage = messages[Math.floor(Math.random() * (messages.length - 1))];

        message.channel.send(question, randomMessage);
    }
}```
sand skiff
#

what??

misty sigil
#

index.js doesn't exist

earnest phoenix
#

No

sand skiff
#

@misty sigil

#

oh

#

but

#

how

earnest phoenix
sand skiff
#

she

earnest phoenix
faint prism
#

Cannot find module '/Users/SiaYT/Desktop/MAY/index.js'

sand skiff
#

i changed it

misty sigil
#

Error: Cannot find module '/Users/SiaYT/Desktop/MAY/index.js'

sand skiff
#

to js

misty sigil
mystic pike
#

help

sand skiff
#

:o

misty sigil
#

it has no content

mystic pike
#

lol

earnest phoenix
misty sigil
#

yes

faint prism
#

0 bytes
KEKW

sand skiff
#

but

#

i-

misty sigil
#

its unsaved.

faint prism
#

save it

sand skiff
#

how do i save

#

on atom

faint prism
#

CTRL+S

sand skiff
#

i have mac

mystic pike
#

ctrl s

misty sigil
#

if that is a question you have to ask

sand skiff
#

if that wasnt obvious

faint prism
#

It was

misty sigil
#

file > save

mystic pike
#

i did it!

earnest phoenix
#

<Damn we teaching how to save files>

#

Man

mystic pike
#

but now its not sending the random message

faint prism
#

331 bytes
Looks like it saved

misty sigil
#

yes it has content

sand skiff
#

yay

misty sigil
#

now try

sand skiff
#

ok now ima try

#

OMG YASSS

#

TYYY

mystic pike
#

wait

misty sigil
#

ok no problem

modest crane
#

@sand skiff regen your token now

mystic pike
faint prism
#

lmao

mystic pike
#

where did the commas come from

faint prism
#

are you doing a replace or something?

mystic pike
#

?

faint prism
#

It looks like you replaced with ,

mystic pike
#
    name: 'ask',
    description: "ask",
    execute(message, args){
        let question = message.content.split(" ").slice(0);
        const messages = ['yes', 'no'];
        const randomMessage = messages[Math.floor(Math.random() * (messages.length - 1))];

        message.channel.send('> ' + question + randomMessage);
    }
}```
faint prism
#

Also, \n makes a new line

mystic pike
#

i know about \n

faint prism
#

oh

sand skiff
#

@sand skiff regen your token now
@modest crane huh why-

faint prism
#

because that's an array's toString, right?

misty sigil
#

try question.join(" ")

#

that should work iirc

mystic pike
#

@modest crane huh why-
@sand skiff u sent the index.js

sand skiff
#

omg

#

ok

modest crane
misty sigil
#

tell me if that works @mystic pike

mystic pike
#

try question.join(" ")
@misty sigil wdym

misty sigil
#

for your question

mystic pike
#

wwhats .join

misty sigil
#
message.channel.send('> ' + question.join(" ") + randomMessage);
sonic lodge
#

question is an array

misty sigil
earnest phoenix
#

does anyone know a nice alternative to electron that supports transparency and isn't heavy on ram

mystic pike
#

it works

#

thank you

earnest phoenix
#

i tried ultralight, i loved the idea of working with cpp but the renderer is too buggy and runs at 30fps max

misty sigil
#

no problem!

mystic pike
#

but can u explain why it works

misty sigil
mystic pike
#

because i still dont understand

#

ok

misty sigil
#

that will learn you well

mystic pike
#

ohh

#

i understand

#

thx

misty sigil
#

no problem thumbsUp

earnest phoenix
#

Join()

#

.join

misty sigil
#

nice

earnest phoenix
#

ee help

sonic lodge
#

the function is named execute, not run

misty sigil
#

^

#

change execute to run

wheat mesa
#
const clowns = new Set()                                      //w!clown command
clowns.add("313481150637277197")
client.on('message', function(message) {
    if(message.content.startsWith(`${prefix}clown`)) {
        if(!message.member.hasPermission('ADMINISTRATOR')) return message.reply('cant use this L')
        let person = message.mentions.users.first()
          if(person.bot) {return message.reply('You cannot clown bots.')}
          let newClown = message.mentions.users.first()
        if(!newClown) return message.reply('You need to mention the user you want to clown.')
        if(clowns.has(newClown.id)) {
            clowns.delete(newClown.id)
            message.reply('removed clown :(')
        } else {
            clowns.add(newClown.id)
            message.reply('new clown in town!')
        }
    }
})
client.on('message', function(message) {
    if(clowns.has(message.author.id)) {
        message.react('🀑')
    } 
})

whenever someone does w!clown @here it comes up with the error .bot is not defined

misty sigil
#

ok

#

is that one message event per command

#

also great way to get a ratelimit too

earnest phoenix
#

tldr: parse your argument instead of grabbing the mention from the collection

#

d.js has a built in regex for it iirc

wheat mesa
#

How does one do that, I just started last night haha

earnest phoenix
#

change execute to run
@misty sigil then the command doesnt fully work

misty sigil
earnest phoenix
#

So if I'm on ECMAScript6, how's possible to upgrade to ECMAScript9?

#

Is it related to updating the node.js version?

quartz kindle
#

es features depend on the js engine the code is running on

#

in node.js's case, its v8 engine

earnest phoenix
#

update to my message above, you might not even have to manipulate the string, the id is returned in the match group

quartz kindle
#

so yes, upgrade node

earnest phoenix
#

So v14 is ES9?

quartz kindle
#

v14.8.0 is v8 8.4

#

check the v8's website to see which features 8.4 has

#

but most likely all the recent es2020 features are supported

earnest phoenix
#

If I'm stuck on v12 version of node.js, is there a way to bypass this?

solemn leaf
#

@sharp furnace

#
let servercount = 0
bot.guilds.cache.forEach((guild) => {
servercount = servercount + 1
})
earnest phoenix
#

What

#

why would you do that

#

cache returns a collection

#

Which has a size property

solemn leaf
#

that would work

earnest phoenix
#

Man this is JavaScript basics

#

the forEach approach is extremely slow compared to just using size

solemn leaf
#

im running more off of that

#

btw

earnest phoenix
#

Yea it's like doing a for loop on an array and incrementing a variable starting from 0 instead of using length on it

sharp furnace
#
let servercount = 0
bot.guilds.cache.forEach((guild) => {
servercount = servercount + 1
})

@solemn leaf would i just replace that wiht what i have now?

solemn leaf
#

if you want

earnest phoenix
#

Don't

solemn leaf
#

or just do

earnest phoenix
#

use the size property like it was mentioned a few messages above

#
bot.guilds.cache.size```
solemn leaf
#

bot.guilds.cache.size

#

whihc

#

im doing rn

earnest phoenix
#

If I'm stuck on v12 version of node.js, is there a way to bypass this?
Ideas?

solemn leaf
#

go to the github

#

?

earnest phoenix
#

Wot

solemn leaf
#

and install a different verison

#

I think

sand skiff
#

wait

quartz jewel
#

The same way that you do with most editors, using control + s.

sand skiff
#

do i use <br> or \n to create a new line in a response?

solemn leaf
sharp furnace
#

\n

sand skiff
#

thx

earnest phoenix
#

@solemn leaf That is literally not what i asked for

#

Reread again

#

Node.js i meant not discord.js

solemn leaf
#

um

#

uninstill node

#

and install the verison you wnat

#

idk

earnest phoenix
#

Most of the time you're stuck on v12 version of Node.js and can't update to higher versions of Node.js, is this it possible to bypass this?

sudden geyser
#

isn't there that harmony stuff // the harmony flag

calm junco
#

can someone show me how to code an embed with discord.js, btw im coding in visual code

earnest phoenix
#

and install the verison you wnat
@solemn leaf That will literally install the v12 version i got right now

#

isn't there that harmony stuff // the harmony flag
@sudden geyser The wot

#

@calm junco MessageEmbed is a class for constructing embeds

misty sigil
calm junco
#

ty

#

oof, im new so i have no idea

#

hmmmmmmmm

sudden geyser
#

@earnest phoenix a flag you can use to enable certain features (https://nodejs.org/en/docs/es6/).

I don't know if that's what you're looking for nor do I know if it'll support those v14 features you're looking for, but it's worth reading.

calm junco
#

ima try

misty sigil
#

There is an easier guide

#

p.s. please read this

earnest phoenix
#

@sudden geyser Well i'll look into it on how to use the flag on the installation argument

misty sigil
#

basically it says learn js before making a bot

dense vessel
#

lmao

misty sigil
#

and you should do that

earnest phoenix
#

To enable es9 or es2020 features

dense vessel
#

lol imagine trying to learn discord.js before js itself

#

wtf

earnest phoenix
#

<But when you realize you got a terminal looking container that doesn't do anything bruh moment>

sudden geyser
#

that's not uncommon

dense vessel
#

that's not uncommon
GWaobloChildPepeCry

thick gull
#

i did discord.js before js but i have a background with programming KEKW

timid lily
#

Hi

thick gull
#

i did lua before so i still do arrays starting at 1 and i cry cause i cant figure it out for whole days

dense vessel
#

i did discord.js before js but i have a background with programming KEKW
i did discordjs with only minimum js knowledge and knowledge in java and other languages

#

i dont recommend doing what i did

thick gull
#

yeah same

dense vessel
#

js >> discordjs

earnest phoenix
dense vessel
forest drift
#

Hello, so I've build a database for my bot using Sequelize

Ive now come back to my bot around 10ish hours later and all the variables it stored are completely reset to default, why would this happen?

calm junco
#

pls can somone actualy show me how to make an embed in discord.js

sand skiff
#

i need help with embeds too

forest drift
#

i gotchu

sand skiff
#

yay

forest drift
calm junco
#

i watched yt tutorials but i get lots of errors and stuff

forest drift
#

i used that to learn

winter basalt
#

tried reading the resources people gave you above?

thick gull
calm junco
#

ahh nooo

dense vessel
#

yay
learn js then take the discordjs guide

calm junco
#

i want someone to ACTUALY show me

#

like on call

thick gull
#

i do not reccomend youtube videos

dense vessel
#

^^

calm junco
#

i dont understand

#

at all

forest drift
#

ummm i can if u want?

winter basalt
#

you wont learn easily that way

calm junco
#

yes pls

winter basalt
#

or learn at all

dense vessel
#

youtube videos are usually outdated or arent well coded

#

stick to guides or this channel

thick gull
#

i used youtube videos when i started and i got frustrated

misty sigil
#

Learn js first please

thick gull
#

very rarely do you get some that make sense

calm junco
#

?

misty sigil
#

do you know any js @calm junco

#

like how do you join an array

sand skiff
#

omg

#

that website is confusing

#

jamie

calm junco
#

wdym, like send messages?

misty sigil
#

learn to read docs

dense vessel
#

learn js ffs omg

misty sigil
#

no

winter basalt
#

no

misty sigil
#

join an array

winter basalt
calm junco
#

no

winter basalt
#

try going through this

forest drift
#

Hello, so I've build a database for my bot using Sequelize

Ive now come back to my bot around 10ish hours later and all the variables it stored are completely reset to default, why would this happen?
Sorry, small correction, the data values have almost kinda been lost? They've gone back to how they would be if i completely restarted the bot with no existing database

misty sigil
#

["help", "me", "join", "this"]

#

it returns help,me,join,this

#

I don’t want commas

#

how would I do it?

thick gull
#

.join(' ')

#

?

#

no commas

sudden geyser
#

inb4 random person walks in and answers it

earnest phoenix
#

The best solution to not having problems when making a bot is to learn the Programming language you're using to make the bot before doing so

#

So please do mate

misty sigil
#

god almighty

#

you’re right @thick gull but it was aimed at someone else

thick gull
#

oh

#

sorry

dense vessel
#

we cant help you if you dont know anything about your bots programming language or discordjs

thick gull
#

i was reading something else and came down

#

lmaoo

misty sigil
#

array.join(' ') would indeed return help me join this

thick gull
#

how would i join it with &'s

#

so it returns

#

pog & poggers

earnest phoenix
#

Sorry, small correction, the data values have almost kinda been lost? They've gone back to how they would be if i completely restarted the bot with no existing database
@forest drift Where do you host is the important question here

forest drift
#

heroku

dense vessel
#

what database are u using

forest drift
#

Sequelize

earnest phoenix
#

@forest drift Heroku doesn't support internal databases

#

That's why it resets them

forest drift
#

oh...

misty sigil
#

["pog", "poggers"], how do I join this with a & @calm junco

forest drift
#

are there any other free hosts that dont?

dense vessel
#

Heroku doesn't support internal databases
@earnest phoenix does it support external ones like mongodb?

earnest phoenix
#

Yes

dense vessel
#

alr

#

thanks

forest drift
#

sorry im extremely new to databases, only started trying them a few hours ago

earnest phoenix
#

@forest drift Glitch can do this but up to you

calm junco
#

["pog", "poggers"], how do I join this with a & @calm junco
@misty sigil wot

misty sigil
#

it’s really basic JS

earnest phoenix
#

I don't recommend using glitch or heroku or repl at all

forest drift
#

i have glitch, how would i setup it to run on glitch?

misty sigil
#

if you don’t know how to do that

forest drift
#

what would u suggest?

misty sigil
#

my advice to you

sudden geyser
#

Doesn't Heroku have database support somewhere (not directly through files like you're trying to do with sequelize)

misty sigil
#

don’t make a bot

#

Doesn't Heroku have database support somewhere (not directly through files like you're trying to do with sequelize)
@sudden geyser yea it does

#

it’s postregsql iirc

#

@forest drift you could get a free mongo cluster

winter basalt
earnest phoenix
#

Setup a GitHub repository that's private, put your files in there, import to glitch and boom @forest drift

dense vessel
misty sigil
forest drift
#

Setup a GitHub repository that's private, put your files in there, import to glitch and boom @forest drift
@earnest phoenix ok... I do have an old Fedora software pc, could i setup that to run the bot?

dense vessel
#

take any of these tutorials

#

they cover it pretty well

winter basalt
#

and google is your friend

earnest phoenix
#

@forest drift Yes but self hosting is not recommended

forest drift
#

why?

earnest phoenix
#

Slowness

forest drift
#

ah ok

dense vessel
#

power outages

#

a lot of electricity usage

#

and yeah bad performance overall

forest drift
#

the neighbours electricity

#

jk

dense vessel
#

lmfao

misty sigil
#

It works

earnest phoenix
#

Not if you have the nasa's internet connection

misty sigil
#

use their internet too

forest drift
#

lol

sand skiff
#

i need help again

#

so

misty sigil
#

just ask

sand skiff
#

when i put \n

earnest phoenix
#

And a quantum computer

sand skiff
#

for example

misty sigil
#

yes

earnest phoenix
#

Lol

misty sigil
#

yes

forest drift
#

;-; id rather just pay for a host than nasa systems lol

earnest phoenix
#

Just work on nasa

forest drift
#

im 15 -___-

dense vessel
#

get hired for nasa

earnest phoenix
sand skiff
#

uh

winter basalt
#

did that include an invite

misty sigil
#

Did it have a discord link in it

dense vessel
#

screenshot it

sand skiff
#

wait

#

let me take those out

winter basalt
#

try to remove any discord invites

#

yea

earnest phoenix
#

Whitenames can't send invites

dense vessel
#

ye

winter basalt
#

@earnest phoenix no-role*

sand skiff
#
  msg.reply('\n **OMG! Please invite me to your server(s) because I can help you alot! \n **Bot Invite**:  \n **Support Server Invite**: ')```
forest drift
#

besides im annoying as hell to work with... my school even lets me work on group projects alone cause of student complaints

sand skiff
#

it shows up like

earnest phoenix
#

@winter basalt Same thing

winter basalt
#

not same thing

earnest phoenix
#

Mostly same thing i mean, some can have the auctions role

forest drift
#

how do u get the bot dev role?

winter basalt
#

get one approved

#

in topgg

sand skiff
misty sigil
#

By having an approved bot

earnest phoenix
dense vessel
#

u get urs approved to topgg

winter basalt
#

fg

sand skiff
#

do you see the spaces

forest drift
#

ive been waiting 7 weeks ;-;

dense vessel
#

im blind

sand skiff
#

look

#

wait

misty sigil
#

@sand skiff because there are spaces after the \n

sand skiff
#

ohh

#

but

misty sigil
#

just remove them

winter basalt
sand skiff
#

woulnd that just make it say

sudden geyser
#

@forest drift are you sure? You re-submitted your bot on the 24th (2 days ago).

sand skiff
#

hi n\hi

#

like that

misty sigil
#

No?

sand skiff
#

oh ok

#

let me try

forest drift
#

@forest drift are you sure? You re-submitted your bot on the 24th (2 days ago).
@sudden geyser ;-; it counts resubmitions

winter basalt
#

quick tip try before asking

forest drift
#

ah fudge imma be here for years

earnest phoenix
#

69 years

sudden geyser
#

Your first submission was 5 days ago though

forest drift
#

whaaaaaaaaa

sudden geyser
#

re-submitting puts it back to the end of the queue to my knowledge

forest drift
#

did i submit to the wrong site then...

misty sigil
#

not to your knowledge

#

to fact

sudden geyser
#

factsℒ️

earnest phoenix
#

did i submit to the wrong site then...
@forest drift No, we just approve bots after never 69 years

forest drift
#

oooooooooo sorry my bad, im thinging of when i tried to get my server on a site

#

ah god... i can never make up my mind, does it also put edits to the back?

misty sigil
#

no

forest drift
#

phew

misty sigil
#

edits don’t affect queue positions

forest drift
#

otherwise i would be here for 69 years

earnest phoenix
#

Edits does no effect on the queue

misty sigil
#

nice

forest drift
#

so basically, submit a bot before even starting, then spend at min 3 weeks coding it?

dense vessel
#

i mean it could work

thick gull
#

bet\nbet
=>
"bet
bet"
bet \n bet
=>
"bet
bet"
^^^ if you're still confused
@sand skiff

dense vessel
#

but dont do that

thick gull
#

\n turns into a new line

forest drift
#

who would know ;)

thick gull
#

if you're just starting i would submit after a week or two of coding

sand skiff
#

bet\nbet
=>
'bet
bet'
bet \n
=>
'bet
bet
^^^ if you're still confused
@sand skiff
@thick gull i got it!

thick gull
#

alr

sand skiff
#

thanks guys

#

yall r da best

forest drift
#

I mean ive submited my one bot and just now knowing heroku doesnt support the database.... good thing i have at minimum a month before itll be reviewed

thick gull
#

Β―_(ツ)_/Β―

sand skiff
#

wait

#

how do i submit my bot to top.gg

winter basalt
sand skiff
#

thx

earnest phoenix
#

Don't you hate it when people refuse to learn the Programming language, mostly the basics of it before proceeding to make a bot

forest drift
#

if you're just starting i would submit after a week or two of coding
@thick gull dude click on my name and read my status, i havent slept in almost 3 days -___-

thick gull
#

thats even worse then

#

coding sleep deprived doesnt work for most peoplee

winter basalt
#

please take a break

forest drift
#

Don't you hate it when people refuse to learn the Programming language, mostly the basics of it before proceeding to make a bot
@earnest phoenix im stuborn af, i started coding my first bot before even understanding what node.js was even... i learn from mistakes and prefere to learn smt new when i need to learn it, otherwise i just forget

winter basalt
#

coding without breaks is not only cringe but not good for health

dense vessel
#

bro ur brain slows down to an intel celeron cpu's speed if u dont sleep for 3 days lol

#

get a normal sleep schedule

#

that'll help

misty sigil
#

intel celery time

forest drift
#

coding sleep deprived doesnt work for most peoplee
@thick gull back to my point of being stuborn :D

misty sigil
#

stubborn is no excuse to be unhealthy

forest drift
#

im too stuborn to listen to health warnings... kinda an issue

earnest phoenix
#

The more you stay awake without sleeping, the more you code badly, leading to more errors, not being able to acknowledge the errors, more errors, and this all ends up in nothing but destroying your project

dense vessel
#

"kinda"

winter basalt
#

that's definitely an issue lol

forest drift
#

also crazy adhd and have a weird case of waking up every 3 hours so doesnt make that much of a difference

winter basalt
#

a bad one at that

#

ah

forest drift
#

every now and again i get woken up to a few thousand lines of a letter from falling asleep at my desk but its all in a days work

#

u only live once

clever lake
#

hello

forest drift
#

unless ur religious where u could live upto a billion times but idc

#

or well thts atleast what some ppl believe

proven lantern
#

you only live once so be careful

#

yolo

forest drift
#

i live life on the edge... go to a 90% christan school being the only athiest

earnest phoenix
#

you only live once so be careful
@proven lantern Nah i'll just go creative mode

forest drift
#

XD

#

i wanna build a bot that acts like mee6 for a few months, then once it hits over 250 servers just spam pings just too see if i will get banned :D

earnest phoenix
#

Why waste your time man

slender thistle
#

In other words, "I want to be a dick"

forest drift
#

pretty much

slender thistle
#

sigh

forest drift
#

Why waste your time man
@earnest phoenix boredom and aslo just plain curious

winter basalt
#

you'll get banned

earnest phoenix
#

In other words, "I want to be a dick"
@slender thistle Not actually, it's just case of wasting time

winter basalt
#

and that's it

forest drift
#

sigh
@slender thistle naa, i just wanna see how fast i can get banned

earnest phoenix
#

Time is more valuable than diamond or anything, you can't buy it or restore, live your life peacefully without wasting it

winter basalt
#

just say you're 11 or something and you'd get banned pretty fast

forest drift
#

i mean to show waste of time/ pointless efforts, ive been building a disboard bump reminder bit and in the proccess have 4x the amount of knowledge on code as before

slender thistle
#

My FOV is about to turn into 360 degrees from all the facepalming I'm currently experiencing

proven lantern
#

AI will reconstruct all our consciousness in the future @earnest phoenix

earnest phoenix
#

Even if there's a "future"

forest drift
#

dude i live in sa, there is no future

earnest phoenix
#

We never know when the life ends

misty sigil
#

My FOV is about to turn into 360 degrees from all the facepalming I'm currently experiencing
@slender thistle same

forest drift
#

26 years and they still blame schools with no toilets on aparteit

slender thistle
#

In any case, keep this channel on topic

misty sigil
#

I wonder if I can go above 360 degrees into the hyperspace at this point

#

and I’m out

forest drift
#

i wanna try building a dungeons mmo bot...

pure lion
#

nice

forest drift
#

where its actualy like 3d, using text drawings to move ect

earnest phoenix
#

Build any kind of bot you want, nobody keeping you from doing it

pure lion
earnest phoenix
#

Possibilities are endless

forest drift
#

not endless

pure lion
#

yes endless

dense vessel
#

if u wanna code 1:1 minecraft in ur bot then go for it

forest drift
#

theres one bot i wanna build that i cant

winter basalt
#

is it possible

forest drift
#

one that plays yt vids using text drawings -___-

solemn leaf
#

how can I fix this formatting glitch?

proven lantern
#

you can make a vm inside minecraft and host your bot on that

solemn leaf
forest drift
#

1: i dont know even close to how thatd be possib;e

earnest phoenix
#

is it possible
@winter basalt Everything is possible if you know how to do it

misty sigil
#

I know how to fly

forest drift
#

2: how would i get a 60fps text image for a yt vid

pure lion
winter basalt
#

no bro i can't fly singlehandedly

dense vessel
#

everything is possible with enough time

forest drift
#

2: how would i get a 60fps text image for a yt vid
@forest drift even that

pure lion
#

I know how to fly
mini sentry jumping much?

slender thistle
#

e

winter basalt
#

everything is possible with our sponsor today skillshare, get 50% off your purchase in the description

earnest phoenix
#

Bruh just go creative mode in real life

proven lantern
#

if you increase the spin of the earth over 17,700mph then everyone will fly

pure lion
#

or just stop it

forest drift
#

Bruh just go creative mode in real life
@earnest phoenix i wish, id bot the sht out of irl

earnest phoenix
#

Fix what

winter basalt
#

fix what

pure lion
#

12&7

dense vessel
#

the "you're" probably

earnest phoenix
#

Just decode the uri

solemn leaf
#

wha

forest drift
#

how do i could a bot using Unicode :troll_face:

#

fudge forgot that isnt on thsi server

earnest phoenix
#

if a string includes that, It's in a form of URI @solemn leaf

solemn leaf
#

so '

#

is a uri

earnest phoenix
#

I forgot how decoding a URI works tho

forest drift
#

how do i could a bot using Unicode pepowot

misty sigil
#

decodeURIComponent comes to mind

earnest phoenix
#

Is that even a thing

forest drift
#

how do i could a bot using Unicode pepowot
@forest drift please i need to know

solemn leaf
#

decodeURIComponent()

forest drift
#

i didnt spend a year wasting time on Unicode for it to be useless

earnest phoenix
#
decodeURIComponent(<Video title>)``` @solemn leaf
solemn leaf
#

${decodeURIComponent(result[0].title)}

#

@earnest phoenix

earnest phoenix
#

Yes

forest drift
#

ok, so whats a free host thats online 24/7 and supports internal databases?

misty sigil
#

there isn’t one

solemn leaf
#

same thing

forest drift
#

that isnt the heroku that i just found was a scam

sudden geyser
#

The more you stay awake without sleeping, the more you code badly, leading to more errors, not being able to acknowledge the errors, more errors, and this all ends up in nothing but destroying your project
@earnest phoenix this sums it all up

dense vessel
#

man ikr

forest drift
#

naaa, for me its the opposite

#

cause im pround i can even write at 4pm

#

*am

earnest phoenix
#

@sudden geyser As a proficient, i approve