#development

1 messages · Page 1453 of 1

umbral zealot
#

publicly it's 80, internally it's in process.env.PORT

opal plank
#

that makes sense

earnest phoenix
#

IT WORKEd

opal plank
earnest phoenix
#

TYSM @quartz kindle

opal plank
#

LMAO

earnest phoenix
#

he dobi helped me alot

#

I am annoying af

opal plank
#

evie legit spent the last 30 minutes helping u

earnest phoenix
#

so hes the person who dosent care my annoying thingy

sick fable
#

Bro

#

Nobody helped me

#

😭

earnest phoenix
opal plank
#

thank BOTH then

earnest phoenix
#

BUT still

opal plank
earnest phoenix
#

Bro someone dm me if your good at coding moderation on repl.it and using python

#

@umbral zealot ty

slender thistle
#

What kind of sorry excuse did I just read

oak cliff
slender thistle
#

Who in their right mind goes further than 4 spaces as indents

earnest phoenix
#

I need help

opal plank
wicked sapphire
oak cliff
#

I just said this isnt the place

#

dont ask again.

earnest phoenix
#

@opal plank is it posiiable if someone vootes my bot it sends a msg

crimson vapor
quartz kindle
#

Lol

wicked sapphire
#

just test the webhook

earnest phoenix
#

Pls guys

opal plank
#

you already got your webhook, just do a function once it triggers

slender thistle
wicked sapphire
#

just mute @earnest phoenix

crimson vapor
#

you'*

oak cliff
#

-m 489487560276443136

gilded plankBOT
#

🤐 Muted Alf#0266 (@pure chasm)

wicked sapphire
#

thank you

earnest phoenix
#

@oak cliff good gurl

oak cliff
#

im not a boy.

slender thistle
#

@sick fable since I cba to scroll up and around, what is your code and what's your error

crimson vapor
opal plank
crimson vapor
#

and cant send empty message

earnest phoenix
#

o

crimson vapor
#

shiv

sick fable
# slender thistle <@707198291246579732> since I cba to scroll up and around, what is your code and...

My new code:-

msg = None
athr = None		
dsc = None				
snipe = None		
@client.event
async def on_message_delete(message):
                                guild = ctx.guild.id
                                global msg
                                global athr
                                global msg_id
                                
                                msg = message.content
                                athr = message.author.id
                                msg_id = message.id
                                
                                if message.id != guild:
                                	msg = None
                                	athr = None
                                	msg_id = None
                                
                                
                                

                                


@client.command()
async def sn(ctx):
		snipe = msg
		author = athr
		snmsg = snipe
		id = msg_id
		if snipe is None:
		                                  await ctx.send("There's nothing to snipe!")
		else:
		                                  embed = discord.Embed(title = "Last Deleted Message" , colour = ctx.author.colour , timestamp = ctx.message.created_at)
		                                  embed.add_field(name = "**•Message Content**" , value = f"{snipe}")
		                                  embed.add_field(name = "**•Author of that message:**" , value = f'{author}')
		                                  embed.set_footer(text = f"Requested by {ctx.author.name}" , icon_url = ctx.author.avatar_url)
		                                  await ctx.send(embed=embed)```




Error - **Cannot send an empty message**
opal plank
#

remember that client must be accessible from the webhook

slender thistle
#

Dear God help my soul why am I still here

opal plank
#

if it isnt,. you'll need IPC or some sort of inter process network

oak cliff
#

stop minimodding

wicked sapphire
oak cliff
#

im aware of how to do my job

wicked sapphire
#

ok srry

oak cliff
#

this is the second time ive seen you tell mods to put reasons

#

we know

#

we are going to

#

so let us alone

drifting wedge
#

what is the name for the group over cluster?
like a group of clusters
what would that be called

crimson vapor
#

isn't minimodding mutable?

quiet topaz
#

i installed MySQL, but when im trying to connect, i get this error#

drifting wedge
#

xiuh imma name one of my clusters after you

crimson vapor
drifting wedge
#

clustername xiuh

slender thistle
#

if message.id != ctx.guild.id:
How does this make sense?

drifting wedge
#

shard names: dada lol, sylvia, and babi

limber flume
earnest phoenix
drifting wedge
earnest phoenix
#

me dumb af

#

me dumb af

opal plank
limber flume
#

That's everything related to the command.

crimson vapor
#

shards -> clusters -> bot

opal plank
#

thats not even valid js syntax

drifting wedge
#

a cluster is many shards

crimson vapor
#

yes

#

a bot is many clusters

hollow sedge
#

its the opposite direction

drifting wedge
#

i need a group of clusters

crimson vapor
#

I would call that a bot

quiet topaz
#

i installed MySQL, but when im trying to connect, i get this error#

drifting wedge
#

like

quiet topaz
#

what to do about it

drifting wedge
#

1 bigasscluster = 3 clusters

hollow sedge
#

upgrade mySQL client

crimson vapor
#

idk maybe you're explaining it wrong or im confused

drifting wedge
#

1 cluster = 3 shards

quiet topaz
#

but ive installed mysql today

hollow sedge
#

0exe

sick fable
#

Ok

hollow sedge
#

they got it

#

he wrote it the opposite way

drifting wedge
#

lmao alr

#

o ok

quiet topaz
#

where do i get the mysql client from

drifting wedge
#

what would it be called?

limber flume
#

dev chat too fast 😭(pain.)

crimson vapor
#

nah

#

not too fast

#

its normal rn

tiny bloom
#

Hi

crimson vapor
#

hello

quartz kindle
crimson vapor
#

Hi @quartz kindle

drifting wedge
#

prob gonna call it supercluster

quiet topaz
#

node js

crimson vapor
#

please say hi back

quartz kindle
#

and you did npm install mysql?

quiet topaz
#

yes

crimson vapor
#

did you install mysql?

limber flume
#

ight, i will wait until chat calms down because nobody saw.

quiet topaz
#

yes

crimson vapor
#

so you installed mysql and npm mysql

slender thistle
#

@sick fable could you please send screenshot of your code

quartz kindle
#

and you also have mysql installed in your system?

quiet topaz
#

yes

quartz kindle
#

does it have a password?

quiet topaz
crimson vapor
#

ok

slender thistle
#

Codeblocks on phone are a disaster

crimson vapor
quartz kindle
quiet topaz
crimson vapor
#

ty

quartz kindle
#

did you put the password in the connection function?

#

in node

quiet topaz
#

yes

earnest phoenix
#

whats autopost do

slender thistle
#

Clue in the name

#

Automatically posts server count of your bot

crimson vapor
#

auto-post

earnest phoenix
#

o

quartz kindle
#

mysql does not yet support mysql 8 authentication

pale vessel
#

This is OurSQL now

crimson vapor
#

^

quartz kindle
#

you can either remove the password, or try using the mysql2 package instead.
alternatively You can keep using mysql though without getting that error if you just switch the default authentication method to mysql_native_password.

slender thistle
#

Jesus lord have you heard of dicts

crimson vapor
#

idk py but aren't you just returning None if doc[prop] fails

pale vessel
#

why not just .get()

slender thistle
#

does find_one have an iterator available

earnest phoenix
#

i have no idea How to make like if someone voted my bot it will post

#

dumb af

cinder patio
#

Oh god we are starting to learn XAMPP in school 🤮

limber flume
earnest phoenix
#

I have no schools on my country

#

ezpz

pale vessel
#

Ah yes php

crimson vapor
pale vessel
#

Is it MySQL or MariaDB?

limber flume
earnest phoenix
#

MariaDB

pale vessel
#

I hope it's at least MariaDB

crimson vapor
#

im not sure idk py

earnest phoenix
cinder patio
#

Maria

pale vessel
#

Pog

crimson vapor
earnest phoenix
#

how do you get a bot verified?

crimson vapor
#

flaze did you take classes for programing or just search shit up?

earnest phoenix
earnest phoenix
pale vessel
#

Search shit up

#

Fuck classes

crimson vapor
#

nice

slender thistle
#

It returns a single document in a dictionary

limber flume
#

yes it does

quartz kindle
# earnest phoenix i have no idea How to make like if someone voted my bot it will post

inside the app.get("/dblwebhook") code block, thats where you receive the vote webhooks. The vote information is contained in the req variable, therefore inside that code block, you can get the user id from req, like the example shows, then you can call your bot variable that you already have, get a channel from it, and send whatever information you want to that channel

earnest phoenix
#

hm

jovial nexus
#

how can i convert a,a,a,a to a, a, a, a in js?

small plume
#

essentially just .split(' ')

earnest phoenix
#

'webhookTrigger' => client.channels.get(yourchannel).send(user voted!)
}) 

app.listen(process.env.PORT)```@quartz kindle
#

is this okay

#

emo

quartz kindle
#

dont copy and paste code you dont understand

earnest phoenix
#

.-.

quartz kindle
#

client doesnt exist in your file

#

you have bot

#

thats the name you gave it

jovial nexus
earnest phoenix
#

yee'

quartz kindle
#

"webhookTrigger" was not meant for you to copy and paste, it was just an idea

earnest phoenix
#

ok

#

so

quartz kindle
#

(req, res) => is your trigger

small plume
#

essentially could .replace(',', ', ') also

quartz kindle
#

that replaces only one

earnest phoenix
#

bot.channels.get(yourchannel).send(user voted!)
}) 

app.listen(process.env.PORT```
quartz kindle
#

yes

earnest phoenix
#

YEY

quartz kindle
#

user voted is a string

sinful bear
#

how do i get username from GuildMemberRemove event? Using Discord.js

quartz kindle
#

otherwise you get "user is not defined"

earnest phoenix
#

I finally understand about webhooks

#

thanks to u'

jovial nexus
cunning stream
#

any fun commands to add to a bot?

misty sigil
#

try this

wicked sapphire
#

rolling dice, 8ball, random thot, etc.

misty sigil
#

"a,a,a,a".split(",").join(", ") @jovial nexus

quartz kindle
#

you can also use regex or replaceAll in node 14+

jovial nexus
#

tnaks

crimson vapor
#

what

#

they added replaceAll()?

pale vessel
#

You can use replace(/,/g, ", ") but replace() is just slower in general

crimson vapor
#

wait it is

#

ive been scammed

earnest phoenix
#

@quartz kindle

cunning stream
crimson vapor
#

'user voted' or "user voted" or `user voted`

pale vessel
earnest phoenix
quartz kindle
earnest phoenix
#

wdym

crimson vapor
#

you need to use a string not an undefined variable

pale vessel
#

Nice Windows version

quartz kindle
earnest phoenix
#

OHH

crimson vapor
#

tim what do you use for screenshots

quartz kindle
#

same with ID

#

user IDs are all strings

#

not numbers

quartz kindle
crimson vapor
#

277183033344524200 go brrrrr

earnest phoenix
#

@quartz kindle so "user voted"

crimson vapor
#

yes

#

thats what I said

crimson vapor
earnest phoenix
#

oh god again

#

:5)

    at Module._compile (internal/modules/cjs/loader.js:759:30)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)

    at Module.load (internal/modules/cjs/loader.js:628:32)

    at Function.Module._load (internal/modules/cjs/loader.js:555:12)

    at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)

    at internal/main/run_main_module.js:17:11

Emitted 'error' event at:

    at emitErrorNT (net.js:1253:8)

    at processTicksAndRejections (internal/process/task_queues.js:83:17)

    at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:58:3)

    at Function.Module.runMain (internal/modules/cjs/loader.js:828:11)

    at internal/main/run_main_module.js:17:11```
crimson vapor
#

whats the error?

earnest phoenix
#

that

crimson vapor
#

you posted everything but the error

#

scroll up

earnest phoenix
#

      throw er; // Unhandled 'error' event

      ^

Error: listen EADDRINUSE: address already in use :::3000

    at Server.setupListenHandle [as _listen2] (net.js:1226:14)

    at listenInCluster (net.js:1274:12)

    at Server.listen (net.js:1362:7)

    at Function.listen (/rbd/pnpm-volume/57da1742-766d-42fd-b42e-3318170a4f7e/node_modules/.registry.npmjs.org/express/4.17.1/node_modules/express/lib/application.js:618:24)

at Object.<anonymous> (

:5)

    at Module._compile (internal/modules/cjs/loader.js:759:30)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)

    at Module.load (internal/modules/cjs/loader.js:628:32)

    at Function.Module._load (internal/modules/cjs/loader.js:555:12)

    at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)

    at internal/main/run_main_module.js:17:11

Emitted 'error' event at:

    at emitErrorNT (net.js:1253:8)

    at processTicksAndRejections (internal/process/task_queues.js:83:17)

    at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:58:3)

    at Function.Module.runMain (internal/modules/cjs/loader.js:828:11)

    at internal/main/run_main_module.js:17:11```
crimson vapor
#

did you stop the other bot KEKW

earnest phoenix
#

no

crimson vapor
#

thats why

earnest phoenix
#

hun

#

wdym

#

i have to remove the log?

crimson vapor
#

because your bot is using a port, if you host it 2 times the second one will error

#

no you don't have to remove a log

earnest phoenix
#

hm

#

i dont relly understand

#

lemme sho u my code

#
const Topgg = require('@top-gg/sdk')

const app = express()

const webhook = new Topgg.Webhook('my thingy')

app.post('/dblwebhook', webhook.middleware(), (req, res) => {

  console.log(req.vote.user)
  
}) 

app.listen(process.env.PORT)

app.post('/dblwebhook', webhook.middleware(), (req, res) => {

bot.channels.get(788074887125401610).send("user voted")
}) 

app.listen(process.env.PORT)
#

@crimson vapor

quartz kindle
#

why listen twice

#

why post twice

#

why everything twice

crimson vapor
#

oh well thats your issue

jagged sun
#

Hey guys, I've got a question. Is there a way to dynamically add properties to classes in Java with a static constructor? I don't want to do it with a map, is there a way to do this?

crimson vapor
#

could you give an example of what you mean?

#

like what would change

#

ik you can't show the code because you wouldn't be asking

jagged sun
# crimson vapor could you give an example of what you mean?

Imagine you have the class Person with two properties: name and age
And when you create an object from it, there are more added, by using the static constructor, for example the property size. So those properties are not defined as properties, they get created dynamically.

earnest phoenix
#
const Topgg = require('@top-gg/sdk')


const app = express()

const webhook = new Topgg.Webhook('my thingy')

app.post('/dblwebhook', webhook.middleware(), (req, res) => {

  console.log(req.vote.user)
  bot.channels.get(788074887125401610).send("user voted")
}) 
#

oh my god

crimson vapor
#

umm

quartz kindle
#

yes, but id is still a string

#

not a number

earnest phoenix
#

kk

quartz kindle
#
987598345 // this is a number
"9847938" // this is a string

abc // this is a variable
"abc" // this is a string
earnest phoenix
#

@quartz kindle I started understanding the webhooks

#

yall pros

crimson vapor
earnest phoenix
#

@quartz kindle bro so it will give ids of the user voted or mention?

pale vessel
#

ID

#

in a string

earnest phoenix
#

in "user voted"

#

?

pale vessel
#

IDs are in strings in js

#

Since they can exceed the maximum safe integer

#

You have to add quotes

jagged sun
earnest phoenix
#

ok webhooks hard af

pale vessel
#

Webhooks are irrelevant in this

crimson vapor
# jagged sun k no problem

do you mean like getters and setters? im not quite sure how you would get the value for size without some way to define it

pale vessel
#

Are you using discord.js? If so, it's bot.channels.cache.get()

crimson vapor
#

tell him to fetch not cache.get

earnest phoenix
#

good nes

pale vessel
#

You tell him, I don't want to explain promises to him

earnest phoenix
#

news

#

good news

#

my bot webhooks stopped working

crimson vapor
#

@earnest phoenix go to discord.js docs and learn how to fetch a channel, then await it and send a message to the channel

earnest phoenix
#

OH wait a min

jagged sun
earnest phoenix
#

unexepted token

#

hm

crimson vapor
#

im not quite sure the syntax of defining it but isnt it just int variable; to leave a variable undefined?

jagged sun
crimson vapor
#

oh

#

I think I know what you mean

earnest phoenix
#

Will i get some type of error if i try to findOneAndUpdate on a not existing doc? I'm using mongoose

jagged sun
#

Yeah, I need this because I want to add quite a lot of properties, and I don't want to pre-define them all, because then I would have 50 lines of code just for creating them.

earnest phoenix
#

Sorry, I meant "Will"

pale vessel
#

TIAS

crimson vapor
crimson vapor
pale vessel
#

Yeah I do

crimson vapor
#

poggers

earnest phoenix
#

Alright thanks flazepe

crimson vapor
#

same

jagged sun
crimson vapor
#

oh I didn't see that my bad

jagged sun
#

no problem

crimson vapor
#

yeah I don't think its possible

jagged sun
#

It is

crimson vapor
#

oh

jagged sun
#

But I don't know how, that's why I ask

crimson vapor
#

ah I see

#

can you use this[variableName]?

earnest phoenix
#
const Topgg = require('@top#2386-gg/sdk')


const app = express()

const webhook = new Topgg.Webhook('my top.gg token')

app.post('/dblwebhook', webhook.middleware(), (req, res) => {

  console.log(req.vote.user)
  bot.channels.get("788074887125401610").send("user voted")
}) ```
#

@crimson vapor

crimson vapor
#

like in js I can set a object.property as object["property"]

earnest phoenix
#

stopped working

crimson vapor
#

no error?

earnest phoenix
#

i clicked on test web hook

#

and its send nothing

crimson vapor
#

im not quite sure

earnest phoenix
#

hm

pale vessel
#

Your top.gg token? It's supposed to be what you defined under webhook authentication

earnest phoenix
#

yes

#

auth?

#

api key/

#

I put same thing

pale vessel
earnest phoenix
#

ik

#

i put same thing

pale vessel
#

I'm asking

earnest phoenix
#

i put token there

#

in the auth

#

@pale vessel

#

its saids token is not defined

#

lemme try with api

crimson vapor
#

define token to the auth

earnest phoenix
crimson vapor
#

then token wouldnt be undefined KEKW

earnest phoenix
#

i even click save

crimson vapor
#

but

#

the error was "token is not defined"

earnest phoenix
#

yh confusions

crimson vapor
#

smh @pale vessel help

earnest phoenix
#

is that a glitch in a glitch

pale vessel
#

Dude nice token

crimson vapor
#

its only like half tho

earnest phoenix
#

                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SyntaxError: Invalid or unexpected token

    at Module._compile (internal/modules/cjs/loader.js:703:23)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)

    at Module.load (internal/modules/cjs/loader.js:628:32)

    at Function.Module._load (internal/modules/cjs/loader.js:555:12)

    at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)

    at internal/main/run_main_module.js:17:11```
earnest phoenix
crimson vapor
earnest phoenix
#

OH BRUH

#

FUCK MISs CLICk

crimson vapor
#

are you using a code editor?

pale vessel
#

They're using glitch no?

crimson vapor
#

glitch should highlight errors

earnest phoenix
#

WAIT A DAMN MINITUE

#

I put ' at first

#

put in log

#

but

pale vessel
#

There we go, that's the full token

crimson vapor
#

might I suggest getting windows 10?

pale vessel
#

MILLION

crimson vapor
#

flaze

pale vessel
#

Got em

crimson vapor
pale vessel
#

7 is too old

earnest phoenix
#

y u bulli me'

crimson vapor
#

well windows 7 has no more support

earnest phoenix
#

thats tru..

crimson vapor
#

imo its a matter of preference until support is lost

#

then viruses will have no fixes and you will be vulnerable

earnest phoenix
#

e.e

#

its still fuked up

#

STILL

#

SyntaxError: missing ) after argument list

at Module._compile (internal/modules/cjs/loader.js:703:23)

at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)

at Module.load (internal/modules/cjs/loader.js:628:32)

at Function.Module._load (internal/modules/cjs/loader.js:555:12)

at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)

at internal/main/run_main_module.js:17:11
#

@crimson vapor

crimson vapor
#

doesn't glitch give a red underline where there will be an error?

crimson vapor
#

hmmm

pale vessel
#

Show code?

crimson vapor
#

check for a function missing a ) or with 2 args without a command ex function(a b)

earnest phoenix
#
const Topgg = require('@top-gg/sdk')


const app = express()

const webhook = new Topgg.Webhook(`api key`)
app.post('/dblwebhook', webhook.middleware(), (req, res) => {

  console.log(req.vote.user)
  bot.channels.get("788074887125401610").send("user voted")
}) ```
#

@pale vessel

pale vessel
#

That's the full file?

earnest phoenix
#

no

#

i dont wanna show full file

pale vessel
#

Well then

earnest phoenix
#

over 5k words

#

154 lines

pale vessel
#

By the way it's bot.channels.cache.get()/bot.channels.fetch()

earnest phoenix
#

wdym

pale vessel
earnest phoenix
#

ic

crimson vapor
#
let channel = bot.channels.fetch("788074887125401610").then(c => { return c })
``` probably better if that code works
earnest phoenix
#

OMG

crimson vapor
#

im not quite sure if you can use .then(e => ) and return e

earnest phoenix
#

(node:4439) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'end' of null

    at module.exports (/rbd/pnpm-volume/57da1742-766d-42fd-b42e-3318170a4f7e/node_modules/.registry.npmjs.org/dbd.js/1.0.1/node_modules/dbd.js/package/functions/funcs/skipSong.js:6:34)

    at interpreter (/rbd/pnpm-volume/57da1742-766d-42fd-b42e-3318170a4f7e/node_modules/.registry.npmjs.org/dbd.js/1.0.1/node_modules/dbd.js/package/interpreter.js:45:101)

    at processTicksAndRejections (internal/process/task_queues.js:88:5)

    at async CommandHandler (/rbd/pnpm-volume/57da1742-766d-42fd-b42e-3318170a4f7e/node_modules/.registry.npmjs.org/dbd.js/1.0.1/node_modules/dbd.js/package/handlers/commands.js:39:5)

(node:4439) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

(node:4439) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.```
#

an eeror

crimson vapor
#

well thats a good error

earnest phoenix
#

error

naive spruce
#

Is this a channel where I can hire developers? thonkku

crimson vapor
#

it means you did something wrong

crimson vapor
earnest phoenix
#

were just helping each other

naive spruce
#

Where can I do this?

pale vessel
#

Since fetch searches in cache first

crimson vapor
#

oh it does

#

thats pog

pale vessel
#

await it

#

😤

crimson vapor
#

its not an async function

naive spruce
#

Im too untalented for creating my own bot I think. It's complicated without any knowledge I think

pale vessel
#

wh

#

million I love you but what the fuck

naive spruce
#

Is it possible to hire a developer on this server? Haven't found it on the rules

pale vessel
#

if it's not an async function, make it async or use bot.channels.fetch("788074887125401610").then(c => c.send("a"))

crimson vapor
#

hmmm

#

idk seems like a lot of work

pale vessel
#

you can't define it like that for promises

crimson vapor
#

ah I see

edgy tapir
#

Is it possible to make a command handler in py? I just started to learn and my bot.py file is very messy

earnest phoenix
#

.py its not saxxy

#

.js its sexxy

#

oo yehh

edgy tapir
#

i already know js but i want to learn py

crimson vapor
#

anything is possible, im not sure how in py

crimson vapor
edgy tapir
#

I just started using py and this does not look similar at all

earnest phoenix
#

@crimson vapor guess what

#

its rewinding time

crimson vapor
#

another error

drifting wedge
#

if i have a var that is html syntax, how can i just show it in html?

#

rn it just shows<b style="color: #2dce89"> UP</b>

pale vessel
#

Use JavaScript

crimson vapor
#

oh right you're using some weird shit

drifting wedge
#

im passing in the var using flask

crimson vapor
#

is flask syntax {{ }}?

drifting wedge
#

yes

#

i just did markup

#

worked

#

how do i refresh the page? like u press button and page refreshes?

pale vessel
#

Just use HTML?

#

<a href="">Refresh</a>

#

or ./, both work

drifting wedge
#

just a empty href?

pale vessel
#

Yeah

drifting wedge
#

i think its a #

earnest phoenix
pale vessel
#

Nah those are for sections

#

Like <h1 id="hello">test</h1>

#

Where you use <a href="#hello">Hello</a>

drifting wedge
#

o ok ty

slender thistle
buoyant plank
#

Does anyone know where I can find guide / tututorial on doing migration in Sequelize?

edgy tapir
pale vessel
#

Cocks

#

Cogs

#

which is like multiple commands in one file (like a category)

#

and you have multiple files for multiple categories?

#

not sure but it's something like that

misty sigil
pale vessel
#

maybe

faint arch
#

hi i write my bot with bot extension on python how i can write inlie with codeas a object and call it to update or it can auutpost itself

spring jay
#

alr, so- i'm using discord.js. i'm trying to make a hug command. here's my code:

    number = 15;
    imageNumber = Math.floor (Math.random() + number (number - 1 + 1)) + 1;
    client.on('message', message => {
        if (message.content.startsWith('p;hug')) { 
       let targetMember = message.mentions.members.first();
       if(!targetMember) return message.reply('you need to tag a user in order to hug them!!');
           // message goes below!
            message.channel.send(`<@${targetMember.user.id}> you just got a hug from ${message.author}`);
       }
   }); ``` and this is the error message:

```ReferenceError: message is not defined
    at Object.<anonymous> (C:\Users\ali\Desktop\pikuubot\index.js:24:1)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)      
    at internal/main/run_main_module.js:17:47```
misty sigil
#

what

#

you're trying to

earnest phoenix
#

lol

misty sigil
#

use a message from a listener inside the

#

what

#

this is why i stress that people should learn JS

#

before making a bot

spring jay
#

yeah don't mind me not knowing anything about coding, i only started like 4 days ago.

earnest phoenix
#

It applies to any language i guess

timber cloak
#

wtf

#

this css confusing

edgy tapir
#

any idea why i got these errors on every file that use :import discord / from discord.ext import commands"?

faint arch
#

did you install discord py

#

using pip

edgy tapir
#

yes

faint arch
#

it is a virtula enviroment?

edgy tapir
#

wdym ?

faint arch
#

send to imporst

#

first part pf the code

edgy tapir
#
import discord
import random
import time
import os
import asyncio
from discord.ext import commands

client = commands.Bot(command_prefix = "/")
token = '******'
autumn latch
#

Is there a bot that I can add xp on my own like if do !add xp 5

polar glacier
#

i dont think so but you can code one

#

yo, if i regenerate my token it doesnt change the client id does it

long yew
#

anyone know how to do this in python?

Find out the latest foreign exchange rates for GBP to USD, Euro, Yuan and Yen.​

Write a function that takes two parameters. Pounds and name of currency. The function should convert money based on the current values. The main program should output the result. E.g. 100 GBP = 111.15 Euro.​

polar glacier
#

have a look at that

#

idk if it will work cause i dont use python but its worth a read

long yew
#

ok thanks

polar glacier
#

no worries

earnest phoenix
#

When I use the command math 1:99999999999999999999999999999999999999999999999999 the bot crashes. how do i fix (mathjs)

edgy tapir
#
async def ping(self, ctx):           
                pembed = discord.Embed(title = "🏓 Ping 🏓", description = f"**__Informatii__**\n**Latency:** {round(client.latency *1000)} ms!", color = 0x0FDCC9)
                pembed.set_footer(text = "Made By Rookie")
            await ctx.send(embed = embed)

unindent does not match any outer indentation level

help please?

gilded olive
#

from the looks of it on my side you indented that first line way too many times

#

I would like to see that code snippet from your editor @edgy tapir

earnest phoenix
#

@pure lion did ya fix it?

misty sigil
#

lemme pull the latest pr and see

humble rock
#

I did an autopoll command with mongoDB but i got an error:
(node:12576) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'updateOne' of null

misty sigil
#

ah, i dropped my crystal ball in the car park yesterday, just let me order one on next day delivery so i can see your code and i can deliver your help tomorrow

humble rock
split hazel
#

in typescript can you create an object with predefined key value types?

misty sigil
#

i dont see

#

updateOne???

humble rock
#

mongoDB

misty sigil
#

oh i do nvm

humble rock
earnest phoenix
misty sigil
#

nah

#

its a findOne object

humble rock
#

no

pure lion
#

@earnest phoenix nope

earnest phoenix
#

oh rip

pure lion
#

Maybe

#

Not sure

humble rock
misty sigil
#

<findOne>.updateOne() doesnt work?

earnest phoenix
#

what you can do is

model.AutoPollChannel = channel.id
model.save();```
humble rock
#

oh

#

ok

pure lion
#

@humble rock you don't need to set the _id as objectId, you can make it the guild ID if you like

earnest phoenix
#

^ also that

humble rock
#

good idea

misty sigil
#

it saves some space

#

on db

#

which is useful

humble rock
misty sigil
#

0exe has a smallus dickus HAHA

#

@humble rock there obviously wasn't any guild object found then

drifting wedge
#

if im only running a 2/5 shards, will the server count command show all the guilds, or only the ones the shard is responsible for

#

py

crimson vapor
#

Hello Matthew

misty sigil
#

hi

#

uh

pure lion
#

@humble rock await the save and autopollchannel assignment

sterile lantern
#
  let money = db.all().filter(data => data.ID.startsWith(`money`)).sort((a, b) => b.data - a.data)
       money.length = 10;
        let finallb = "";
        for (var i in money) {
          finallb += `**${money.indexOf(money[i])+1}.**     <@${money[i].ID.slice(6)}> - \`${money[i].data}\`\n`;
        }
      if (finallb.length < 1) finallb = "Aw man.... no balances yet.."```

rn this gets the top 10 users. if a user were to do ;lb 2, how would it get the next 10 users in order?
humble rock
#

Oh it work

#

Thanks for help ^^

crimson vapor
sterile lantern
#

if i did money.length 20

#

o

#

ok

#

one sec

#

if i did money.length = 20 then it would show 20 users

#

but i want the next 10 users after the first top 10

sharp thicket
#

@earnest phoenix hello,what was your issue again?

crimson vapor
#

Yes money.length = Number(args[0]) * 10 || 10
and then .slice(args[0] * 10 - 10)

sterile lantern
#

huh

#

wouldnt that be like

#

;lb 15

earnest phoenix
sterile lantern
#

shows 15 users

#

instead of just 5

sharp thicket
#

Sorry but no.

sterile lantern
#

i want it 10 users per page

earnest phoenix
sharp thicket
#

i don't help people on dms beacuse its unarchived.

#

okay,ping me whenever you need my help :p

earnest phoenix
sharp thicket
#

can you send your code (if your token is visible please remove it and replace it with "TOKEN")

slim umbra
sharp thicket
#

your code

#

your code

#

oops my pc blacked out sry

earnest phoenix
sharp thicket
#

bruv

#

what is your platform of coding?

#

and whats the language ur using?

earnest phoenix
#

bruh

sharp thicket
#

bruh

#

I apologize,i don't help with botghost since:
a)i cant see the code,
b)i generally think its bad,
c) you cant modify the code..

earnest phoenix
#

..

sharp thicket
#

what sir/ma'am?

earnest phoenix
#

bruh

#

nvm

#

ok

slim umbra
#

yeah

#

its gonna be thicc

sharp thicket
#

lol

#

3.9 ghz tho??

#

is that rlly needed?

slim umbra
#

well its gonna handle alot of load

sharp thicket
#

oh

slim umbra
#

so we need lots of cpu

sharp thicket
#

its for a bot im assuming

#

right?

slim umbra
#

yea

sharp thicket
#

whats the server count of it?

slim umbra
#

bot is fairly large so big server is kinda needed

#

360k or sm last i checked

#

reactionroles

sharp thicket
#

thats not alot for a 3900x 3.9ghz

#

my bot has 180smth k users handling reaction roles etc and i was hosting on heroku

#

oh wait i asked about servers

#

oh okay

slim umbra
#

yeah lol

sharp thicket
#

i got it confused

slim umbra
#

xd

sharp thicket
#

whats the user count?

#

not including bots

slim umbra
#

46mill

#

oh idk without bots

sharp thicket
#

oh damn

#

do you have an eval command?

slim umbra
#

im not caching all users

sharp thicket
#

oh oof

slim umbra
#

like bruh

sharp thicket
#

yeah i can guess why

drifting wedge
#

if i run my bot with py shard_id=shardid will it only run those shards? dpy, i tried it, and it ran all shards

sharp thicket
#

i dont know much about sharding but yes i think

#

because discord has like a limit per shard

#

its 2000 guilds i think

quiet topaz
#

thats my code for my mySQL db, but it doesnt seem to be working

slim umbra
#

2.5k guilds is the max per shard

sharp thicket
#

oh ok

quiet topaz
#

like its showing undefined, even if i definde it

sharp thicket
#

hmm

#

what

#

i dont think thats supposed to be a string

onyx wind
#

Is that legall to resend verification process on top.gg?

quiet topaz
#

i dont know much about mySQL or db at all

sterile lantern
#

p

quiet topaz
#

im tryingh to learn it

sterile lantern
#

oops

sharp thicket
#

i dont know sql but i think its supposed to be:

const warapper = reqire("package")
const model = require('somedir')
model.whatever```
#

thats mongodb tho

#

to be exact mongoose

quiet topaz
#

btw now it not showing even thatä

#

i cleared that table

sharp thicket
#

sorry i dont know much about sql

quiet topaz
#

nah, i did it before

#

but than i asked here

drifting wedge
#

if i run my bot with py shard_id=shardid will it only run those shards? dpy, i tried it, and it ran all shards

sudden geyser
#

no

#

I don't know what it represents considering the docs only specify the ID range, but not what it is, but shard_count can be used to set the amount of shards to spawn. It doesn't set what shards to use (leaving some on/offline)

clever agate
#
(node:460) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added. Use emitter.setMaxListeners() to increase limit
Uncaught Promise Error:  TypeError: The header content contains invalid characters
    at validateHeader (_http_outgoing.js:494:11)
    at ClientRequest.setHeader (_http_outgoing.js:498:3)
    at Snekfetch.set (/rbd/pnpm-volume/9c1d40a0-90dd-4aac-9137-ecb321cc910b/node_modules/.registry.npmjs.org/snekfetch/3.6.4/node_modules/snekfetch/src/index.js:75:20)
    at APIRequest.gen (/rbd/pnpm-volume/9c1d40a0-90dd-4aac-9137-ecb321cc910b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/APIRequest.js:39:28)
    at resolve (/rbd/pnpm-volume/9c1d40a0-90dd-4aac-9137-ecb321cc910b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:59:20)
    at new Promise (<anonymous>)
    at SequentialRequestHandler.execute (/rbd/pnpm-volume/9c1d40a0-90dd-4aac-9137-ecb321cc910b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:58:12)
    at SequentialRequestHandler.handle (/rbd/pnpm-volume/9c1d40a0-90dd-4aac-9137-ecb321cc910b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:125:10)
    at SequentialRequestHandler.push (/rbd/pnpm-volume/9c1d40a0-90dd-4aac-9137-ecb321cc910b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:48:10)
    at Promise (/rbd/pnpm-volume/9c1d40a0-90dd-4aac-9137-ecb321cc910b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RESTManager.js:27:15)```
pure lion
#

Can a yarn lock replace a package-lock?

clever agate
#

@pure lion turkish pls

slender thistle
#

They weren't even talking to you

willow mirage
clever agate
#

@summer torrent türküm de

#

nası yani

summer torrent
#

english

hoary crown
#

lol

charred nimbus
#

idk why i am getting this error

#

`C:\Users\Nitro\Desktop\Nitro Music Beta Code>node index.js
internal/modules/cjs/loader.js:883
throw err;
^

Error: Cannot find module 'quick.db'
Require stack:

  • C:\Users\Nitro\Desktop\Nitro Music Beta Code\index.js
     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
     at Function.Module._load (internal/modules/cjs/loader.js:725:27)
     at Module.require (internal/modules/cjs/loader.js:952:19)
     at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (C:\Users\Nitro\Desktop\Nitro Music Beta Code\index.js:5:12)
     at Module._compile (internal/modules/cjs/loader.js:1063:30)
     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
     at Module.load (internal/modules/cjs/loader.js:928:32)
     at Function.Module._load (internal/modules/cjs/loader.js:769:14)
     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ 'C:\Users\Nitro\Desktop\Nitro Music Beta Code\index.js' ]
    }`
haughty lotus
#

hlmmm

charred nimbus
#

my code is ok

quartz kindle
#

quick.db is not installed

knotty obsidian
#

How can I get the url of the image a user sent and put it in a embed (.setImage(message.ImageUrl))

#

im using java

quartz kindle
#

java or javascript?

#

which library?

knotty obsidian
#

normal java

#

jda 4.2.0_168

opal plank
#

@quartz kindle speaking of js, did u try runnung ts?

earnest phoenix
#

How to make my bot say only one command? I have commands set to same trigger lines and when I say the trigger line, it says all commands

quartz kindle
#

according to the docs

whole flower
#

hey, how do i add the colour bot to my server?

opal plank
#

lemme know when you do

#

i'll give you a hand

earnest phoenix
#

How to make my bot say only one command? I have commands set to same trigger lines and when I say the trigger line, it says all commands

lyric mountain
#

use break/return

#

if you're using switch-case -> break
every other case -> return

quartz kindle
#

or if else

lyric mountain
#

chained if-elses

earnest phoenix
lyric mountain
earnest phoenix
knotty obsidian
lyric mountain
quartz kindle
lyric mountain
#

best regards for your bot

earnest phoenix
#

Wow

#

U all think botghost is bad WELL ITS THE EASYEST FOR ME

lyric mountain
#

anyway, idk how botghost does stuff, but what you want is basically breaking after each command

quartz kindle
#

i mean

#

its not bad

crimson vapor
#

hello Tim

quartz kindle
#

but its much more limited

#

and because of that, most people opt to code it themselves, which gives them much more power and flexibility

#

and also because of that, very little people actually know how to work with botghost or bdfd decently

earnest phoenix
lyric mountain
#

all sites will have the same issue

#

limited features

earnest phoenix
#

Oh ok

quartz kindle
#

because like

#

imagine you want to write a book

#

programming gives you characters, you can build whatever sentences you want

#

botghost and similar apps give you full words instead of characters

#

so its easy to make sentences

#

but they dont have ALL words

#

and dont allow you to build your own words

lyric mountain
#

coding is not hard at all, like, once you understand what you're looking at it becomes quite easy to keep goin

earnest phoenix
#

What I’m asking is how to break the commands

quartz kindle
#

well i dont know, because i dont use botghost

#

you can try asking them in their support server

#

or reading their documentation if they have a decent one

lyric mountain
#

there's probably some break segment/node/block/idk

earnest phoenix
#

Ok

#

Thanks for recommendations

misty sigil
#

botghost

lyric mountain
quartz kindle
#

or c#

#

or Go

earnest phoenix
#

Ok thanks

quartz kindle
#

or lua

#

these are all beginner friendly programming languages

#

although some are friendlier than others

misty sigil
#

c# is beginner friendly?

earnest phoenix
#

with the introduction of c#9 yeah

#

plus the ms docs are so good

quartz kindle
#

C# is like c++ and js had a kid

earnest phoenix
#

i tried to learn C# but i was too difficult for me

#

i would learn C#

#

i'll continue my course

sudden geyser
quartz kindle
#

lmao

drifting wedge
#
Exception has occurred: ConnectionClosed
Shard ID 5 WebSocket closed with 4010``` dpy
#

got it

misty sigil
#

4010 is invalid shard

earnest phoenix
drifting wedge
#

"got it"

misty sigil
#

yes i know

earnest phoenix
#

so when it finally released it was introduced as "the better java"

drifting wedge
#

r u real mathew

#

or fake one

#

cuz real one is a booster 😉

misty sigil
#

what?

#

i just.. lost my boost?

#

i can prove it

solemn latch
#

f boost

quartz kindle
earnest phoenix
#

c# by miles

quartz kindle
#

so they actually lived up to their promise?

earnest phoenix
#

.net 5 technology is insane

#

yeah

quartz kindle
#

nice

earnest phoenix
#

you can compile apps to native bytecode on any platform for any platform with .net 5

#

granted a base hello world app ends up at around 26mb trimmed but it scales really well after that

#

better than having to install a whole ass environment

#

and struggling to find that environment

quartz kindle
#

no need to install those shitty net framework redists?

#

awesome

earnest phoenix
#

yup, just contained compilation and you're ready to go

quartz kindle
#

finally

earnest phoenix
#

.net 6 will introduce the same thing but for UIs

#

i have high hopes

quartz kindle
#

sick and tired of those big ass software and games that auto install net frameworks even though they are already installed

#

lmao

#

you end up with 3 different versions for the same framework

earnest phoenix
#

this

#

same thing for cpp redist

#

i have so many different versions on my machine

quartz kindle
#

oh you no longer need a main() function anymore

#

you can write top-level code

earnest phoenix
#

yeah

#

what allows it to be so good is that microsoft simply made everything open source about it

quartz kindle
#

cool stuff

#

idk if i'll ever learn it, but cool stuff xD

earnest phoenix
#

id say it's worth it

#

with the rise of blazor and proper WASM

#

there's going to be something

#

i doubt we will ever need desktop apps again

#

everything will be a web app

#

want to run js? do it
native code? do it

fierce ether
#
    let result;
    if (n === 1,2,3,4,5,6) result = 'heads';
    else result = 'tails';``` how do i make the odds 60/40?
earnest phoenix
#

wtf is that

#

just do random() * 100 and check if the number returned is bigger than/equal to the chance you want for it to succeed

quartz kindle
#

if(Math.random() > 0.6) {} else {}

#

literally just that lmao

errant perch
#

are quick.db databases supposed to look like this

hollow sedge
#

Does it work

errant perch
#

yes

earnest phoenix
#

it's compressed data

#

so yes

#

you can't view it with a text editor

errant perch
#

nice

#

thanks

earnest phoenix
#

there's a small program to view sqlite databases

errant perch
#

thanks

hollow sedge
errant perch
#

idk what im doing ok

tame kestrel
#

no ur doing alright

#

json is just a way to represent data, it's best to store it in something like sqlite vs some json file

errant perch
#

👍

hollow sedge
#

I never said it was a file

#

I just said what's the point

#

there is already a better way of storing data

#

Why not use it

earnest phoenix
#

json is just a way to represent data, it's best to store it in something like sqlite vs some json file
that's a dumb statement

#

why use a sql database and then just straight up not use sql features lol

#

if you store json text in a sql database, pull it and parse it, that's so slow and such stupid design

tame kestrel
#

well yeah you're correct that sure it would be way better to take advantage of the sqltable schema

I'm not trying to say that storing json is the best way to store it, I was just chiming in on how between json files and a sqlite database to store json, I would prefer the sqlite database

crimson vapor
#

might as well use .json KEKW

earnest phoenix
#

how can i do that if no member specified then member = message author?

hollow sedge
#

Sqlite is probably faster but yeah you aren't really using it if you just store JSON there

earnest phoenix
#

js

#

wqith quick.db too

crimson vapor
earnest phoenix
#

null coalescing operator

#

??

tame kestrel
#

It's not really about speed but safety and persistence

earnest phoenix
#

ok thanks i'll try

hollow sedge
#

Oh yeah

#

That too

crimson vapor
#

thats cool

#

I didn't know that was a thing

#

might be easier to return null instead of undefined for packages

summer torrent
#

this is ES2020 iirc

earnest phoenix
#

...is that the full stacktrace?

#

I do not understand.

mellow kelp
#

like

#

is that the full error message

earnest phoenix
#

I was able to solve the problem, thanks anyway.

mellow kelp
#

aight

spice hearth
#

ok

sick sluice
earnest phoenix
#

however long it takes

#

Well how long it takes is usually dynamic, there are many amount of bots to review for the discord staff so it's pretty much unknown

sick sluice
#

okay, meanwhile I can't invite my own bot because of that ._.

analog imp
#

heyo, anyone here hosting their bot with a raspberry pi?

crimson vapor
#

whats your issue?

analog imp
#

is it worth getting another pi for performance boosting?

hollow sedge
#

no

#

its worth getting a VPS

earnest phoenix
hollow sedge
#

the background tho

drifting wedge
#

when i run a python script with python3 filename it works but with pm2 it errors out

pale vessel
#

Technically not a background

drifting wedge
#

any ideas?

pale vessel
#

that looks like james charles

#

Can't be just me

hollow sedge
#

what would you call that if it isnt a background

pale vessel
#

It's transparent

hollow sedge
earnest phoenix
#

it's danny gonzalez i-

#

also yes

mellow kelp
#

lmao

earnest phoenix
#

i'm using glasscord

#

it injects into any electron app and calls the acrylic api on windows

hollow sedge
#

i mean

#

its still a background

#

also

#

danny gonzalez is epic

earnest phoenix
#

+1

pale vessel
#

OH LOL

crimson vapor
#

wait what most pi's don't have ethernet

solemn latch
#

yeah, a fair number dont.

crimson vapor
#

hmm

#

looks like people are getting the wrong ones

#

imo a pi should be something you use for small projects as kinda a blank slate. If you want to host a discord bot you can, but you can also host a dns adblock or a website or literally anything because it doesn't matter

wicked sapphire
#

Is is possible for a bot to reply via the new reply feature, the one without mentioning you in the reply?

crimson vapor
#

hmm

#

check the discord docs

mellow kelp
#

maybe it's not in the discord api yet

#

imma check real quick

crimson vapor
#

it should be

mellow kelp
#

well there's this thing about message type reply

#

yea the api has a way to reply to messages

#

now if your library supports it yet is another thing tho

crimson vapor
#

discord js doesnt but I hear jda does

summer torrent
#

from djs server:
✨ Discord.js will support inline replies in v13, replacing Message#reply with the new functionality.
If you'd like to try out the feature ahead of time (in a server with it enabled), please install and test this PR: https://github.com/discordjs/discord.js/pull/4874
You can e.g. use NPM to do this: npm i monbrey/discord.js#inline-replies (this requires git to be added to PATH)

Message #bot-commands

mellow kelp
#

oh boy

#

imagine the number of messages starting with lowercase that will be caused by this

south sinew
#

shudders

crimson vapor
#

I don't understand, why lowercase?

south sinew
#

Almost every message my bot sends besides embeds are replies

mellow kelp
#

i guess most people would make replies with lowercase

crimson vapor
#

oh

mellow kelp
#

since they're sent as "@user, [some message]"

crimson vapor
#

well

#

I rewrote all of mine to message, @user

#

because it makes more sense imo

south sinew
#

because "@south sinew , whats up" looks better than "@south sinew , Whats up"

#

essentially

mellow kelp
mellow kelp
#

pingery intensifies

crimson vapor
#

yep

south sinew
#

gah

crimson vapor
#

what should I install on my laptop?

#

like software

south sinew
#

halo combat evolved

solemn latch
#

lemme find some virus's rq. /s

mellow kelp
#

how bout memz

south sinew
#

bonzi buddy

solemn latch
#

wallpaper engine

south sinew
#

my first bot's name was bonzi buddy bot lol

crimson vapor
#

running linux cuz cpu go brrrrrrrrr

south sinew
#

what distro?

crimson vapor
#

kubuntu atm

south sinew
#

bruh you gotta use arch

#

(i use arch btw)

crimson vapor
#

ye ik

#

lmao

south sinew
#

lol

crimson vapor
#

I would use arch but I cba to fuck with drives partitions on a terminal

mellow kelp
#

dang

south sinew
#

yeah arch installations are hard, formatting is the biggie

mellow kelp
#

i wanna switch to linux

south sinew
#

that and if you want to connect to wifi

crimson vapor
#

well

#

just gotta hope someone tried it before me

south sinew
#

but once you have xorg and a desktop (i normally use kde) its pretty easy to do the rest

crimson vapor
#

my alt tabbing isnt working :sad:

south sinew
#

if you dont want the hassle of installation but still want to use arch you can use manjaro, its essentially the ubuntu of arch

crimson vapor
#

ye ive heard

south sinew
#

except with kde instead of gnome because gnome 🤮

crimson vapor
#

maybe if this corrupts somehow ill move to manjaro

#

but facecam won't work at all

#

cuz mac

drifting wedge
#

how can i call a async func in python?

crimson vapor
#

nitro gone sad

pallid moss
#

Anyone code in java script?

drifting wedge
#

dont ask to ask

drifting wedge
mellow kelp
mellow kelp
pallid moss
#

Trying to figure out how to write a code for osrs trying to make ot where people can type a command and it send a list of items that are available to high alch for profit

crimson vapor
#

what is osrs? and alch?

mellow kelp
#

well it depends a lot on what exactly you're tryna do

pallid moss
#

Example: -profit

Return: rune dagger
Buy:2,000gp
High alch:2,005gp
Profit:5gp

mellow kelp
#

um

#

you got a database with that stuff or something?

charred pumice
opal plank
#

speaking in the proper channel too

mellow kelp
#

bruh yes

mellow kelp
crimson vapor
#

hello Erwin

opal plank
#

hello

pallid moss
#

@mellow kelp unfortunately not, but there is a site that has them listed

opal plank
#

uuuugh i hate classes

crimson vapor
#

why?

mellow kelp
opal plank
#

cuz once you start them you wanna keep them clean

crimson vapor
#

do you mean classes as in uni or classes as in oop?

opal plank
#

with extensions and all that crap

#

classes in ts/js

mellow kelp
#

lmfao

crimson vapor
#

ok good

mellow kelp
#

i was about to agree on that one

opal plank
#

like, i only needed the constructor, thats it

#

now i got 30 fucking extensions

crimson vapor
#

what is an extention?

#

like x extends y

opal plank
#

class extensions